Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Released 2022-03-23. Progress: 4013 of 6478 tests passed in dart-sass compatibility mode. ### Breaking changes * The functions `parse_scss_file` and `parse_scss_path` is removed. Use `SourceFile` (maybe from a `FileContext`) instead (PR #132). * Some API changes (mayinly using `SourceFile` as return type) in `FileContext` and `FsF ileContext` (PR #132). * `Scope::get` now takes an `&Name` rather than an `&str` for the variable name. * `sass::Value::Variable` now has a source position. * `sass::Item` and `css::BodyItem` got new alternatives for custom properties (PR #134). * Some changes in the `Error` type to facilitate positions. ### Improvements * Basic support for `meta.load-css` mixin (PR #131). * Improved `calc` and `clamp` handling (PR #133). * Support custom properties (PR #134). * Refactor source file handling. Instead of creating new FileContexts wrapping the original for each file for searching for local paths in that file, use the SourceName of the containing file to find local paths (PR #132). * Detect `@import` loops. * Report undefined variable / module errors better. * Update color formatting. Sass-spec changed how it decides what format to show a color in (PR #135). * Enable clippy in CI and fix some things it complained about (PR #128). * Update sass-spec test suite to 2022-03-17.
- Loading branch information