Armin Ronacher | a22a53d | 2007-03-31 20:44:33 +0200 | [diff] [blame] | 1 | Jinja Changelog |
| 2 | =============== |
| 3 | |
| 4 | Version 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 Ronacher | 859efe0 | 2007-04-05 22:38:44 +0200 | [diff] [blame] | 11 | Debugging works now well for any module using linecache. |
Armin Ronacher | a22a53d | 2007-03-31 20:44:33 +0200 | [diff] [blame] | 12 | |
Armin Ronacher | 90a5cb3 | 2007-04-15 00:56:32 +0200 | [diff] [blame] | 13 | - ``{{ debug() }}`` can now be used to get a list of filters and |
| 14 | tags. |
| 15 | |
Armin Ronacher | 2158091 | 2007-04-17 17:13:10 +0200 | [diff] [blame] | 16 | - 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 Ronacher | a22a53d | 2007-03-31 20:44:33 +0200 | [diff] [blame] | 21 | - added whitespace management system for the template designer. |
| 22 | |
| 23 | - some small bugfixes. |
| 24 | |
Armin Ronacher | ee2c18e | 2007-04-20 22:39:04 +0200 | [diff] [blame] | 25 | - improved security system regarding function calls and variable |
| 26 | assignment in for loops. |
Armin Ronacher | a22a53d | 2007-03-31 20:44:33 +0200 | [diff] [blame] | 27 | |
Armin Ronacher | 5a8e497 | 2007-04-05 11:21:38 +0200 | [diff] [blame] | 28 | - added `lipsum` function to generate random text. |
Armin Ronacher | a22a53d | 2007-03-31 20:44:33 +0200 | [diff] [blame] | 29 | |
| 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 Ronacher | 2158091 | 2007-04-17 17:13:10 +0200 | [diff] [blame] | 34 | - it's now possible to use newlines in string literals |
| 35 | |
Armin Ronacher | 40cf47c | 2007-04-04 13:50:09 +0200 | [diff] [blame] | 36 | - developer friendly traceback is now toggleable |
| 37 | |
| 38 | - silent variable name failure is now toggleable |
| 39 | |
Armin Ronacher | 5a8e497 | 2007-04-05 11:21:38 +0200 | [diff] [blame] | 40 | - 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 Ronacher | 2acbac1 | 2007-04-11 21:49:48 +0200 | [diff] [blame] | 46 | - fixed severe memcaching bug. Formerly it wasn't possible to use memcaching |
| 47 | without enabling disk cache. |
| 48 | |
Armin Ronacher | d071f95 | 2007-04-13 22:32:11 +0200 | [diff] [blame] | 49 | - fixed a bug that allowed users to override the special names `_`, `true` etc. |
| 50 | |
Armin Ronacher | eec3138 | 2007-04-14 14:50:45 +0200 | [diff] [blame] | 51 | - added `batch` and `slice` filters for batching or slicing sequences |
| 52 | |
| 53 | - added `sum`, `abs` and `round` filters. This fixes #238 |
Armin Ronacher | d071f95 | 2007-04-13 22:32:11 +0200 | [diff] [blame] | 54 | |
Armin Ronacher | 450756b | 2007-04-15 15:13:59 +0200 | [diff] [blame] | 55 | - added `striptags` and `xmlattr` filters for easier SGML/XML processing |
Georg Brandl | af31e4d | 2007-04-15 00:47:37 +0200 | [diff] [blame] | 56 | |
Armin Ronacher | 2158091 | 2007-04-17 17:13:10 +0200 | [diff] [blame] | 57 | - 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 Ronacher | ee2c18e | 2007-04-20 22:39:04 +0200 | [diff] [blame] | 68 | - You can now use the environment to just tokenize a template. This can |
| 69 | be useful for syntax highlighting or other purposes. |
| 70 | |
Armin Ronacher | e98c5f5 | 2007-04-21 09:39:06 +0200 | [diff] [blame^] | 71 | - added optional c-implementation of the context baseclass. |
| 72 | |
| 73 | - implemented `{% call %}` - unsure if this makes it into the final release. |
| 74 | |
Armin Ronacher | a22a53d | 2007-03-31 20:44:33 +0200 | [diff] [blame] | 75 | |
| 76 | Version 1.0 |
| 77 | ----------- |
| 78 | (released Mar 23, 2007) |
| 79 | |
| 80 | - Initial release |