Chameleon v2.6.2 Release Notes

Release Date: 2011-12-08 // over 12 years ago
  • ๐Ÿ›  Bugfixes:

    • ๐Ÿ›  Fixed issue where tal:on-error would not respect tal:omit-tag or namespace elements which are omitted by default (such as <tal:block />).

    • ๐Ÿ›  Fixed issue where macros attribute would not be available on file-based templates due to incorrect initialization.

    • The TryExcept and TryFinally AST nodes are not available on Python 3.3. These have been aliased to Try. This fixes issue

      75.

    ๐Ÿ”‹ Features:

    • ๐Ÿ”’ The TAL repeat item now makes a security declaration that grants access to unprotected subobjects on the Zope 2 platform::

      allow_access_to_unprotected_subobjects = True

    This is required for legacy compatibility and does not affect other environments.

    • The template object now has a method write(body) which explicitly decodes and cooks a string input.

    • โž• Added configuration option loader_class which sets the class used to create the template loader object.

    The class (essentially a callable) is created at template construction time.