To install Sass 1.37.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Dart API
Potentially breaking bug fix:SassNumber.asSlash, SassNumber.withSlash(), and SassNumber.withoutSlash() have been marked as @internal. They were never intended to be used outside the sass package.
Potentially breaking bug fix:SassException has been marked as @sealed to formally indicate that it's not intended to be extended outside of the sass package.
Add a Value.withListContents() method that returns a new Sass list with the same list separator and brackets as the current value, interpreted as a list.
To install Sass 1.36.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Dart API
Added compileToResult(), compileStringToResult(), compileToResultAsync(), and compileStringToResultAsync() methods. These are intended to replace the existing compile*() methods, which are now deprecated. Rather than returning a simple string, these return a CompileResult object, which will allow us to add additional information about the compilation without having to introduce further deprecations.
Instead of passing a sourceMaps callback to compile*(), pass sourceMaps: true to compile*ToResult() and access CompileResult.sourceMap.
The CompileResult object exposes a loadedUrls object which lists the canonical URLs accessed during a compilation. This information was previously unavailable except through the JS API.
Potentially breaking bug fix:SassNumber.asSlash,
SassNumber.withSlash(), and SassNumber.withoutSlash() have been marked as
@internal. They were never intended to be used outside the sass package.
Potentially breaking bug fix:SassException has been marked as @sealed
to formally indicate that it's not intended to be extended outside of the
sass package.
Add a Value.withListContents() method that returns a new Sass list with the
same list separator and brackets as the current value, interpreted as a list.
1.36.0
Dart API
Added compileToResult(), compileStringToResult(),
compileToResultAsync(), and compileStringToResultAsync() methods. These
are intended to replace the existing compile*() methods, which are now
deprecated. Rather than returning a simple string, these return a
CompileResult object, which will allow us to add additional information
about the compilation without having to introduce further deprecations.
Instead of passing a sourceMaps callback to compile*(), pass
sourceMaps: true to compile*ToResult() and access
CompileResult.sourceMap.
The CompileResult object exposes a loadedUrls object which lists the
canonical URLs accessed during a compilation. This information was
previously unavailable except through the JS API.
1.35.2
Potentially breaking bug fix: Properly throw an error for Unicode ranges
that have too many ?s after hexadecimal digits, such as U+12345??.
Potentially breaking bug fix: Fixed a bug where certain local variable
declarations nested within multiple @if statements would incorrectly
override a global variable. It's unlikely that any real stylesheets were
relying on this bug, but if so they can simply add !global to the variable
declaration to preserve the old behavior.
Potentially breaking bug fix: Fix a bug where imports of root-relative
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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps sass from 1.32.8 to 1.37.1.
Release notes
Sourced from sass's releases.
... (truncated)
Changelog
Sourced from sass's changelog.
... (truncated)
Commits
3af6562
Try cutting a release of sass_api (#1416)4db7935
Merge pull request #1413 from sass/sass-api632a041
Move expression logic from RecursiveStatementVisitor to RecursiveAstVisitor7900dda
Add a sass_api package and publishing infrastructureb64200e
Prepare the API for being exposed in a new package2758ca1
Lazily determine whether a mixin contains a@content
block6f17b4a
Merge pull request #1412 from sass/dartdoce02d8b4
Check for dartdoc warnings in GitHub Actions9f3133a
Fix dartdoc errorsa28c656
Add dartdoc categories to Sass APIsDependabot 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)