Skip to content

Release 0.17.0

Compare
Choose a tag to compare
@kaj kaj released this 29 Jan 15:17

Progress: 2784 of 5936 tests passed in dart-sass compatiblilty mode.

Breaking changes

  • Update nom to 6.0 rasises the minimally supported compiler version to 1.44.0. Also, the dependency is technically exposed.
  • sass::Item::Use was modified by #84.
  • compile_scss_file is renamed to compile_scss_path, and FileContext is now a trait, the default implementation is renamed to FsFileContext by #85.

Improvements

  • Allow customizing file loading by providing a custom impl of a FileContext, PR #85.
  • Support the @use name as * syntax, PR #84.
  • Make Error::BadValue a little closer to whats expected.
  • Handle units in @for loops.
  • Update nom to 6.0, PR #83.
  • Update rand to 0.8, PR #86.
  • Testing is now done with github actions rather than travis (Appveyor remains for window builds).
  • sass-spec test suite updated to 2021-01-20.

Thanks to @paolobarbolini and @alvra for code contributions.

Tested with rustc 1.49.0 (e1884a8e3 2020-12-29), 1.44.1 (c7087fe00 2020-06-17), 1.46.0 (04488afe3 2020-08-24), 1.48.0 (7eac88abb 2020-11-16), 1.50.0-beta.8 (1cd030396 2021-01-20), and 1.51.0-nightly (c0b64d97b 2021-01-28).