To install Sass 1.34.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Don't emit the same warning in the same location multiple times.
Cap deprecation warnings at 5 per feature by default.
Command Line Interface
Add a --quiet-deps flag which silences compiler warnings from stylesheets loaded through --load-paths.
Add a --verbose flag which causes the compiler to emit all deprecation warnings, not just 5 per feature.
Dart API
Add a quietDeps argument to compile(), compileString(), compileAsync(), and compileStringAsync() which silences compiler warnings from stylesheets loaded through importers, load paths, and package: URLs.
Add a verbose argument to compile(), compileString(), compileAsync(), and compileStringAsync() which causes the compiler to emit all deprecation warnings, not just 5 per feature.
To install Sass 1.33.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Deprecate the use of / for division. The new math.div() function should be used instead. See this page for details.
Add a list.slash() function that returns a slash-separated list.
Potentially breaking bug fix: The heuristics around when potentially slash-separated numbers are converted to slash-free numbers—for example, when 1/2 will be printed as 0.5 rather than 1/2—have been slightly expanded. Previously, a number would be made slash-free if it was passed as an argument to a user-defined function, but not to a built-in function. Now it will be made slash-free in both cases. This is a behavioral change, but it's unlikely to affect any real-world stylesheets.
Don't emit the same warning in the same location multiple times.
Cap deprecation warnings at 5 per feature by default.
Command Line Interface
Add a --quiet-deps flag which silences compiler warnings from stylesheets
loaded through --load-paths.
Add a --verbose flag which causes the compiler to emit all deprecation
warnings, not just 5 per feature.
Dart API
Add a quietDeps argument to compile(), compileString(),
compileAsync(), and compileStringAsync() which silences compiler warnings
from stylesheets loaded through importers, load paths, and package: URLs.
Add a verbose argument to compile(), compileString(), compileAsync(),
and compileStringAsync() which causes the compiler to emit all deprecation
warnings, not just 5 per feature.
1.33.0
Deprecate the use of / for division. The new math.div() function should be
used instead. See this page for details.
Add a list.slash() function that returns a slash-separated list.
Potentially breaking bug fix: The heuristics around when potentially
slash-separated numbers are converted to slash-free numbers—for example, when
1/2 will be printed as 0.5 rather than 1/2—have been slightly expanded.
Previously, a number would be made slash-free if it was passed as an argument
to a user-defined function, but not to a built-in function. Now it will be
made slash-free in both cases. This is a behavioral change, but it's unlikely
to affect any real-world stylesheets.
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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps sass from 1.32.8 to 1.34.0.
Release notes
Sourced from sass's releases.
... (truncated)
Changelog
Sourced from sass's changelog.
... (truncated)
Commits
d15a41a
Merge pull request #1326 from sass/limit-warnings16f1816
Only omit 5 deprecation warnings per feature by default (#1327)d660bf1
Add an option to the CLI and Dart Sass to silence warnings from deps7f982a1
Only emit each warning once per source location (#1322)112aaa6
Fix the broken CI (#1317)ba805f1
Release 1.33.0 (#1316)efe680e
Make :is() behave like :matches() (#1315)c247890
Re-enable Node tests for Dart dev (#1313)f33b934
Fix some edge cases when serializing edge-case numbers (#1312)3849165
Merge pull request #1306 from sass/slash-separatorDependabot 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)