Releases: sass/dart-sass
Dart Sass 1.92.0
To install Sass 1.92.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
-
Breaking change: Emit declarations, childless at-rules, and comments in the order they appear in the source even when they're interleaved with nested rules. This obsoletes the
mixed-decls
deprecation. -
Breaking change: The function name
type()
is now fully reserved for the plain CSS function. This means that@function
definitions with the nametype
will produce errors, while function calls will be parsed as special function strings. -
Configuring private variables using
@use ... with
,@forward ... with
, andmeta.load-css(..., $with: ...)
is now deprecated. Private variables were always intended to be fully encapsulated within the module that defines them, and this helps enforce that encapsulation. -
Fix a bug where
@extend
rules loaded through a mixture of@import
and@use
rules could fail to apply correctly.
Command-Line Interface
- In
--watch
mode, delete the source map when the associated source file is deleted.
See the full changelog for changes in earlier releases.
Dart Sass 1.91.0
To install Sass 1.91.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
-
Potentially breaking change:
meta.inspect()
(as well as other systems that use it such as@debug
and certain error messages) now emits numbers with as high precision as is available instead of rounding to the nearest 1e⁻¹⁰ as we do when serializing to CSS. This better fits the purpose ofmeta.inspect()
, which is to provide full information about the structure of a Sass value. -
Passing a rest argument (
$arg...
) before a positional or named argument when calling a function or mixin is now deprecated. This was always outside the specified syntax, but it was historically treated the same as passing the rest argument at the end of the argument list whether or not that matched the visual order of the arguments.
See the full changelog for changes in earlier releases.
Dart Sass 1.90.0
To install Sass 1.90.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
- Allow a
@forward
ed module to be loaded with a configuration when that module has already been loaded with a different configuration and the module doesn't define any variables that would have been configured anyway.
See the full changelog for changes in earlier releases.
Dart Sass 1.89.2
To install Sass 1.89.2, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Embedded Host
- Fixed a compilation error caused by an outdated
buf
dependency.
See the full changelog for changes in earlier releases.
Dart Sass 1.89.1
To install Sass 1.89.1, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
- No user-visible changes.
See the full changelog for changes in earlier releases.
Dart Sass 1.89.0
To install Sass 1.89.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
- Allow the Node package importer to load files even when there are multiple potential resolutions, as long as those resolutions all point to the same file.
See the full changelog for changes in earlier releases.
Dart Sass 1.88.0
To install Sass 1.88.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
-
Allow custom properties with empty values (such as
--var:;
). -
Fix a bug when calculating source spans for interpolations.
Dart and JS APIs
- Potentially breaking bug fix: Throw an error when passing a function or mixin object from one compilation to another.
Dart API
- Deprecate passing a relative URL to
compileString()
and related functions.
See the full changelog for changes in earlier releases.
Dart Sass 1.87.0
To install Sass 1.87.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
- Potentially breaking bug fix: When a plain CSS file with a top-level nesting selector
&
is loaded into a nested Sass context viameta.load-css()
or@import
, Sass now emits plain CSS nesting rather than incorrectly combining it with the parent selector using a descendant combinator.
See the full changelog for changes in earlier releases.
Dart Sass 1.86.3
To install Sass 1.86.3, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
- Fix a bug introduced in 1.86.1 where Sass fails to resolve paths starting with a
..
segment.
See the full changelog for changes in earlier releases.
Dart Sass 1.86.2
To install Sass 1.86.2, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
- No user-visible changes.
See the full changelog for changes in earlier releases.