Skip to content

Releases: kaj/rsass

Release 0.2.0

28 Apr 19:14
@kaj kaj
Compare
Choose a tag to compare

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).

Release 0.1.10

14 Apr 21:04
@kaj kaj
Compare
Choose a tag to compare

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

  • Improve string concatenation with plus operator.
  • Support * in selectors
  • Support \ in selectors
  • Support varargs functions.
  • Allow trailing commas in lists.
  • Implement list functions append, length, and index.
  • Implement numeric functions min and max.
  • Improve @for and @each loop handling.
  • Internal cleanup and refactorisation.

Tested in rust 1.14.0, 1.15.1, 1.16.0 (stable), 1.17.0-beta.3 (beta) and 1.18.0-nightly (28a742997 2017-04-13).

Version 0.1.8

08 Apr 19:20
@kaj kaj
Compare
Choose a tag to compare

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

  • Support user-defined functions.
  • Support functions global_variable_exists, function_exists, mixin_exists.
  • Support @each, @for and @while loops.
  • Make dash and underscore equivalent in names.
  • Fix all tests from spec/scope.
  • Improve documentation.
  • Miscellaneous refactorisations and cleanups.

Tested in rust 1.14.0, 1.15.1, 1.16.0 (stable), 1.17.0-beta.3 (beta) and 1.18.0-nightly (53f4bc311 2017-04-07).

Version 0.1.6

05 Mar 16:48
@kaj kaj
Compare
Choose a tag to compare

A default run of sass-spec found 502 of 3289 tests passing (or 532 of 6044 when claiming to be libsass). Changes since version 0.1.4 includes:

  • Many more functions implemented.
  • Better support för at directieves.
  • Support the !default tag on variable declaration.
  • Support all known css units.
  • Support !important tag on properties.
  • Allow the * character inside comments.

Tested in rust 1.14.0, 1.15.1, 1.16.0-beta.3 (stable), and 1.17.0-nightly (b1e31766d 2017-03-03).

Version 0.1.4

08 Feb 18:19
@kaj kaj
Compare
Choose a tag to compare

A default run of sass-spec found 420 of 3286 tests running (or 449 of 6041 when claiming to be libsass).

  • Very basic support for media queries.
  • Implement more color functions (the internal representation of a color now uses Rational for the channels, to avoid rounding errors when using the result of one color function as input to another).
  • More complete parsing of simple numbers.
  • Support ambiguous imports, as examplified by basic test 33.
  • Use the ? operator rather than the try! macro.
  • Proper handling of escaped quotes in quoted strings (basic test 53).
  • Miscellaneous internal cleanups and refactorings

Tested in rust 1.14, 1.15, and stable and nightly as of 2017-02-08.

Version 0.1.2

29 Jan 22:50
@kaj kaj
Compare
Choose a tag to compare

Second release. Passes 380 tests of 6026 from sass-spec. Changes since 0.1.0 include:

  • Basic pseudo-classes.
  • Functions return a Result (so they can fail without panic). Note that all other error handling is still simply panics.
  • Implemented functions str-slice, str-insert, str-length.
  • Documentation

Initial release

22 Jan 22:25
@kaj kaj
Compare
Choose a tag to compare

First release to crates.io. Passes 346 tests of the sass-spec suite.