sass
1.108.2 · 11 Nov 2026MIT44.5M / weekRepositorynpmAtom feed
1.108.2 is the newest release of 1.x.
In short
2 breaking1 deprecated1 fixed1 changed
- Breaking
Emit declarations, childless at-rules, and comments in the order they appear in the source even when they're interleaved with nested rules. This obsoletes the
mixed-declsdeprecation. - Breaking
The function name
type()is now fully reserved for the plain CSS function. This means that@functiondefinitions with the nametypewill produce errors, while function calls will be parsed as special function strings. - Deprecated
Configuring private variables using
@use ... with,@forward ... with, andmeta.load-css(..., $with: ...)is now deprecated. Private variables were always intended to be fully encapsulated within the module that defines them, and this helps enforce that encapsulation.
Release note
To install Sass 1.92.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
- Breaking
Emit declarations, childless at-rules, and comments in the order they appear in the source even when they're interleaved with nested rules. This obsoletes the
mixed-declsdeprecation. - Breaking
The function name
type()is now fully reserved for the plain CSS function. This means that@functiondefinitions with the nametypewill produce errors, while function calls will be parsed as special function strings. - Deprecated
Configuring private variables using
@use ... with,@forward ... with, andmeta.load-css(..., $with: ...)is now deprecated. Private variables were always intended to be fully encapsulated within the module that defines them, and this helps enforce that encapsulation. Fix a bug where
@extendrules loaded through a mixture of@importand@userules could fail to apply correctly.
Command-Line Interface
In
--watchmode, delete the source map when the associated source file is deleted.
See the full changelog for changes in earlier releases.
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.