2008-05-04 17:56:34 +00:00
|
|
|
Jinja2 Changelog
|
2007-03-31 18:44:33 +00:00
|
|
|
===============
|
|
|
|
|
2008-05-04 17:56:34 +00:00
|
|
|
Version 2.0
|
2007-11-18 10:23:58 +00:00
|
|
|
-----------
|
2008-05-04 17:56:34 +00:00
|
|
|
(codename to be selected, release around July 2008)
|
2007-11-18 10:23:58 +00:00
|
|
|
|
2008-06-12 06:50:07 +00:00
|
|
|
- the subscribing of objects (looking up attributes and items) changed from
|
|
|
|
slightly. It's now possible to give attributes or items a higher priority
|
|
|
|
by either using dot-notation lookup or the bracket syntax. This also
|
|
|
|
changed the AST slightly. `Subscript` is gone and was replaced with
|
|
|
|
:class:`~jinja2.nodes.Getitem` and :class:`~jinja2.nodes.Getattr`.
|
|
|
|
|
2008-06-25 18:46:22 +00:00
|
|
|
For more information see :ref:`the implementation details <notes-on-subscriptions>`.
|
2008-06-12 06:50:07 +00:00
|
|
|
|
2008-06-13 20:44:01 +00:00
|
|
|
- added support for preprocessing and token stream filtering for extensions.
|
|
|
|
This would allow extensions to allow simplified gettext calls in template
|
|
|
|
data and something similar.
|
|
|
|
|
2008-06-17 09:28:59 +00:00
|
|
|
- added :meth:`jinja2.environment.TemplateStream.dump`.
|
|
|
|
|
2008-07-04 14:35:10 +00:00
|
|
|
- added missing support for implicit string literal concatenation.
|
2008-06-22 10:48:37 +00:00
|
|
|
``{{ "foo" "bar" }}`` is equivalent to ``{{ "foobar" }}``
|
|
|
|
|
2008-07-04 14:35:10 +00:00
|
|
|
- `else` is optional for conditional expressions. If not given it evaluates
|
|
|
|
to `false`.
|
|
|
|
|
|
|
|
- improved error reporting for undefined values by providing a position.
|
|
|
|
|
2008-07-12 00:08:29 +00:00
|
|
|
- `filesizeformat` filter uses decimal prefixes now per default and can be
|
|
|
|
set to binary mode with the second parameter.
|
|
|
|
|
2008-06-12 06:50:07 +00:00
|
|
|
Version 2.0rc1
|
|
|
|
--------------
|
2008-06-27 21:19:09 +00:00
|
|
|
(no codename, released on June 9th 2008)
|
2008-06-12 06:50:07 +00:00
|
|
|
|
|
|
|
- first release of Jinja2
|