To install Sass 1.75.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Fix a bug in which stylesheet canonicalization could be cached incorrectly when custom importers or the Node.js package importer made decisions based on the URL of the containing stylesheet.
JS API
Allow importer to be passed without url in StringOptionsWithImporter.
Fix a bug in which stylesheet canonicalization could be cached incorrectly
when custom importers or the Node.js package importer made decisions based on
the URL of the containing stylesheet.
JS API
Allow importer to be passed without url in StringOptionsWithImporter.
1.74.1
No user-visible changes.
1.74.0
JS API
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
... (truncated)
Commits
821b98e Don't cache canonicalize calls when containingUrl is available (#2215)
c5aff1b Make it possible to build npm with a linked language repo (#2214)
You can trigger a rebase of this PR 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.72.0 to 1.75.0.
Release notes
Sourced from sass's releases.
Changelog
Sourced from sass's changelog.
... (truncated)
Commits
821b98e
Don't cache canonicalize calls whencontainingUrl
is available (#2215)c5aff1b
Make it possible to build npm with a linked language repo (#2214)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)You can trigger a rebase of this PR 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