NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
pub.dev, #4591 most downloaded on pub.dev
Additional APIs for Dart Sass.
Latest stable
18.5.0
Last release 13 days ago
11 Nov 2026
Ships fairly regularly
a new release about every 3 weeks
Nearly every release is documented
notes for 56 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
177 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
Add top-level colorByName and namesByColor maps between CSS color names and their values.
Add top-level colorByName and namesByColor maps between CSS color names
and their values.
Make VariableDeclaration implement SassReference.
See sass/embedded-host-node#457
Your coding agent can read these notes before it upgrades. Set up the MCP server →
v7 is dropping Sass in favor of a pure-CSS framework.
v7 is dropping Sass in favor of a pure-CSS framework.
Add a top-level toCssIdentifier() function which converts a string into a CSS identifier with that string as its value.
toCssIdentifier() function which converts a string into a
CSS identifier with that string as its value.This release doesn't contain any new features or backwards-incompatibilities, so it should be released as a patch version, not a minor version.
This release doesn't contain any new features or
backwards-incompatibilities, so it should be released as a patch
version, not a minor version.
Breaking change: QualifiedName.namespace now uses the new SelectorNamespace type.
Add a SelectorNamespace type, along with subtypes
DefaultSelectorNamespace, NoSelectorNamespace, AnySelectorNamespace, and
NamedSelectorNamespace.
Breaking change: QualifiedName.namespace now uses the new
SelectorNamespace type.
Breaking change: String values that are parsed from identifiers now
contain the semantic value of those identifiers, with escapes resolved. These
are normalized back to escape codes at serialization time.
Interpolation values parsed from identifiers still contain normalized
identifiers for expressions. For statements, they now contain the identifier
syntax exactly as written in the document.
Breaking change: Parsed Interpolations no longer normalize CSS escapes,
which means that Interpolation.asPlain is also not normalized. Use
Interpolation.asPlainIdentifier instead to retrieve a normalized identifier
for use in checking for specific keywords.
Add a changelog entry for sass/embedded-host-node#449
Add a changelog entry for sass/embedded-host-node#449 (#2882)
* No user-visible changes.
* No user-visible changes.
Fix --watch not recompiling sources modified during a compilation (…
Fix --watch not recompiling sources modified during a compilation (…
StyleRule.selector
in the indented syntax.* No user-visible changes.
Set committer metadata when creating a tag
Set committer metadata when creating a tag (#2838)
Co-authored-by: Natalie Weizenbaum nweiz@google.com
Co-authored-by: Natalie Weizenbaum nweiz@google.com
Nothing published for this version
Nothing published for this version
Nothing published for this version
* No user-visible changes.
…SimpleSelcetor.parse(). This is used to report deprecations found when parsing selectors.
logger parameter to SelectorList.parse(), ComplexSelector.parse(),
CompoundSelector.parse(), and SimpleSelcetor.parse(). This is used to
report deprecations found when parsing selectors.Add an Expression.isPlainCss() method.
Expression.isPlainCss() method.* No user-visible changes.
* No user-visible changes.
* No user-visible changes.
Add the SassColor.displayP3Linear constructor.
SassColor.displayP3Linear constructor.* No user-visible changes.
Add support for passing parseSelectors: true to ImportCache and AsyncImportCache.
parseSelectors: true to ImportCache and
AsyncImportCache.Rename the old IfExpression class to LegacyIfExpression.
Rename the old IfExpression class to LegacyIfExpression.
Add a new IfExpression class to represent the CSS if() function.
Add a sealed IfConditionExpression class which represents the possible
condition components in an IfExpression.
Add a BinaryOperator enumeration and use it for
SupportsOperation.operator.
Add an ExpressionVisitable interface for anything visitable by an
ExpressionVisitor (currently Expression and IfConditionExpression).
Add a ArgumentList.namedSpans field.
Add several members of RecursiveAstVisitor which were missing in the previous release.
RecursiveAstVisitor which were missing in the
previous release.* No user-visible changes.
* No user-visible changes.
* No user-visible changes.
* No user-visible changes.
* No user-visible changes.
* No user-visible changes.
* No user-visible changes.
Potentially-breaking bug fix: parenthesized, comma-separated lists are now correctly wrapped in a ParenthesizedExpression.
ParenthesizedExpression.* No user-visible changes.
* No user-visible changes.
* No user-visible changes.
Nothing published for this version
* No user-visible changes.
* No user-visible changes.
* No user-visible changes.
* No user-visible changes.
* No user-visible changes.
* No user-visible changes.
* No user-visible changes.
* No user-visible changes.
* No user-visible changes.
* No user-visible changes.
Add NodePackageImporter, which loads pkg: URLs from node_modules within the provided entryPointDirectory.
NodePackageImporter, which loads pkg: URLs from node_modules within
the provided entryPointDirectory.* No user-visible changes.
* No user-visible changes.
* No user-visible changes.
* No user-visible changes.
Add Expression.isCalculationSafe, which returns true when this expression can safely be used in a calculation.
Expression.isCalculationSafe, which returns true when this expression
can safely be used in a calculation.Breaking change: Warnings are no longer emitted during parsing, so the logger parameter has been removed from the following:
Breaking change: Warnings are no longer emitted during parsing, so the
logger parameter has been removed from the following:
ArgumentDeclaration.parse(), ComplexSelector.parse(),
CompoundSelector.parse(), Expression.parse(), SelectorList.parse(),
and SimpleSelector.parse().
Stylesheet.parse(), Stylesheet.parseCss(), Stylesheet.parseSass(),
and Stylesheet.parseScss().
The AsyncImportCache and ImportCache constructors.
Additionally, the quiet parameter has been removed from
AsyncImportCache.importCanonical() and ImportCache.importCanonical(), and
AsyncImportCache.wrapLogger() and ImportCache.wrapLogger() have been
removed entirely.
* No user-visible changes.
Make AsyncImportCache.wrapLogger() and ImportCache.wrapLogger() always limit the repetition of deprecations. this is unlikely to be the long-term beha…
AsyncImportCache.wrapLogger() and ImportCache.wrapLogger() always
limit the repetition of deprecations. this is unlikely to be the long-term
behavior, but it's necessary to avoid flooding users with deprecations in the
short term.Add AsyncImportCache.wrapLogger() and ImportCache.wrapLogger() methods, which wrap a given logger to apply deprecation options to it.
AsyncImportCache.wrapLogger() and ImportCache.wrapLogger() methods,
which wrap a given logger to apply deprecation options to it.Fix a bug where LoudComments parsed from the indented syntax would include whitespace after the closing */.
LoudComments parsed from the indented syntax would include
whitespace after the closing */.One column per quarter.