Skip to content

Releases: sass/dart-sass

Dart Sass 1.7.3

28 Jun 01:12
cd0211c
Compare
Choose a tag to compare

To install Dart Sass 1.7.3, 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.7.2

27 Jun 20:20
aa9aff8
Compare
Choose a tag to compare

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

Changes

  • Add a deprecation warning for @-moz-document, except for cases where only an empty url-prefix() is used. Support is being removed from Firefox and will eventually be removed from Sass as well.
  • Fix a bug where @-moz-document functions with string arguments weren't being parsed.

Command-Line Interface

  • Don't crash when a syntax error is added to a watched file.

See the full changelog for changes in earlier releases.

Dart Sass 1.7.1

25 Jun 20:33
3b67303
Compare
Choose a tag to compare

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

Changes

  • Fix crashes in released binaries.

See the full changelog for changes in earlier releases.

Dart Sass 1.7.0

22 Jun 20:04
69e79d6
Compare
Choose a tag to compare

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

Changes

  • Emit deprecation warnings for tokens such as #abcd that are ambiguous between ID strings and hex colors with alpha channels. These will be interpreted as colors in a release on or after 19 September 2018.

  • Parse unambiguous hex colors with alpha channels as colors.

  • Fix a bug where relative imports from files on the load path could look in the incorrect location.

See the full changelog for changes in earlier releases.

Dart Sass 1.6.2

20 Jun 01:34
6693a82
Compare
Choose a tag to compare

To install Dart Sass 1.6.2, 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 bug where the source map comment in the generated CSS could refer to the source map file using an incorrect URL.

See the full changelog for changes in earlier releases.

Dart Sass 1.6.1

15 Jun 21:59
033d4e2
Compare
Choose a tag to compare

To install Dart Sass 1.6.1, 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.6.0

14 Jun 23:31
e0c6268
Compare
Choose a tag to compare

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

Changes

  • Produce better errors when expected tokens are missing before a closing brace.

  • Avoid crashing when compiling a non-partial stylesheet that exists on the filesystem next to a partial with the same name.

Command-Line Interface

  • Add support for the --watch flag, which watches for changes in Sass files on the filesystem and ensures that the compiled CSS is up-to-date.

  • When using --update, surface errors when an import doesn't exist even if the file containing the import hasn't been modified.

  • When compilation fails, delete the output file rather than leaving an outdated version.

See the full changelog for changes in earlier releases.

Dart Sass 1.5.1

01 Jun 01:04
224dc91
Compare
Choose a tag to compare

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

Changes

  • Fix a bug where an absolute Windows path would be considered an input:output pair.

  • Forbid custom properties that have no values, like --foo:;, since they're forbidden by the CSS spec.

See the full changelog for changes in earlier releases.

Dart Sass 1.5.0

31 May 01:20
942d1e4
Compare
Choose a tag to compare

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

Changes

  • Fix a bug where an importer would be passed an incorrectly-resolved URL when handling a relative import.

  • Throw an error when an import is ambiguous due to a partial and a non-partial with the same name, or multiple files with different extensions. This matches the standard Sass behavior.

Command-Line Interface

  • Add an --interactive flag that supports interactively running Sass expressions (thanks to Jen Thakar!).

See the full changelog for changes in earlier releases.

Dart Sass 1.4.0

28 May 22:02
fba35fe
Compare
Choose a tag to compare

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

Changes

  • Improve the error message for invalid semicolons in the indented syntax.

  • Properly disallow semicolons after declarations in the indented syntax.

Command-Line Interface

  • Add support for compiling multiple files at once by writing sass input.scss:output.css. Note that unlike Ruby Sass, this always compiles files by default regardless of when they were modified.

    This syntax also supports compiling entire directories at once. For example, sass templates/stylesheets:public/css compiles all non-partial Sass files in templates/stylesheets to CSS files in public/css.

  • Add an --update flag that tells Sass to compile only stylesheets that have been (transitively) modified since the CSS file was generated.

Dart API

  • Add Importer.modificationTime() and AsyncImporter.modificationTime() which report the last time a stylesheet was modified.

Node API

  • Generate source maps when the sourceMaps option is set to a string and the outFile option is not set.

See the full changelog for changes in earlier releases.