askama v0.9.0 Release Notes

Release Date: 2020-02-24 // about 4 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.