To install Sass 1.59.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Command Line Interface
Added a new --fatal-deprecation flag that lets you treat a deprecation warning as an error. You can pass an individual deprecation ID (e.g. slash-div) or you can pass a Dart Sass version to treat all deprecations initially emitted in that version or earlier as errors.
New --future-deprecation flag that lets you opt into warning for use of certain features that will be deprecated in the future. At the moment, the only option is --future-deprecation=import, which will emit warnings for Sass @import rules, which are not yet deprecated, but will be in the future.
Dart API
New Deprecation enum, which contains the different current and future deprecations used by the new CLI flags.
The compile methods now take in fatalDeprecations and futureDeprecations parameters, which work similarly to the CLI flags.
Added a new --fatal-deprecation flag that lets you treat a deprecation
warning as an error. You can pass an individual deprecation ID
(e.g. slash-div) or you can pass a Dart Sass version to treat all
deprecations initially emitted in that version or earlier as errors.
New --future-deprecation flag that lets you opt into warning for use of
certain features that will be deprecated in the future. At the moment, the
only option is --future-deprecation=import, which will emit warnings for
Sass @import rules, which are not yet deprecated, but will be in the future.
Dart API
New Deprecation enum, which contains the different current and future
deprecations used by the new CLI flags.
The compile methods now take in fatalDeprecations and futureDeprecations
parameters, which work similarly to the CLI flags.
1.58.4
Pull @font-face to the root rather than bubbling the style rule selector
inwards.
Improve error messages for invalid CSS values passed to plain CSS functions.
Improve error messages involving selectors.
Embedded Sass
Improve the performance of starting up a compilation.
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.58.3 to 1.59.2.
Release notes
Sourced from sass's releases.
Changelog
Sourced from sass's changelog.
Commits
b540d59
Release 1.59.2 (#1908)d0ca8e0
Fix macOS arm64 build and release a new version (#1906)8f8138d
Add --fatal-deprecations and --future-deprecations (#1820)9417b6e
Track original source spans for selectors (#1903)434f2b9
Remove workaround for dart-lang/setup-dart#59 (#1904)f022e02
Improve errors for invalid CSS values passed to CSS functions (#1901)eb1ced1
Pull@font-face
out to root (#1899)664a670
Add a changelog entry for sass/embedded-host-node#207 (#1898)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)