Skip to content

Commit c77d447

Browse files
committed
Update Dart Sass version and release
1 parent 1c69baa commit c77d447

File tree

10 files changed

+69
-19
lines changed

10 files changed

+69
-19
lines changed

CHANGELOG.md

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,59 @@
1-
## 1.64.2
1+
## 1.66.0
2+
3+
* **Breaking change:** Drop support for the additional CSS calculations defined
4+
in CSS Values and Units 4. Custom Sass functions whose names overlapped with
5+
these new CSS functions were being parsed as CSS calculations instead, causing
6+
an unintentional breaking change outside our normal [compatibility policy] for
7+
CSS compatibility changes.
8+
9+
Support will be added again in a future version, but only after Sass has
10+
emitted a deprecation warning for all functions that will break for at least
11+
three months prior to the breakage.
12+
13+
## 1.65.1
14+
15+
* Update abs-percent deprecatedIn version to `1.65.0`.
16+
17+
## 1.65.0
18+
19+
* All functions defined in CSS Values and Units 4 are now parsed as calculation
20+
objects: `round()`, `mod()`, `rem()`, `sin()`, `cos()`, `tan()`, `asin()`,
21+
`acos()`, `atan()`, `atan2()`, `pow()`, `sqrt()`, `hypot()`, `log()`, `exp()`,
22+
`abs()`, and `sign()`.
23+
24+
* Deprecate explicitly passing the `%` unit to the global `abs()` function. In
25+
future releases, this will emit a CSS abs() function to be resolved by the
26+
browser. This deprecation is named `abs-percent`.
27+
28+
## 1.64.3
229

330
### Dart API
431

32+
* Deprecate explicitly passing `null` as the alpha channel for
33+
`SassColor.rgb()`, `SassColor.hsl()`, and `SassColor.hwb()`. Omitting the
34+
`alpha` channel is still allowed. In future releases, `null` will be used to
35+
indicate a [missing component]. This deprecation is named `null-alpha`.
36+
37+
[missing component]: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#missing_color_components
38+
539
* Include protocol buffer definitions when uploading the `sass` package to pub.
640

41+
### JS API
42+
43+
* Deprecate explicitly passing `null` as the alpha channel for `new
44+
SassColor()`. Omitting the `alpha` channel or passing `undefined` for it is
45+
still allowed. In future releases, `null` will be used to indicate a [missing
46+
component]. This deprecation is named `null-alpha`.
47+
48+
[missing component]: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#missing_color_components
49+
50+
(Note that this was already prohibited by the TypeScript types, but in
51+
practice prior to this `null` was treated as `1`.)
52+
53+
## 1.64.2
54+
55+
* No user-visible changes.
56+
757
## 1.64.1
858

959
### Embedded Sass

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.64.2",
3+
"version": "1.66.0",
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.64.2",
3+
"version": "1.66.0",
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.64.2",
3+
"version": "1.66.0",
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.64.2",
3+
"version": "1.66.0",
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.64.2",
3+
"version": "1.66.0",
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.64.2",
3+
"version": "1.66.0",
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.64.2",
3+
"version": "1.66.0",
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.64.2",
3+
"version": "1.66.0",
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.64.2",
3+
"version": "1.66.0",
44
"protocol-version": "2.1.0",
5-
"compiler-version": "1.64.2",
5+
"compiler-version": "1.66.0",
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.",
@@ -31,14 +31,14 @@
3131
"test": "jest"
3232
},
3333
"optionalDependencies": {
34-
"sass-embedded-darwin-arm64": "1.64.2",
35-
"sass-embedded-darwin-x64": "1.64.2",
36-
"sass-embedded-linux-arm": "1.64.2",
37-
"sass-embedded-linux-arm64": "1.64.2",
38-
"sass-embedded-linux-ia32": "1.64.2",
39-
"sass-embedded-linux-x64": "1.64.2",
40-
"sass-embedded-win32-ia32": "1.64.2",
41-
"sass-embedded-win32-x64": "1.64.2"
34+
"sass-embedded-darwin-arm64": "1.66.0",
35+
"sass-embedded-darwin-x64": "1.66.0",
36+
"sass-embedded-linux-arm": "1.66.0",
37+
"sass-embedded-linux-arm64": "1.66.0",
38+
"sass-embedded-linux-ia32": "1.66.0",
39+
"sass-embedded-linux-x64": "1.66.0",
40+
"sass-embedded-win32-ia32": "1.66.0",
41+
"sass-embedded-win32-x64": "1.66.0"
4242
},
4343
"dependencies": {
4444
"@bufbuild/protobuf": "^1.0.0",

0 commit comments

Comments
 (0)