All Versions
73
Latest Version
Avg Release Cycle
44 days
Latest Release
378 days ago
Changelog History
Page 7
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
Others
- ๐ Performance improvement thanks to @clarcharr
- ๐ Better error message for
value_render
. Thanks to @SilverWingedSeraph for the report - Hide
add_raw_template
andadd_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
- Added
-
v0.6.0 Changes
December 26, 2016๐ฅ BREAKING CHANGES
not
is now a Tera keyword
Others
- โ 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 toround
filter - โ Added
date
filter to format a timestamp to a date(time) string
-
v0.5.0 Changes
December 19, 2016A few breaking changes in this one
๐ฅ BREAKING CHANGES
- ๐ 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>
tofn(Option<Value>, Vec<Value>) -> Result<bool>
- ๐ Rename
TeraResult
export toResult
Others
- Stabilized
Tera::add_template
andTera::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
anditerable
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
andto_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