Bump sass from 1.42.1 to 1.46.0
Bumps sass from 1.42.1 to 1.46.0.
Release notes
Sourced from sass's releases.
Dart Sass 1.46.0
To install Sass 1.46.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
JS API
- Potentially breaking bug fix: Match the specification of the new JS API by passing
undefined
rather thannull
toLogger.warn()
for an unsetspan
.TypeScript Declarations
Add a declaration for the
LegacyPluginThis.options.context
field.Update the definition of
LegacyAsyncFunction
to include explicit definitions with zero through six arguments before thedone
parameter. This makes it possible for TypeScript users to pass in callbacks that take a specific number of arguments, rather than having to declare a callback that takes an arbitrary number.Add a declaration for
types.Error
, a legacy API class that can be returned by asynchronous functions to signal asynchronous errors.Add a
LegacyAsyncFunctionDone
type for thedone
callback that's passed toLegacyAsyncFunction
.See the full changelog for changes in earlier releases.
Dart Sass 1.45.2
To install Sass 1.45.2, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
JS API
- Potentially breaking bug fix: Change the default value of the
separator
parameter fornew SassArgumentList()
to','
rather thannull
. This matches the API specification.See the full changelog for changes in earlier releases.
Dart Sass 1.45.1
To install Sass 1.45.1, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Potentially breaking bug fix: Properly parse custom properties in
@supports
conditions. Note that this means that SassScript expressions on the right-hand side of custom property@supports
queries now need to be interpolated, as per https://sass-lang.com/d/css-vars.Potentially breaking bug fix: Fix a bug where
inspect()
was not properly printing nested, empty, bracketed lists.
... (truncated)
Changelog
Sourced from sass's changelog.
1.46.0
JS API
- Potentially breaking bug fix: Match the specification of the new JS API by passing
undefined
rather thannull
toLogger.warn()
for an unsetspan
.TypeScript Declarations
Add a declaration for the
LegacyPluginThis.options.context
field.Update the definition of
LegacyAsyncFunction
to include explicit definitions with zero through six arguments before thedone
parameter. This makes it possible for TypeScript users to pass in callbacks that take a specific number of arguments, rather than having to declare a callback that takes an arbitrary number.Add a declaration for
types.Error
, a legacy API class that can be returned by asynchronous functions to signal asynchronous errors.Add a
LegacyAsyncFunctionDone
type for thedone
callback that's passed toLegacyAsyncFunction
.1.45.2
JS API
- Potentially breaking bug fix: Change the default value of the
separator
parameter fornew SassArgumentList()
to','
rather thannull
. This matches the API specification.1.45.1
Potentially breaking bug fix: Properly parse custom properties in
@supports
conditions. Note that this means that SassScript expressions on the right-hand side of custom property@supports
queries now need to be interpolated, as per https://sass-lang.com/d/css-vars.Potentially breaking bug fix: Fix a bug where
inspect()
was not properly printing nested, empty, bracketed lists.1.45.0
JS API
This release includes an entirely new JavaScript API, designed to be more idiomatic, performant, and usable. The old API will continue to be supported until Dart Sass 2.0.0, but it is now considered deprecated and should be avoided for new code.
... (truncated)
Commits
-
f9dff2e
Mention TypeScript type updates in the CHANGELOG (#1589) -
78c98ee
Merge pull request #1573 from sass/carbon -
a6c3540
Update performance numbers -
6bf9853
Pass undefined span instead of null to Logger.warn() in JS (#1586) -
4fa365a
Use a more recent version of Carbon for our benchmarks -
169178a
Fix the default separator for new SassArgumentList in the JS API (#1580) -
a32000e
Bump the sass-api version (#1579) -
ad4ac5e
Cut a release (#1574) -
811cffa
Use the new JS API in the README (#1572) -
f7669d5
Properly parse custom property values in@supports
conditions (#1570) - Additional commits viewable in compare view