sass
1.108.2 · 11 Nov 2026MIT44.5M / weekRepositorynpmAtom feed
Upgrading sass From 1.10.4 to 1.11.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 2
- changes to make
- 0
- advisories fixed
- 6
- new
- 1
- fix
Before you upgrade
Tick each one off as you go- Deprecated1.11.0
- Deprecated1.11.0
Release by release
- Deprecated
Deprecated the
indentedparameter tocompileString()andcompileStringAsync(). - Deprecated
Deprecated the
indentedparameter tonew ImporterResult()and theImporterResult.indentedgetter in favor ofsyntax. - New
Add support for importing plain CSS files. They can only be imported without an extension—for example,
@import "style"will importstyle.css. Plain CSS files imported this way only support standard CSS features, not Sass extensions. - New
Add support for CSS's
min()andmax()[math functions]. Amin()andmax()call will continue to be parsed as a Sass function if it involves any Sass-specific features like variables or function calls, but if it's valid plain CSS (optionally with interpolation) it will be emitted as plain CSS instead.
- Deprecated
3 other lines we could not sort, mostly version bumps
- 1.11.0
Normalize escape codes in identifiers so that, for example,
éclairand\E9clairare parsed to the same value. See [the proposal][identifier-escapes] for details. - 1.11.0
The
--watchcommand now continues to recompile a file after a syntax error has been detected. - 1.11.0
The
compile()andcompileAsync()functions now parse files with the.cssextension as plain 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.