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.
1.41.0
Calculation values can now be combined with strings using the + operator.
This was an error in 1.40.0, but this broke stylesheets that were relying on
$value + "" expressions to generically convert values to strings. (Note that
the Sass team recommends the use of "#{$value}" or inspect($value) for
... (truncated)
Commits
9678e1a Merge pull request #1532 from sass/cli-pkg
1fbda21 Merge remote-tracking branch 'origin/main' into cli-pkg
aa81b12 Automatically handle absolute URLs for FileImporters (#1527)
1e70242 More gracefully handle unexpected errors in JS interop
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)
Updates the requirements on sass to permit the latest version.
Release notes
Sourced from sass's releases.
Changelog
Sourced from sass's changelog.
... (truncated)
Commits
9678e1a
Merge pull request #1532 from sass/cli-pkg1fbda21
Merge remote-tracking branch 'origin/main' into cli-pkgaa81b12
Automatically handle absolute URLs for FileImporters (#1527)1e70242
More gracefully handle unexpected errors in JS interop2cf2f27
Use the latest version of cli_pkg978e5e4
Merge pull request #1526 from sass/file-importer-result2d56fe0
Allow PRs to be linked to sass/sass PRs4379462
Replace FileImporterResult with a plain URLd667843
Fix the parsing of supports function in static imports (#1514)6641459
Improve the error message for invalid default namespaces (#1513)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)