To install Sass 1.58.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Remove sourcemap comments from Sass sources. The generated sourcemap comment for the compiled CSS output remains unaffected.
Fix a bug in @extend logic where certain selectors with three or more combinators were incorrectly considered superselectors of similar selectors with fewer combinators, causing them to be incorrectly trimmed from the output.
Produce a better error message for a number with a leading + or -, a decimal point, but no digits.
Produce a better error message for a nested property whose name starts with --.
Fix a crash when a selector ends in an escaped backslash.
Add the relative length units from CSS Values 4 and CSS Contain 3 as known units to validate bad computation in calc.
Command Line Interface
The --watch flag will now track loads through calls to meta.load-css() as long as their URLs are literal strings without any interpolation.
Remove sourcemap comments from Sass sources. The generated sourcemap comment
for the compiled CSS output remains unaffected.
Fix a bug in @extend logic where certain selectors with three or more
combinators were incorrectly considered superselectors of similar selectors
with fewer combinators, causing them to be incorrectly trimmed from the
output.
Produce a better error message for a number with a leading + or -, a
decimal point, but no digits.
Produce a better error message for a nested property whose name starts with
--.
Fix a crash when a selector ends in an escaped backslash.
Add the relative length units from CSS Values 4 and CSS Contain 3 as known
units to validate bad computation in calc.
Command Line Interface
The --watch flag will now track loads through calls to meta.load-css() as
long as their URLs are literal strings without any interpolation.
1.57.1
No user-visible changes.
1.57.0
Add a split($string, $separator, $limit: null) function to sass:string
that splits a string into separate substrings based on a separator string.
JavaScript API
Potentially breaking bug fix: Custom functions in both the modern and
legacy API now properly reject signatures with whitespace between the function
name and parentheses.
Custom functions in the legacy API now allow signatures with whitespace before
the function name, to match a bug in Node Sass.
Dart API
Potentially breaking bug fix: Callable.fromSignature() and
AsyncCallable.fromSignature() now reject signatures with whitespace between
the function name and parentheses.
... (truncated)
Commits
98fe9a4 Track dependencies through meta.load-css() with --watch (#1877)
5a521b8 Add all CSS length units in known compatibilities (#1868)
499965a Update CI Node versions to 18/16/14 (#1871)
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.44.0 to 1.58.0.
Release notes
Sourced from sass's releases.
... (truncated)
Changelog
Sourced from sass's changelog.
... (truncated)
Commits
98fe9a4
Track dependencies throughmeta.load-css()
with--watch
(#1877)5a521b8
Add all CSS length units in known compatibilities (#1868)499965a
Update CI Node versions to 18/16/14 (#1871)0006924
Fix escaped backslash crash (#1870)0248608
Return an error when using a custom property in a propset instead of crashing...b98fa4f
Fix an edge case in superselector computation (#1866)14c1634
Don't crash when parsing+.
(#1865)aceb1e8
Remove sourcemap comments from Sass sources (#1860)441be80
Delete dead code (#1864)5522c17
Run "dart pub upgrade" rather than "pub upgrade" (#1851)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)