diff --git a/CHANGELOG.md b/CHANGELOG.md index c282810..b691eed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ --> +# 0.12.3 + +No visible changes for users of the `grass` crate + +Exposes more internals of the `grass_compiler` crate, allowing for custom functions implemented in rust to be accessed from Sass. + # 0.12.2 - implement an import cache, significantly improving the performance of certain pathological cases @@ -56,12 +62,13 @@ - implement `@import` conditions - remove dependency on `num-rational` and `beef` - support control flow inside declaration blocks -For example: + For example: + ```scss a { -webkit-: { @if 1 == 1 { - scrollbar: red + scrollbar: red; } } } @@ -74,6 +81,7 @@ a { -webkit-scrollbar: red; } ``` + - always emit `rgb`/`rgba`/`hsl`/`hsla` for colors declared as such in expanded mode - more efficiently compress colors in compressed mode - treat `:where` the same as `:is` in extension @@ -90,7 +98,7 @@ a { # 0.11.1 - - fix load path bug in which paths were searched for relative to the SCSS file, not the executable (#57) +- fix load path bug in which paths were searched for relative to the SCSS file, not the executable (#57) # 0.11.0 diff --git a/crates/compiler/Cargo.toml b/crates/compiler/Cargo.toml index 3ef10b1..1db8782 100644 --- a/crates/compiler/Cargo.toml +++ b/crates/compiler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "grass_compiler" -version = "0.12.2" +version = "0.12.3" edition = "2021" description = "Internal implementation of the grass compiler" readme = "README.md" diff --git a/crates/compiler/README.md b/crates/compiler/README.md index 61d1a83..9d35abf 100644 --- a/crates/compiler/README.md +++ b/crates/compiler/README.md @@ -3,3 +3,6 @@ This crate exposes the internals of the main package, [`grass`](https://crates.io/crates/grass). For most users, the preferred crate should be `grass`, as it is more stable and has a simpler API. This crate will see frequent breaking changes. + +[Documentation](https://docs.rs/grass_compiler/) +[crates.io](https://crates.io/crates/grass_compiler) diff --git a/crates/include_sass/Cargo.toml b/crates/include_sass/Cargo.toml index 4681791..bf4f4c1 100644 --- a/crates/include_sass/Cargo.toml +++ b/crates/include_sass/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "include_sass" -version = "0.12.2" +version = "0.12.3" edition = "2021" description = "Internal implementation of the grass::include! macro" readme = "../../README.md" @@ -16,7 +16,7 @@ proc-macro = true [dependencies] syn = { version = "1.0.103", default-features = false } -grass_compiler = { path = "../compiler", version = "0.12.2" } +grass_compiler = { path = "../compiler", version = "0.12.3" } quote = { version = "1.0.23", default-features = false } [features] diff --git a/crates/lib/Cargo.toml b/crates/lib/Cargo.toml index 5c6c27e..c3422da 100644 --- a/crates/lib/Cargo.toml +++ b/crates/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "grass" -version = "0.12.2" +version = "0.12.3" description = "A Sass compiler written purely in Rust" readme = "../../README.md" license = "MIT" @@ -24,8 +24,8 @@ path = "src/lib.rs" bench = false [dependencies] -grass_compiler = { path = "../compiler", version = "0.12.2", default-features = false } -include_sass = { path = "../include_sass", version = "0.12.2", optional = true } +grass_compiler = { path = "../compiler", version = "0.12.3", default-features = false } +include_sass = { path = "../include_sass", version = "0.12.3", optional = true } clap = { version = "2.34.0", optional = true } [features]