Skip to content

Commit

Permalink
Release 0.28.0
Browse files Browse the repository at this point in the history
Released 2023-07-09.
See also <https://rasmus.krats.se/2023/rsass028.en>
Progress: 4697 of 7032 tests passed.

* `@media` rules are now handled specifically as `@media` rules,
  rather than as unknown `@`-rules (PR #172).
* `@extend` is now explicitly unsupported (gives an error message,
  rather than behaving as an unknown `@` rule) (PR #173).
* Improved handling of `@keyframes` and `@font-face`.
* Changed output format of non-finite numbers to match sass spec.
  They are now wrapped in `calc`, like `calc(infinite)` or
  `calc(NaN * 1deg)`.
* Fixed some difference between module and builtin color functions
  `grayscale` and `invert`.
* The `deg` unit is no longer spelled out in `hsl` / `hsla` colors.
* Improved handling of custom properties in raw css input.
* MSRV of rsass (the lib crate) is now 1.60.0 (required by trancient
  dev dependency log).
* Improved parsing of quoted strings (some syntax errors was accepted).
* Removed the `Error::error(_)` shortcut for creating text-only errors
  (some text only errors remains, created directly as the
  `Error::S(String)` variant, that should probably be removed too in
  the future).
* Fixed a typo in help text, thanks @greyhillman (PR #170).
* Added an input check in selectors.append function.
* Changed `Number` internals to make values smaller in memory.
* Minor internal cleanup.
* Updated syn in rsass-macros to 2.0.2.
* Updated sass-spec test suite to 2023-06-30.
  • Loading branch information
kaj committed Jul 9, 2023
1 parent d760696 commit d953ae7
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 12 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ The format is based on
project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## Release 0.28.0

Released 2023-07-09.
See also <https://rasmus.krats.se/2023/rsass028.en>
Progress: 4697 of 7032 tests passed.

* `@media` rules are now handled specifically as `@media` rules,
rather than as unknown `@`-rules (PR #172).
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: 4604 of 6925 tests passed.
Progress: 4697 of 7032 tests passed.

If you need _complete_ sass support, you'll need
[dart sass](https://sass-lang.com/dart-sass).
Expand Down
4 changes: 2 additions & 2 deletions rsass-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rsass-cli"
version = "0.27.1-PRE"
version = "0.28.0"
authors = ["Rasmus Kaj <kaj@kth.se>"]
description = "Commandline interface for rsass, compiles scss to css."
categories = ["command-line-utilities", "web-programming"]
Expand All @@ -19,5 +19,5 @@ path = "src/main.rs"
unimplemented_args = []

[dependencies]
rsass = { path = "../rsass" }
rsass = { path = "../rsass", version = "0.28.0" }
clap = { version = "4.1.1", features = ["derive", "wrap_help"] }
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: 4604 of 6925 tests passed.
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
4 changes: 2 additions & 2 deletions rsass-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rsass-macros"
version = "0.27.1-PRE"
version = "0.28.0"
categories = ["web-programming"]
keywords = ["scss", "sass", "css", "web", "macro"]
description = "Sass as a rust function-like macro."
Expand All @@ -15,7 +15,7 @@ rust-version = "1.60.0"
proc-macro = true

[dependencies]
rsass = { path = "../rsass" }
rsass = { path = "../rsass", version = "0.28.0" }
proc-macro2 = "1.0.32"
quote = "1.0.22"
syn = "2.0.2"
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.27.1-PRE"
version = "0.28.0"
authors = ["Rasmus Kaj <kaj@kth.se>"]
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: 4604 of 6925 tests passed.
Progress: 4697 of 7032 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: 4604 of 6925 tests passed.
//! Progress: 4697 of 7032 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
4 changes: 2 additions & 2 deletions spectest/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "spectest"
version = "0.27.1-PRE"
version = "0.28.0"
authors = ["Rasmus Kaj <kaj@kth.se>"]
description = "Converts sass-spec to rust tests."
edition = "2021"
rust-version = "1.60.0"

[dependencies]
rsass = { path = "../rsass" }
rsass = { path = "../rsass", version = "0.28.0" }
deunicode = "1.0"
hrx-get = "0.2.0"
lazy-regex = "3.0.0"
Expand Down

0 comments on commit d953ae7

Please sign in to comment.