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

Commit 59ba6ea

Browse files
authored
Add the changelog entry for 1.54.0 (#95)
1 parent 3f1eceb commit 59ba6ea

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,40 @@
1+
## 1.54.0
2+
3+
* Deprecate selectors with leading or trailing combinators, or with multiple
4+
combinators in a row. If they're included in style rules after nesting is
5+
resolved, Sass will now produce a deprecation warning and, in most cases, omit
6+
the selector. Leading and trailing combinators can still be freely used for
7+
nesting purposes.
8+
9+
See https://sass-lang.com/d/bogus-combinators for more details.
10+
11+
* Add partial support for new media query syntax from Media Queries Level 4. The
12+
only exception are logical operations nested within parentheses, as these were
13+
previously interpreted differently as SassScript expressions.
14+
15+
A parenthesized media condition that begins with `not` or an opening
16+
parenthesis now produces a deprecation warning. In a future release, these
17+
will be interpreted as plain CSS instead.
18+
19+
* Deprecate passing non-`deg` units to `color.hwb()`'s `$hue` argument.
20+
21+
* Fix a number of bugs when determining whether selectors with pseudo-elements
22+
are superselectors.
23+
24+
* Treat `*` as a superselector of all selectors.
25+
26+
### Dart API
27+
28+
* Add a top-level `fakeFromImport()` function for testing custom importers
29+
that use `AsyncImporter.fromImport`.
30+
31+
### JS API
32+
33+
* Add a `charset` option that controls whether or not Sass emits a
34+
`@charset`/BOM for non-ASCII stylesheets.
35+
36+
* Fix Sass npm package types for TS 4.7+ Node16 and NodeNext module resolution.
37+
138
## 1.53.0
239

340
* Add support for calling `var()` with an empty second argument, such as

0 commit comments

Comments
 (0)