All Versions
Latest Version
Avg Release Cycle
44 days
Latest Release
378 days ago

Changelog History
Page 7

  • v0.7.2 Changes

    February 18, 2017
    • โšก๏ธ Update chrono version
    • ๐Ÿ‘‰ Make variable block like {{ "hey" }} render correctly
  • v0.7.1 Changes

    February 05, 2017
    • ๐Ÿ‘Œ Support filter sections
    • ๐Ÿ›  Fix path prefix trimming on Windows
  • v0.7.0 Changes

    February 01, 2017

    ๐Ÿ’ฅ Breaking changes

    • Tera::add_template -> Tera::add_raw_template
    • Tera::add_templates -> Tera::add_raw_templates


    • ๐ŸŽ Performance improvement thanks to @clarcharr
    • ๐Ÿ‘ Better error message for value_render. Thanks to @SilverWingedSeraph for the report
    • Hide add_raw_template and add_raw_templates from docs, they were meant for internal use
    • Exported macros now use the $crate variable, which means you don't need to import anything from Tera to have them working
    • ๐Ÿ”ฆ Expose AST (not covered by semver)
    • โž• Add a Context::extend method to merge a context object into another one
  • v0.6.2 Changes

    January 08, 2017
    • ๐ŸŽ Performance improvements thanks to @wdv4758h
    • Correctly register date filter and make it work on a RFC3339 string as well thanks to @philwhineray
  • v0.6.1 Changes

    December 28, 2016
    • Added Tera::value_one_off to parse and render a single template using a Json value as context
  • v0.6.0 Changes

    December 26, 2016


    • not is now a Tera keyword


    • โž• Added #![deny(missing_docs)] to the crate
    • โž• Added Tera::one_off to parse and render a single template
    • โž• Added not operator in conditions to mean falsiness (equivalent to ! in Rust)
    • โœ‚ Remove specific error message when using || or &&
    • ๐Ÿ‘Œ Improved performances for parsing and rendering (~5-20%)
    • โž• Added precision arg to round filter
    • โž• Added date filter to format a timestamp to a date(time) string
  • v0.5.0 Changes

    December 19, 2016

    A few breaking changes in this one


    • ๐Ÿ“œ Tera no longer panics when parsing templates, it returns an error instead
    • โœ… Tester fn signature changes from fn(&str, Option<Value>, Vec<Value>) -> Result<bool> to fn(Option<Value>, Vec<Value>) -> Result<bool>
    • ๐Ÿ“‡ Rename TeraResult export to Result


    • Stabilized Tera::add_template and Tera::add_templates
    • โž• Added compile_templates! macro to try to compile all templates and, in case of errors, ๐Ÿ–จ print them and exit the process
    • Much improved error messages
    • Add a magical variable __tera_context that will pretty print the current context
    • ๐Ÿ“š More documentation inside the crate itself
    • Actually register the filesizeformat, slugify, addslashes, good thing no one noticed
    • โž• Add divisibleby and iterable test
    • Made try_get_value! macro work outside of Tera
  • v0.4.1 Changes

    December 07, 2016
    • โœ‚ Remove println! left behind
    • ๐Ÿ›  Fix macros not being found in child templates
    • Export Value and to_value (currently from serde-json)
  • v0.4.0 Changes

    December 02, 2016
    • โž• Add macros
    • โž• Add filesizeformat filter
    • โž• Add autoescape
    • โž• Add multiple level inheritance
    • โž• Add nested blocks
    • โž• Add {{ super() }}

    Thanks to @SergioBenitez and @yonran for the help!

  • v0.3.1 Changes

    October 11, 2016
    • ๐Ÿ›  Fix regression when using variables in forloops + add test for it