6 (codename to be selected, release date yet unknown)
10 (codename Yasuzō, released on November 23rd 2008)
12 - fixed a bug with nested loops and the special loop variable. Before the
13 change an inner loop overwrote the loop variable from the outer one after
16 - fixed a bug with the i18n extension that caused the explicit pluralization
17 block to look up the wrong variable.
19 - fixed a limitation in the lexer that made ``{{ foo.0.0 }}`` impossible.
21 - index based subscribing of variables with a constant value returns an
22 undefined object now instead of raising an index error. This was a bug
23 caused by eager optimizing.
25 - the i18n extension looks up `foo.ugettext` now followed by `foo.gettext`
26 if an translations object is installed. This makes dealing with custom
27 translations classes easier.
29 - fixed a confusing behavior with conditional extending. loops were partially
30 executed under some conditions even though they were not part of a visible
33 - added `sort` filter that works like `dictsort` but for arbitrary sequences.
35 - fixed a bug with empty statements in macros.
37 - implemented a bytecode cache system. (:ref:`bytecode-cache`)
39 - the template context is now weakref-able
41 - inclusions and imports "with context" forward all variables now, not only
44 - added a cycle helper called `cycler`.
46 - added a joining helper called `joiner`.
48 - added a `compile_expression` method to the environment that allows compiling
49 of Jinja expressions into callable Python objects.
51 - fixed an escaping bug in urlize
55 (codename jinjavitus, released on July 17th 2008)
57 - the subscribing of objects (looking up attributes and items) changed from
58 slightly. It's now possible to give attributes or items a higher priority
59 by either using dot-notation lookup or the bracket syntax. This also
60 changed the AST slightly. `Subscript` is gone and was replaced with
61 :class:`~jinja2.nodes.Getitem` and :class:`~jinja2.nodes.Getattr`.
63 For more information see :ref:`the implementation details <notes-on-subscriptions>`.
65 - added support for preprocessing and token stream filtering for extensions.
66 This would allow extensions to allow simplified gettext calls in template
67 data and something similar.
69 - added :meth:`jinja2.environment.TemplateStream.dump`.
71 - added missing support for implicit string literal concatenation.
72 ``{{ "foo" "bar" }}`` is equivalent to ``{{ "foobar" }}``
74 - `else` is optional for conditional expressions. If not given it evaluates
77 - improved error reporting for undefined values by providing a position.
79 - `filesizeformat` filter uses decimal prefixes now per default and can be
80 set to binary mode with the second parameter.
82 - fixed bug in finalizer
86 (no codename, released on June 9th 2008)
88 - first release of Jinja2