Changelog
1.78.0
The meta.feature-exists
function is now deprecated. This deprecation is
named feature-exists
.
Fix a crash when using @at-root
without any queries or children in the
indented syntax.
SourceSpan.url
would crash when a relative URL was
passed to the Sass API.Explicitly expose a sass
executable from the sass-embedded
npm package.
This was intended to be included in 1.63.0, but due to the way
platform-specific dependency executables are installed it did not work as
intended. Now users can run npx sass
for local installs or just sass
when
sass-embedded
is installed globally.
Add linux-riscv64, linux-musl-riscv64, and android-riscv64 support for the
sass-embedded
npm package.
Fix an edge case where the Dart VM could hang when shutting down when requests were in flight.
Fix a race condition where the embedded host could fail to shut down if it was closed around the same time a new compilation was started.
Changelog
1.77.7
Declarations that appear after nested rules are deprecated, because the semantics Sass has historically used are different from the semantics specified by CSS. In the future, Sass will adopt the standard CSS semantics.
See the Sass website for details.
Potentially breaking bug fix: //
in certain places such as unknown
at-rule values was being preserved in the CSS output, leading to potentially
invalid CSS. It's now properly parsed as a silent comment and omitted from the
CSS output.
Changelog
1.77.6
Changelog
1.77.4
Support passing Version
input for fatalDeprecations
as string over
embedded protocol.
Fix a bug in the JS Embedded Host where Version
could be incorrectly accepted
as input for silenceDeprecations
and futureDeprecations
in pure JS.
Changelog
1.77.3
Deprecation.duplicateVariableFlags
has been deprecated and replaced with
Deprecation.duplicateVarFlags
to make it consistent with the
duplicate-var-flags
name used on the command line and in the JS API.Changelog
1.77.2
Don't emit deprecation warnings for functions and mixins beginning with __
.
Allow user-defined functions whose names begin with _
and otherwise look
like vendor-prefixed functions with special CSS syntax.
Properly handle the --silence-deprecation
flag.
Handle the --fatal-deprecation
and --future-deprecation
flags for
--interactive
mode.