PackageTrack
Sign in Get early access

sass_api

Additional APIs for Dart Sass.

17.9.1 2.5K downloads/mo #4944 most downloaded on pub.dev sass/dart-sass

What this package is like to depend on

Last release 3 days ago

20 Aug 2026

Ships fairly regularly

a new release about every 4 weeks

Nearly every release is documented

notes for 116 of 120 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

166 releases · first in 2021

21 releases in the last 12 months

see the full history below

Release timeline

166 releases · Aug 2021 to Aug 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 166
  1. 17.9.1 20 Aug 2026
    Release notes

    Set committer metadata when creating a tag (#2838)

    Open source →
    Release notes
    • No user-visible changes.
    Open source →
  2. 17.8.0 25 Jul 2026
    Release notes

    Co-authored-by: Natalie Weizenbaum [email protected]

    Open source →
    Release notes
    • No user-visible changes.
    Open source →
  3. 17.7.7 23 Jul 2026

    Nothing published for this version

  4. 17.7.6 22 Jul 2026

    Nothing published for this version

  5. 17.7.5 22 Jul 2026

    Nothing published for this version

  6. 17.7.4 22 Jul 2026
    Release notes
    • No user-visible changes.
    Open source →
  7. 17.6.0 22 May 2026
    Release notes
    • Add a logger parameter to SelectorList.parse(), ComplexSelector.parse(), CompoundSelector.parse(), and SimpleSelcetor.parse(). This is used to report deprecations found when parsing selectors.
    Open source →
  8. 17.5.0 02 Apr 2026
    Release notes
    • Add an Expression.isPlainCss() method.
    Open source →
  9. 17.4.0 10 Mar 2026
    Release notes
    • No user-visible changes.
    Open source →
  10. 17.3.3 21 Jan 2026
    Release notes
    • No user-visible changes.
    Open source →
  11. 17.3.2 06 Jan 2026
    Release notes
    • No user-visible changes.
    Open source →
  12. 17.3.0 16 Dec 2025
    Release notes
    • Add the SassColor.displayP3Linear constructor.
    Open source →
  13. 17.2.0 11 Dec 2025
    Release notes
    • No user-visible changes.
    Open source →
  14. 17.1.0 09 Dec 2025
    Release notes
    • Add support for passing parseSelectors: true to ImportCache and AsyncImportCache.
    Open source →
  15. 17.0.0 08 Dec 2025
    Release notes
    • 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.

    Open source →
  16. 16.0.3 08 Dec 2025
    Release notes
    • Add several members of RecursiveAstVisitor which were missing in the previous release.
    Open source →
  17. 16.0.2 24 Nov 2025
    Release notes
    • No user-visible changes.
    Open source →
  18. 16.0.1 18 Nov 2025
    Release notes
    • No user-visible changes.
    Open source →
  19. 15.12.1 22 Sep 2025
    Release notes
    • No user-visible changes.
    Open source →
  20. 15.11.0 05 Sep 2025
    Release notes
    • No user-visible changes.
    Open source →
  21. 15.10.0 02 Sep 2025
    Release notes
    • No user-visible changes.
    Open source →
  22. 15.9.0 25 Aug 2025
    Release notes
    • No user-visible changes.
    Open source →
  23. 15.8.0 05 Aug 2025
    Release notes
    • No user-visible changes.
    Open source →
  24. 15.7.0 30 May 2025
    Release notes
    • Potentially-breaking bug fix: parenthesized, comma-separated lists are now correctly wrapped in a ParenthesizedExpression.
    Open source →
  25. 15.6.0 16 May 2025
    Release notes
    • No user-visible changes.
    Open source →
  26. 15.5.0 10 May 2025
    Release notes
    • No user-visible changes.
    Open source →
  27. 15.4.0 21 Apr 2025
    Release notes
    • No user-visible changes.
    Open source →
  28. 15.3.3 04 Apr 2025

    Nothing published for this version

  29. 15.3.2 02 Apr 2025
    Release notes
    • No user-visible changes.
    Open source →
  30. 15.3.0 17 Mar 2025
    Release notes
    • No user-visible changes.
    Open source →
  31. 15.2.1 25 Feb 2025
    Release notes
    • No user-visible changes.
    Open source →
  32. 15.2.0 14 Feb 2025
    Release notes
    • No user-visible changes.
    Open source →
  33. 15.1.0 06 Feb 2025
    Release notes
    • No user-visible changes.
    Open source →
  34. 15.0.4 14 Jan 2025
    Release notes
    • No user-visible changes.
    Open source →
  35. 15.0.3 14 Jan 2025
    Release notes
    • No user-visible changes.
    Open source →
  36. 15.0.2 14 Jan 2025
    Release notes
    • No user-visible changes.
    Open source →
  37. 15.0.1 04 Jan 2025
    Release notes
    • No user-visible changes.
    Open source →
  38. 14.4.0 03 Dec 2024
    Release notes
    • No user-visible changes.
    Open source →
  39. 14.3.0 03 Dec 2024
    Release notes
    • Add NodePackageImporter, which loads pkg: URLs from node_modules within the provided entryPointDirectory.
    Open source →
  40. 14.2.0 15 Nov 2024
    Release notes
    • No user-visible changes.
    Open source →
  41. 14.1.3 12 Nov 2024
    Release notes
    • No user-visible changes.
    Open source →
  42. 14.1.2 01 Nov 2024
    Release notes
    • No user-visible changes.
    Open source →
  43. 14.1.1 29 Oct 2024
    Release notes
    • No user-visible changes.
    Open source →
  44. 14.1.0 23 Oct 2024
    Release notes
    • Add Expression.isCalculationSafe, which returns true when this expression can safely be used in a calculation.
    Open source →
  45. 14.0.0 19 Oct 2024
    Release notes
    • 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.

    Open source →
  46. 13.1.2 17 Oct 2024
    Release notes
    • No user-visible changes.
    Open source →
  47. 13.1.1 17 Oct 2024
    Release notes
    • Make 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.
    Open source →
  48. 13.1.0 17 Oct 2024
    Release notes
    • Add AsyncImportCache.wrapLogger() and ImportCache.wrapLogger() methods, which wrap a given logger to apply deprecation options to it.
    Open source →
  49. 13.0.1 16 Oct 2024
    Release notes
    • Fix a bug where LoudComments parsed from the indented syntax would include whitespace after the closing */.
    Open source →
  50. 13.0.0 11 Oct 2024
    Release notes
    • The Interpolation() constructor now takes an additional List<FileSpan?> spans argument which cover the #{} for expression elements.

    • Added a new Interpolation.plain() constructor for interpolations that only contain a single plain-text string.

    • Added Interpolation.spanForElement() which returns the span that covers a single element of contents.

    • InterpolationBuffer.add() now takes a FileSpan that covers the #{} around the expression.

    Open source →
  51. 12.0.3 20 Sep 2024
    Release notes
    • No user-visible changes.
    Open source →
  52. 12.0.2 19 Sep 2024
    Release notes
    • No user-visible changes.
    Open source →
  53. 12.0.1 18 Sep 2024
    Release notes
    • No user-visible changes.
    Open source →
  54. 12.0.0 17 Sep 2024
    Release notes
    • Breaking change: Remove the SassApiColor.hasCalculatedRgb and .hasCalculatedHsl extension methods. These can now be determined by checking if SassColor.space is KnownColorSpace.rgb or KnownColorSpace.hsl, respectively.

    • Added a ColorSpace class which represents the various color spaces defined in the CSS spec.

    • Added SassColor.space which returns a color's color space.

    • Added SassColor.channels and .channelsOrNull which returns a list of channel values, with missing channels converted to 0 or exposed as null, respectively.

    • Added SassColor.isLegacy, .isInGamut, .channel(), .isChannelMissing(), .isChannelPowerless(), .toSpace(), .toGamut(), .changeChannels(), and .interpolate() which do the same thing as the Sass functions of the corresponding names.

    • SassColor.rgb() now allows out-of-bounds and non-integer arguments.

    • SassColor.hsl() and .hwb() now allow out-of-bounds arguments.

    • Added SassColor.hwb(), .srgb(), .srgbLinear(), .displayP3(), .a98Rgb(), .prophotoRgb(), .rec2020(), .xyzD50(), .xyzD65(), .lab(), .lch(), .oklab(), .oklch(), and .forSpace() constructors.

    • Deprecated SassColor.red, .green, .blue, .hue, .saturation, .lightness, .whiteness, and .blackness in favor of SassColor.channel().

    • Deprecated SassColor.changeRgb(), .changeHsl(), and .changeHwb() in favor of SassColor.changeChannels().

    • Added SassNumber.convertValueToUnit() as a shorthand for SassNumber.convertValue() with a single numerator.

    • Added InterpolationMethod and HueInterpolationMethod which collectively represent the method to use to interpolate two colors.

    • Added the SassApiColorSpace extension to expose additional members of ColorSpace.

    • Added the ColorChannel class to represent information about a single channel of a color space.

    • Added SassNumber.convertValueToUnit() as a shorthand for SassNumber.convertValue() with a single numerator.

    Open source →
  55. 11.0.0 03 Sep 2024
    Release notes
    • Remove the CallableDeclaration() constructor.
    Open source →
  56. 10.4.8 11 Jul 2024
    Release notes
    • No user-visible changes.
    Open source →
  57. 10.4.7 09 Jul 2024
    Release notes
    • No user-visible changes.
    Open source →
  58. 10.4.5 11 Jun 2024
    Release notes
    • No user-visible changes.
    Open source →
  59. 10.4.4 30 May 2024
    Release notes
    • No user-visible changes.
    Open source →
  60. 10.4.3 29 May 2024
    Release notes
    • No user-visible changes.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive