sass
1.108.2 · 11 Nov 2026MIT44.8M / weekRepositorynpmAtom feed
Upgrading sass From 1.53.0 to 1.54.0
1 release in betweenevery note read
- 2
- changes to make
- 0
- advisories fixed
- 3
- new
- 2
- fixes
Before you upgrade
Tick each one off as you go- Deprecated1.54.0
- Deprecated1.54.0
Release by release
- Deprecated
Deprecate selectors with leading or trailing combinators, or with multiple combinators in a row. If they're included in style rules after nesting is resolved, Sass will now produce a deprecation warning and, in most cases, omit the selector. Leading and trailing combinators can still be freely used for nesting purposes.
- Deprecated
Deprecate passing non-
degunits tocolor.hwb()'s$hueargument. - New
Add partial support for new media query syntax from Media Queries Level 4. The only exception are logical operations nested within parentheses, as these were previously interpreted differently as SassScript expressions.
- New
Add a top-level
fakeFromImport()function for testing custom importers that useAsyncImporter.fromImport. - New
Add a
charsetoption that controls whether or not Sass emits a@charset/BOM for non-ASCII stylesheets. - Fixed
Fix a number of bugs when determining whether selectors with pseudo-elements are superselectors.
- Fixed
Fix Sass npm package types for TS 4.7+ Node16 and NodeNext module resolution.
- Deprecated
1 other line we could not sort, mostly version bumps
- 1.54.0
Treat
*as a superselector of all selectors.
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.