Releases: sass/dart-sass
Dart Sass 1.86.0
To install Sass 1.86.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
%
as an expression in its own right. It will still be parsed as the modulo operator when between two other expressions, but in any other context it will be an expression whose value is the unquoted string%
. -
Consider
attr()
to be a special number function that can be used as a channel in color functions. -
Deprecate user-defined functions named
type()
so that we can eventually support the new CSStype()
function.
Dart API
- Increase the minimum Dart SDK to 3.6.0.
See the full changelog for changes in earlier releases.
Dart Sass 1.85.1
To install Sass 1.85.1, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
- Fix a bug where global Sass functions whose names overlap with CSS math functions could incorrectly be treated as CSS math functions even though they used Sass-only features, causing compilation failures. For example,
round(-$var / 2)
previously threw an error but now works as intended.
See the full changelog for changes in earlier releases.
Dart Sass 1.85.0
To install Sass 1.85.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
- No longer fully trim redundant selectors generated by
@extend
. This caused unacceptable performance issues for certain heavy users of@extend
. We'll try to find a more performant way to accomplish it in the future.
See the full changelog for changes in earlier releases.
Dart Sass 1.83.4
To install Sass 1.83.4, 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.83.3
To install Sass 1.83.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.83.2
To install Sass 1.83.2, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
-
Properly display deprecation IDs for the JS Sass API.
-
Don't display deprecation IDs for user-defined deprecations.
See the full changelog for changes in earlier releases.
Dart Sass 1.83.1
To install Sass 1.83.1, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
-
Fix a bug where
--quiet-deps
would get deactivated for@content
blocks, even when those blocks were entirely contained within dependencies. -
Include deprecation IDs in deprecation warnings to make it easier to determine what to pass to
--silence-deprecation
or--fatal-deprecation
.
See the full changelog for changes in earlier releases.
Dart Sass 1.83.0
To install Sass 1.83.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
- Allow trailing commas in all argument and parameter lists.
See the full changelog for changes in earlier releases.
Dart Sass 1.82.0
To install Sass 1.82.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
-
Improve
--watch
mode reliability when making multiple changes at once, such as checking out a different Git branch. -
Parse the
calc-size()
function as a calculation now that it's supported in some browsers.
Dart API
- Add a
SassCalculation.calcSize()
function.
See the full changelog for changes in earlier releases.
Dart Sass 1.81.1
To install Sass 1.81.1, 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.