blob: 9e5e64c51ca192fbac7d7e9264584cb1b171618c [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
Armin Ronacheree2c18e2007-04-20 22:39:04 +020025- improved security system regarding function calls and variable
26 assignment in for loops.
Armin Ronachera22a53d2007-03-31 20:44:33 +020027
Armin Ronacher5a8e4972007-04-05 11:21:38 +020028- added `lipsum` function to generate random text.
Armin Ronachera22a53d2007-03-31 20:44:33 +020029
30- strings without unicode characters are processed as binary strings now
31 to workaround problems with `datetime.strftime` which only accepts
32 binary strings.
33
Armin Ronacher21580912007-04-17 17:13:10 +020034- it's now possible to use newlines in string literals
35
Armin Ronacher40cf47c2007-04-04 13:50:09 +020036- developer friendly traceback is now toggleable
37
38- silent variable name failure is now toggleable
39
Armin Ronacher5a8e4972007-04-05 11:21:38 +020040- fixed issue with old-style classes not implementing `__getitem__`
41 (thanks to Axel Böhm for discovering that bug)
42
43- added a bunch of new docstrings to the Jinja classes. Makes fun now to
44 use pydoc :-)
45
Armin Ronacher2acbac12007-04-11 21:49:48 +020046- fixed severe memcaching bug. Formerly it wasn't possible to use memcaching
47 without enabling disk cache.
48
Armin Ronacherd071f952007-04-13 22:32:11 +020049- fixed a bug that allowed users to override the special names `_`, `true` etc.
50
Armin Ronachereec31382007-04-14 14:50:45 +020051- added `batch` and `slice` filters for batching or slicing sequences
52
53- added `sum`, `abs` and `round` filters. This fixes #238
Armin Ronacherd071f952007-04-13 22:32:11 +020054
Armin Ronacher450756b2007-04-15 15:13:59 +020055- added `striptags` and `xmlattr` filters for easier SGML/XML processing
Georg Brandlaf31e4d2007-04-15 00:47:37 +020056
Armin Ronacher21580912007-04-17 17:13:10 +020057- the trans tag does not need explicit naming for variables with the same
58 name any more. You can now use ``{% trans foo %}`` instead of the verbose
59 version ``{% trans foo=foo %}``.
60
61- reimplemented Buffet plugin so that it works at least for pylons
62
63- added `Environment.get_translations_for_string`
64
65- fixed a bug in the parser that didn't unescape keyword arguments. (thanks
66 to Alexey Melchakov for reporting)
67
Armin Ronacheree2c18e2007-04-20 22:39:04 +020068- You can now use the environment to just tokenize a template. This can
69 be useful for syntax highlighting or other purposes.
70
Armin Ronachera22a53d2007-03-31 20:44:33 +020071
72Version 1.0
73-----------
74(released Mar 23, 2007)
75
76- Initial release