Packages

sass

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

Upgrading sass From 1.96.0 to 1.108.2

28 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 1.96.0yours
  2. 27 releases
  3. 1.108.2target

Before you upgrade

Tick each one off as you go
  • Deprecated1.107.0
  • Deprecated1.107.0
  • Deprecated1.100.0
  • Deprecated1.99.0
  • Deprecated1.99.0
  • Deprecated1.99.0

Release by release

  1. 1.108.2nothing new or fixed in the note

  2. 1.108.1

    7 Nov 20261 fix
    • Fixed

      Fix an issue in the release process causing the OS-specific embedded Sass packages to be missing their Dart Sass snapshots.

  3. 1.107.1 – 1.108.02 releases, nothing new or fixed in the notes

  4. 1.107.0

    Deprecation28 Oct 20263 new
    • Deprecated

      Passing a version number beyond the current Dart Sass version to Options.fatalDeprecations is now deprecated. See the Sass website for details.

    • Deprecated

      Passing a version number beyond the current Dart Sass version to Deprecation.forVersion is now deprecated.

    • New

      Add a (non-enumerable) sass.deprecations.dartSass2 property which can be passed to Options.fatalDeprecations to mark as fatal exactly the deprecations that will become fatal in Dart Sass 2.0.0. This can be combined with other deprecations or used in a DeprecationSelectorDifference to modify exactly which deprecations it covers.

    • New

      Add a Deprecation.dartSass2 property which returns exactly the set of deprecations that will become fatal in Dart Sass 2.0.0.

    • New

      Add a CompileRequest.fatal_deprecation_except field which excludes deprecations from being considered fatal if they would have been enabled by CompileRequest.fatal_deprecation.

  5. 1.106.1

    21 Oct 20262 fixes
    • Fixed

      Fix a bug where an attribute selector with an empty value (such as [class=""]) would crash when serializing.

    • Fixed

      Don't crash when serializing a number with an empty unit. This is only possible through the JavaScript and Dart APIs or the embedded protocol.

  6. 1.106.0

    21 Oct 20267 fixes
    • Fixed

      Don't normalize CSS escapes in statement contexts that can contain interpolation. For example, @f\6Fo is now emitted as written rather than normalized to @foo.

    • Fixed

      Fix a bug where quotes would be removed from attribute selector values that contained backslashes.

    • Fixed

      Fix invalid source spans that could cause crashes when encountering a syntax error in selectors or media queries that also contain escape sequences.

    • Fixed

      Fix a bug where the indented syntax parser would crash when parsing a file where the first statement was indented and appeared after the first line.

    • Fixed

      Fix a bug that could cause crashes when encountering errors or warnings in interpolations that contain patterns like // */.

    • Fixed

      Potentially breaking bug fix: Fix various cases where using a CSS escape code at the beginning of an identifier would change parsing behavior versus using the character directly.

    • Fixed

      Potentially breaking bug fix: Don't parse a CSS escape code for U+45 LATIN CAPITAL LETTER E or U+65 LATIN LOWERCASE LETTER E as an exponent in @keyframes percentage selectors.

  7. 1.105.2

    16 Oct 20261 fix
    • Fixed

      Fix a deadlock when the async compiler fails to start.

  8. 1.105.1nothing new or fixed in the note

25 other lines we could not sort, mostly version bumps
  • No user-visible changes.

    1.108.2
  • Undo some unintentional breaking changes added in 1.106.0 relating to how escaped identifiers interact with sass:meta functions and named rest arguments.

    1.108.0
  • Properly report the embedded protocol version as 3.4.0.

    1.107.1
  • The --fatal-deprecation flag can now exclude deprecations that would otherwise be included by passing a version number. To exclude a deprecation, add - before its name. For example, --fatal-deprecation=1.107.0,-import includes all deprecations that were present in Dart Sass 1.107.0 except for the @import deprecation.

    1.107.0
  • The --fatal-deprecation flag now takes the special value dart-sass-2, which treats as fatal all deprecations that will become fatal in Dart Sass 2.0.0.

    1.107.0
  • Options.fatalDeprecations can now take a DeprecationSelectorDifference object of the form {include: ..., except: ...}, where the include field lists deprecations to mark fatal (which can be version numbers) and the except field lists deprecations not to mark fatal. The except field takes precedence over include.

    1.107.0
  • More robustly convert invalid value errors into PARAMS errors.

    1.106.1
  • Potentially breaking compatibility fix: CSS escape codes whose values are 0, for Unicode surrogates, or greater than the maximum allowed code point are now consistently normalized to U+FFFD REPLACEMENT CHARACTER in expression contexts. Previously, in some cases these were instead normalized to the normalized form of the original escape sequence, which violates the principle that all escape sequences for identical values should be normalized the same way. In other cases, these would simply throw errors.

    1.106.0
  • Potentially breaking bug fix: Throw an error for mixins and functions that have rest parameters which are the same as normal parameters. Previously, the positional parameters wouldn't be accessible and calling such a mixin or function with a named argument would crash the compiler.

    1.106.0
  • Potentially breaking bug fix: When a number's unit is ambiguous with a numeric exponent, the unit is now serialized as an escape code rather than a literal e to avoid being interpreted as an exponent by CSS.

    1.106.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.