|
1 |
| -## 1.67.1 |
| 1 | +## 1.68.0 |
2 | 2 |
|
3 | 3 | * Fix the source spans associated with the `abs-percent` deprecation.
|
4 | 4 |
|
| 5 | +### JS API |
| 6 | + |
| 7 | +* Non-filesystem importers can now set the `nonCanonicalScheme` field, which |
| 8 | + declares that one or more URL schemes (without `:`) will never be used for |
| 9 | + URLs returned by the `canonicalize()` method. |
| 10 | + |
| 11 | +* Add a `containingUrl` field to the `canonicalize()` and `findFileUrl()` |
| 12 | + methods of importers, which is set to the canonical URL of the stylesheet that |
| 13 | + contains the current load. For filesystem importers, this is always set; for |
| 14 | + other importers, it's set only if the current load has no URL scheme, or if |
| 15 | + its URL scheme is declared as non-canonical by the importer. |
| 16 | + |
| 17 | +### Dart API |
| 18 | + |
| 19 | +* Add `AsyncImporter.isNonCanonicalScheme`, which importers (async or sync) can |
| 20 | + use to indicate that a certain URL scheme will never be used for URLs returned |
| 21 | + by the `canonicalize()` method. |
| 22 | + |
| 23 | +* Add `AsyncImporter.containingUrl`, which is set during calls to the |
| 24 | + `canonicalize()` method to the canonical URL of the stylesheet that contains |
| 25 | + the current load. This is set only if the current load has no URL scheme, or |
| 26 | + if its URL scheme is declared as non-canonical by the importer. |
| 27 | + |
5 | 28 | ### Embedded Sass
|
6 | 29 |
|
| 30 | +* The `CalculationValue.interpolation` field is deprecated and will be removed |
| 31 | + in a future version. It will no longer be set by the compiler, and if the host |
| 32 | + sets it it will be treated as equivalent to `CalculationValue.string` except |
| 33 | + that `"("` and `")"` will be added to the beginning and end of the string |
| 34 | + values. |
| 35 | + |
7 | 36 | * Properly include TypeScript types in the `sass-embedded` package.
|
8 | 37 |
|
9 | 38 | ## 1.67.0
|
|
0 commit comments