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 the translate 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 after tal: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.