Skip to content

Releases: sass/dart-sass

Dart Sass 1.80.3

18 Oct 23:50
76cfd6b
Compare
Choose a tag to compare

To install Sass 1.80.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 where @import url("...") would crash in plain CSS files.

  • Improve consistency of how warnings are emitted by different parts of the compiler. This should result in minimal user-visible changes, but different types of warnings should now respond more reliably to flags like --quiet, --verbose, and --silence-deprecation.

See the full changelog for changes in earlier releases.

Dart Sass 1.80.2

17 Oct 20:53
2ad2133
Compare
Choose a tag to compare

To install Sass 1.80.2, 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 deprecation warnings were incorrectly emitted for the plain-CSS invert() function.

See the full changelog for changes in earlier releases.

Dart Sass 1.80.1

17 Oct 03:17
e6391d3
Compare
Choose a tag to compare

To install Sass 1.80.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 repeated deprecation warnings were not automatically limited.

See the full changelog for changes in earlier releases.

Dart Sass 1.80.0

17 Oct 00:25
ab19f94
Compare
Choose a tag to compare

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

Changes

  • @import is now officially deprecated, as are global built-in functions that are available within built-in modules. See the Sass blog post for more details on the deprecation process.

Embedded Host

  • Fix an error that would sometimes occur when deprecation warnings were emitted when using a custom importer with the legacy API.

See the full changelog for changes in earlier releases.

Dart Sass 1.79.6

16 Oct 23:28
f7b2e63
Compare
Choose a tag to compare

To install Sass 1.79.6, 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 Sass would add an extra */ after loud comments with whitespace after an explicit */ in the indented syntax.

  • Potentially breaking bug fix: Adding text after an explicit */ in the indented syntax is now an error, rather than silently generating invalid CSS.

Embedded Host

  • Properly export the SassBoolean type.

See the full changelog for changes in earlier releases.

Dart Sass 1.79.5

12 Oct 00:25
7290399
Compare
Choose a tag to compare

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

Changes

  • Changes to how selector.unify() and @extend combine selectors:

    • The relative order of pseudo-classes (like :hover) and pseudo-elements (like ::before) within each original selector is now preserved when they're combined.

    • Pseudo selectors are now consistently placed at the end of the combined selector, regardless of which selector they came from. Previously, this reordering only applied to pseudo-selectors in the second selector.

  • Tweak the color transformation matrices for OKLab and OKLCH to match the newer, more accurate values in the CSS spec.

  • Fix a slight inaccuracy case when converting to srgb-linear and display-p3.

  • Potentially breaking bug fix: math.unit() now wraps multiple denominator units in parentheses. For example, px/(em*em) instead of px/em*em.

Command-Line Interface

  • Use @parcel/watcher to watch the filesystem when running from JavaScript and not using --poll. This should mitigate more frequent failures users have been seeing since version 4.0.0 of Chokidar, our previous watching tool, was released.

JS API

  • Fix SassColor.interpolate() to allow an undefined options parameter, as the types indicate.

Embedded Sass

  • Properly pass missing color channel values to and from custom functions.

See the full changelog for changes in earlier releases.

Dart Sass 1.79.4

28 Sep 03:20
f84e867
Compare
Choose a tag to compare

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

Changes

JS API

  • Fix a bug where passing green or blue to color.change() for legacy colors would fail.

See the full changelog for changes in earlier releases.

Dart Sass 1.79.3

20 Sep 21:14
b85ef9c
Compare
Choose a tag to compare

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

Changes

  • Update the $channel parameter in the suggested replacement for color.red(), color.green(), color.blue(), color.hue(), color.saturation(), color.lightness(), color.whiteness(), and color.blackness() to use a quoted string.

See the full changelog for changes in earlier releases.

Dart Sass 1.79.2

19 Sep 23:03
fa4827f
Compare
Choose a tag to compare

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

Changes

  • Add a $space parameter to the suggested replacement for color.red(), color.green(), color.blue(), color.hue(), color.saturation(), color.lightness(), color.whiteness(), and color.blackness().

  • Update deprecation warnings for the legacy JS API to include a link to relevant documentation.

See the full changelog for changes in earlier releases.

Dart Sass 1.79.1

18 Sep 00:26
5fa04d3
Compare
Choose a tag to compare

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