Skip to content

Release 0.21.0 - 2021-06-01

Compare
Choose a tag to compare
@kaj kaj released this 01 Jun 15:04

Progress: 3727 of 6171 tests passed in dart-sass compatibility mode.

Breaking changes

  • value::Unit and value::ListSeparator has new alternatives.
  • The List alternative in sass::Value and css::Value is modified.
  • The Use alternative in sass::Item is modified, and Forward added.

Improvements

  • Most of @forward and some more of @use is now supported. PR #109 and #110.
  • Handle unknown units. PR #101.
  • List can be undecided between beeing comma-separated and beeing space-separated. PR #102.
  • Improved parameter handling and returned values of the supported selector functions. PR #103.
  • Implement meta.module_variables and meta.module_functions.
  • Implement math.div function.
  • Improved parameter checking for hwb, alpha, and invert functions in sass:color module.
  • Support slash-separated lists. PR #111.
  • The if function evaluates its arguments lazily. Issue #107.
  • The --include-path cli argument is now named --load-path.
  • At least some documentation on all public items.
  • Update sass-spec test suite to 2021-05-24. Also include "other" files (for @use and @import) in rust code for the suite.

Tested with rustc 1.52.1, 1.50.0, 1.48.0, 1.45.2, 1.53.0-beta.3 (82b862164 2021-05-22), and 1.54.0-nightly (657bc0188 2021-05-31).