From d953ae78ecfab48faa7a69ec10d33f9b5f3da431 Mon Sep 17 00:00:00 2001 From: Rasmus Kaj Date: Sun, 9 Jul 2023 14:42:39 +0200 Subject: [PATCH] Release 0.28.0 Released 2023-07-09. See also 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. --- CHANGELOG.md | 6 +++++- README.md | 2 +- rsass-cli/Cargo.toml | 4 ++-- rsass-cli/README.md | 2 +- rsass-macros/Cargo.toml | 4 ++-- rsass/Cargo.toml | 2 +- rsass/README.md | 2 +- rsass/src/lib.rs | 2 +- spectest/Cargo.toml | 4 ++-- 9 files changed, 16 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e35ada2..e4150b6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 +Progress: 4697 of 7032 tests passed. * `@media` rules are now handled specifically as `@media` rules, rather than as unknown `@`-rules (PR #172). diff --git a/README.md b/README.md index 6ce1412f..08c778d1 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/rsass-cli/Cargo.toml b/rsass-cli/Cargo.toml index a0aa20b0..c5de13f3 100644 --- a/rsass-cli/Cargo.toml +++ b/rsass-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rsass-cli" -version = "0.27.1-PRE" +version = "0.28.0" authors = ["Rasmus Kaj "] description = "Commandline interface for rsass, compiles scss to css." categories = ["command-line-utilities", "web-programming"] @@ -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"] } diff --git a/rsass-cli/README.md b/rsass-cli/README.md index 9b78cc80..7f7028b2 100644 --- a/rsass-cli/README.md +++ b/rsass-cli/README.md @@ -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). diff --git a/rsass-macros/Cargo.toml b/rsass-macros/Cargo.toml index 3448bb46..41d59bb5 100644 --- a/rsass-macros/Cargo.toml +++ b/rsass-macros/Cargo.toml @@ -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." @@ -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" diff --git a/rsass/Cargo.toml b/rsass/Cargo.toml index 918b56fe..991182fe 100644 --- a/rsass/Cargo.toml +++ b/rsass/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rsass" -version = "0.27.1-PRE" +version = "0.28.0" authors = ["Rasmus Kaj "] categories = ["web-programming"] keywords = ["scss", "sass", "css", "web"] diff --git a/rsass/README.md b/rsass/README.md index c94d19cc..2ed341b9 100644 --- a/rsass/README.md +++ b/rsass/README.md @@ -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). diff --git a/rsass/src/lib.rs b/rsass/src/lib.rs index 6086ff3e..3836e55b 100644 --- a/rsass/src/lib.rs +++ b/rsass/src/lib.rs @@ -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) diff --git a/spectest/Cargo.toml b/spectest/Cargo.toml index 5b07095b..432d7848 100644 --- a/spectest/Cargo.toml +++ b/spectest/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "spectest" -version = "0.27.1-PRE" +version = "0.28.0" authors = ["Rasmus Kaj "] 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"