sass
1.108.2 · 11 Nov 2026MIT44.5M / weekRepositorynpmAtom feed
Upgrading sass From 1.106.0 to 1.108.2
6 releases in betweenevery note read
Reading releases, release notes and advisories…
- 2
- changes to make
- 0
- advisories fixed
- 3
- new
- 3
- fixes
Before you upgrade
Tick each one off as you go- Deprecated1.107.0
- Deprecated1.107.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
7 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.
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.