From 3ca883f0497179fb2bd0010f9a678a9bc25c2917 Mon Sep 17 00:00:00 2001 From: Michael Jones Date: Fri, 1 Apr 2022 14:08:46 +0100 Subject: [PATCH] Update to version 0.11.0 --- CHANGELOG.md | 11 +++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ef002c..e0e97d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## 0.11.0 + +- Support arbitrary Gleam syntax in value, if-condition and for-loop source locations. This means + that more work can be done by the compiled template file rather than having to preprocess data + before rendering the template. + + The template system does not parse the Gleam expressions and so will allow invalid Gleam syntax to + be added which will cause an error with the Gleam compiler. + + Thank you to @lpil for the suggestion. + ## 0.10.0 - Add comment to generated files to indicate that they are auto-generated and ideally should not be diff --git a/Cargo.lock b/Cargo.lock index 8d94f30..ed46c58 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -366,7 +366,7 @@ dependencies = [ [[package]] name = "templates" -version = "0.10.0" +version = "0.11.0" dependencies = [ "atty", "codespan-reporting", diff --git a/Cargo.toml b/Cargo.toml index d6ef345..34c2b3a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "templates" -version = "0.10.0" +version = "0.11.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html