6 (codename: sinka, released Jun 1, 2007)
8 - blocks now support ``{{ super() }}`` to render the parent output.
10 - debugging system improved, smaller filesize for the cached files.
11 Debugging works now well for any module using linecache.
13 - ``{{ debug() }}`` can now be used to get a list of filters and
16 - the template lexer keeps not track of brace, parenthesis and
17 bracket balance in order to not break variable tags apart if they
18 are configured to look like this: ``${expr}``. This also fixes
19 the problem with nested dicts in variable expressions.
21 - it's now possible to configure the variable blocks to look the
22 same as the block delimiters. Thus you can set the syntax to something
23 like ``{ / }`` for both blocks and variables.
25 - added whitespace management system for the template designer.
27 - some small bugfixes.
29 - improved security system regarding function calls and variable
30 assignment in for loops.
32 - added `lipsum` function to generate random text.
34 - strings without unicode characters are processed as binary strings now
35 to workaround problems with `datetime.strftime` which only accepts
38 - it's now possible to use newlines in string literals
40 - developer friendly traceback is now toggleable
42 - the variable failure is now pluggable by replacing the undefined
43 singleton for an environment instance
45 - fixed issue with old-style classes not implementing `__getitem__`
46 (thanks to Axel Böhm for discovering that bug)
48 - added a bunch of new docstrings to the Jinja classes. Makes fun now to
51 - fixed severe memcaching bug. Formerly it wasn't possible to use memcaching
52 without enabling disk cache.
54 - fixed a bug that allowed users to override the special names `_`, `true` etc.
56 - added `batch` and `slice` filters for batching or slicing sequences
58 - added `sum`, `abs`, `round` and `sort` filters. This fixes #238
60 - added `striptags` and `xmlattr` filters for easier SGML/XML processing
62 - the trans tag does not need explicit naming for variables with the same
63 name any more. You can now use ``{% trans foo %}`` instead of the verbose
64 version ``{% trans foo=foo %}``.
66 - reimplemented Buffet plugin so that it works at least for pylons
68 - added `Environment.get_translations_for_string`
70 - fixed a bug in the parser that didn't unescape keyword arguments. (thanks
71 to Alexey Melchakov for reporting)
73 - You can now use the environment to just tokenize a template. This can
74 be useful for syntax highlighting or other purposes.
76 - added optional C-implementation of the context baseclass.
78 - you can now use optional parentheses around macro defintions. Thus it's
79 possible to write ``{% macro foo(a, b, c) %}`` instead of ``{% macro
82 - additional macro arguments now end up in `varargs`.
84 - implemented the `{% call %}` block. `call` and `endcall` can still be used
85 as identifiers until Jinja 1.3
87 - it's not possible to stream templates.
89 - fixed a corner case when defining a block inside of a condition
91 - the cached loader mixin is now able to cache multiple templates from
92 different loaders in the same cache folder.
94 - Translatable strings returned by ``_()`` will leave their string formatting
95 signs untouched. Thanks to Stefan Ebner for reporting.
97 - ``{% block name "data" %}`` is now an alias for
98 ``{% block name %}data{% endblock %}``. Note that the second argument can
99 be an expression. As soon as you specify an expression as second argument
100 the closing tag has to be omitted.
102 - It's now possible to iterate over iterators additionally to sequences.
103 If the iterator is inifite it will crash however, so makes sure you don't
104 pass something like that to a template!
106 - added `rendetemplate` to render included templates in an isolated
107 environment and get the outout back.
109 - added `simplefilter` decorator.
111 - improved ChoiceLoader error reporting (thanks to Bryan McLemore)
113 - fixed extended slicing
118 (codename: siyutusan, released Mar 23, 2007)