Skip to content

Dart Sass 1.64.0

Compare
Choose a tag to compare
@sassbot sassbot released this 20 Jul 00:12
· 305 commits to main since this release
ca2be2a

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

Changes

  • Comments that appear before or between @use and @forward rules are now emitted in source order as much as possible, instead of always being emitted after the CSS of all module dependencies.

  • Fix a bug where an interpolation in a custom property name crashed if the file was loaded by a @use nested in an @import.

JavaScript API

  • Add a new SassCalculation type that represents the calculation objects added in Dart Sass 1.40.0.

  • Add Value.assertCalculation(), which returns the value if it's a SassCalculation and throws an error otherwise.

  • Produce a better error message when an environment that supports some Node.js APIs loads the browser entrypoint but attempts to access the filesystem.

Embedded Sass

  • Fix a bug where nested relative @imports failed to load when using the deprecated functions render or renderSync and those relative imports were loaded multiple times across different files.

See the full changelog for changes in earlier releases.