Fixed a bug in the i18n extension that caused the explicit pluralization block to...
[jinja2.git] / CHANGES
1 Jinja2 Changelog
2 ===============
3
4 Version 2.1
5 -----------
6 (codename to be selected, release date yet unknown)
7
8 - fixed a bug with nested loops and the special loop variable.  Before the
9   change an inner loop overwrote the loop variable from the outer one after
10   iteration.
11
12 - fixed a bug with the i18n extension that caused the explicit pluralization
13   block to look up the wrong variable.
14
15 Version 2.0
16 -----------
17 (codename jinjavitus, released on July 17th 2008)
18
19 - the subscribing of objects (looking up attributes and items) changed from
20   slightly.  It's now possible to give attributes or items a higher priority
21   by either using dot-notation lookup or the bracket syntax.  This also
22   changed the AST slightly.  `Subscript` is gone and was replaced with
23   :class:`~jinja2.nodes.Getitem` and :class:`~jinja2.nodes.Getattr`.
24
25   For more information see :ref:`the implementation details <notes-on-subscriptions>`.
26
27 - added support for preprocessing and token stream filtering for extensions.
28   This would allow extensions to allow simplified gettext calls in template
29   data and something similar.
30
31 - added :meth:`jinja2.environment.TemplateStream.dump`.
32
33 - added missing support for implicit string literal concatenation.
34   ``{{ "foo" "bar" }}`` is equivalent to ``{{ "foobar" }}``
35
36 - `else` is optional for conditional expressions.  If not given it evaluates
37   to `false`.
38
39 - improved error reporting for undefined values by providing a position.
40
41 - `filesizeformat` filter uses decimal prefixes now per default and can be
42   set to binary mode with the second parameter.
43
44 - fixed bug in finalizer
45
46 Version 2.0rc1
47 --------------
48 (no codename, released on June 9th 2008)
49
50 - first release of Jinja2