@@ -4,18 +4,27 @@ This file **only lists breaking changes** you need to be aware of when you upgra
4
4
version. Please see [ our release notes] ( < https://github.com/askama-rs/askama/releases > ) to get a
5
5
list of all changes and improvements that might be useful to you.
6
6
7
- Also have a look at our blog posts that highlight some of the best features of our releases, and
8
- give you more in-dept explanations:
7
+ ## From askama v0.13 to askama v0.14
9
8
10
- * [ docs.rs switching jinja template framework from tera to rinja] (
11
- < https://blog.guillaume-gomez.fr/articles/2024-07-31+docs.rs+switching+jinja+template+framework+from+tera+to+rinja > )
9
+ * The <abbr title =" minimum supported rust version " >MSRV</abbr > of this release is 1.83.
10
+
11
+ * When assigning a new variable (` {% let var = … %} ` ) with a local variable was value,
12
+ it is moved or copied, not referenced.
13
+
14
+ * Try expressions (` {{ expr? }} ` ) are not placed behind a reference.
15
+
16
+ * [ ` FastWritable ` ] ( ./doc/askama/trait.FastWritable.html ) implementations have access to runtime values.
17
+
18
+ * Custom filters have access to runtime values.
19
+
20
+ * ` |unique ` is a built-in filter; ` |titlecase ` is an alias for ` |title ` .
12
21
13
22
## From askama v0.12 to askama v0.13
14
23
15
24
A blog post summarizing changes and also explaining the merge of ` rinja ` and ` askama ` is
16
25
available [ here] ( https://blog.guillaume-gomez.fr/articles/2025-03-19+Askama+and+Rinja+merge ) .
17
26
18
- List of the changes:
27
+ List of breaking changes:
19
28
20
29
* The <abbr title =" minimum supported rust version " >MSRV</abbr > of this release is 1.81.
21
30
@@ -93,6 +102,10 @@ List of the changes:
93
102
94
103
## From askama v0.12 to rinja v0.2
95
104
105
+ Have a look at our blog posts that highlight some of the best features of our releases, and
106
+ give you more in-dept explanations: [ docs.rs switching jinja template framework from tera to rinja] (
107
+ < https://blog.guillaume-gomez.fr/articles/2024-07-31+docs.rs+switching+jinja+template+framework+from+tera+to+rinja > ).
108
+
96
109
* The <abbr title =" minimum supported rust version " >MSRV</abbr > of this release is 1.71.
97
110
98
111
* You need to replace instances of ` askama ` with ` rinja ` , e.g.
0 commit comments