Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 104 lines (71 sloc) 3.563 kb
9d472df @mitsuhiko added style for html documentation
authored
1 Jinja2 Changelog
5e58d43 @mitsuhiko tip is now 2.2-dev
authored
2 ================
3
37f58ce @mitsuhiko Include statements can now be marked with ``ignore missing`` to skip
authored
4 Version 2.2
5 -----------
6 (codename unknown, release date yet unknown)
7
8 - Include statements can now be marked with ``ignore missing`` to skip
9 non existing templates.
d89f0f3 @mitsuhiko Priority of `not` raised. It's now possible to write `not foo in bar`
authored
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.
330fbc0 @mitsuhiko Fixed a bug that caused syntax errors when defining macros or using the
authored
13 - Fixed a bug that caused syntax errors when defining macros or using the
14 `{% call %}` tag inside loops.
ee2d3c4 @mitsuhiko Fixed a bug in the parser that made ``{{ foo[1, 2] }}`` impossible.
authored
15 - Fixed a bug in the parser that made ``{{ foo[1, 2] }}`` impossible.
37f58ce @mitsuhiko Include statements can now be marked with ``ignore missing`` to skip
authored
16
cebd838 @mitsuhiko Fixed a translation error caused by looping over empty recursive loops.
authored
17 Version 2.1.1
18 -------------
19 (Bugfix release)
20
21 - Fixed a translation error caused by looping over empty recursive loops.
a22a53d @mitsuhiko [svn] added jinja changelog and missing file jinja.constants
authored
22
237cdde @mitsuhiko tip is now 2.1-dev
authored
23 Version 2.1
24 -----------
7357f06 @mitsuhiko Final changes for Jinja 2.1 release
authored
25 (codename Yasuzō, released on November 23rd 2008)
237cdde @mitsuhiko tip is now 2.1-dev
authored
26
ff53c78 @mitsuhiko fixed a bug with nested loops and the special loop variable.
authored
27 - fixed a bug with nested loops and the special loop variable. Before the
28 change an inner loop overwrote the loop variable from the outer one after
29 iteration.
30
4720c36 @mitsuhiko Fixed a bug in the i18n extension that caused the explicit pluralizat…
authored
31 - fixed a bug with the i18n extension that caused the explicit pluralization
32 block to look up the wrong variable.
33
cb1b97f @mitsuhiko It's now possible to use ``{{ foo.0.0 }}``
authored
34 - fixed a limitation in the lexer that made ``{{ foo.0.0 }}`` impossible.
35
5c3c470 @mitsuhiko Fixed a bug in the subscript operation.
authored
36 - index based subscribing of variables with a constant value returns an
37 undefined object now instead of raising an index error. This was a bug
38 caused by eager optimizing.
39
3213355 @mitsuhiko Fixed a confusing edge case (thanks apollo13)
authored
40 - the i18n extension looks up `foo.ugettext` now followed by `foo.gettext`
41 if an translations object is installed. This makes dealing with custom
42 translations classes easier.
43
44 - fixed a confusing behavior with conditional extending. loops were partially
45 executed under some conditions even though they were not part of a visible
46 area.
47
205bae5 @mitsuhiko Implemented a sort filter that sorts arbitrary sequences.
authored
48 - added `sort` filter that works like `dictsort` but for arbitrary sequences.
49
f40c884 @mitsuhiko Fixed a bug with the handling of empty statements in macros (it also …
authored
50 - fixed a bug with empty statements in macros.
51
a816bf4 @mitsuhiko Improved bbcache and documented it.
authored
52 - implemented a bytecode cache system. (:ref:`bytecode-cache`)
53
dcc217c @mitsuhiko It's now possible to create weak references to template contexts.
authored
54 - the template context is now weakref-able
55
673aa88 @mitsuhiko imports and includes "with context" are passed the full context now, …
authored
56 - inclusions and imports "with context" forward all variables now, not only
57 the initial context.
58
d34eb12 @mitsuhiko Implemented and documented "joiner"
authored
59 - added a cycle helper called `cycler`.
60
61 - added a joining helper called `joiner`.
ccae055 @mitsuhiko Various cleanups and added custom cycler.
authored
62
ba6e25a @mitsuhiko Added support for `Environment.compile_expression`.
authored
63 - added a `compile_expression` method to the environment that allows compiling
64 of Jinja expressions into callable Python objects.
65
d9342dc @mitsuhiko Fixed an escaping bug in urlize
authored
66 - fixed an escaping bug in urlize
67
9d472df @mitsuhiko added style for html documentation
authored
68 Version 2.0
c689cf1 @mitsuhiko added entry for jinja 1.3 in CHANGES
authored
69 -----------
bf94394 @mitsuhiko preparing the big 2.0 release
authored
70 (codename jinjavitus, released on July 17th 2008)
c689cf1 @mitsuhiko added entry for jinja 1.3 in CHANGES
authored
71
6dc6f29 @mitsuhiko Improved attribute and item lookup by allowing template designers to …
authored
72 - the subscribing of objects (looking up attributes and items) changed from
73 slightly. It's now possible to give attributes or items a higher priority
74 by either using dot-notation lookup or the bracket syntax. This also
75 changed the AST slightly. `Subscript` is gone and was replaced with
76 :class:`~jinja2.nodes.Getitem` and :class:`~jinja2.nodes.Getattr`.
77
53db78e @mitsuhiko Fixed a link to the renamed section.
authored
78 For more information see :ref:`the implementation details <notes-on-subscriptions>`.
6dc6f29 @mitsuhiko Improved attribute and item lookup by allowing template designers to …
authored
79
9ad96e7 @mitsuhiko added support for token stream filtering and preprocessing.
authored
80 - added support for preprocessing and token stream filtering for extensions.
81 This would allow extensions to allow simplified gettext calls in template
82 data and something similar.
83
74b5106 @mitsuhiko Added `TemplateStream.dump`.
authored
84 - added :meth:`jinja2.environment.TemplateStream.dump`.
85
547d0b6 @mitsuhiko Fixed a bug with the loop context of a for loop if the iterator passe…
authored
86 - added missing support for implicit string literal concatenation.
4778bda @mitsuhiko added support for implicit string literal concatenation
authored
87 ``{{ "foo" "bar" }}`` is equivalent to ``{{ "foobar" }}``
88
547d0b6 @mitsuhiko Fixed a bug with the loop context of a for loop if the iterator passe…
authored
89 - `else` is optional for conditional expressions. If not given it evaluates
90 to `false`.
91
92 - improved error reporting for undefined values by providing a position.
93
76f9aa4 @mitsuhiko Altered filesizeformat to support both MB and MiB, documented `{% fil…
authored
94 - `filesizeformat` filter uses decimal prefixes now per default and can be
95 set to binary mode with the second parameter.
96
665bfb8 @mitsuhiko Fixed bug in finalizer
authored
97 - fixed bug in finalizer
98
6dc6f29 @mitsuhiko Improved attribute and item lookup by allowing template designers to …
authored
99 Version 2.0rc1
100 --------------
0fad031 @mitsuhiko Fixed release date
authored
101 (no codename, released on June 9th 2008)
6dc6f29 @mitsuhiko Improved attribute and item lookup by allowing template designers to …
authored
102
103 - first release of Jinja2
Something went wrong with that request. Please try again.