Skip to content

Releases: sass/dart-sass

Dart Sass 1.78.0

03 Sep 23:03
90a70ef
Compare
Choose a tag to compare

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

Changes

  • The meta.feature-exists function is now deprecated. This deprecation is named feature-exists.

  • Fix a crash when using @at-root without any queries or children in the indented syntax.

JS API

  • Backport the deprecation options (fatalDeprecations, futureDeprecations, and silenceDeprecations) to the legacy JS API. The legacy JS API is itself deprecated, and you should move off of it if possible, but this will allow users of bundlers and other tools that are still using the legacy API to still control deprecation warnings.

  • Fix a bug where accessing SourceSpan.url would crash when a relative URL was passed to the Sass API.

Embedded Sass

  • Explicitly expose a sass executable from the sass-embedded npm package. This was intended to be included in 1.63.0, but due to the way platform-specific dependency executables are installed it did not work as intended. Now users can run npx sass for local installs or just sass when sass-embedded is installed globally.

  • Add linux-riscv64, linux-musl-riscv64, and android-riscv64 support for the sass-embedded npm package.

  • Fix an edge case where the Dart VM could hang when shutting down when requests were in flight.

  • Fix a race condition where the embedded host could fail to shut down if it was closed around the same time a new compilation was started.

  • Fix a bug where parse-time deprecation warnings could not be controlled by the deprecation options in some circumstances.

See the full changelog for changes in earlier releases.

Dart Sass 1.77.8

11 Jul 20:04
be9c3ac
Compare
Choose a tag to compare

To install Sass 1.77.8, 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.77.5

11 Jun 23:57
a1b372e
Compare
Choose a tag to compare

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

Changes

  • Fully trim redundant selectors generated by @extend.

See the full changelog for changes in earlier releases.

Dart Sass 1.77.4

30 May 23:43
21eeb4d
Compare
Choose a tag to compare

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

Changes

Embedded Sass

  • Support passing Version input for fatalDeprecations as string over embedded protocol.

  • Fix a bug in the JS Embedded Host where Version could be incorrectly accepted as input for silenceDeprecations and futureDeprecations in pure JS.

See the full changelog for changes in earlier releases.

Dart Sass 1.77.3

29 May 21:58
1073c7b
Compare
Choose a tag to compare

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

Changes

Dart API

  • Deprecation.duplicateVariableFlags has been deprecated and replaced with Deprecation.duplicateVarFlags to make it consistent with the duplicate-var-flags name used on the command line and in the JS API.

See the full changelog for changes in earlier releases.

Dart Sass 1.77.2

16 May 22:24
5121eb1
Compare
Choose a tag to compare

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

Changes

  • Don't emit deprecation warnings for functions and mixins beginning with __.

  • Allow user-defined functions whose names begin with _ and otherwise look like vendor-prefixed functions with special CSS syntax.

Command-Line Interface

  • Properly handle the --silence-deprecation flag.

  • Handle the --fatal-deprecation and --future-deprecation flags for --interactive mode.

See the full changelog for changes in earlier releases.

Dart Sass 1.77.1

10 May 23:07
372f15c
Compare
Choose a tag to compare

To install Sass 1.77.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 crash that could come up with importers in certain contexts.

See the full changelog for changes in earlier releases.

Dart Sass 1.77.0

07 May 01:10
85f39d5
Compare
Choose a tag to compare

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

Changes

  • Don't throw errors for at-rules in keyframe blocks.

See the full changelog for changes in earlier releases.

Dart Sass 1.76.0

30 Apr 21:40
264b2d5
Compare
Choose a tag to compare

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

Changes

  • Throw errors for misplaced statements in keyframe blocks.

  • Mixins and functions whose names begin with -- are now deprecated for forwards-compatibility with the in-progress CSS functions and mixins spec. This deprecation is named css-function-mixin.

See the full changelog for changes in earlier releases.

Dart Sass 1.75.0

11 Apr 23:11
821b98e
Compare
Choose a tag to compare

To install Sass 1.75.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 bug in which stylesheet canonicalization could be cached incorrectly when custom importers or the Node.js package importer made decisions based on the URL of the containing stylesheet.

JS API

  • Allow importer to be passed without url in StringOptionsWithImporter.

See the full changelog for changes in earlier releases.