diff --git a/CHANGELOG.md b/CHANGELOG.md index 9939ca7e..a9988561 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,49 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v2.0.0](https://github.com/rash-sh/rash/tree/v2.0.0) - 2024-08-09 + +### **BREAKING** + +Replaced Tera with Minijinja, enhancing the project's versatility and bringing near-complete +compatibility with Jinja2 syntax. This upgrade resolves several critical issues, including improved +handling of `()` in expressions. + +With Minijinja, Rash now overcomes the limitations previously imposed by the Jinja2 engine. + +### Build + +- deps: Update Rust crate serde to v1.0.204 +- deps: Update Rust crate syn to v2.0.69 +- deps: Update Rust crate syn to v2.0.70 +- deps: Update Rust crate clap to v4.5.9 +- deps: Update Rust crate syn to v2.0.71 +- deps: Update Rust crate syn to v2.0.72 +- deps: Update Rust crate clap to v4.5.10 +- deps: Update Rust crate similar to v2.6.0 +- deps: Update Rust crate serde_with to v3.9.0 +- deps: Update Rust crate env_logger to v0.11.4 +- deps: Update Rust crate clap to v4.5.11 +- deps: Update Rust crate serde_json to v1.0.121 +- deps: Update Rust crate clap to v4.5.12 +- deps: Update Rust crate clap to v4.5.13 +- deps: Update Rust crate serde_json to v1.0.122 +- deps: Update Rust crate regex to v1.10.6 +- deps: Update wagoid/commitlint-github-action action to v6.0.2 +- deps: Update Rust crate tempfile to v3.12.0 +- deps: Update Rust crate serde to v1.0.205 +- deps: Update Rust crate clap to v4.5.14 +- deps: Update rust Docker tag to v1.80.1 + +### Documentation + +- Change from list to script in release workflow + +### Refactor + +- tera: Change Jinja2 engine for minijinja +- Replace lazy_static with std from 1.80 + ## [v1.10.5](https://github.com/rash-sh/rash/tree/v1.10.5) - 2024-07-04 ### Fixed diff --git a/Cargo.lock b/Cargo.lock index e44aa834..be4da331 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1037,7 +1037,7 @@ dependencies = [ [[package]] name = "mdbook_rash" -version = "1.10.5" +version = "2.0.0" dependencies = [ "chrono", "clap", @@ -1383,7 +1383,7 @@ dependencies = [ [[package]] name = "rash_core" -version = "1.10.5" +version = "2.0.0" dependencies = [ "byte-unit", "cargo-husky", @@ -1416,7 +1416,7 @@ dependencies = [ [[package]] name = "rash_derive" -version = "1.10.5" +version = "2.0.0" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 2d1c6680..45b1e30d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ resolver = "2" [workspace.package] -version = "1.10.5" +version = "2.0.0" authors = ["Pando85 "] rust-version = "1.80" edition = "2021" diff --git a/RELEASE.md b/RELEASE.md index 74f26108..9a071178 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -12,6 +12,7 @@ cargo update -p rash_core -p rash_derive make update-changelog # merge PR +git add . VERSION=$(sed -n 's/^version = "\(.*\)"/\1/p' Cargo.toml | head -n1) git commit -m "release: Version $VERSION" ``` diff --git a/mdbook_rash/Cargo.toml b/mdbook_rash/Cargo.toml index 854c4a97..fac02247 100644 --- a/mdbook_rash/Cargo.toml +++ b/mdbook_rash/Cargo.toml @@ -15,7 +15,7 @@ path = "src/bin/mdbook-rash.rs" doc = false [dependencies] -rash_core = { path = "../rash_core", features = ["docs"], version = "1.10.5" } +rash_core = { path = "../rash_core", features = ["docs"], version = "2.0.0" } log.workspace = true regex.workspace = true schemars.workspace = true diff --git a/rash_core/Cargo.toml b/rash_core/Cargo.toml index eda60fd2..be80d4ca 100644 --- a/rash_core/Cargo.toml +++ b/rash_core/Cargo.toml @@ -21,7 +21,7 @@ path = "src/bin/rash.rs" docs = ["rash_derive/docs", "schemars"] [dependencies] -rash_derive = { path = "../rash_derive", version = "1.10.5" } +rash_derive = { path = "../rash_derive", version = "2.0.0" } log.workspace = true regex.workspace = true schemars = { workspace = true, optional = true }