Jinja2 v2.2 Release Notes
-
๐ Released 2009-09-13, codename Kong
- Include statements can now be marked with
ignore missing
to skip non existing templates. - Priority of
not
raised. It's now possible to writenot foo in bar
as an alias tofoo not in bar
like in python. Previously the grammar required parentheses (not (foo in bar)
) which was odd. - ๐ Fixed a bug that caused syntax errors when defining macros or using
the
{% call %}
tag inside loops. - ๐ Fixed a bug in the parser that made
{{ foo[1, 2] }}
impossible. - Made it possible to refer to names from outer scopes in included
templates that were unused in the callers frame :issue:
327
- ๐ Fixed a bug that caused internal errors if names where used as
iteration variable and regular variable after the loop if that
variable was unused before the loop. :pr:
331
- ๐ Added support for optional
scoped
modifier to blocks. - ๐ Added support for line-comments.
- Added the
meta
module. - Renamed (undocumented) attribute "overlay" to "overlayed" on the environment because it was clashing with a method of the same name.
- 0๏ธโฃ Speedup extension is now disabled by default.
- Include statements can now be marked with