-
Notifications
You must be signed in to change notification settings - Fork 347
Description
What
Drop support for Ruby Sass and LibSass, including:
- removing mentions of them from the dependencies section of our install docs
- removing the tests for the Ruby Sass and LibSass compilers from our Sass CI workflow
Although there are no code changes, it's highly likely that we'll choose to make related breaking changes as part of this work. Regardless, it's a significant change for our users and so we should treat it as a breaking change.
Why
Ruby Sass was deprecated in April 2018 and reached End of Life in April 2019. We're not aware of any of our users still using it, but as supporting it has involved no extra work on our part we've supported it up until now.
LibSass has also been deprecated since October 2020.
The new Sass module system (@use
) is only available in Dart Sass, and there are no plans to introduce it to LibSass. Additionally, a future release of Dart Sass will drop support for @import
which will make it impractical for us to continue to support both Dart Sass and LibSass.
Dropping support for LibSass is also a recommendation made by the Sass maintainers themselves:
"We recommend all existing LibSass users make plans to eventually move onto Dart Sass, and that all Sass libraries make plans to eventually drop support for LibSass.
We’re no longer planning to add any new features to LibSass, including compatibility with new CSS features.
LibSass and Node Sass will continue to be maintained indefinitely on a best-effort basis, including fixing major bugs and security issues and maintaining compatibility with the latest Node versions."
Dropping support for Ruby Sass and LibSass will allow us to resolve the following issues:
- Migrate to Sass module system (@use) #1791
- Sass deprecation warning for slash as division (
slash-div
) #2238
Who needs to work on this
Developers, technical writer
Who needs to review this
Developers, technical writer
Done when
- Install docs make it clear that only Dart Sass is supported