Skip to content

Commit 7370d6a

Browse files
authoredSep 15, 2023
Fix changelog for 1.67.0 (#2085)
1 parent 5c31d1f commit 7370d6a

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed
 

‎CHANGELOG.md

+7-12
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,13 @@
1313
CSS calculations (including `abs()`, `min()`, `max()`, and `round()` whose
1414
names overlap with global Sass functions).
1515

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
16+
* **Breaking change**: As a consequence of the change in calculation parsing
17+
described above, calculation functions containing interpolation are now parsed
18+
more strictly than before. However, _almost_ all interpolations that would
19+
have produced valid CSS will continue to work. The only exception is
20+
`#{$variable}%` which is not valid in Sass and is no longer valid in
21+
calculations. Instead of this, either use `$variable` directly and ensure it
22+
already has the `%` unit, or write `($variable * 1%)`.
2823

2924
* **Potentially breaking bug fix**: The importer used to load a given file is no
3025
longer used to load absolute URLs that appear in that file. This was

0 commit comments

Comments
 (0)
Please sign in to comment.