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)
added the modern-compiler value for API to reuse compiler process (#1195) (cef40a8)
support webpack built-in resolver for modern and modern-compiler API (#1197) (2265b72)
Notes:
Using the modern-compiler value for the api option together with sass-embedded reduces compilation time by 5-10 times, especially for projects using large files with a lot of @import/@use, for small files the build time reduction will not be significant.
added the modern-compiler value for API to reuse compiler process (#1195) (cef40a8)
support webpack built-in resolver for modern and modern-compiler API (#1197) (2265b72)
Notes:
Using the modern-compiler value for the api option together with sass-embedded reduces compilation time by 5-10 times, especially for projects using large files with a lot of @import/@use, for small files the build time reduction will not be significant.
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 major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the npm-minor group with 3 updates: postcss, sass and sass-loader.
Updates
postcss
from 8.4.35 to 8.4.38Release notes
Sourced from postcss's releases.
Changelog
Sourced from postcss's changelog.
Commits
a69d45e
Release 8.4.38 version64e35d9
Update dependenciesc1ad8fb
Merge pull request #1932 from romainmenke/fix-warning-end-index--inventive-nu...b45e7e9
fix endIndex1bea246
failing test: for endIndex 0 in rangeBy0fd1d86
Add changelog auto release on Github49c906e
Release 8.4.37 versionb5bd92c
Fix another broken prev source map issue2882039
Update dependenciese5ad939
Release 8.4.36 versionUpdates
sass
from 1.71.1 to 1.75.0Release 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)ce16b35
Cut a release (#2194)9af6bbf
Properly handlepkg:
imports with args (#2193)Updates
sass-loader
from 14.1.1 to 14.2.0Release notes
Sourced from sass-loader's releases.
Changelog
Sourced from sass-loader's changelog.
Commits
4edc139
chore(release): 14.2.02265b72
feat: support webpack built-in resolver formodern
andmodern-compiler
AP...a975db2
fix: use watchClose hook (#1196)cef40a8
feat: added themodern-compiler
value for API to reuse compiler process (#1...13f0dc8
chore: upgrade dependencies to latest version (#1194)5d2cd80
chore: update codecov-action to v4 (#1193)31789cc
ci: fix commitlint check (#1192)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