Skip to content

0.6.0

Compare
Choose a tag to compare
@djc djc released this 12 Apr 18:39
· 1092 commits to main since this release

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!