Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,39 @@

### Dart API

* **Breaking change:** Replace the deprecated top-level `compile()`,
`compileString()`, `compileAsync()`, and `compileStringAsync()` functions with
the functions that used to be named `compileToResult()`,
`compileStringToResult()`, `compileToResultAsync()`, and
`compileStringToResultAsync()`. The latter function names still exist, but
they are now deprecated in favor of the former names.

* Remove `Value.assertSelector()`, `.assertSimpleSelector()`,
`.assertCompoundSelector()`, and `.assertComplexSelector()`. This is now only
available through the expanded `sass_api` package, since that package also
exposes the selector AST that it returns.

* **Breaking change:** Remove the unnamed `Callable()` and `AsyncCallable()`
constructors. Use `Callable.function()` and `AsyncCallable.function()`
instead.

* **Breaking change:** Remove `Deprecation.calcInterp`. This was never actually
emitted as a deprecation.

* **Breaking change:** Remove `Deprecation.duplicateVariableFlags`. Use
`Deprecation.duplicateVarFlags`.

#### `ImporterResult`

* **Breaking change:** Remove `ImporterResult.isIndented`. Use
`ImporterResult.syntax` instead.

* **Breaking change:** Remove the `indented` parameter to `ImporterResult()`.
Use the `syntax` parameter instead.

* **Breaking change:** The `syntax` parameter to `ImporterResult()` is now
`required` and non-nullable.

## 1.97.1

* Fix a bug with the new CSS-style `if()` syntax where values would be evaluated
Expand Down
Loading
Loading