Packages

@sass/types

1.108.2 · 11 Nov 2026MIT9.5k / weekRepositoryHomepagenpmAtom feed

Upgrading @sass/types From 1.106.0 to 1.108.2

6 releases in betweenevery note read

Reading releases, release notes and advisories…

Before you upgrade

Tick each one off as you go
  • Deprecated1.107.0
  • Deprecated1.107.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.

7 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

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.