Packages

sass

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

Upgrading sass From 1.53.0 to 1.54.0

1 release in betweenevery note read

Other targets from 1.53.0Newest 1.x, Latest1.108.2
  1. 1.53.0yours
  2. 1.54.0target

Before you upgrade

Tick each one off as you go
  • Deprecated1.54.0
  • Deprecated1.54.0

Release by release

  1. 1.54.0

    Deprecation22 Jul 20223 new · 2 fixes
    • Deprecated

      Deprecate selectors with leading or trailing combinators, or with multiple combinators in a row. If they're included in style rules after nesting is resolved, Sass will now produce a deprecation warning and, in most cases, omit the selector. Leading and trailing combinators can still be freely used for nesting purposes.

    • Deprecated

      Deprecate passing non-deg units to color.hwb()'s $hue argument.

    • New

      Add partial support for new media query syntax from Media Queries Level 4. The only exception are logical operations nested within parentheses, as these were previously interpreted differently as SassScript expressions.

    • New

      Add a top-level fakeFromImport() function for testing custom importers that use AsyncImporter.fromImport.

    • New

      Add a charset option that controls whether or not Sass emits a @charset/BOM for non-ASCII stylesheets.

    • Fixed

      Fix a number of bugs when determining whether selectors with pseudo-elements are superselectors.

    • Fixed

      Fix Sass npm package types for TS 4.7+ Node16 and NodeNext module resolution.

1 other line we could not sort, mostly version bumps
  • Treat * as a superselector of all selectors.

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