Skip to content

Release 0.2.0

Compare
Choose a tag to compare
@kaj kaj released this 28 Apr 19:14
· 1437 commits to main since this release

A default run of sass-spec found 841 of 3294 tests passing (or 899 of 6049 when claiming to be libsass). Changes since version 0.1.10 includes:

  • Err results from public functions is now Error, not String. This is a breaking change in public api.
  • PR #2: value interpolation (as separate values and in strings).
  • Implement basic @content for mixins (some scoping issues remains).
  • Support namespace properties.
  • Improve parsing of unquoted strings.
  • Implement the call() function.
  • Implement the ie-hex-str() function.
  • Allow alternative parameter names to rgba() function.
  • Improve defered operators handling.
  • Improve scopeing and value evaluating (but not enough).
  • Allow function declarations in blocks.
  • Implement for, while, and each in user-defined functions.
  • Fix scoping error for while loops.
  • Support css unary + and -.
  • Misc internal or smaller improvements (some suggested by clippy).

Tested in rust 1.14.0, 1.15.1, 1.16.0, 1.17.0 (stable), 1.18.0-beta.1 (4dce67253 2017-04-25) and 1.18.0-nightly (94e884b63 2017-04-27).