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 correctly handles importing Sass files specified in package.json’s exports, sass, and style fields, which may break existing imports relying on the previous, incorrect behavior.
Breaking
- Module-system-only Sass files (files declared in
package.json) may no longer load via@importif they weren’t previously.
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.