Packages

@sass/types

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

Your version

36 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 1.108.2

    11 Nov 2026
    • No user-visible changes.

  2. 1.108.1

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

  3. 1.108.0

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

  4. 1.107.1

    30 Oct 2026
    • Properly report the embedded protocol version as 3.4.0.

  5. 1.107.0

    28 Oct 2026
    • 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.

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

  6. 1.106.1

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

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

    • More robustly convert invalid value errors into PARAMS errors.

  7. 1.106.0

    21 Oct 2026
    • 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.

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

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

  8. 1.105.2

    16 Oct 2026
    • Fix a deadlock when the async compiler fails to start.

  9. 1.105.1

    29 Sep 2026
    • Improve error messages for @extends across different media queries.

  10. 1.105.0

    22 Sep 2026
    • Add support for first-class modules. These can be accessed using the new meta.load() and meta.get-module() functions, and may be passed as the $module argument to numerous eisting sass:meta functions.

    • Add the meta.css() mixin, which includes CSS from a first-class module.

    • Add a SassModule class and a corresponding Value.assertModule() method.

  11. 1.104.1

    11 Sep 2026
    • Fix a bug where loud comments before @use rules could be emitted multiple times under certain circumstances.

    • Fix a bug in which an invalid selector at the end of an indented syntax stylesheet would cause the parser to crash instead of emitting a useful error message.

    • Many-to-many compilations no longer compile any files that appear in the output directory if the output directory is also within the source directory. This fixes a bug where --watch mode could enter an infinite loop recompiling the same CSS file over and over.

  12. 1.104.0

    3 Sep 2026
    • Potentially breaking compatibility fix: Colors now convert the special values NaN and negative zero, as well as infinity and negative infinity for polar-hue channels, to 0 as per the CSS spec.

    • The special value negative zero is now serialized as -0 instead of 0 for greater compatibility when using it in CSS calculations.

  13. 1.103.1

    20 Aug 2026
    • No user-visible changes.

  14. 1.103.0

    20 Aug 2026
    • Potentially breaking compatibility fix: Colors now preserve "analogous sets" of missing channels during conversions, per the CSS spec. For example, color.to-space(lch(50% none none), lab) now returns lab(50% none none) instead of lab(50% 0 0).

  15. 1.102.0

    25 Jul 2026
    • Use the 2.4 gamma transfer function for rec2020, as specified by the latest draft of CSS Color 4.

  16. 1.101.7

    23 Jul 2026
    • No user-visible changes.

  17. 1.101.6

    22 Jul 2026
    • No user-visible changes.

  18. 1.101.5

    22 Jul 2026
    • No user-visible changes.

  19. 1.101.4

    22 Jul 2026
    • Avoid emitting rgb() or rgba() functions with non-percent decimal channels. Older browsers only support integer values or (potentially decimal) percentages for these functions, so in order to preserve backwards-compatibility while retaining full precision for modern browsers, legacy colors that contain at least one non-integer channel will now use percentages for their channels (for example, rgb(0%, 100%, 50%) rather than rgb(0, 255, 127.5)).

    • Fix a bug where the values of plain-CSS if() expressions were emitted using their meta.inspect() format rather than their CSS serialization format.

  20. 1.101.3

    21 Jul 2026
    • No user-visible changes.

  21. 1.101.2

    10 Jul 2026
    • Fix a bug where the deprecation warning for vendor-prefixed expression() functions would incorrectly indicate whether or not the function would be invalid Sass in Dart Sass 2.0.0.

  22. 1.101.0

    11 Jun 2026
    • Potentially breaking bug fix: The Node package importer now properly supports resolving import-only variants of Sass files declared in the exports, sass, and style fields of package.json. Previously, these files were ignored even when loaded via @import, so any code relying on loading module-system-only files this way may break.

  23. 1.100.0

    22 May 2026
    • Deprecated

      Writing two compound selectors adjacent to one another without any whitespace between them, such as [class]a, is now deprecated. This was always an error in CSS and Sass only supported it by mistake.

      See the Sass website for details.

  24. 1.99.0

    2 Apr 2026
    • Deprecated

      User-defined functions named EXPRESSION, URL, and ELEMENT, those that begin with - and end with -ELEMENT, as well as the same names with some lowercase letters are now deprecated, These are names conflict with plain CSS functions that have special syntax.

      See the Sass website for details.

    • Deprecated

      In a future release, calls to functions whose names begin with - and end with -expression and -url will no longer have special parsing. For now, these calls are deprecated if their behavior will change in the future.

      See the Sass website for details.

    • Deprecated

      Calls to functions whose names begin with - and end with -progid:... are deprecated.

      See the Sass website for details.

  25. 1.98.0

    10 Mar 2026
    • Gracefully handle dependency loops in --watch mode.

    • Add a const Logger.defaultLogger field. This provides a logger that emits to standard error or the browser console, but automatically chooses whether to use terminal colors.

    • Fix a crash when manually constructing a SassCalculation for 'calc' with an argument that can't be simplified.

  26. 1.97.3

    21 Jan 2026
    • Fix a bug where nesting an at-rule within multiple style rules in plain CSS could cause outer style rules to be omitted.

  27. 1.97.2

    6 Jan 2026
    • Additional fixes for implicit configuration when nested imports are involved.

  28. 1.97.1

    19 Dec 2025
    • Fix a bug with the new CSS-style if() syntax where values would be evaluated even if their conditions didn't match.

  29. 1.97.0

    16 Dec 2025
    • Add support for the display-p3-linear color space.

  30. 1.96.0

    11 Dec 2025
    • Allow numbers with complex units (more than one numerator unit or more than zero denominator units) to be emitted to CSS. These are now emitted as calc() expressions, which now support complex units in plain CSS.

  31. 1.95.1

    9 Dec 2025
    • No user-visible changes.

  32. 1.95.0

    8 Dec 2025
    • Deprecated

      The old Sass if() syntax is now deprecated. Users are encouraged to migrate to the new CSS syntax. if($condition, $if-true, $if-false) can be changed to if(sass($condition): $if-true; else: $if-false).

      See the Sass website for details.

    • Add support for the CSS-style if() function. In addition to supporting the plain CSS syntax, this also supports a sass() query that takes a Sass expression that evaluates to true or false at preprocessing time depending on whether the Sass value is truthy. If there are no plain-CSS queries, the function will return the first value whose query returns true during preprocessing. For example, if(sass(false): 1; sass(true): 2; else: 3) returns 2.

    • Plain-CSS if() functions are now considered "special numbers", meaning that they can be used in place of arguments to CSS color functions.

  33. 1.94.3

    8 Dec 2025
    • Fix the span reported for standalone % expressions followed by whitespace.

  34. 1.94.2

    19 Nov 2025
    • Using --fatal-deprecation <version> no longer emits warnings about deprecations that are obsolete.

    • Deprecation.forVersion now excludes obsolete deprecations from the set it returns.

    • Excludes obsolete deprecations from fatalDeprecations when a Version is passed.

  35. 1.94.1

    18 Nov 2025
    • No user-visible changes.

  36. 1.93.2

    23 Sep 2025
    • No user-visible changes.

    • Fix another error in the release process for @sass/types.

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.