Releases: sass/dart-sass
Dart Sass 1.94.2
To install Sass 1.94.2, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Command-Line Interface
- Using
--fatal-deprecation <version>no longer emits warnings about deprecations that are obsolete.
Dart API
Deprecation.forVersionnow excludes obsolete deprecations from the set it returns.
JS API
- Excludes obsolete deprecations from
fatalDeprecationswhen aVersionis passed.
Node.js Embedded Host
- Fix a bug where a variable could be used before it was initialized during async compilation.
See the full changelog for changes in earlier releases.
Dart Sass 1.94.1
To install Sass 1.94.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.94.0
To install Sass 1.94.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 compatibility fix:
@functionrules whose names begin with--are now parsed as unknown at-rules to support the plain CSS@functionrule. Within this rule, theresultproperty is parsed as raw CSS just like custom properties. -
Potentially breaking compatibility fix:
@mixinrules whose names begin with--are now errors. These are not yet parsed as unknown at-rules because no browser currently supports CSS mixins.
See the full changelog for changes in earlier releases.
Dart Sass 1.93.3
To install Sass 1.93.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 performance regression that was introduced in 1.92.0.
See the full changelog for changes in earlier releases.
Dart Sass 1.93.2
To install Sass 1.93.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.
JavaScript API
- Fix another error in the release process for
@sass/types.
See the full changelog for changes in earlier releases.
Dart Sass 1.93.1
To install Sass 1.93.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.
JavaScript API
- Fix an error in the release process for
@sass/types.
See the full changelog for changes in earlier releases.
Dart Sass 1.93.0
To install Sass 1.93.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
- Fix a crash when a style rule contains a nested
@import, and the loaded file@uses a user-defined module as well as@includes a top-level mixin which emits top-level declarations.
JavaScript API
- Release a
@sass/typespackage which contains the type annotations used by both thesassandsass-embeddedpackage without any additional code or dependencies.
See the full changelog for changes in earlier releases.
Dart Sass 1.92.1
To install Sass 1.92.1, 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 where variable definitions from one imported, forwarded module would not be passed as implicit configuration to a later imported, forwarded module.
See the full changelog for changes in earlier releases.
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-declsdeprecation. -
Breaking change: The function name
type()is now fully reserved for the plain CSS function. This means that@functiondefinitions with the nametypewill 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
@extendrules loaded through a mixture of@importand@userules could fail to apply correctly.
Command-Line Interface
- In
--watchmode, 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@debugand 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.