Releases: sass/dart-sass
Dart Sass 1.14.3
To install Dart Sass 1.14.3, download one of the packages above and add it to your PATH, or see the Sass website for full installation instructions.
Changes
-
Treat
:before
,:after
,:first-line
, and:first-letter
as pseudo-elements for the purposes of@extend
. -
When running in compressed mode, remove spaces around combinators in complex selectors, so a selector like
a > b
is output asa>b
. -
Properly indicate the source span for errors involving binary operation expressions whose operands are parenthesized.
See the full changelog for changes in earlier releases.
Dart Sass 1.14.2
To install Dart Sass 1.14.2, 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 loading the same stylesheet from two different import paths could cause its imports to fail to resolve.
-
Properly escape U+001F INFORMATION SEPARATOR ONE in unquoted strings.
Command-Line Interface
- Don't crash when using
@debug
in a stylesheet passed on standard input.
Dart API
AsyncImporter.canonicalize()
andImporter.canonicalize()
must now return absolute URLs. Relative URLs are still supported, but are deprecated and will be removed in a future release.
See the full changelog for changes in earlier releases.
Dart Sass 1.14.1
To install Dart Sass 1.14.1, download one of the packages above and add it to your PATH, or see the Sass website for full installation instructions.
Changes
-
Canonicalize escaped digits at the beginning of identifiers as hex escapes.
-
Properly parse property declarations that are both in content blocks and written after content blocks.
Command-Line Interface
- Print more readable paths in
--watch
mode.
See the full changelog for changes in earlier releases.
Dart Sass 1.14.0
To install Dart Sass 1.14.0, download one of the packages above and add it to your PATH, or see the Sass website for full installation instructions.
Changes
BREAKING CHANGE
In accordance with our compatibility policy, breaking changes made for CSS compatibility reasons are released as minor version revision after a three-month deprecation period.
- Tokens such as
#abcd
that are now interpreted as hex colors with alpha channels, rather than unquoted ID strings.
See the full changelog for changes in earlier releases.
Dart Sass 1.13.4
To install Dart Sass 1.13.4, download one of the packages above and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Node JS
- Tweak JS compilation options to substantially improve performance.
See the full changelog for changes in earlier releases.
Dart Sass 1.13.3
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
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
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
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
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.