Skip to content

Releases: sass/dart-sass

Dart Sass 1.96.0

11 Dec 00:25
f6bdc02

Choose a tag to compare

To install Sass 1.96.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

Changes

  • Allow numbers with complex units (more than one numerator unit or more than zero denominator units) to be emitted to CSS. These are now emitted as calc() expressions, which now support complex units in plain CSS.

See the full changelog for changes in earlier releases.

Dart Sass 1.95.1

09 Dec 23:56
4aa6d5f

Choose a tag to compare

To install Sass 1.95.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.95.0

08 Dec 19:30
2abc89e

Choose a tag to compare

To install Sass 1.95.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

Changes

  • Add support for the CSS-style if() function. In addition to supporting the plain CSS syntax, this also supports a sass() query that takes a Sass expression that evaluates to true or false at preprocessing time depending on whether the Sass value is truthy. If there are no plain-CSS queries, the function will return the first value whose query returns true during preprocessing. For example, if(sass(false): 1; sass(true): 2; else: 3) returns 2.

  • The old Sass if() syntax is now deprecated. Users are encouraged to migrate to the new CSS syntax. if($condition, $if-true, $if-false) can be changed to if(sass($condition): $if-true; else: $if-false).

    See the Sass website for details.

  • Plain-CSS if() functions are now considered "special numbers", meaning that they can be used in place of arguments to CSS color functions.

  • Plain-CSS if() functions and attr() functions are now considered "special variable strings" (like var()), meaning they can now be used in place of multiple arguments or syntax fragments in various CSS functions.

See the full changelog for changes in earlier releases.

Dart Sass 1.94.3

08 Dec 18:27
e2bf843

Choose a tag to compare

To install Sass 1.94.3, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

Changes

  • Fix the span reported for standalone % expressions followed by whitespace.

See the full changelog for changes in earlier releases.

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.