askama v0.9.0 Release Notes
Release Date: 2020-02-24 // about 5 years ago-
๐ After 11 months of development, I'm happy to announce the availability of version 0.8 of Askama, the type-safe, compiled Jinja-like template engine for Rust. This has been a long release cycle; mostly I've spent quite a bit of time trying to figure out problems with how to manage Askama's built-in integrations. In the end, 0.9.0 shipped with the integrations problems unsolved, but they were solved shortly thereafter.
โฌ๏ธ Upgrade notes:
- ๐ Move no-receiver
size_hint()
method to a separate trait (#270, thanks to @jbg) - โฌ๏ธ Upgrade Actix-Web integration to Actix-Web 2.0 (#286, thanks to @DCjanus)
- 0๏ธโฃ Default Actix-Web and Gotham integrations to UTF-8 (#219, thanks to @spease)
Other changes:
- โ Add basic support for
{% raw %}
blocks (#231, thanks to @fokinpv) - ๐ Allow referencing
self
as a variable (fixes #207) - โ Add support for boolean literals (#265, thanks to @davebrent)
- โ Add support for character literals (#283, thanks to @siiptuo)
- ๐ Support escaping in string literals (#287, thanks to @siiptuo)
- ๐ Improve interface for askama_escape (#243, thanks to @quadrupleslap)
- ๐ Allow Rust macro calls in more places (#226)
- ๐ Fix a regression in partial inheritance (#224)
- ๐ Improvements to the Actix-Web integration (#223, thanks to @DoumanAsh)
- ๐ Clarify documentation on filter precedence (#230, thanks to @notsimon)
- โ Add documentation on how to deal with recursive data types (#235, thanks to @drahnr)
- โ Add documentation on nesting
Template
types (#218, thanks to @victe) - ๐ Improve documentation for Actix-Web and Gotham integrations (#250, thanks to @bardiharborow)
- โฌ๏ธ Upgrade to nom 5 and non-macro parser combinators
- โฌ๏ธ Upgrade to syn/quote/proc_macro2 version 1.0
Thanks to @kazimuth and @bardiharborow for additional internal improvements.
- ๐ Move no-receiver