sass
1.108.2 · 11 Nov 2026MIT44.5M / weekRepositorynpmAtom feed
Upgrading sass From 1.7.3 to 1.108.2
297 releases in betweenevery note read
Reading releases, release notes and advisories…
- 57
- changes to make
- 0
- advisories fixed
- 171
- new
- 181
- fixes
Start here
Before you upgrade
Tick each one off as you go- Breaking1.92.0
- Breaking1.92.0
- Breaking1.91.0
- Breaking1.86.0
- Breaking1.79.0
- Breaking1.67.0
- Breaking1.66.0
- Breaking1.61.0
- Breaking1.56.0
- Breaking1.51.0
Release by release
1.108.2nothing new or fixed in the note
- Fixed
Fix an issue in the release process causing the OS-specific embedded Sass packages to be missing their Dart Sass snapshots.
- Fixed
1.107.1 – 1.108.02 releases, nothing new or fixed in the notes
- Deprecated
Passing a version number beyond the current Dart Sass version to
Options.fatalDeprecationsis now deprecated. See the Sass website for details. - Deprecated
Passing a version number beyond the current Dart Sass version to
Deprecation.forVersionis now deprecated. - New
Add a (non-enumerable)
sass.deprecations.dartSass2property which can be passed toOptions.fatalDeprecationsto mark as fatal exactly the deprecations that will become fatal in Dart Sass 2.0.0. This can be combined with other deprecations or used in aDeprecationSelectorDifferenceto modify exactly which deprecations it covers. - New
Add a
Deprecation.dartSass2property which returns exactly the set of deprecations that will become fatal in Dart Sass 2.0.0. - New
Add a
CompileRequest.fatal_deprecation_exceptfield which excludes deprecations from being considered fatal if they would have been enabled byCompileRequest.fatal_deprecation.
- Deprecated
- Fixed
Fix a bug where an attribute selector with an empty value (such as
[class=""]) would crash when serializing. - Fixed
Don't crash when serializing a number with an empty unit. This is only possible through the JavaScript and Dart APIs or the embedded protocol.
- Fixed
- Fixed
Don't normalize CSS escapes in statement contexts that can contain interpolation. For example,
@f\6Fois now emitted as written rather than normalized to@foo. - Fixed
Fix a bug where quotes would be removed from attribute selector values that contained backslashes.
- Fixed
Fix invalid source spans that could cause crashes when encountering a syntax error in selectors or media queries that also contain escape sequences.
- Fixed
Fix a bug where the indented syntax parser would crash when parsing a file where the first statement was indented and appeared after the first line.
- Fixed
Fix a bug that could cause crashes when encountering errors or warnings in interpolations that contain patterns like
// */. - Fixed
Potentially breaking bug fix: Fix various cases where using a CSS escape code at the beginning of an identifier would change parsing behavior versus using the character directly.
- Fixed
Potentially breaking bug fix: Don't parse a CSS escape code for U+45 LATIN CAPITAL LETTER E or U+65 LATIN LOWERCASE LETTER E as an exponent in
@keyframespercentage selectors.
- Fixed
- Fixed
Fix a deadlock when the async compiler fails to start.
- Fixed
1.105.1nothing new or fixed in the note
277 other lines we could not sort, mostly version bumps
- 1.108.2
No user-visible changes.
- 1.108.0
Undo some unintentional breaking changes added in 1.106.0 relating to how escaped identifiers interact with
sass:metafunctions and named rest arguments. - 1.107.1
Properly report the embedded protocol version as 3.4.0.
- 1.107.0
The
--fatal-deprecationflag can now exclude deprecations that would otherwise be included by passing a version number. To exclude a deprecation, add-before its name. For example,--fatal-deprecation=1.107.0,-importincludes all deprecations that were present in Dart Sass 1.107.0 except for the@importdeprecation. - 1.107.0
The
--fatal-deprecationflag now takes the special valuedart-sass-2, which treats as fatal all deprecations that will become fatal in Dart Sass 2.0.0. - 1.107.0
Options.fatalDeprecationscan now take aDeprecationSelectorDifferenceobject of the form{include: ..., except: ...}, where theincludefield lists deprecations to mark fatal (which can be version numbers) and theexceptfield lists deprecations not to mark fatal. Theexceptfield takes precedence overinclude. - 1.106.1
More robustly convert invalid value errors into
PARAMSerrors. - 1.106.0
Potentially breaking compatibility fix: CSS escape codes whose values are 0, for Unicode surrogates, or greater than the maximum allowed code point are now consistently normalized to U+FFFD REPLACEMENT CHARACTER in expression contexts. Previously, in some cases these were instead normalized to the normalized form of the original escape sequence, which violates the principle that all escape sequences for identical values should be normalized the same way. In other cases, these would simply throw errors.
- 1.106.0
Potentially breaking bug fix: Throw an error for mixins and functions that have rest parameters which are the same as normal parameters. Previously, the positional parameters wouldn't be accessible and calling such a mixin or function with a named argument would crash the compiler.
- 1.106.0
Potentially breaking bug fix: When a number's unit is ambiguous with a numeric exponent, the unit is now serialized as an escape code rather than a literal
eto avoid being interpreted as an exponent by CSS.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.