blob: 8dcac277f4d2b49281bf90f8c0dca8f1d81c6d1a [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
Armin Ronacherfb5bebc2007-04-27 18:24:19 +020038- the variable failure is now pluggable by replacing the undefined
39 singleton for an environment instance
Armin Ronacher40cf47c2007-04-04 13:50:09 +020040
Armin Ronacher5a8e4972007-04-05 11:21:38 +020041- fixed issue with old-style classes not implementing `__getitem__`
42 (thanks to Axel Böhm for discovering that bug)
43
44- added a bunch of new docstrings to the Jinja classes. Makes fun now to
45 use pydoc :-)
46
Armin Ronacher2acbac12007-04-11 21:49:48 +020047- fixed severe memcaching bug. Formerly it wasn't possible to use memcaching
48 without enabling disk cache.
49
Armin Ronacherd071f952007-04-13 22:32:11 +020050- fixed a bug that allowed users to override the special names `_`, `true` etc.
51
Armin Ronachereec31382007-04-14 14:50:45 +020052- added `batch` and `slice` filters for batching or slicing sequences
53
54- added `sum`, `abs` and `round` filters. This fixes #238
Armin Ronacherd071f952007-04-13 22:32:11 +020055
Armin Ronacher450756b2007-04-15 15:13:59 +020056- added `striptags` and `xmlattr` filters for easier SGML/XML processing
Georg Brandlaf31e4d2007-04-15 00:47:37 +020057
Armin Ronacher21580912007-04-17 17:13:10 +020058- the trans tag does not need explicit naming for variables with the same
59 name any more. You can now use ``{% trans foo %}`` instead of the verbose
60 version ``{% trans foo=foo %}``.
61
62- reimplemented Buffet plugin so that it works at least for pylons
63
64- added `Environment.get_translations_for_string`
65
66- fixed a bug in the parser that didn't unescape keyword arguments. (thanks
67 to Alexey Melchakov for reporting)
68
Armin Ronacheree2c18e2007-04-20 22:39:04 +020069- You can now use the environment to just tokenize a template. This can
70 be useful for syntax highlighting or other purposes.
71
Armin Ronacherfb5bebc2007-04-27 18:24:19 +020072- added optional C-implementation of the context baseclass.
73
74- you can now use optional parentheses around macro defintions. Thus it's
75 possible to write ``{% macro foo(a, b, c) %}`` instead of ``{% macro
76 foo a, b, c %}``.
77
78- additional macro arguments now end up in `varargs`.
Armin Ronachere98c5f52007-04-21 09:39:06 +020079
80- implemented `{% call %}` - unsure if this makes it into the final release.
81
Armin Ronacherfb5bebc2007-04-27 18:24:19 +020082- it's not possible to stream templates.
83
Armin Ronacher4f417112007-04-28 23:23:44 +020084- fixed a corner case when defining a block inside of a condition
85
Armin Ronachera22a53d2007-03-31 20:44:33 +020086
87Version 1.0
88-----------
89(released Mar 23, 2007)
90
91- Initial release