Changelog
1.15.0
Add support for passing arguments to @content
blocks. See [the
proposal][content-args] for details.
Add support for the new rgb()
and hsl()
syntax introduced in CSS Colors
Level 4, such as rgb(0% 100% 0% / 0.5)
. See [the proposal][color-4-rgb-hsl]
for more details.
Add support for interpolation in at-rule names. See [the proposal][at-rule-interpolation] for details.
Add paths from the SASS_PATH
environment variable to the load paths in the
command-line interface, Dart API, and JS API. These load paths are checked
just after the load paths explicitly passed by the user.
Allow saturation and lightness values outside of the 0%
to 100%
range in
the hsl()
and hsla()
functions. They're now clamped to be within that
range rather than producing an error if they're outside it.
Properly compile selectors that end in escaped whitespace.
Changelog
1.14.3
Treat :before
, :after
, :first-line
, and :first-letter
as
pseudo-elements for the purposes of @extend
.
When running in compressed mode, remove spaces around combinators in complex
selectors, so a selector like a > b
is output as a>b
.
Properly indicate the source span for errors involving binary operation expressions whose operands are parenthesized.
Changelog
1.14.2
Fix a bug where loading the same stylesheet from two different import paths could cause its imports to fail to resolve.
Properly escape U+001F INFORMATION SEPARATOR ONE in unquoted strings.
@debug
in a stylesheet passed on standard input.AsyncImporter.canonicalize()
and Importer.canonicalize()
must now return
absolute URLs. Relative URLs are still supported, but are deprecated and will
be removed in a future release.Changelog
1.14.1
Canonicalize escaped digits at the beginning of identifiers as hex escapes.
Properly parse property declarations that are both in content blocks and written after content blocks.
--watch
mode.Changelog
1.14.0
In accordance with our [compatibility policy][], breaking changes made for CSS compatibility reasons are released as minor version revision after a three-month deprecation period.
#abcd
that are now interpreted as hex colors with alpha
channels, rather than unquoted ID strings.Changelog
1.13.3
@charset
declarations.--embed-source-maps
along with
--embed-sources
for stylesheets that contain non-ASCII characters.Changelog
1.13.2
Properly parse :nth-child()
and :nth-last-child()
selectors with
whitespace around the argument.
Don't emit extra whitespace in the arguments for :nth-child()
and
:nth-last-child()
selectors.
Fix support for CSS hacks in plain CSS mode.
Changelog
1.13.0
Allow @extend
to be used with multiple comma-separated simple selectors.
This is already supported by other implementations, but fell through the
cracks for Dart Sass until now.
Don't crash when a media rule contains another media rule followed by a style rule.