Skip to content

Commit 5775033

Browse files
committed
book: update upgrading.md
1 parent a5b43c0 commit 5775033

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

book/src/upgrading.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,27 @@ This file **only lists breaking changes** you need to be aware of when you upgra
44
version. Please see [our release notes](<https://github.com/askama-rs/askama/releases>) to get a
55
list of all changes and improvements that might be useful to you.
66

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
98

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`.
1221

1322
## From askama v0.12 to askama v0.13
1423

1524
A blog post summarizing changes and also explaining the merge of `rinja` and `askama` is
1625
available [here](https://blog.guillaume-gomez.fr/articles/2025-03-19+Askama+and+Rinja+merge).
1726

18-
List of the changes:
27+
List of breaking changes:
1928

2029
* The <abbr title="minimum supported rust version">MSRV</abbr> of this release is 1.81.
2130

@@ -93,6 +102,10 @@ List of the changes:
93102

94103
## From askama v0.12 to rinja v0.2
95104

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+
96109
* The <abbr title="minimum supported rust version">MSRV</abbr> of this release is 1.71.
97110

98111
* You need to replace instances of `askama` with `rinja`, e.g.

0 commit comments

Comments
 (0)