Key details

  1. Target: December 2026, not yet GA.
  2. Most existing deprecations become errors in 2.0.
  3. @import removal deferred until Dart Sass 3.
  4. Slash operator becomes a separator; math.div() is the arithmetic alternative.
  5. Maintainer-provided fatal-deprecations flags enable readiness checks.

What builders should take away

  1. Add the official fatal-deprecation flags to a CI branch now.
  2. Use Sass migrator for known patterns and verify generated CSS.
  3. Do not prematurely remove @import solely because v2 is approaching; plan for v3 separately.
  4. Pin production Sass versions until build compatibility is verified.

What changed

The Sass maintainers published their Dart Sass 2 roadmap, targeting December 2026 rather than announcing a completed release. Most deprecations introduced before Dart Sass 1.105.0 will become compilation errors in v2. Slash will be treated as a CSS-style separator instead of a division operator; numeric division must use math.div() or calc(). Crucially, @import, global-builtin, color-module-compat and legacy if() remain deprecations until Sass 3. The team published --fatal-deprecations=1.79.0,compile-string-relative-url,misplaced-rest,with-private,function-name,adjacent-compounds and equivalent JS API options for early compatibility checks.

Why it matters

Sass remains part of many frontend build pipelines. A major upgrade that turns tolerated warnings into errors can break CI and production asset builds unexpectedly. Teams can use the maintainer-provided flags and migrator now to identify incompatibilities while keeping Sass 1.x deployed.

A planned breaking release, not a new feature cycle

The project aims for December 2026, but has not promised an exact date. Most deprecations already emitted by Sass 1.x will become hard failures in Sass 2.

Important exceptions

@import and related global builtin and color-module compatibility warnings remain until Sass 3. The legacy Sass if() function also remains usable with a warning.

Slash semantics change

The / operator will follow CSS separator semantics; arithmetic should use math.div() or calc() instead. Existing styles relying on ambiguous slash division deserve tests.

Run the compatibility gate today

The Sass CLI's fatal-deprecations list and JS API fatalDeprecations option can elevate future errors in current builds. The official Sass migrator can automate common changes.

What to watch next

  • Confirmed Sass 2.0 release date and final compatibility notes.
  • Bundler and framework plugins that pin Sass versions.

Still unclear

  • December is a target rather than a guaranteed release date.
  • New compatibility advisories may appear before the final v2 release.

Sources

Direct reading behind this dossier.

2 sources
The Road to Dart Sass 2
Sass maintainers primary release

Exact exception list, slash semantics and compatibility test flags.

Frontend Focus issue 761
Frontend Focus specialist coverage

Independent specialist coverage of planned migration.

Discussion

Discussion is reader-contributed. Comments are not part of the BTN dossier or its editorial evidence.

0 visible comments

Join the discussion

Keep comments useful and relevant. Reader contributions may be moderated and are not BTN editorial evidence.

Sign in to comment