Skip to content

Releases: sass/dart-sass

Dart Sass 1.92.0

02 Sep 20:42
055ef24
Compare
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
Compare
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.

Dart Sass 1.90.0

05 Aug 22:18
d6f4f17
Compare
Choose a tag to compare

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 @forwarded 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

09 Jun 19:28
1250380
Compare
Choose a tag to compare

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

30 May 23:58
394fbe5
Compare
Choose a tag to compare

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

16 May 00:55
4e9e206
Compare
Choose a tag to compare

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

10 May 22:38
c6b2163
Compare
Choose a tag to compare

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

21 Apr 23:09
3b8afa2
Compare
Choose a tag to compare

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

04 Apr 00:20
52221c0
Compare
Choose a tag to compare

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

02 Apr 23:19
f6fea3a
Compare
Choose a tag to compare

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.