diff --git a/CHANGELOG.md b/CHANGELOG.md index 46f24df..8ceae49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.19.0 + +- **Breaking change**: Templates now use the `StringTree` type from the standard library instead of the `StringBuilder` + type which has been deprecated. This means that projects using `matcha` should use `gleam_stdlib >= 0.42.0`. + + Generated template modules now expose a `render_tree` function instead of `render_builder`. They continue to expose + a `render` function as before. + ## 0.18.0 - Changed to only generating the `.gleam` output if the `.matcha` file has a newer modified timestamp than the `.gleam` diff --git a/Cargo.lock b/Cargo.lock index bcf2898..7f7a750 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -217,7 +217,7 @@ checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" [[package]] name = "matcha" -version = "0.18.0" +version = "0.19.0" dependencies = [ "atty", "clap", diff --git a/Cargo.toml b/Cargo.toml index af231a2..27a957f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "matcha" -version = "0.18.0" +version = "0.19.0" edition = "2021" license = "MIT"