Skip to content

Commit f7509e6

Browse files
committed
Update Dart Sass version and release
1 parent 6129adf commit f7509e6

File tree

10 files changed

+58
-18
lines changed

10 files changed

+58
-18
lines changed

CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,43 @@
1+
## 1.67.0
2+
3+
* All functions defined in CSS Values and Units 4 are now once again parsed as
4+
calculation objects: `round()`, `mod()`, `rem()`, `sin()`, `cos()`, `tan()`,
5+
`asin()`, `acos()`, `atan()`, `atan2()`, `pow()`, `sqrt()`, `hypot()`,
6+
`log()`, `exp()`, `abs()`, and `sign()`.
7+
8+
Unlike in 1.65.0, function calls are _not_ locked into being parsed as
9+
calculations or plain Sass functions at parse-time. This means that
10+
user-defined functions will take precedence over CSS calculations of the same
11+
name. Although the function names `calc()` and `clamp()` are still forbidden,
12+
users may continue to freely define functions whose names overlap with other
13+
CSS calculations (including `abs()`, `min()`, `max()`, and `round()` whose
14+
names overlap with global Sass functions).
15+
16+
* As a consequence of the change in calculation parsing described above,
17+
calculation functions containing interpolation are now parsed more strictly
18+
than before. However, all interpolations that would have produced valid CSS
19+
will continue to work, so this is not considered a breaking change.
20+
21+
* Interpolations in calculation functions that aren't used in a position that
22+
could also have a normal calculation value are now deprecated. For example,
23+
`calc(1px #{"+ 2px"})` is deprecated, but `calc(1px + #{"2px"})` is still
24+
allowed. This deprecation is named `calc-interp`. See [the Sass website] for
25+
more information.
26+
27+
[the Sass website]: https://sass-lang.com/d/calc-interp
28+
29+
* **Potentially breaking bug fix**: The importer used to load a given file is no
30+
longer used to load absolute URLs that appear in that file. This was
31+
unintented behavior that contradicted the Sass specification. Absolute URLs
32+
will now correctly be loaded only from the global importer list. This applies
33+
to the modern JS API, the Dart API, and the embedded protocol.
34+
35+
### Embedded Sass
36+
37+
* Substantially improve the embedded compiler's performance when compiling many
38+
files or files that require many importer or function call round-trips with
39+
the embedded host.
40+
141
## 1.66.1
242

343
### JS API

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.66.1",
3+
"version": "1.67.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.66.1",
3+
"version": "1.67.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.66.1",
3+
"version": "1.67.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.66.1",
3+
"version": "1.67.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.66.1",
3+
"version": "1.67.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.66.1",
3+
"version": "1.67.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.66.1",
3+
"version": "1.67.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.66.1",
3+
"version": "1.67.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.66.1",
3+
"version": "1.67.0",
44
"protocol-version": "2.1.0",
5-
"compiler-version": "1.66.1",
5+
"compiler-version": "1.67.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.66.1",
35-
"sass-embedded-darwin-x64": "1.66.1",
36-
"sass-embedded-linux-arm": "1.66.1",
37-
"sass-embedded-linux-arm64": "1.66.1",
38-
"sass-embedded-linux-ia32": "1.66.1",
39-
"sass-embedded-linux-x64": "1.66.1",
40-
"sass-embedded-win32-ia32": "1.66.1",
41-
"sass-embedded-win32-x64": "1.66.1"
34+
"sass-embedded-darwin-arm64": "1.67.0",
35+
"sass-embedded-darwin-x64": "1.67.0",
36+
"sass-embedded-linux-arm": "1.67.0",
37+
"sass-embedded-linux-arm64": "1.67.0",
38+
"sass-embedded-linux-ia32": "1.67.0",
39+
"sass-embedded-linux-x64": "1.67.0",
40+
"sass-embedded-win32-ia32": "1.67.0",
41+
"sass-embedded-win32-x64": "1.67.0"
4242
},
4343
"dependencies": {
4444
"@bufbuild/protobuf": "^1.0.0",

0 commit comments

Comments
 (0)