To install Sass 1.57.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 split($string, $separator, $limit: null) function to sass:string that splits a string into separate substrings based on a separator string.
JavaScript API
Potentially breaking bug fix: Custom functions in both the modern and legacy API now properly reject signatures with whitespace between the function name and parentheses.
Custom functions in the legacy API now allow signatures with whitespace before the function name, to match a bug in Node Sass.
Dart API
Potentially breaking bug fix: Callable.fromSignature() and AsyncCallable.fromSignature() now reject signatures with whitespace between the function name and parentheses.
Add a split($string, $separator, $limit: null) function to sass:string
that splits a string into separate substrings based on a separator string.
JavaScript API
Potentially breaking bug fix: Custom functions in both the modern and
legacy API now properly reject signatures with whitespace between the function
name and parentheses.
Custom functions in the legacy API now allow signatures with whitespace before
the function name, to match a bug in Node Sass.
Dart API
Potentially breaking bug fix: Callable.fromSignature() and
AsyncCallable.fromSignature() now reject signatures with whitespace between
the function name and parentheses.
Importer results now validate that contents is actually a string and whether
sourceMapUrl is an absolute URL.
1.56.0
Potentially breaking change: To match the CSS spec, SassScript expressions
beginning with not or ( are no longer supported at the beginning of
parenthesized sections of media queries. For example,
@media (width >= 500px) and (not (grid))
will now be emitted unchanged, instead of producing
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)
Bumps sass from 1.42.1 to 1.57.0.
Release notes
Sourced from sass's releases.
... (truncated)
Changelog
Sourced from sass's changelog.
... (truncated)
Commits
100f76f
Implement string.split() (#1839)236b83f
Delete dev dependency on Sass when releasing the embedded compiler (#1850)641d8e1
Be strict about whitespace in custom functions (#1848)e87176a
Add a factory method for creating host callable (#1829)790eb8a
Update CHANGELOG for embedded-host-node fixes (#1828)f3293db
JS API: Validate that importer result 'contents' is astring
and improve Ar...00c3517
Make `cloneCss() clone modules that transitively contain CSS (#1824)44d6bb6
Add full support for Media Queries 4 (#1822)558640b
Support all angle units in color functions (#1818)dd9e3cc
Implement deprecations for strict function units (#1817)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)