To install Sass 1.56.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Potentially breaking change: To match the CSS spec, SassScript expressions beginning with not or ( are no longer supported at the beginning of parenthesized sections of media queries. For example,
@media (width >= 500px) and (not (grid))
will now be emitted unchanged, instead of producing
Potentially breaking bug fix: Angle units like rad or turn are now properly converted to equivalent deg values for hsl(), hsla(), adjust-hue(), color.adjust(), and color.change().
Emit a deprecation warning when passing a $weight value with no units or with units other than % to color.mix(). This will be an error in Dart Sass 2.0.0.
Improve existing deprecation warnings to wrap /-as-division suggestions in calc() expressions.
Properly mark the warning for passing numbers with units to random() as a deprecation warning.
Fix a bug where @extend could behave unpredicatably when used along with meta.load-css() and shared modules that contained no CSS themselves but loaded CSS from other modules.
Dart API
Emit a deprecation warning when passing a sassIndex with units to Value.sassIndexToListIndex(). This will be an error in Dart Sass 2.0.0.
Potentially breaking change: To match the CSS spec, SassScript expressions
beginning with not or ( are no longer supported at the beginning of
parenthesized sections of media queries. For example,
@media (width >= 500px) and (not (grid))
will now be emitted unchanged, instead of producing
Potentially breaking bug fix: Angle units like rad or turn are now
properly converted to equivalent deg values for hsl(), hsla(),
adjust-hue(), color.adjust(), and color.change().
Emit a deprecation warning when passing a $weight value with no units or
with units other than % to color.mix(). This will be an error in Dart Sass
2.0.0.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps sass from 1.37.5 to 1.56.0.
Release notes
Sourced from sass's releases.
... (truncated)
Changelog
Sourced from sass's changelog.
... (truncated)
Commits
f3293db
JS API: Validate that importer result 'contents' is astring
and improve Ar...00c3517
Make `cloneCss() clone modules that transitively contain CSS (#1824)44d6bb6
Add full support for Media Queries 4 (#1822)558640b
Support all angle units in color functions (#1818)dd9e3cc
Implement deprecations for strict function units (#1817)655b55c
Indent comma-separated multiline selectors inside@media
queries (#1814)6e670ef
Insert explicit type arguments where types could not be inferred. (#1813)a65e504
Release 1.55.0 (#1806)103cb19
Consistently use floating-point numbers everywhere (#1802)90b6190
Add a deprecation warning for strict unary operations (#1800)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)