[Cheetahtemplate-discuss] Cheetah 2.0rc3 released
Brought to you by:
rtyler,
tavis_rudd
From: Tavis R. <ta...@re...> - 2006-01-30 02:55:37
|
http://cheetahtemplate.org/docs/CHANGES http://prdownloads.sourceforge.net/cheetahtemplate/Cheetah-2.0rc3.tar.gz?download CHANGES SUMMARY: - added short-form single line versions of all directives that have an #end tag, except for #errorCatcher - added support for $!silentModePlaceholders, like in Velocity - added support for function/method @decorators ` - refactored the #cache/CacheRegions code to support abitrary backend cache data stores, and wrote a Memcached backend - made it possible to add custom directives, or customize the parsing/handling of existing ones, via the compiler settings 'directiveNamesAndParsers' and 'endDirectiveNamesAndHandlers' - added a compile-time macro facility to Cheetah. These macros are very similar to macros in Lisp. See the CHANGES file for an explanation. - added the initial bits of an #i18n directive - added a new callback hook 'handlerForExtendsDirective' to the compiler settings. It can be used to customize the handling of #extends directives. The callback can dynamically add import statements or rewrite the baseclass' name if needed. - changed the default filter to the one that doesn't try to encode Unicode. It was 'EncodeUnicode' and is now 'RawOrEncodedUnicode'. - added optional support for parsing whitespace between the directive start token (#) and directive names, per Christophe Eymard's request - major extensions to the test suite - made the handling of Template.compile()'s preprocessors arg simpler |