To install Sass 1.52.1, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Command Line Interface
Fix a bug where --watch mode would close immediately in TTY mode. This was caused by our change to close --watch when stdin was closed outside of TTY mode, which has been reverted for now while we work on a fix.
To install Sass 1.52.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Add support for arbitrary modifiers at the end of plain CSS imports, in addition to the existing supports() and media queries. Sass now allows any sequence of identifiers of functions after the URL of an import for forwards compatibility with future additions to the CSS spec.
Fix an issue where source locations tracked through variable references could potentially become incorrect.
Fix a bug where a loud comment in the source can break the source map when embedding the sources, when using the command-line interface or the legacy JS API.
JS API
SassNumber.assertUnit() and SassNumber.assertNoUnits() now correctly return the number called on when it passes the assertion.
To install Sass 1.51.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Potentially breaking change: Change the order of maps returned by map.deep-merge() to match those returned by map.merge(). All keys that appeared in the first map will now be listed first in the same order they appeared in that map, followed by any new keys added from the second map.
Improve the string output of some AST nodes in error messages.
Fix a bug where --watch mode would close immediately in TTY mode. This was
caused by our change to close --watch when stdin was closed outside of TTY
mode, which has been reverted for now while we work on a fix.
1.52.0
Add support for arbitrary modifiers at the end of plain CSS imports, in
addition to the existing supports() and media queries. Sass now allows any
sequence of identifiers of functions after the URL of an import for forwards
compatibility with future additions to the CSS spec.
Fix an issue where source locations tracked through variable references could
potentially become incorrect.
Fix a bug where a loud comment in the source can break the source map when
embedding the sources, when using the command-line interface or the legacy JS
API.
JS API
SassNumber.assertUnit() and SassNumber.assertNoUnits() now correctly
return the number called on when it passes the assertion.
1.51.0
Potentially breaking change: Change the order of maps returned by
map.deep-merge() to match those returned by map.merge(). All keys that
appeared in the first map will now be listed first in the same order they
appeared in that map, followed by any new keys added from the second map.
Improve the string output of some AST nodes in error messages.
1.50.1
Embedded Sass
The JS embedded host and the embedded compiler will now properly avoid
resolving imports relative to the current working directory unless '.' is
passed as a load path.
Fix a bug in the JS embedded host's implementation of the legacy JS API where
imports that began with / could crash on Windows.
1.50.0
@extend now treats [:where()] the same as :is().
... (truncated)
Commits
d17f70f Revert "Abort sass if stdin is closed when watching (#1411)" (#1699)
561fe25 Use "dart pub publish" instead of "pub publish" (#1698)
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.43.2 to 1.52.1.
Release notes
Sourced from sass's releases.
... (truncated)
Changelog
Sourced from sass's changelog.
... (truncated)
Commits
d17f70f
Revert "Abort sass if stdin is closed when watching (#1411)" (#1699)561fe25
Use "dart pub publish" instead of "pub publish" (#1698)fa0d2fb
Add support for arbitrary modifiers after@import
(#1695)b19b3b1
Fix assertUnit and assertNoUnits (#1686)2e7db70
Add documentation for using it with Docker (#1684)1e211d6
Escape the source map URL before using it in a CSS comment (#1676)7004d49
Fix the tracking of variable nodes for scopes (#1681)0c24114
Update the order of maps returned by map.deep-merge() (#1680)6eed6eb
Fix the string representations of the Sass AST (#1682)fbd450b
Cut a release (#1671)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)