sass
1.108.2 · 11 Nov 2026MIT44.5M / weekRepositorynpmAtom feed
Upgrading sass From 1.22.2 to 1.22.3
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 0
- new
- 1
- fix
Before you upgrade
Tick each one off as you go- Breaking1.22.3
Release by release
- Breaking
Potentially breaking bug fix: The
invert()function now throws an error if it's used [as a plain CSS function][plain-CSS invert] and the Sass-only$weightparameter is passed. This never did anything useful, so it's considered a bug fix rather than a full breaking change. - Fixed
Fix a bug where the
str-slice()function could produce invalid output when passed a string that contains characters that aren't represented as a single byte in UTF-16.
- Breaking
9 other lines we could not sort, mostly version bumps
- 1.22.3
Potentially breaking bug fix: The argument name for the
saturate()function is now$amount, to match the name in LibSass and originally in Ruby Sass. - 1.22.3
Potentially breaking bug fix: The
invert()function now properly returns#808080when passed$weight: 50%. This matches the behavior in LibSass and originally in Ruby Sass, as well as being consistent with other nearby values of$weight. - 1.22.3
Potentially breaking bug fix: The
str-insert()function now properly inserts at the end of the string if the$indexis-1. This matches the behavior in LibSass and originally in Ruby Sass. - 1.22.3
Potentially breaking bug fix: An empty map returned by
map-remove()is now treated as identical to the literal value(), rather than being treated as though it had a comma separator. This matches the original behavior in Ruby Sass. - 1.22.3
The
adjust-color()function no longer throws an error when a large$alphavalue is combined with HSL adjustments. - 1.22.3
The
alpha()function now produces clearer error messages when the wrong number of arguments are passed. - 1.22.3
Improve the error message for an unknown separator name passed to the
join()orappend()functions. - 1.22.3
The
zip()function no longer deadlocks if passed no arguments. - 1.22.3
The
map-remove()function can now take a$keynamed argument. This matches the signature in LibSass and originally in Ruby Sass.
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.