Skip to content

Releases: sass/dart-sass

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.

Dart Sass 1.10.0

18 Jul 22:52
45da11d
Compare
Choose a tag to compare

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

Changes

  • When two @media rules' queries can't be merged, leave nested rules in place for browsers that support them.

  • Fix a typo in an error message.

See the full changelog for changes in earlier releases.

Dart Sass 1.9.2

13 Jul 06:18
0278113
Compare
Choose a tag to compare

To install Dart Sass 1.9.2, 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

  • Produce more readable filesystem errors, such as when a file doesn't exist.

See the full changelog for changes in earlier releases.

Dart Sass 1.9.1

11 Jul 21:15
Compare
Choose a tag to compare

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

Changes

  • Don't emit ANSI codes to Windows terminals that don't support them.

  • Fix a bug where --watch crashed on Mac OS.

See the full changelog for changes in earlier releases.

Dart Sass 1.9.0

04 Jul 00:43
9bb272d
Compare
Choose a tag to compare

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

Changes

Node API

  • Add support for new sass.types.Color(argb) for creating colors from ARGB hex numbers. This was overlooked when initially adding support for Node Sass's JavaScript API.

See the full changelog for changes in earlier releases.

Dart Sass 1.8.0

30 Jun 01:41
96c46a2
Compare
Choose a tag to compare

To install Dart Sass 1.8.0, 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

  • Add a --poll flag to make --watch mode repeatedly check the filesystem for updates rather than relying on native filesystem notifications.

  • Add a --stop-on-error flag to stop compiling additional files once an error is encountered.

See the full changelog for changes in earlier releases.