Skip to content

Commit

Permalink
Release 0.28.4
Browse files Browse the repository at this point in the history
Released 2023-11-11.
.

* Filter out placeholder selectors when writing the resulting css
  (they are still parsed of the internal data representation, so they
  can be used when implementing `@extend`) (PR #180).
* Filter out some other illegal / never-matching selectors (PR #181).
* Some improvements in plain css value parsing:
  - trailing comma and space separated lists in function arguments.
  - unqoted urls (contining slash and dot) in function arguments.
  - Negative numbers and numbers starting with a decimal dot.
  - unicode-ranges.
* Allow at-rules in at-rules when parsing plain css.
* Refactored function name/plain string handling in scss values to not parse
  the same unquoted string twice.
* Remove separate backref member from `css::Selectors` for cleanup before
  implementing more selector functions.  Instead, add it to an internal
  struct `SelectorCtx` (PR #179).
* Implemented a bunch of css math functions.  They differ from the
  functions in the math module in that they fallback to themself if
  the answer cant be calculated but isn't obviously wrong
  (e.g. `min(var(--gap), 2em)` is preserved while `min(1em, 2em)` is
  evaluated to `1em` and `min(1s, 1em)` yields an error).  This also
  includes some improvements in handling numeric zeroes and
  infinities. (PR #184).
* Implemented css relative color functions (PR #185).
* Simplify units early in numeric division and multiplication.  I
  think this is a bit uglier, but it is more consistent with dart
  sass.
* Refactored some parsers for less backtracking, making it easier to point
  parse errors at the right place in the code and maybe making parsing
  slightly more efficient.
* Improve selector / name parsing by beeing more restrictive (PR #183).
* Updated sass-spec test suite to 2023-10-31.
  • Loading branch information
kaj committed Nov 11, 2023
1 parent 4b9a77c commit c6ac005
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ The format is based on
project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## Release 0.28.4

Released 2023-11-11.
.

* Filter out placeholder selectors when writing the resulting css
(they are still parsed of the internal data representation, so they
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The sass language [is defined in its reference
doc](http://sass-lang.com/documentation/).
This implementation is incomplete but getting there, if slowly.

Progress: 4725 of 7033 tests passed


If you need _complete_ sass support, you'll need
[dart sass](https://sass-lang.com/dart-sass).
Expand Down
2 changes: 1 addition & 1 deletion rsass-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The sass language [is defined in its reference
doc](http://sass-lang.com/documentation/).
This implementation is incomplete but getting there, if slowly.

Progress: 4697 of 7032 tests passed.
.

If you want a standalone sass executable, you're probably better of
with [dart sass](https://sass-lang.com/dart-sass).
Expand Down
2 changes: 1 addition & 1 deletion rsass/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rsass"
version = "0.28.3-PRE"
version = "0.28.4"
authors = ["Rasmus Kaj <[email protected]>"]
categories = ["web-programming"]
keywords = ["scss", "sass", "css", "web"]
Expand Down
2 changes: 1 addition & 1 deletion rsass/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The sass language [is defined in its reference
doc](http://sass-lang.com/documentation/).
This implementation is incomplete but getting there, if slowly.

Progress: 4725 of 7033 tests passed


If you need _complete_ sass support, you'll need to call
[dart sass](https://sass-lang.com/dart-sass).
Expand Down
2 changes: 1 addition & 1 deletion rsass/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
//! doc](http://sass-lang.com/documentation/).
//! This implementation is incomplete but getting there, if slowly.
//!
//! Progress: 4725 of 7033 tests passed
//!
//!
//! If you want a working rust library for sass right now, you may
//! be better of with [sass-rs](https://crates.io/crates/sass-rs)
Expand Down

0 comments on commit c6ac005

Please sign in to comment.