To install Sass 1.69.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Add a meta.get-mixin() function that returns a mixin as a first-class Sass value.
Add a meta.apply() mixin that includes a mixin value.
Add a meta.module-mixins() function which returns a map from mixin names in a module to the first-class mixins that belong to those names.
Add a meta.accepts-content() function which returns whether or not a mixin value can take a content block.
Add support for the relative color syntax from CSS Color 5. This syntax cannot be used to create Sass color values. It is always emitted as-is in the CSS output.
Dart API
Deprecate Deprecation.calcInterp since it was never actually emitted as a deprecation.
Embedded Sass
Fix a rare race condition where the embedded compiler could freeze when a protocol error was immediately followed by another request.
To install Sass 1.68.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Fix the source spans associated with the abs-percent deprecation.
JS API
Non-filesystem importers can now set the nonCanonicalScheme field, which declares that one or more URL schemes (without :) will never be used for URLs returned by the canonicalize() method.
Add a containingUrl field to the canonicalize() and findFileUrl() methods of importers, which is set to the canonical URL of the stylesheet that contains the current load. For filesystem importers, this is always set; for other importers, it's set only if the current load has no URL scheme, or if its URL scheme is declared as non-canonical by the importer.
Dart API
Add AsyncImporter.isNonCanonicalScheme, which importers (async or sync) can use to indicate that a certain URL scheme will never be used for URLs returned by the canonicalize() method.
Add AsyncImporter.containingUrl, which is set during calls to the canonicalize() method to the canonical URL of the stylesheet that contains the current load. This is set only if the current load has no URL scheme, or if its URL scheme is declared as non-canonical by the importer.
Add a meta.get-mixin() function that returns a mixin as a first-class Sass
value.
Add a meta.apply() mixin that includes a mixin value.
Add a meta.module-mixins() function which returns a map from mixin names in
a module to the first-class mixins that belong to those names.
Add a meta.accepts-content() function which returns whether or not a mixin
value can take a content block.
Add support for the relative color syntax from CSS Color 5. This syntax
cannot be used to create Sass color values. It is always emitted as-is in the
CSS output.
Dart API
Deprecate Deprecation.calcInterp since it was never actually emitted as a
deprecation.
Embedded Sass
Fix a rare race condition where the embedded compiler could freeze when a
protocol error was immediately followed by another request.
1.68.0
Fix the source spans associated with the abs-percent deprecation.
JS API
Non-filesystem importers can now set the nonCanonicalScheme field, which
declares that one or more URL schemes (without :) will never be used for
URLs returned by the canonicalize() method.
Add a containingUrl field to the canonicalize() and findFileUrl()
methods of importers, which is set to the canonical URL of the stylesheet that
contains the current load. For filesystem importers, this is always set; for
other importers, it's set only if the current load has no URL scheme, or if
its URL scheme is declared as non-canonical by the importer.
Dart API
Add AsyncImporter.isNonCanonicalScheme, which importers (async or sync) can
use to indicate that a certain URL scheme will never be used for URLs returned
by the canonicalize() method.
Add AsyncImporter.containingUrl, which is set during calls to the
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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.4 to 1.69.0.
Release notes
Sourced from sass's releases.
... (truncated)
Changelog
Sourced from sass's changelog.
... (truncated)
Commits
8e6a26c
Cut a release (#2107)ce545c2
Implement first class mixins (#2073)310904e
Fix a race condition preventing embedded compiler to shutdown after a protoco...16b8512
Switch to the GitHub-hosted MacOS ARM64 runner (#2103)4255930
Update the version of Sass used by the website on release (#2102)507e439
Bump actions/checkout from 3 to 4 (#2088)f66cb47
Bump docker/setup-qemu-action from 2 to 3 (#2089)ff56fc5
Implement support for the relative color syntax of CSS Color 5 (#2098)00823e0
Rephrase errors for numbers that must be unitless or % (#2101)23f0143
Forbid LLM contributions (#2100)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 show