unstale

npm / sass-embedded

sass-embedded

What changed in sass-embedded 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

5 breaking6 deprecations15 new APIs and options6 behavior and defaults28 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

sass-embedded 160 changes

Breaking changes 5

  • Escapes for zero, Unicode surrogates, and out-of-range code points are consistently normalized to U+FFFD, except standalone \0, which remains \0 .

    1.106.0release notes

  • Mixins and functions with rest parameters that duplicate normal parameters now throw an error instead of making positional parameters inaccessible and potentially crashing on named arguments.

    1.106.0release notes

  • Negative zero is serialized as -0 instead of 0 for greater compatibility when used in CSS calculations.

    1.104.0release notes

  • Uses the 2.4 gamma transfer function for rec2020, as specified by the latest draft of CSS Color 4.

    1.102.0release notes

  • A user-defined unnamespaced function named calc is allowed and is used instead of the built-in calc() function when it exists in the current module.

    1.99.0release notes

Deprecations 6

  • Passing a version number beyond the current Dart Sass version is deprecated.

    1.107.0release notes

  • Passing a version number beyond the current Dart Sass version is deprecated.

    1.107.0release notes

  • Writing compound selectors adjacent to one another without whitespace is deprecated because it was always an error in CSS and Sass supported it by mistake.

    1.100.0release notes

  • User-defined functions named EXPRESSION, URL, or ELEMENT, beginning with - and ending in -ELEMENT, or matching those names with some lowercase letters are deprecated.

    1.99.0release notes

  • Calls are deprecated when their behavior will change because these function names will lose their special parsing in a future release.

    1.99.0release notes

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

    1.99.0release notes

New APIs and options 15

  • Adds a field to exclude deprecations from those enabled as fatal by CompileRequest.fatal_deprecation.

    1.107.0release notes

  • Adds a property that returns the deprecations that will become fatal in Dart Sass 2.0.0.

    1.107.0release notes

  • Can exclude selected deprecations by prefixing their names with - in the version-based selector.

    1.107.0release notes

  • Accepts dart-sass-2 to mark fatal the deprecations that will become fatal in Dart Sass 2.0.0.

    1.107.0release notes

  • Accepts a DeprecationSelectorDifference object with include and except fields; except takes precedence.

    1.107.0release notes

  • Adds a property that can be passed to Options.fatalDeprecations to mark fatal exactly the deprecations that will become fatal in Dart Sass 2.0.0.

    1.107.0release notes

  • Adds a mixin that includes CSS from a first-class module.

    1.105.0release notes

  • Adds a function for accessing first-class modules.

    1.105.0release notes

  • First-class modules may be passed as the $module argument to numerous existing sass:meta functions.

    1.105.0release notes

  • Adds the SassModule class to the JS API.

    1.105.0release notes

  • Adds the SassModule class to the Dart API.

    1.105.0release notes

  • Adds a method for asserting that a value is a module in the JS API.

    1.105.0release notes

  • Adds a method for asserting that a value is a module in the Dart API.

    1.105.0release notes

  • Adds a logger that writes to standard error or the browser console and automatically chooses whether to use terminal colors.

    1.98.0release notes

  • Adds support for the display-p3-linear color space.

    1.97.0release notes

Behavior and default changes 6

  • CSS escapes in statement contexts that can contain interpolation are emitted as written instead of being normalized.

    1.106.0release notes

  • Parent selectors at the document root are emitted as-is in CSS, where they’re interpreted as the scoping root.

    1.99.0release notes

  • A user-defined unnamespaced function named clamp is allowed and is used instead of the built-in clamp() function when it exists in the current module.

    1.99.0release notes

  • User-defined functions with these names are no longer forbidden.

    1.99.0release notes

  • Warnings and other messages are emitted in color on the console when running in a browser.

    1.98.0release notes

  • Numbers with complex units can now be emitted to CSS as calc() expressions.

    1.96.0release notes

Fixes and other changes 28

  • Fixes the release process so OS-specific embedded Sass packages include their Dart Sass snapshots.

    1.108.1release notes

  • Undoes the 1.106.0 breaking change affecting how escaped identifiers interact with sass:meta functions.

    1.108.0release notes

  • The embedded protocol version is now reported as 3.4.0.

    1.107.1release notes

  • Serializing an attribute selector with an empty value, such as [class=""], no longer crashes.

    1.106.1release notes

  • Serializing a number with an empty unit no longer crashes when using the JavaScript or Dart APIs or the embedded protocol.

    1.106.1release notes

  • Invalid value errors are more robustly converted into PARAMS errors in Embedded Dart Sass.

    1.106.1release notes

  • Units that could be confused with numeric exponents are serialized as escape codes to avoid being interpreted as exponents by CSS.

    1.106.0release notes

  • Quotes are no longer removed from attribute selector values containing backslashes.

    1.106.0release notes

  • Using a CSS escape at the beginning of an identifier no longer changes parsing behavior compared with using the character directly.

    1.106.0release notes

  • Underscores written as CSS escape codes are now properly normalized in variable, mixin, and function names.

    1.106.0release notes

  • Parsing no longer crashes when the first statement is indented and appears after the first line.

    1.106.0release notes

  • Errors or warnings in interpolations containing patterns like // */ no longer cause crashes.

    1.106.0release notes

  • CSS escapes for U+45 LATIN CAPITAL LETTER E and U+65 LATIN LOWERCASE LETTER E are no longer parsed as exponents in percentage selectors.

    1.106.0release notes

  • Invalid source spans that could cause crashes on syntax errors involving escape sequences are fixed.

    1.106.0release notes

  • Fixes a deadlock when the async compiler fails to start.

    1.105.2release notes

  • Error messages for @extend across different media queries are improved.

    1.105.1release notes

  • An invalid selector at the end of an indented syntax stylesheet now produces a useful error instead of crashing the parser.

    1.104.1release notes

  • Sass sets output-file modification times to compilation start time, so --watch and --update recompile outputs when a source file changes during compilation.

    1.104.1release notes

  • Fixes loud comments before @use rules being emitted multiple times under certain circumstances.

    1.104.1release notes

  • Many-to-many compilations no longer compile files in the output directory when it is inside the source directory, preventing an infinite recompilation loop.

    1.104.1release notes

  • Colors convert NaN and negative zero, as well as infinity and negative infinity for polar-hue channels, to 0 as required by the CSS spec.

    1.104.0release notes

  • Deprecation warnings are emitted as text rather than StringBuffer objects in browsers.

    1.98.0release notes

  • Fixes a crash when manually constructing a calculation for calc with an argument that cannot be simplified.

    1.98.0release notes

  • Gracefully handles dependency loops in watch mode.

    1.98.0release notes

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

    1.97.3release notes

  • Fixes implicit configuration when nested imports are involved.

    1.97.2release notes

  • Values are no longer evaluated when their conditions don't match.

    1.97.1release notes

  • Fixes a performance regression introduced in 1.92.0.

    1.93.3release notes