Skip to content

Releases: sass/dart-sass

Dart Sass 1.13.3

11 Sep 19:42
1a5eb2a
Compare
Choose a tag to compare

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

Changes

  • Properly generate source maps for stylesheets that emit @charset declarations.

Command-Line Interface

  • Don't error out when passing --embed-source-maps along with --embed-sources for stylesheets that contain non-ASCII characters.

See the full changelog for changes in earlier releases.

Dart Sass 1.13.2

05 Sep 22:58
edf3370
Compare
Choose a tag to compare

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

Changes

  • Properly parse :nth-child() and :nth-last-child() selectors with whitespace around the argument.

  • Don't emit extra whitespace in the arguments for :nth-child() and :nth-last-child() selectors.

  • Fix support for CSS hacks in plain CSS mode.

See the full changelog for changes in earlier releases.

Dart Sass 1.13.1

01 Sep 00:43
9e5ef91
Compare
Choose a tag to compare

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

Changes

  • Allow an IE-style single equals operator in plain CSS imports.

See the full changelog for changes in earlier releases.

Dart Sass 1.13.0

17 Aug 21:00
997e068
Compare
Choose a tag to compare

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

Changes

  • Allow @extend to be used with multiple comma-separated simple selectors. This is already supported by other implementations, but fell through the cracks for Dart Sass until now.

  • Don't crash when a media rule contains another media rule followed by a style rule.

See the full changelog for changes in earlier releases.

Dart Sass 1.12.0

15 Aug 20:52
c5dff3e
Compare
Choose a tag to compare

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

Changes

Dart API

  • Add a SassException type that provides information about Sass compilation failures.

JS API

  • Remove the source map comment from the compiled JS. We don't ship with the source map, so this pointed to nothing.

See the full changelog for changes in earlier releases.

Dart Sass 1.11.0

13 Aug 20:51
d1bb4a0
Compare
Choose a tag to compare

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

Changes

  • Add support for importing plain CSS files. They can only be imported without an extension—for example, @import "style" will import style.css. Plain CSS files imported this way only support standard CSS features, not Sass extensions.

    See the proposal for details.

  • Add support for CSS's min() and max() math functions. A min() and max() call will continue to be parsed as a Sass function if it involves any Sass-specific features like variables or function calls, but if it's valid plain CSS (optionally with interpolation) it will be emitted as plain CSS instead.

    See the proposal for details.

  • Add support for range-format media features like (10px < width < 100px). See the proposal for details.

  • Normalize escape codes in identifiers so that, for example, éclair and \E9clair are parsed to the same value. See the proposal for details.

  • Don't choke on a byte-order mark at the beginning of a document when running in JavaScript.

Command-Line Interface

  • The --watch command now continues to recompile a file after a syntax error has been detected.

Dart API

  • Added a Syntax enum to indicate syntaxes for Sass source files.

  • The compile() and compileAsync() functions now parse files with the .css extension as plain CSS.

  • Added a syntax parameter to compileString() and compileStringAsync().

  • Deprecated the indented parameter to compileString() and compileStringAsync().

  • Added a syntax parameter to new ImporterResult() and a ImporterResult.syntax getter to set the syntax of the source file.

  • Deprecated the indented parameter to new ImporterResult() and the ImporterResult.indented getter in favor of syntax.

See the full changelog for changes in earlier releases.

Dart Sass 1.10.4

10 Aug 00:34
82b7b06
Compare
Choose a tag to compare

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

Changes

Command-Line Interface

  • Fix a Homebrew installation failure.

See the full changelog for changes in earlier releases.

Dart Sass 1.10.3

03 Aug 21:50
89ce44a
Compare
Choose a tag to compare

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

Changes

Command-Line Interface

  • Run the Chocolatey script with the correct arguments so it doesn't crash.

See the full changelog for changes in earlier releases.

Dart Sass 1.10.2

02 Aug 23:46
Compare
Choose a tag to compare

To install Dart Sass 1.10.2, download one of the packages above 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.10.1

25 Jul 00:33
6552666
Compare
Choose a tag to compare

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

Changes

Node JS API

  • Don't crash when passing both includePaths and importer.

See the full changelog for changes in earlier releases.