npm / sass-embedded
sass-embedded
What changed in sass-embedded 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
3 breaking4 deprecations10 new APIs and options5 behavior and defaults14 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initsass-embedded 136 changes
Breaking changes 3
Negative zero is serialized as -0 instead of 0 for greater compatibility when used in CSS calculations.
Uses the 2.4 gamma transfer function for rec2020, as specified by the latest draft of CSS Color 4.
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.
Deprecations 4
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.
User-defined functions named EXPRESSION, URL, or ELEMENT, beginning with - and ending in -ELEMENT, or matching those names with some lowercase letters are deprecated.
Calls are deprecated when their behavior will change because these function names will lose their special parsing in a future release.
Calls to functions whose names begin with - and end with -progid:... are deprecated.
New APIs and options 10
Adds a mixin that includes CSS from a first-class module.
Adds a function for accessing first-class modules.
Adds a function for accessing first-class modules.
First-class modules may be passed as the
$moduleargument to numerous existingsass:metafunctions.Adds the
SassModuleclass to the JS API.Adds the
SassModuleclass to the Dart API.Adds a method for asserting that a value is a module in the JS API.
Adds a method for asserting that a value is a module in the Dart API.
Adds a logger that writes to standard error or the browser console and automatically chooses whether to use terminal colors.
Adds support for the display-p3-linear color space.
Behavior and default changes 5
Parent selectors at the document root are emitted as-is in CSS, where they’re interpreted as the scoping root.
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.
User-defined functions with these names are no longer forbidden.
Warnings and other messages are emitted in color on the console when running in a browser.
Numbers with complex units can now be emitted to CSS as calc() expressions.
Fixes and other changes 14
Fixes a deadlock when the async compiler fails to start.
Error messages for @extend across different media queries are improved.
An invalid selector at the end of an indented syntax stylesheet now produces a useful error instead of crashing the parser.
Sass sets output-file modification times to compilation start time, so --watch and --update recompile outputs when a source file changes during compilation.
Fixes loud comments before @use rules being emitted multiple times under certain circumstances.
Many-to-many compilations no longer compile files in the output directory when it is inside the source directory, preventing an infinite recompilation loop.
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.
Deprecation warnings are emitted as text rather than
StringBufferobjects in browsers.Fixes a crash when manually constructing a calculation for
calcwith an argument that cannot be simplified.Gracefully handles dependency loops in watch mode.
Fixes a bug where nesting an at-rule within multiple style rules in plain CSS could cause outer style rules to be omitted.
Fixes implicit configuration when nested imports are involved.
Values are no longer evaluated when their conditions don't match.
Fixes a performance regression introduced in 1.92.0.