6 (codename unknown, release date yet unknown)
8 - Include statements can now be marked with ``ignore missing`` to skip
9 non existing templates.
10 - Priority of `not` raised. It's now possible to write `not foo in bar`
11 as an alias to `foo not in bar` like in python. Previously the grammar
12 required parentheses (`not (foo in bar)`) which was odd.
13 - Fixed a bug that caused syntax errors when defining macros or using the
14 `{% call %}` tag inside loops.
15 - Fixed a bug in the parser that made ``{{ foo[1, 2] }}`` impossible.
16 - Made it possible to refer to names from outer scopes in included templates
17 that were unused in the callers frame (#327)
18 - Fixed a bug that caused internal errors if names where used as iteration
19 variable and regular variable *after* the loop if that variable was unused
20 *before* the loop. (#331)
21 - Added support for optional `scoped` modifier to blocks.
27 - Fixed a translation error caused by looping over empty recursive loops.
31 (codename Yasuzō, released on November 23rd 2008)
33 - fixed a bug with nested loops and the special loop variable. Before the
34 change an inner loop overwrote the loop variable from the outer one after
37 - fixed a bug with the i18n extension that caused the explicit pluralization
38 block to look up the wrong variable.
40 - fixed a limitation in the lexer that made ``{{ foo.0.0 }}`` impossible.
42 - index based subscribing of variables with a constant value returns an
43 undefined object now instead of raising an index error. This was a bug
44 caused by eager optimizing.
46 - the i18n extension looks up `foo.ugettext` now followed by `foo.gettext`
47 if an translations object is installed. This makes dealing with custom
48 translations classes easier.
50 - fixed a confusing behavior with conditional extending. loops were partially
51 executed under some conditions even though they were not part of a visible
54 - added `sort` filter that works like `dictsort` but for arbitrary sequences.
56 - fixed a bug with empty statements in macros.
58 - implemented a bytecode cache system. (:ref:`bytecode-cache`)
60 - the template context is now weakref-able
62 - inclusions and imports "with context" forward all variables now, not only
65 - added a cycle helper called `cycler`.
67 - added a joining helper called `joiner`.
69 - added a `compile_expression` method to the environment that allows compiling
70 of Jinja expressions into callable Python objects.
72 - fixed an escaping bug in urlize
76 (codename jinjavitus, released on July 17th 2008)
78 - the subscribing of objects (looking up attributes and items) changed from
79 slightly. It's now possible to give attributes or items a higher priority
80 by either using dot-notation lookup or the bracket syntax. This also
81 changed the AST slightly. `Subscript` is gone and was replaced with
82 :class:`~jinja2.nodes.Getitem` and :class:`~jinja2.nodes.Getattr`.
84 For more information see :ref:`the implementation details <notes-on-subscriptions>`.
86 - added support for preprocessing and token stream filtering for extensions.
87 This would allow extensions to allow simplified gettext calls in template
88 data and something similar.
90 - added :meth:`jinja2.environment.TemplateStream.dump`.
92 - added missing support for implicit string literal concatenation.
93 ``{{ "foo" "bar" }}`` is equivalent to ``{{ "foobar" }}``
95 - `else` is optional for conditional expressions. If not given it evaluates
98 - improved error reporting for undefined values by providing a position.
100 - `filesizeformat` filter uses decimal prefixes now per default and can be
101 set to binary mode with the second parameter.
103 - fixed bug in finalizer
107 (no codename, released on June 9th 2008)
109 - first release of Jinja2