Changelog
1.65.0
All functions defined in CSS Values and Units 4 are now parsed as calculation
objects: round()
, mod()
, rem()
, sin()
, cos()
, tan()
, asin()
,
acos()
, atan()
, atan2()
, pow()
, sqrt()
, hypot()
, log()
, exp()
,
abs()
, and sign()
.
Deprecate explicitly passing the %
unit to the global abs()
function. In
future releases, this will emit a CSS abs() function to be resolved by the
browser. This deprecation is named abs-percent
.
Changelog
1.64.1
SassCalculation.clamp()
with less than 3 arguments
would throw an error.Changelog
1.64.0
Comments that appear before or between @use
and @forward
rules are now
emitted in source order as much as possible, instead of always being emitted
after the CSS of all module dependencies.
Fix a bug where an interpolation in a custom property name crashed if the file
was loaded by a @use
nested in an @import
.
Add a new SassCalculation
type that represents the calculation objects added
in Dart Sass 1.40.0.
Add Value.assertCalculation()
, which returns the value if it's a
SassCalculation
and throws an error otherwise.
Produce a better error message when an environment that supports some Node.js APIs loads the browser entrypoint but attempts to access the filesystem.
@imports
failed to load when using the
deprecated functions render
or renderSync
and those relative imports were
loaded multiple times across different files.Changelog
1.63.6
import sass from 'sass'
again after it was broken in the last release.exports
declaration in package.json
.Changelog
1.63.5
require()
and ESM
import
could crash on Node.js.Fix a deadlock when running at high concurrency on 32-bit systems.
Fix a race condition where the embedded compiler could deadlock or crash if a compilation ID was reused immediately after the compilation completed.
Changelog
1.63.4
Re-enable support for import sass from 'sass'
when loading the package from
an ESM module in Node.js. However, this syntax is now deprecated; ESM users
should use import * as sass from 'sass'
instead.
On the browser and other ESM-only platforms, only import * as sass from 'sass'
is supported.
Properly export the legacy API values TRUE
, FALSE
, NULL
, and types
from
the ECMAScript module API.
Fix a race condition where closing standard input while requests are in-flight could sometimes cause the process to hang rather than shutting down gracefully.
Properly include the root stylesheet's URL in the set of loaded URLs when it fails to parse.