Comparing version 6.0.0 to 7.0.0-beta.1
@@ -10,2 +10,20 @@ # Change Log | ||
## v7.0.0 - 2024-10-24 | ||
This is a major version bump that contains no breaking changes but may require a newer version of Sass. 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](https://sass-lang.com/blog/import-is-deprecated/). | ||
### Added | ||
- Support for dart-sass >= 1.80.0 (without deprecation warnings) | ||
### Changed | ||
- BREAKING CHANGE: Dropped support for `@import` (use [sass-mq v6.0.0](https://github.com/sass-mq/sass-mq/tree/v6.0.0) if you need backward compatibility with `@import`) | ||
- 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) | ||
## v6.0.0 - 2022-01-10 | ||
@@ -42,6 +60,4 @@ | ||
### Fixed | ||
## Changes prior to v6.0.0 | ||
Changes prior to v6.0.0 were logged in https://github.com/sass-mq/sass-mq/releases |
{ | ||
"name": "sass-mq", | ||
"description": "mq() is a Sass mixin that helps manipulating media queries in an elegant way.", | ||
"version": "6.0.0", | ||
"version": "7.0.0-beta.1", | ||
"keywords": [ | ||
@@ -24,3 +24,2 @@ "responsive", | ||
"_mq.scss", | ||
"_mq.import.scss", | ||
"CHANGELOG.md", | ||
@@ -55,7 +54,7 @@ "LICENSE.md", | ||
"glob": "^7.1.7", | ||
"jest": "^27.0.4", | ||
"sass": "^1.35.1", | ||
"sass-true": "^6.0.1", | ||
"jest": "^29.7.0", | ||
"sass": "^1.80.4", | ||
"sass-true": "^8.1.0", | ||
"sassdoc": "^2.7.3" | ||
} | ||
} |
@@ -319,6 +319,5 @@ <div align="center"> | ||
Just in case you need to have backward compatibility and want to use`@import` instead of `@use`, | ||
you can do so by importing `_mq.import.scss` instead of `_mq.scss`. | ||
As of sass-dart 1.80.0, `@import` is officially deprecated, and sass-mq v7.0.0 removes support for it. | ||
Please see `legacy.scss` on `examples` folder. | ||
[sass-mq v6.0.0](https://github.com/sass-mq/sass-mq/tree/v6.0.0) is the last version that supports `@import`. | ||
@@ -325,0 +324,0 @@ ## Running tests |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24845
5
1
389