Skip to content

Releases: sass/dart-sass

Dart Sass 1.64.1

22 Jul 00:10
3367abe
Compare
Choose a tag to compare

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

Changes

Embedded Sass

  • Fix a bug where a valid SassCalculation.clamp() with less than 3 arguments would throw an error.

See the full changelog for changes in earlier releases.

Dart Sass 1.64.0

20 Jul 00:12
ca2be2a
Compare
Choose a tag to compare

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.

Dart Sass 1.63.6

21 Jun 22:10
658eb70
Compare
Choose a tag to compare

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

Changes

JavaScript API

  • Fix import sass from 'sass' again after it was broken in the last release.

Embedded Sass

  • Fix the exports declaration in package.json.

See the full changelog for changes in earlier releases.

Dart Sass 1.63.5

21 Jun 01:13
a48ced8
Compare
Choose a tag to compare

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

Changes

JavaScript API

  • Fix a bug where loading the package through both CJS require() and ESM import could crash on Node.js.

Embedded Sass

  • Fix a deadlock when running at high concurrency on 32-bit systems.

  • Fix a race condition where the embedded compiler could deadlock or crash if a compilation ID was reused immediately after the compilation completed.

See the full changelog for changes in earlier releases.

Dart Sass 1.63.4

14 Jun 00:49
e34a0c7
Compare
Choose a tag to compare

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

Changes

JavaScript API

  • Re-enable support for import sass from 'sass' when loading the package from an ESM module in Node.js. However, this syntax is now deprecated; ESM users should use import * as sass from 'sass' instead.

    On the browser and other ESM-only platforms, only import * as sass from 'sass' is supported.

  • Properly export the legacy API values TRUE, FALSE, NULL, and types from the ECMAScript module API.

Embedded Sass

  • Fix a race condition where closing standard input while requests are in-flight could sometimes cause the process to hang rather than shutting down gracefully.

  • Properly include the root stylesheet's URL in the set of loaded URLs when it fails to parse.

See the full changelog for changes in earlier releases.

Dart Sass 1.63.3

09 Jun 15:54
645e48f
Compare
Choose a tag to compare

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

Changes

JavaScript API

  • Fix loading Sass as an ECMAScript module on Node.js.

See the full changelog for changes in earlier releases.

Dart Sass 1.63.2

08 Jun 01:40
eb09d75
Compare
Choose a tag to compare

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

See the full changelog for changes in earlier releases.

Dart Sass 1.63.1

08 Jun 00:26
d82654b
Compare
Choose a tag to compare

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

07 Jun 20:53
c3ed547
Compare
Choose a tag to compare

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

Changes

JavaScript API

  • Dart Sass's JS API now supports running in the browser. Further details and instructions for use are in the README.

Embedded Sass

  • The Dart Sass embedded compiler is now included as part of the primary Dart Sass distribution, rather than a separate executable. To use the embedded compiler, just run sass --embedded from any Sass executable (other than the pure JS executable).

    The Node.js embedded host will still be distributed as the sass-embedded package on npm. The only change is that it will now provide direct access to a sass executable with the same CLI as the sass package.

  • The Dart Sass embedded compiler now uses version 2.0.0 of the Sass embedded protocol. See the spec for a full description of the protocol, and the changelog for a summary of changes since version 1.2.0.

  • The Dart Sass embedded compiler now runs multiple simultaneous compilations in parallel, rather than serially.

See the full changelog for changes in earlier releases.

Dart Sass 1.62.1

25 Apr 23:30
8dddcb7
Compare
Choose a tag to compare

To install Sass 1.62.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 :has(+ &) and related constructs would drop the leading combinator.

See the full changelog for changes in earlier releases.