<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/sass-the-road-to-dart-sass-2-hg2mzitqf" -->

---
title: Sass: The Road to Dart Sass 2 | daily.dev
description: The Sass team outlines plans for Dart Sass 2, targeted for release in December 2026. The major version will convert most existing deprecation warnings into...
canonical: https://daily.dev/posts/sass-the-road-to-dart-sass-2-hg2mzitqf
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Sass: The Road to Dart Sass 2 | daily.dev
og:description: The Sass team outlines plans for Dart Sass 2, targeted for release in December 2026. The major version will convert most existing deprecation warnings into...
og:url: https://daily.dev/posts/sass-the-road-to-dart-sass-2-hg2mzitqf
og:image: https://api.daily.dev/og/posts/Hg2mZITQF.png
og:image:alt: Sass: The Road to Dart Sass 2
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Sass: The Road to Dart Sass 2

**[Sass](https://daily.dev/sources/sass)** · 6 min read · 0 upvotes · 0 comments

## Summary

The Sass team outlines plans for Dart Sass 2, targeted for release in December 2026. The major version will convert most existing deprecation warnings into hard errors, with exceptions for @import, the legacy if() function syntax, and any deprecations introduced after Dart Sass 1.105.0, all of which are deferred to Dart Sass 3. The one genuinely new feature is that / will become a separator rather than a division operator, matching CSS behavior; developers needing division should use math.div() or list.slash(). Users are advised to adopt --fatal-deprecations flags (CLI) or fatalDeprecations options (JS API) now, and to use the Sass migrator tool to clear remaining deprecations before the upgrade.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://sass-lang.com/blog/the-road-to-dart-sass-2>

## Questions this post answers

### What breaking change is coming in Dart Sass 2 regarding the slash character?

Dart Sass 2 will treat the forward slash (/) as a separator rather than a division operator, matching how CSS itself uses it, creating a slash-separated list similar to what list.slash() currently produces. Developers who need division should use math.div() instead, or use / inside a calc() expression, which still performs division.

_Track syntax changes like this before they land so upgrading Sass tooling does not break builds, with daily.dev._

### When will Sass's @import and the legacy if() function syntax be removed?

Neither will be removed in Dart Sass 2, expected around December 2026; both are deferred until Dart Sass 3. The @import deprecation, along with related global-builtin and color-module-compat deprecations, and the legacy if() function syntax will remain warnings rather than becoming errors in version 2, giving users more time to migrate using the automated Sass migrator.

_Developers planning multi-version migrations can follow deprecation timelines like this via daily.dev._

### How can I check if my Sass stylesheets are ready for Dart Sass 2 before it releases?

Use the --fatal-deprecations CLI flag (or fatalDeprecations JS API option) set to 1.79.0, compile-string-relative-url, misplaced-rest, with-private, function-name, and adjacent-compounds to turn all deprecations slated to become Dart Sass 2 errors into failures now. If stylesheets compile cleanly with those settings, they are already compatible with Dart Sass 2; otherwise the Sass migrator can automatically fix many common cases.

_Teams preparing Sass codebases for a major version bump can find migration steps like these on daily.dev._

## Similar posts on daily.dev

- [Migrating from sass-rails to Dart Sass](https://daily.dev/posts/migrating-from-sass-rails-to-dart-sass-vk9xyjlvi) · RUBYLAND · 0 upvotes · 0 comments
- [Goodbye SASS](https://daily.dev/posts/goodbye-sass-lf9vddw6q) · Lobsters · 44 upvotes · 5 comments
- [Modern CSS in 2026: Delete the JavaScript](https://daily.dev/posts/modern-css-in-2026-delete-the-javascript-7te0cfx98) · Alex CloudStar · 25 upvotes · 3 comments
- [CSS Recently In All Browsers · April 26, 2026](https://daily.dev/posts/css-recently-in-all-browsers-april-26-2026-kepfatjko) · Adam Argyle · 57 upvotes · 4 comments
- [Bootstrap 6 Alpha](https://daily.dev/posts/bootstrap-6-alpha-k0pya6bws) · Bootstrap · 50 upvotes · 4 comments

---

Tags: [#css](https://daily.dev/tags/css), [#dart](https://daily.dev/tags/dart)

[View this post on daily.dev](https://daily.dev/posts/sass-the-road-to-dart-sass-2-hg2mzitqf)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Sass: The Road to Dart Sass 2","url":"https://daily.dev/posts/sass-the-road-to-dart-sass-2-hg2mzitqf","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/sass-the-road-to-dart-sass-2-hg2mzitqf"},"datePublished":"2026-09-23T15:30:45.571Z","dateModified":"2026-09-23T15:31:10.538Z","description":"The Sass team outlines plans for Dart Sass 2, targeted for release in December 2026. The major version will convert most existing deprecation warnings into...","image":"https://media.daily.dev/image/upload/s--OHB84bZF--/f_auto/v1722860399/public/Placeholder%2010","thumbnailUrl":"https://media.daily.dev/image/upload/s--OHB84bZF--/f_auto/v1722860399/public/Placeholder%2010","isAccessibleForFree":true,"articleSection":"Sass","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Sass","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/95fc679f41e14ee08169554ea8e44d36","url":"https://daily.dev/sources/sass"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/sass-the-road-to-dart-sass-2-hg2mzitqf","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"css,dart","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sass","item":"https://daily.dev/sources/sass"},{"@type":"ListItem","position":3,"name":"Sass: The Road to Dart Sass 2"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/sass-the-road-to-dart-sass-2-hg2mzitqf#faq","mainEntity":[{"@type":"Question","name":"What breaking change is coming in Dart Sass 2 regarding the slash character?","acceptedAnswer":{"@type":"Answer","text":"Dart Sass 2 will treat the forward slash (/) as a separator rather than a division operator, matching how CSS itself uses it, creating a slash-separated list similar to what list.slash() currently produces. Developers who need division should use math.div() instead, or use / inside a calc() expression, which still performs division. Track syntax changes like this before they land so upgrading Sass tooling does not break builds, with daily.dev."}},{"@type":"Question","name":"When will Sass's @import and the legacy if() function syntax be removed?","acceptedAnswer":{"@type":"Answer","text":"Neither will be removed in Dart Sass 2, expected around December 2026; both are deferred until Dart Sass 3. The @import deprecation, along with related global-builtin and color-module-compat deprecations, and the legacy if() function syntax will remain warnings rather than becoming errors in version 2, giving users more time to migrate using the automated Sass migrator. Developers planning multi-version migrations can follow deprecation timelines like this via daily.dev."}},{"@type":"Question","name":"How can I check if my Sass stylesheets are ready for Dart Sass 2 before it releases?","acceptedAnswer":{"@type":"Answer","text":"Use the --fatal-deprecations CLI flag (or fatalDeprecations JS API option) set to 1.79.0, compile-string-relative-url, misplaced-rest, with-private, function-name, and adjacent-compounds to turn all deprecations slated to become Dart Sass 2 errors into failures now. If stylesheets compile cleanly with those settings, they are already compatible with Dart Sass 2; otherwise the Sass migrator can automatically fix many common cases. Teams preparing Sass codebases for a major version bump can find migration steps like these on daily.dev."}}]}
```

