Skip to content

0.9.0

Compare
Choose a tag to compare
@djc djc released this 24 Feb 12:47

After 11 months of development, I'm happy to announce the availability of version 0.9 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)
  • 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.