Skip to content
This repository was archived by the owner on May 15, 2023. It is now read-only.

Commit d52222c

Browse files
committed
Update Dart Sass version and release
1 parent 522dac9 commit d52222c

File tree

3 files changed

+72
-4
lines changed

3 files changed

+72
-4
lines changed

CHANGELOG.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,71 @@
1+
## 1.56.0
2+
3+
* **Potentially breaking change:** To match the CSS spec, SassScript expressions
4+
beginning with `not` or `(` are no longer supported at the beginning of
5+
parenthesized sections of media queries. For example,
6+
7+
```scss
8+
@media (width >= 500px) and (not (grid))
9+
```
10+
11+
will now be emitted unchanged, instead of producing
12+
13+
```scss
14+
@media (width >= 500px) and (false)
15+
```
16+
17+
See [the Sass website](https://sass-lang.com/d/media-logic) for details.
18+
19+
* **Potentially breaking bug fix:** Angle units like `rad` or `turn` are now
20+
properly converted to equivalent `deg` values for `hsl()`, `hsla()`,
21+
`adjust-hue()`, `color.adjust()`, and `color.change()`.
22+
23+
See [the Sass website](https://sass-lang.com/d/function-units#hue) for
24+
details.
25+
26+
* Fix indentation for selectors that span multiple lines in a `@media` query.
27+
28+
* Emit a deprecation warning when passing `$alpha` values with units to
29+
`color.adjust()` or `color.change()`. This will be an error in Dart Sass
30+
2.0.0.
31+
32+
See [the Sass website](https://sass-lang.com/d/function-units#alpha) for
33+
details.
34+
35+
* Emit a deprecation warning when passing a `$weight` value with no units or
36+
with units other than `%` to `color.mix()`. This will be an error in Dart Sass
37+
2.0.0.
38+
39+
See [the Sass website](https://sass-lang.com/d/function-units#weight) for
40+
details.
41+
42+
* Emit a deprecation warning when passing `$n` values with units to `list.nth()`
43+
or `list.set-nth()`. This will be an error in Dart Sass 2.0.0.
44+
45+
See [the Sass website](https://sass-lang.com/d/function-units#index) for
46+
details.
47+
48+
* Improve existing deprecation warnings to wrap `/`-as-division suggestions in
49+
`calc()` expressions.
50+
51+
* Properly mark the warning for passing numbers with units to `random()` as a
52+
deprecation warning.
53+
54+
* Fix a bug where `@extend` could behave unpredicatably when used along with
55+
`meta.load-css()` and shared modules that contained no CSS themselves but
56+
loaded CSS from other modules.
57+
58+
### Dart API
59+
60+
* Emit a deprecation warning when passing a `sassIndex` with units to
61+
`Value.sassIndexToListIndex()`. This will be an error in Dart Sass 2.0.0.
62+
63+
### JS API
64+
65+
* Importer results now validate whether `contents` is actually a string type.
66+
67+
* Importer result argument errors are now rendered correctly.
68+
169
## 1.55.0
270

371
* **Potentially breaking bug fix:** Sass numbers are now universally stored as

pubspec.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ packages:
308308
name: sass
309309
url: "https://pub.dartlang.org"
310310
source: hosted
311-
version: "1.55.0"
311+
version: "1.56.0"
312312
sass_analysis:
313313
dependency: "direct dev"
314314
description:
@@ -324,7 +324,7 @@ packages:
324324
name: sass_api
325325
url: "https://pub.dartlang.org"
326326
source: hosted
327-
version: "4.0.0"
327+
version: "4.1.0"
328328
shelf:
329329
dependency: transitive
330330
description:

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: sass_embedded
2-
version: 1.55.0
2+
version: 1.56.0
33
description: An implementation of the Sass embedded protocol using Dart Sass.
44
homepage: https://github.com/sass/dart-sass-embedded
55

@@ -14,7 +14,7 @@ dependencies:
1414
meta: ^1.1.0
1515
path: ^1.6.0
1616
protobuf: ^2.0.0
17-
sass: 1.55.0
17+
sass: 1.56.0
1818
sass_api: ^4.0.0
1919
source_span: ^1.1.0
2020
stack_trace: ^1.6.0

0 commit comments

Comments
 (0)