Skip to content

Releases: sass/dart-sass

Dart Sass 1.94.2

19 Nov 23:12
7af5122

Choose a tag to compare

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.forVersion now excludes obsolete deprecations from the set it returns.

JS API

  • Excludes obsolete deprecations from fatalDeprecations when a Version is 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

18 Nov 01:50
0356a2b

Choose a tag to compare

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

10 Nov 23:25
bfccce8

Choose a tag to compare

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: @function rules whose names begin with -- are now parsed as unknown at-rules to support the plain CSS @function rule. Within this rule, the result property is parsed as raw CSS just like custom properties.

  • Potentially breaking compatibility fix: @mixin rules 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

31 Oct 17:24
4e5bd25

Choose a tag to compare

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

23 Sep 21:46
b8b35e8

Choose a tag to compare

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

22 Sep 22:21

Choose a tag to compare

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

19 Sep 22:33
307226a

Choose a tag to compare

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/types package which contains the type annotations used by both the sass and sass-embedded package without any additional code or dependencies.

See the full changelog for changes in earlier releases.

Dart Sass 1.92.1

06 Sep 00:00
f7f0342

Choose a tag to compare

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

02 Sep 20:42
055ef24

Choose a tag to compare

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 name type will produce errors, while function calls will be parsed as special function strings.

  • Configuring private variables using @use ... with, @forward ... with, and meta.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

25 Aug 21:31
6878709

Choose a tag to compare

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 of meta.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.