Packages

sass

1.108.2 · 11 Nov 2026MIT44.5M / weekRepositorynpmAtom feed

Upgrading sass From 1.78.0 to 1.79.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.78.0Newest 1.x, Latest1.108.2
  1. 1.78.0yours
  2. 1.79.0target
7
changes to make
0
advisories fixed
26
new
0
fixes

Before you upgrade

Tick each one off as you go
  • Breaking1.79.0
  • Deprecated1.79.0
  • Deprecated1.79.0
  • Deprecated1.79.0
  • Deprecated1.79.0
  • Deprecated1.79.0
  • Deprecated1.79.0

Release by release

  1. 1.79.0

    Migration needed17 Sep 202426 new
    • Breaking

      Passing a number with unit % to the $alpha parameter of color.change(), color.adjust(), change-color(), and adjust-color() is now interpreted as a percentage, instead of ignoring the unit. For example, color.change(red, $alpha: 50%) now returns rgb(255 0 0 / 0.5).

    • Deprecated

      The color.red(), color.green(), color.blue(), color.hue(), color.saturation(), color.lightness(), color.whiteness(), and color.blackness() functions, as well as their global counterparts, should be replaced with calls to color.channel().

    • Deprecated

      The global adjust-hue(), saturate(), desaturate(), lighten(), darken(), transaprentize(), fade-out(), opacify(), and fade-in() functions should be replaced by color.adjust() or color.scale().

    • Deprecated

      Deprecated SassColor.red, .green, .blue, .hue, .saturation, .lightness, .whiteness, and .blackness in favor of SassColor.channel().

13 other lines we could not sort, mostly version bumps
  • Potentially breaking compatibility fix: Sass no longer rounds RGB channels to the nearest integer. This means that, for example, rgb(0 0 1) != rgb(0 0 0.6). This matches the latest version of the CSS spec and browser behavior.

    1.79.0
  • Potentially breaking compatibility fix: Passing large positive or negative values to color.adjust() can now cause a color's channels to go outside that color's gamut. In most cases this will currently be clipped by the browser and end up showing the same color as before, but once browsers implement gamut mapping it may produce a different result.

    1.79.0
  • rgb colors can now have non-integer channels and channels outside the normal gamut of 0-255. These colors are always emitted using the rgb() syntax so that modern browsers that are being displayed on wide-gamut devices can display the most accurate color possible.

    1.79.0
  • hsl() and color.hwb() no longer forbid out-of-bounds values. Instead, they follow the CSS spec by clamping them to within the allowed range.

    1.79.0
  • color.change(), color.adjust(), and color.scale() now support all channels of all color spaces. However, if you want to modify a channel that's not in $color's own color space, you have to explicitly specify the space with the $space parameter. (For backwards-compatibility, this doesn't apply to legacy channels of legacy colors—for example, you can still adjust an rgb color's saturation without passing $space: hsl).

    1.79.0
  • color.mix() and color.invert() now support the standard CSS algorithm for interpolating between two colors (the same one that's used for gradients and animations). To use this, pass the color space to use for interpolation to the $method parameter. For polar color spaces like hsl and oklch, this parameter also allows you to specify how hue interpolation is handled.

    1.79.0
  • color.complement() now supports a $space parameter that indicates which color space should be used to take the complement.

    1.79.0
  • color.grayscale() now operates in the oklch space for non-legacy colors.

    1.79.0
  • color.ie-hex-str() now automatically converts its color to the rgb space and gamut-maps it so that it can continue to take colors from any color space.

    1.79.0
  • SassColor.rgb() now allows out-of-bounds and non-integer arguments.

    1.79.0

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.