Releases: sass/dart-sass
Release list
Dart Sass 1.102.0
To install Sass 1.102.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
- Use the 2.4 gamma transfer function for rec2020, as specified by the latest draft of CSS Color 4.
See the full changelog for changes in earlier releases.
Dart Sass 1.101.7
To install Sass 1.101.7, 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.101.6
To install Sass 1.101.6, 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.101.5
To install Sass 1.101.5, 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.101.4
To install Sass 1.101.4, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
-
Avoid emitting
rgb()orrgba()functions with non-percent decimal channels. Older browsers only support integer values or (potentially decimal) percentages for these functions, so in order to preserve backwards-compatibility while retaining full precision for modern browsers, legacy colors that contain at least one non-integer channel will now use percentages for their channels (for example,rgb(0%, 100%, 50%)rather thanrgb(0, 255, 127.5)). -
Fix a bug where the values of plain-CSS
if()expressions were emitted using theirmeta.inspect()format rather than their CSS serialization format.
See the full changelog for changes in earlier releases.
Dart Sass 1.101.3
To install Sass 1.101.3, 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.101.0
To install Sass 1.101.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
- Potentially breaking bug fix: The Node package importer now properly supports resolving import-only variants of Sass files declared in the
exports,sass, andstylefields ofpackage.json. Previously, these files were ignored even when loaded via@import, so any code relying on loading module-system-only files this way may break.
See the full changelog for changes in earlier releases.
Dart Sass 1.100.0
To install Sass 1.100.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
-
Writing two compound selectors adjacent to one another without any whitespace between them, such as
[class]a, is now deprecated. This was always an error in CSS and Sass only supported it by mistake.See the Sass website for details.
See the full changelog for changes in earlier releases.
Dart Sass 1.99.0
To install Sass 1.99.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
-
Add support for parent selectors (
&) at the root of the document. These are emitted as-is in the CSS output, where they're interpreted as the scoping root. -
User-defined functions named
calcorclampare no longer forbidden. If such a function exists without a namespace in the current module, it will be used instead of the built-incalc()orclamp()function. -
User-defined functions whose names begin with
-and end with-expression,-url,-and,-or, or-notare no longer forbidden. These were originally intended to match vendor prefixes, but in practice no vendor prefixes for these functions ever existed in real browsers. -
User-defined functions named
EXPRESSION,URL, andELEMENT, those that begin with-and end with-ELEMENT, as well as the same names with some lowercase letters are now deprecated, These are names conflict with plain CSS functions that have special syntax.See the Sass website for details.
-
In a future release, calls to functions whose names begin with
-and end with-expressionand-urlwill no longer have special parsing. For now, these calls are deprecated if their behavior will change in the future.See the Sass website for details.
-
Calls to functions whose names begin with
-and end with-progid:...are deprecated.See the Sass website for details.
See the full changelog for changes in earlier releases.
Dart Sass 1.98.0
To install Sass 1.98.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Command-Line Interface
- Gracefully handle dependency loops in
--watchmode.
Dart API
- Add a
const Logger.defaultLoggerfield. This provides a logger that emits to standard error or the browser console, but automatically chooses whether to use terminal colors.
JavaScript API
-
Fix a crash when manually constructing a
SassCalculationfor'calc'with an argument that can't be simplified. -
Properly emit deprecation warnings as text rather than
StringBufferobjects when running in a browser. -
Emit colored warnings and other messages on the console when running in a browser.
See the full changelog for changes in earlier releases.