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 than null to Logger.warn() for an unset span.
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 the done 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 the done callback that's passed to LegacyAsyncFunction.
Add declarations for the TRUE and FALSE constants.
1.46.0
JS API
Potentially breaking bug fix: Match the specification of the new JS API by
passing undefined rather than null to Logger.warn() for an unset span.
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 the done 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 the done callback that's passed to
LegacyAsyncFunction.
1.45.2
JS API
Potentially breaking bug fix: Change the default value of the separator
parameter for new SassArgumentList() to ',' rather than null. 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
... (truncated)
Commits
54fd309 Cut a release with TS definitions for TRUE/FALSE (#1591)
f9dff2e Mention TypeScript type updates in the CHANGELOG (#1589)
You can trigger a rebase of this PR 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.43.5 to 1.47.0.
Release notes
Sourced from sass's releases.
... (truncated)
Changelog
Sourced from sass's changelog.
... (truncated)
Commits
54fd309
Cut a release with TS definitions for TRUE/FALSE (#1591)f9dff2e
Mention TypeScript type updates in the CHANGELOG (#1589)78c98ee
Merge pull request #1573 from sass/carbona6c3540
Update performance numbers6bf9853
Pass undefined span instead of null to Logger.warn() in JS (#1586)4fa365a
Use a more recent version of Carbon for our benchmarks169178a
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)You can trigger a rebase of this PR 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)