All Versions
12
Latest Version
Avg Release Cycle
93 days
Latest Release
691 days ago

Changelog History
Page 2

  • v0.6.0 Changes

    April 12, 2018

    ๐Ÿ“š Finally, another release of Askama, the type-safe compiled Jinja-like Rust templating library. The biggest feature in this release is the support for match blocks, making it possible to do pattern matching in templates. An example is provided in the documentation.

    • Implement basic match functionality (thanks to @anowell)
    • โž• Add support for importing template files with macros (fixes #51, thanks to @larros)
    • ๐Ÿ›  Fixed implementation of Rocket Responder which was broken in the 0.5.0 release
    • Infer Content-Type from the file extension for Iron integration (thanks to @hajifkd)
    • โž• Add support for array literals (fixes #59)
    • โž• Add support for tuple indexing (thanks to @larros)
    • ๐Ÿ›  Numerous bug fixes

    Thanks to everyone who has contributed to Askama!

  • v0.5.0 Changes

    September 07, 2017

    Discussing the 0.4.0 release made me think I should quickly make one further change: inferring the escape mode from the template path, or a specified extension if you're using the source attribute. This means escaping is now only on by default for templates with a html, htm, or xml extension. In addition, this release escapes more characters, according to the OWASP recommendations.

    โฌ†๏ธ If you spent time making changes for the 0.4.0 upgrade already, sorry about the churn! I believe this minimizes boilerplate and hopefully doesn't introduce too much magic.