Skip to content

Commit 644c64d

Browse files
committed
Update compiler version and release
1 parent 7a68c17 commit 644c64d

File tree

10 files changed

+93
-18
lines changed

10 files changed

+93
-18
lines changed

CHANGELOG.md

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

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

npm/darwin-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sass-embedded-darwin-arm64",
3-
"version": "1.55.0",
3+
"version": "1.56.1",
44
"description": "The darwin-arm64 binary for sass-embedded",
55
"repository": "sass/embedded-host-node",
66
"author": "Google Inc.",

npm/darwin-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sass-embedded-darwin-x64",
3-
"version": "1.55.0",
3+
"version": "1.56.1",
44
"description": "The darwin-x64 binary for sass-embedded",
55
"repository": "sass/embedded-host-node",
66
"author": "Google Inc.",

npm/linux-arm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sass-embedded-linux-arm",
3-
"version": "1.55.0",
3+
"version": "1.56.1",
44
"description": "The linux-arm binary for sass-embedded",
55
"repository": "sass/embedded-host-node",
66
"author": "Google Inc.",

npm/linux-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sass-embedded-linux-arm64",
3-
"version": "1.55.0",
3+
"version": "1.56.1",
44
"description": "The linux-arm64 binary for sass-embedded",
55
"repository": "sass/embedded-host-node",
66
"author": "Google Inc.",

npm/linux-ia32/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sass-embedded-linux-ia32",
3-
"version": "1.55.0",
3+
"version": "1.56.1",
44
"description": "The linux-ia32 binary for sass-embedded",
55
"repository": "sass/embedded-host-node",
66
"author": "Google Inc.",

npm/linux-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sass-embedded-linux-x64",
3-
"version": "1.55.0",
3+
"version": "1.56.1",
44
"description": "The linux-x64 binary for sass-embedded",
55
"repository": "sass/embedded-host-node",
66
"author": "Google Inc.",

npm/win32-ia32/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sass-embedded-win32-ia32",
3-
"version": "1.55.0",
3+
"version": "1.56.1",
44
"description": "The win32-ia32 binary for sass-embedded",
55
"repository": "sass/embedded-host-node",
66
"author": "Google Inc.",

npm/win32-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sass-embedded-win32-x64",
3-
"version": "1.55.0",
3+
"version": "1.56.1",
44
"description": "The win32-x64 binary for sass-embedded",
55
"repository": "sass/embedded-host-node",
66
"author": "Google Inc.",

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "sass-embedded",
3-
"version": "1.55.0",
3+
"version": "1.56.1",
44
"protocol-version": "1.1.0",
5-
"compiler-version": "1.55.0",
5+
"compiler-version": "1.56.1",
66
"description": "Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol",
77
"repository": "sass/embedded-host-node",
88
"author": "Google Inc.",
@@ -27,14 +27,14 @@
2727
"test": "jest"
2828
},
2929
"optionalDependencies": {
30-
"sass-embedded-darwin-arm64": "1.55.0",
31-
"sass-embedded-darwin-x64": "1.55.0",
32-
"sass-embedded-linux-arm": "1.55.0",
33-
"sass-embedded-linux-arm64": "1.55.0",
34-
"sass-embedded-linux-ia32": "1.55.0",
35-
"sass-embedded-linux-x64": "1.55.0",
36-
"sass-embedded-win32-ia32": "1.55.0",
37-
"sass-embedded-win32-x64": "1.55.0"
30+
"sass-embedded-darwin-arm64": "1.56.1",
31+
"sass-embedded-darwin-x64": "1.56.1",
32+
"sass-embedded-linux-arm": "1.56.1",
33+
"sass-embedded-linux-arm64": "1.56.1",
34+
"sass-embedded-linux-ia32": "1.56.1",
35+
"sass-embedded-linux-x64": "1.56.1",
36+
"sass-embedded-win32-ia32": "1.56.1",
37+
"sass-embedded-win32-x64": "1.56.1"
3838
},
3939
"dependencies": {
4040
"buffer-builder": "^0.2.0",

0 commit comments

Comments
 (0)