Add a new top-level deprecations object, which contains various
Deprecation objects that define the different types of deprecation used by
the Sass compiler and can be passed to the options below.
Add a new fatalDeprecations compiler option that causes the compiler to
error if any deprecation warnings of the provided types are encountered. You
can also pass in a Version object to treat all deprecations that were active
in that Dart Sass version as fatal.
Add a new futureDeprecations compiler option that allows you to opt-in to
certain deprecations early (currently just import).
Add a new silenceDeprecations compiler option to ignore any deprecation
warnings of the provided types.
Command-Line Interface
Add a new --silence-deprecation flag, which causes the compiler to ignore
any deprecation warnings of the provided types.
Previously, if a future deprecation was passed to --fatal-deprecation but
not --future-deprecation, it would be treated as fatal despite not being
enabled. Both flags are now required to treat a future deprecation as fatal
with a warning emitted if --fatal-deprecation is passed without
--future-deprecation, matching the JS API's behavior.
Dart API
The compile methods now take in a silenceDeprecations parameter, which
causes the compiler to ignore any deprecation warnings of the provided types.
Add Deprecation.obsoleteIn to match the JS API. This is currently null for
all deprecations, but will be used once some deprecations become obsolete in
Dart Sass 2.0.0.
Potentially breaking bug fix: Fix a bug where compileStringToResultAsync
ignored fatalDeprecations and futureDeprecations.
The behavior around making future deprecations fatal mentioned in the CLI
section above has also been changed in the Dart API.
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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.62.0 to 1.74.1.
Release notes
Sourced from sass's releases.
... (truncated)
Changelog
Sourced from sass's changelog.
... (truncated)
Commits
1137797
Fix bulma and release 1.74.1 (#2210)d9220d9
Complete implementation the deprecations API (#2207)783c248
Fix typo in function documentation (#2205)c8d0643
Better handle filesystem importers when load paths aren't necessary (#2203)9302b35
Add support for nesting in plain CSS (#2198)772280a
Support linux-riscv64 and windows-arm64 (#2201)ce16b35
Cut a release (#2194)9af6bbf
Properly handlepkg:
imports with args (#2193)0330491
Update to node 20 (#2192)48e2d0c
Preserve underscores inVariableExpression.toString()
(#2185)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 show