This is a major version bump that contains no breaking changes feature-wise, but may require a newer version of Sass and adopting the new @use
syntax. It ensures compatibility with the latest version of dart-sass and removes support for @import
, as @import
is officially deprecated as of sass-dart 1.80.0.
🚨 BREAKING CHANGE: Dropped support for @import
in favor of @use
.
If you need backward compatibility with @import
, use sass-mq v6.0.0 or follow these instructions by @svalanga
Added
- Added support for dart-sass >= 1.80.0 (without deprecation warnings)
Changed
- Updated all global Sass functions to use their module equivalents (for example:
type-of
➡️meta.type-of
,slice
➡️string.slice
), silencing deprecation warnings introduced in dart-sass 1.80.0
Chores
- Upgraded Jest and Sass True dependencies to unlock testing with the latest versions of
sass-dart
- Fixed a test where a space was missing between
and
and(
in the generated CSS (caused by the latest version of Sass) - Migrated from Travis CI to GitHub Actions for testing