Never miss a release that matters
AI-powered summaries of every GitHub release.
AI Summaries
Changelogs condensed into clear, actionable insights.
Always Free
Track up to 5 packages at no cost, forever.
Weekly Digest
A curated summary of every release, delivered weekly.
TL;DR
Sass now strictly enforces CSS syntax, disallowing adjacent compound selectors without whitespace, which previously worked by mistake.
Breaking
- Adjacent compound selectors (multiple selectors chained together) now require whitespace between them.
TL;DR
Sass now features a completely redesigned JavaScript API (tool for interacting with Sass from JavaScript) offering improved performance, usability, and a modern Promise-based asynchronous interface.
Breaking
- The old JavaScript API is deprecated and will be removed in version 2.0.0. (Existing JavaScript integrations will need to be updated.)
- Custom function callbacks now accept a single array of Sass values. (Existing custom functions need to be adjusted to handle the new argument structure.)
New
- New
compile()/compileAsync()andcompileString()/compileStringAsync()functions provide a simpler way to compile Sass files and strings. - Improved importer API enhances performance with better caching of
@importand@userules.
Fixes Worth Knowing
None.
Before You Upgrade
Review your JavaScript integrations with Sass and plan to migrate to the new API before Dart Sass 2.0.0. Update your custom functions to accept an array of Sass values.