Skip to content

Commit dd40508

Browse files
committed
Release 0.19.0 - 2021-03-14
Progress: 3371 of 5945 tests passed in dart-sass compatibility mode. ### Breaking changes * The unit of a `Numeric` is now a `UnitSet` rather than a `Unit`. * `Error` has new variants and a new field in `BadArguments`. * A sass::Value::Call now has a source position. * A `Rational` is now a `Ratio<i64>` rather than a `Ratio<isize>`. ### Improvements * Added a Contributing section to readme. * Handle values with multiple units. PR #97. * Show call position for errors in function calls, and test for type errors in many standard functions. Many error messages are made identical to dart-sass, improving test-suit progress with more than 400 tests. PR #99. * Fix issue #98: overflow in rational number arithmetic. * Allow `@at-root` at document root. * Boolean operators is truly lazy, e.g. `false and f($x)` does not call `f`. * Refactored number parsing to use overflowing rationals. PR #100. * Test suite sass-spec updated to 2021-03-02. * Updated num-rational and num-bigint to 0.4.0. Thanks to @alvra for reporting #98. Tested with rustc 1.50.0 (cb75ad5db 2021-02-10), rustc 1.48.0 (7eac88abb 2020-11-16), rustc 1.46.0 (04488afe3 2020-08-24), rustc 1.44.1 (c7087fe00 2020-06-17), rustc 1.51.0-beta.6 (6a1835ad7 2021-03-12), and rustc 1.52.0-nightly (acca81892 2021-03-13).
1 parent d706116 commit dd40508

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

Diff for: CHANGELOG.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ The format is based on
77
project adheres to
88
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
99

10-
## Unreleased
10+
## Release 0.19.0 - 2021-03-14
11+
12+
Progress: 3371 of 5945 tests passed in dart-sass compatibility mode.
1113

1214
### Breaking changes
1315

@@ -33,6 +35,13 @@ project adheres to
3335

3436
Thanks to @alvra for reporting #98.
3537

38+
Tested with rustc 1.50.0 (cb75ad5db 2021-02-10),
39+
rustc 1.48.0 (7eac88abb 2020-11-16),
40+
rustc 1.46.0 (04488afe3 2020-08-24),
41+
rustc 1.44.1 (c7087fe00 2020-06-17),
42+
rustc 1.51.0-beta.6 (6a1835ad7 2021-03-12), and
43+
rustc 1.52.0-nightly (acca81892 2021-03-13).
44+
3645

3746
## Release 0.18.0 - 2021-02-25
3847

Diff for: Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rsass"
3-
version = "0.18.1-PRE"
3+
version = "0.19.0"
44
authors = ["Rasmus Kaj <[email protected]>"]
55
categories = ["command-line-utilities", "web-programming"]
66
keywords = ["scss", "sass", "css"]

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# rsass
22

3-
Sass reimplemented in rust with nom (early stage).
3+
Sass reimplemented in rust with nom.
44
The "r" in the name might stand for the Rust programming language, for
55
"re-implemented", or possibly for my name Rasmus.
66

@@ -25,7 +25,7 @@ The sass language [is defined in its reference
2525
doc](http://sass-lang.com/documentation/file.SASS_REFERENCE.html).
2626
This implementation is incomplete but getting there, if slowly.
2727

28-
Progress: 2892 of 5945 tests passed in dart-sass compatibility mode.
28+
Progress: 3371 of 5945 tests passed in dart-sass compatibility mode.
2929

3030
If you want a working rust library for sass right now, you may
3131
be better of with [sass-rs](https://crates.io/crates/sass-rs)

Diff for: src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
//! doc](http://sass-lang.com/documentation/file.SASS_REFERENCE.html).
2626
//! This implementation is incomplete but getting there, if slowly.
2727
//!
28-
//! Progress: 2892 of 5945 tests passed in dart-sass compatibility mode.
28+
//! Progress: 3371 of 5945 tests passed in dart-sass compatibility mode.
2929
//!
3030
//! If you want a working rust library for sass right now, you may
3131
//! be better of with [sass-rs](https://crates.io/crates/sass-rs)

0 commit comments

Comments
 (0)