Skip to content

Commit eabbe37

Browse files
committed
Update Dart Sass version and release
1 parent 573e2e3 commit eabbe37

File tree

19 files changed

+115
-36
lines changed

19 files changed

+115
-36
lines changed

CHANGELOG.md

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,82 @@
1+
## 1.74.1
2+
3+
* No user-visible changes.
4+
5+
## 1.74.0
6+
7+
### JS API
8+
9+
* Add a new top-level `deprecations` object, which contains various
10+
`Deprecation` objects that define the different types of deprecation used by
11+
the Sass compiler and can be passed to the options below.
12+
13+
* Add a new `fatalDeprecations` compiler option that causes the compiler to
14+
error if any deprecation warnings of the provided types are encountered. You
15+
can also pass in a `Version` object to treat all deprecations that were active
16+
in that Dart Sass version as fatal.
17+
18+
* Add a new `futureDeprecations` compiler option that allows you to opt-in to
19+
certain deprecations early (currently just `import`).
20+
21+
* Add a new `silenceDeprecations` compiler option to ignore any deprecation
22+
warnings of the provided types.
23+
24+
### Command-Line Interface
25+
26+
* Add a new `--silence-deprecation` flag, which causes the compiler to ignore
27+
any deprecation warnings of the provided types.
28+
29+
* Previously, if a future deprecation was passed to `--fatal-deprecation` but
30+
not `--future-deprecation`, it would be treated as fatal despite not being
31+
enabled. Both flags are now required to treat a future deprecation as fatal
32+
with a warning emitted if `--fatal-deprecation` is passed without
33+
`--future-deprecation`, matching the JS API's behavior.
34+
35+
### Dart API
36+
37+
* The `compile` methods now take in a `silenceDeprecations` parameter, which
38+
causes the compiler to ignore any deprecation warnings of the provided types.
39+
40+
* Add `Deprecation.obsoleteIn` to match the JS API. This is currently null for
41+
all deprecations, but will be used once some deprecations become obsolete in
42+
Dart Sass 2.0.0.
43+
44+
* **Potentially breaking bug fix:** Fix a bug where `compileStringToResultAsync`
45+
ignored `fatalDeprecations` and `futureDeprecations`.
46+
47+
* The behavior around making future deprecations fatal mentioned in the CLI
48+
section above has also been changed in the Dart API.
49+
50+
## 1.73.0
51+
52+
* Add support for nesting in plain CSS files. This is not processed by Sass at
53+
all; it's emitted exactly as-is in the CSS.
54+
55+
* In certain circumstances, the current working directory was unintentionally
56+
being made available as a load path. This is now deprecated. Anyone relying on
57+
this should explicitly pass in `.` as a load path or `FilesystemImporter('.')`
58+
as the current importer.
59+
60+
* Add linux-riscv64 and windows-arm64 releases.
61+
62+
### Command-Line Interface
63+
64+
* Fix a bug where absolute `file:` URLs weren't loaded for files compiled via
65+
the command line unless an unrelated load path was also passed.
66+
67+
* Fix a bug where `--update` would always update files that were specified via
68+
absolute path unless an unrelated load path was also passed.
69+
70+
### Dart API
71+
72+
* Add `FilesystemImporter.noLoadPath`, which is a `FilesystemImporter` that can
73+
load absolute `file:` URLs and resolve URLs relative to the base file but
74+
doesn't load relative URLs from a load path.
75+
76+
* `FilesystemImporter.cwd` is now deprecated. Either use
77+
`FilesystemImporter.noLoadPath` if you weren't intending to rely on the load
78+
path, or `FilesystemImporter('.')` if you were.
79+
180
## 1.72.0
281

382
* Support adjacent `/`s without whitespace in between when parsing plain CSS

npm/android-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-android-arm",
3-
"version": "1.72.0",
3+
"version": "1.74.1",
44
"description": "The android-arm binary for sass-embedded",
55
"repository": "sass/embedded-host-node",
66
"author": "Google Inc.",

npm/android-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-android-arm64",
3-
"version": "1.72.0",
3+
"version": "1.74.1",
44
"description": "The android-arm64 binary for sass-embedded",
55
"repository": "sass/embedded-host-node",
66
"author": "Google Inc.",

npm/android-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-android-ia32",
3-
"version": "1.72.0",
3+
"version": "1.74.1",
44
"description": "The android-ia32 binary for sass-embedded",
55
"repository": "sass/embedded-host-node",
66
"author": "Google Inc.",

npm/android-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-android-x64",
3-
"version": "1.72.0",
3+
"version": "1.74.1",
44
"description": "The android-x64 binary for sass-embedded",
55
"repository": "sass/embedded-host-node",
66
"author": "Google Inc.",

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.72.0",
3+
"version": "1.74.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.72.0",
3+
"version": "1.74.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.72.0",
3+
"version": "1.74.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.72.0",
3+
"version": "1.74.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.72.0",
3+
"version": "1.74.1",
44
"description": "The linux-ia32 binary for sass-embedded",
55
"repository": "sass/embedded-host-node",
66
"author": "Google Inc.",

0 commit comments

Comments
 (0)