Skip to content

Release 0.25.0

Compare
Choose a tag to compare
@kaj kaj released this 17 May 21:29

Released 2022-05-17 (On the Norwegian Constitution day πŸ‡³πŸ‡΄).
Progress: 4331 of 6523 tests passed in dart-sass compatibility mode.

Breaking changes

  • Update minimum supported rust version to 1.49.0 (from 1.45.2).
  • SourceFile.parse() now returns a Result<Parsed> rahter than a Result<Vec<sass::Item>>, and Format::write_root now takes a Parsed (PR #140).
  • FsFileContext::file is replaced by FsFileContext::for_path, which initializes a file context and loads a file from it (PR 137).

Improvements

  • Hopefully improved relative file finding on windows (PR #137).
  • Plain css @import rules is only allowed on a few condtions, in other cases an error is reported (Issue #139, PR #137).
  • Rsass can now parse (some) plain css as well as scss. Css files can be referenced in @use and @import directives, as well as in the meta.load-css mixin (PR #140).
  • Make the calc(...) function signal an error when args are known to be invalid css (PR #138).
  • Change map.deep-merge to match recent change in dart sass.
  • Minor fix in whitespace around at-rules.
  • Instrumented attempted file loading with tracing (PR #137).
  • Fix a typo in LICENSE (Issue #136).
  • Update sass-spec test suite to 2022-05-10.
  • Make rust version of sass-spec more directory-aware (which fixes one of 5825 tests).
  • Use a crates badge that actually works.

Thanks to @jonassmedegaard for #136, and to @fasterthanlime for reporting the problem that #137 attempts to fix.