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, 2017Discussing 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 thesource
attribute. This means escaping is now only on by default for templates with ahtml
,htm
, orxml
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.