Release 0.21.0 - 2021-06-01
Progress: 3727 of 6171 tests passed in dart-sass compatibility mode.
Breaking changes
value::Unit
andvalue::ListSeparator
has new alternatives.- The
List
alternative insass::Value
andcss::Value
is modified. - The
Use
alternative insass::Item
is modified, andForward
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
andmeta.module_functions
. - Implement
math.div
function. - Improved parameter checking for
hwb
,alpha
, andinvert
functions insass: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).