Releases: sass/dart-sass
Dart Sass 1.80.7
To install Sass 1.80.7, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Embedded Host
- Don't treat
0
asundefined
for thegreen
andblue
channels in theLegacyColor
constructor.
See the full changelog for changes in earlier releases.
Dart Sass 1.80.6
To install Sass 1.80.6, 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
- Make
@parcel/watcher
an optional dependency so this can still be installed on operating systems where it's unavailable.
See the full changelog for changes in earlier releases.
Dart Sass 1.80.5
To install Sass 1.80.5, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Embedded Host
- Don't produce phantom
@import
deprecations when using an importer with the legacy API.
See the full changelog for changes in earlier releases.
Dart Sass 1.80.4
To install Sass 1.80.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.80.3
To install Sass 1.80.3, 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
@import url("...")
would crash in plain CSS files. -
Improve consistency of how warnings are emitted by different parts of the compiler. This should result in minimal user-visible changes, but different types of warnings should now respond more reliably to flags like
--quiet
,--verbose
, and--silence-deprecation
.
See the full changelog for changes in earlier releases.
Dart Sass 1.80.2
To install Sass 1.80.2, 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 deprecation warnings were incorrectly emitted for the plain-CSS
invert()
function.
See the full changelog for changes in earlier releases.
Dart Sass 1.80.1
To install Sass 1.80.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 repeated deprecation warnings were not automatically limited.
See the full changelog for changes in earlier releases.
Dart Sass 1.80.0
To install Sass 1.80.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
@import
is now officially deprecated, as are global built-in functions that are available within built-in modules. See the Sass blog post for more details on the deprecation process.
Embedded Host
- Fix an error that would sometimes occur when deprecation warnings were emitted when using a custom importer with the legacy API.
See the full changelog for changes in earlier releases.
Dart Sass 1.79.6
To install Sass 1.79.6, 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 Sass would add an extra
*/
after loud comments with whitespace after an explicit*/
in the indented syntax. -
Potentially breaking bug fix: Adding text after an explicit
*/
in the indented syntax is now an error, rather than silently generating invalid CSS.
Embedded Host
- Properly export the
SassBoolean
type.
See the full changelog for changes in earlier releases.
Dart Sass 1.79.5
To install Sass 1.79.5, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
-
Changes to how
selector.unify()
and@extend
combine selectors:-
The relative order of pseudo-classes (like
:hover
) and pseudo-elements (like::before
) within each original selector is now preserved when they're combined. -
Pseudo selectors are now consistently placed at the end of the combined selector, regardless of which selector they came from. Previously, this reordering only applied to pseudo-selectors in the second selector.
-
-
Tweak the color transformation matrices for OKLab and OKLCH to match the newer, more accurate values in the CSS spec.
-
Fix a slight inaccuracy case when converting to
srgb-linear
anddisplay-p3
. -
Potentially breaking bug fix:
math.unit()
now wraps multiple denominator units in parentheses. For example,px/(em*em)
instead ofpx/em*em
.
Command-Line Interface
- Use
@parcel/watcher
to watch the filesystem when running from JavaScript and not using--poll
. This should mitigate more frequent failures users have been seeing since version 4.0.0 of Chokidar, our previous watching tool, was released.
JS API
- Fix
SassColor.interpolate()
to allow an undefinedoptions
parameter, as the types indicate.
Embedded Sass
- Properly pass missing color channel values to and from custom functions.
See the full changelog for changes in earlier releases.