To install Sass 1.43.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
JS API
Add support for the logger option. This takes an object that can define warn or debug methods to add custom handling for messages emitted by the Sass compiler. See the JS API docs for details.
Improve the error message when the default namespace of a @use rule is not
a valid identifier.
1.43.1
No user-visible changes.
1.43.0
JS API
Add support for the logger option. This takes an object that can define
warn or debug methods to add custom handling for messages emitted by the
Sass compiler. See the JS API docs for details.
Add a Logger.silent object that can be passed to the logger option to
silence all messages from the Sass compiler.
1.42.1
Fix a bug where Sass variables and function calls in calculations weren't
being resolved correctly if there was a parenthesized interpolation elsewhere
in the file.
1.42.0
min() and max() expressions are once again parsed as calculations as long
as they contain only syntax that's allowed in calculation expressions. To
avoid the backwards-compatibility issues that were present in 1.40.0, they now
allow unitless numbers to be mixed with numbers with units just like the
global min() and max() functions. Similarly, + and - operations within
min() and max() functions allow unitless numbers to be mixed with numbers
with units.
1.41.1
Preserve parentheses around var() functions in calculations, because they
could potentially be replaced with sub-expressions that might need to be
parenthesized.
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.32.5 to 1.43.3.
Release notes
Sourced from sass's releases.
... (truncated)
Changelog
Sourced from sass's changelog.
... (truncated)
Commits
6f5f200
Fix shared JS API tests435e1b2
Merge pull request #1535 from sass/perf86b16f5
Update benchmarks2430ac6
Avoid creating zone variables inside _EvaluateVisitord13a38e
Cache relative import results as well as absolute ones6069708
Cache hash codes for Sass strings and numbersfa25764
Update benchmarks0ce65fc
Replace Susy with Carbon as a benchmark target6253da7
Fix the parsing of scientific notation in keyframe selectors (#1510)3916ff6
Add support for the alertAscii flag (#1524)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)