Sourced from sass's releases.
Dart Sass 1.68.0
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-percentdeprecation.JS API
Non-filesystem importers can now set the
nonCanonicalSchemefield, which declares that one or more URL schemes (without:) will never be used for URLs returned by thecanonicalize()method.Add a
containingUrlfield to thecanonicalize()andfindFileUrl()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 thecanonicalize()method.Add
AsyncImporter.containingUrl, which is set during calls to thecanonicalize()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.Embedded Sass
The
CalculationValue.interpolationfield is deprecated and will be removed in a future version. It will no longer be set by the compiler, and if the host sets it it will be treated as equivalent toCalculationValue.stringexcept that"("and")"will be added to the beginning and end of the string values.Properly include TypeScript types in the
sass-embeddedpackage.See the full changelog for changes in earlier releases.
Sourced from sass's changelog.
1.68.0
- Fix the source spans associated with the
abs-percentdeprecation.JS API
Non-filesystem importers can now set the
nonCanonicalSchemefield, which declares that one or more URL schemes (without:) will never be used for URLs returned by thecanonicalize()method.Add a
containingUrlfield to thecanonicalize()andfindFileUrl()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 thecanonicalize()method.Add
AsyncImporter.containingUrl, which is set during calls to thecanonicalize()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.Embedded Sass
The
CalculationValue.interpolationfield is deprecated and will be removed in a future version. It will no longer be set by the compiler, and if the host sets it it will be treated as equivalent toCalculationValue.stringexcept that"("and")"will be added to the beginning and end of the string values.Properly include TypeScript types in the
sass-embeddedpackage.
de618fa Fix an error during embedded compiler shutdown (#2092)873e91e Cut a release (#2090)13c9fb3 Expose the containing URL to importers under some circumstances (#2083)69f1847 CI: Configure dependabot to update GitHub Actions, too (#2087)c22c84d Update changelog for sass/embedded-host-node#248 (#2086)37e0ed5 Fix source span for calculation deprecation warnings (#2084)7370d6a Fix changelog for 1.67.0 (#2085)