Releases: sass/dart-sass
Dart Sass 1.79.4
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
greenorbluetocolor.change()for legacy colors would fail.
See the full changelog for changes in earlier releases.
Dart Sass 1.79.3
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
$channelparameter in the suggested replacement forcolor.red(),color.green(),color.blue(),color.hue(),color.saturation(),color.lightness(),color.whiteness(), andcolor.blackness()to use a quoted string.
See the full changelog for changes in earlier releases.
Dart Sass 1.79.2
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
$spaceparameter to the suggested replacement forcolor.red(),color.green(),color.blue(),color.hue(),color.saturation(),color.lightness(),color.whiteness(), andcolor.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
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.
Dart Sass 1.78.0
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-existsfunction is now deprecated. This deprecation is namedfeature-exists. -
Fix a crash when using
@at-rootwithout any queries or children in the indented syntax.
JS API
-
Backport the deprecation options (
fatalDeprecations,futureDeprecations, andsilenceDeprecations) 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.urlwould crash when a relative URL was passed to the Sass API.
Embedded Sass
-
Explicitly expose a
sassexecutable from thesass-embeddednpm 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 runnpx sassfor local installs or justsasswhensass-embeddedis installed globally. -
Add linux-riscv64, linux-musl-riscv64, and android-riscv64 support for the
sass-embeddednpm 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
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
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
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
Versioninput forfatalDeprecationsas string over embedded protocol. -
Fix a bug in the JS Embedded Host where
Versioncould be incorrectly accepted as input forsilenceDeprecationsandfutureDeprecationsin pure JS.
See the full changelog for changes in earlier releases.
Dart Sass 1.77.3
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.duplicateVariableFlagshas been deprecated and replaced withDeprecation.duplicateVarFlagsto make it consistent with theduplicate-var-flagsname used on the command line and in the JS API.
See the full changelog for changes in earlier releases.
Dart Sass 1.77.2
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-deprecationflag. -
Handle the
--fatal-deprecationand--future-deprecationflags for--interactivemode.
See the full changelog for changes in earlier releases.