Chameleon v2.0-rc4 Release Notes
Release Date: 2011-03-03 // about 13 years ago-
๐ Bugfixes:
๐ Fixed an issue where the output of an end-to-end string expression would raise an exception if the expression evaluated to
None
(it should simply output nothing).๐ง The
convert
function (which is configurable on the template class level) now defaults to thetranslate
function (at run-time).
This fixes an issue where message objects were not translated (and thus converted to a string) using the a provided
translate
function.- ๐ Fixed string interpolation issue where an expression immediately succeeded by a right curly bracket would not parse.
This fixes issue #5.
- ๐ Fixed error where
tal:condition
would be evaluated aftertal:repeat
.
๐ Features:
- Python expression is now a TALES expression. That means that the pipe operator can be used to chain two or more expressions in a try-except sequence.
This behavior was ported from the 1.x series. Note that while it's still possible to use the pipe character ("|") in an expression, it must now be escaped.
- The template cache can now be shared by multiple processes.