blob: de01f65317807609a3c2b0fa22a5265ee2baf69a [file] [log] [blame]
Armin Ronachera22a53d2007-03-31 20:44:33 +02001Jinja Changelog
2===============
3
4Version 1.1
5-----------
6(codename to be selected, release date unknown)
7
8- blocks now support ``{{ super() }}`` to render the parent output.
9
10- debugging system improved, smaller filesize for the cached files.
Armin Ronacher859efe02007-04-05 22:38:44 +020011 Debugging works now well for any module using linecache.
Armin Ronachera22a53d2007-03-31 20:44:33 +020012
Armin Ronacher90a5cb32007-04-15 00:56:32 +020013- ``{{ debug() }}`` can now be used to get a list of filters and
14 tags.
15
Armin Ronacher21580912007-04-17 17:13:10 +020016- 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.
20
Armin Ronachera22a53d2007-03-31 20:44:33 +020021- added whitespace management system for the template designer.
22
23- some small bugfixes.
24
25- improved security system regarding function calls.
26
Armin Ronacher5a8e4972007-04-05 11:21:38 +020027- added `lipsum` function to generate random text.
Armin Ronachera22a53d2007-03-31 20:44:33 +020028
29- strings without unicode characters are processed as binary strings now
30 to workaround problems with `datetime.strftime` which only accepts
31 binary strings.
32
Armin Ronacher21580912007-04-17 17:13:10 +020033- it's now possible to use newlines in string literals
34
Armin Ronacher40cf47c2007-04-04 13:50:09 +020035- developer friendly traceback is now toggleable
36
37- silent variable name failure is now toggleable
38
Armin Ronacher5a8e4972007-04-05 11:21:38 +020039- fixed issue with old-style classes not implementing `__getitem__`
40 (thanks to Axel Böhm for discovering that bug)
41
42- added a bunch of new docstrings to the Jinja classes. Makes fun now to
43 use pydoc :-)
44
Armin Ronacher2acbac12007-04-11 21:49:48 +020045- fixed severe memcaching bug. Formerly it wasn't possible to use memcaching
46 without enabling disk cache.
47
Armin Ronacherd071f952007-04-13 22:32:11 +020048- fixed a bug that allowed users to override the special names `_`, `true` etc.
49
Armin Ronachereec31382007-04-14 14:50:45 +020050- added `batch` and `slice` filters for batching or slicing sequences
51
52- added `sum`, `abs` and `round` filters. This fixes #238
Armin Ronacherd071f952007-04-13 22:32:11 +020053
Armin Ronacher450756b2007-04-15 15:13:59 +020054- added `striptags` and `xmlattr` filters for easier SGML/XML processing
Georg Brandlaf31e4d2007-04-15 00:47:37 +020055
Armin Ronacher21580912007-04-17 17:13:10 +020056- the trans tag does not need explicit naming for variables with the same
57 name any more. You can now use ``{% trans foo %}`` instead of the verbose
58 version ``{% trans foo=foo %}``.
59
60- reimplemented Buffet plugin so that it works at least for pylons
61
62- added `Environment.get_translations_for_string`
63
64- fixed a bug in the parser that didn't unescape keyword arguments. (thanks
65 to Alexey Melchakov for reporting)
66
Armin Ronachera22a53d2007-03-31 20:44:33 +020067
68Version 1.0
69-----------
70(released Mar 23, 2007)
71
72- Initial release