sass
1.108.2 · 11 Nov 2026MIT44.5M / weekRepositorynpmAtom feed
Upgrading sass From 1.67.0 to 1.68.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 3
- new
- 1
- fix
Before you upgrade
Tick each one off as you go- Deprecated1.68.0
Release by release
- Deprecated
The
CalculationValue.interpolationfield is deprecated and will be removed in a future version. It will no longer be set by the compiler, and if the host sets it it will be treated as equivalent toCalculationValue.stringexcept that"("and")"will be added to the beginning and end of the string values. - New
Add a
containingUrlfield to thecanonicalize()andfindFileUrl()methods of importers, which is set to the canonical URL of the stylesheet that contains the current load. For filesystem importers, this is always set; for other importers, it's set only if the current load has no URL scheme, or if its URL scheme is declared as non-canonical by the importer. - New
Add
AsyncImporter.isNonCanonicalScheme, which importers (async or sync) can use to indicate that a certain URL scheme will never be used for URLs returned by thecanonicalize()method. - New
Add
AsyncImporter.containingUrl, which is set during calls to thecanonicalize()method to the canonical URL of the stylesheet that contains the current load. This is set only if the current load has no URL scheme, or if its URL scheme is declared as non-canonical by the importer. - Fixed
Fix the source spans associated with the
abs-percentdeprecation.
- Deprecated
2 other lines we could not sort, mostly version bumps
- 1.68.0
Non-filesystem importers can now set the
nonCanonicalSchemefield, which declares that one or more URL schemes (without:) will never be used for URLs returned by thecanonicalize()method. - 1.68.0
Properly include TypeScript types in the
sass-embeddedpackage.
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.