All Versions
Latest Version
Avg Release Cycle
90 days
Latest Release

Changelog History
Page 4

  • v2.5.2 Changes

    ๐Ÿš€ Released 2010-08-18

    • ๐Ÿ‘ Improved script to better work with assumptions people might still have from it (--with-speedups).
    • ๐Ÿ›  Fixed a packaging error that excluded the new debug support.
  • v2.5.1 Changes

    ๐Ÿš€ Released 2010-08-17

    • StopIteration exceptions raised by functions called from templates are now intercepted and converted to undefineds. This solves a lot of debugging grief. (StopIteration is used internally to abort template execution)
    • ๐ŸŽ Improved performance of macro calls slightly.
    • ๐Ÿ’… Babel extraction can now properly extract newstyle gettext calls.
    • ๐Ÿ’… Using the variable num in newstyle gettext for something else than the pluralize count will no longer raise a :exc:KeyError.
    • ๐Ÿšš Removed builtin markup class and switched to markupsafe. For backwards compatibility the pure Python implementation still exists but is pulled from markupsafe by the Jinja2 developers. The debug support went into a separate feature called "debugsupport" and is disabled by default because it is only relevant for Python 2.4
    • ๐Ÿ›  Fixed an issue with unary operators having the wrong precedence.
  • v2.5 Changes

    ๐Ÿš€ Released 2010-05-29, codename Incoherence

    • Improved the sort filter (should have worked like this for a long time) by adding support for case insensitive searches.
    • ๐Ÿ›  Fixed a bug for getattribute constant folding.
    • ๐Ÿ’… Support for newstyle gettext translations which result in a nicer in-template user interface and more consistent catalogs. (:ref:newstyle-gettext)
    • It's now possible to register extensions after an environment was created.
  • v2.4.1 Changes

    ๐Ÿš€ Released 2010-04-20

    • ๐Ÿ›  Fixed an error reporting bug for undefined.
  • v2.4 Changes

    ๐Ÿš€ Released 2010-04-13, codename Correlation

    • The environment template loading functions now transparently pass through a template object if it was passed to it. This makes it possible to import or extend from a template object that was passed to the template.
    • Added a :class:ModuleLoader that can load templates from precompiled sources. The environment now features a method to compile the templates from a configured loader into a zip file or folder.
    • ๐Ÿ‘ The _speedups C extension now supports Python 3.
    • ๐Ÿ‘ Added support for autoescaping toggling sections and support for evaluation contexts (:ref:eval-context).
    • Extensions have a priority now.
  • v2.3.1 Changes

    ๐Ÿš€ Released 2010-02-19

    • ๐Ÿ›  Fixed an error reporting bug on all python versions
    • ๐Ÿ›  Fixed an error reporting bug on Python 2.4
  • v2.3 Changes

    ๐Ÿš€ Released 2010-02-10, codename 3000 Pythons

    • ๐Ÿ›  Fixes issue with code generator that causes unbound variables to be generated if set was used in if-blocks and other small identifier problems.
    • Include tags are now able to select between multiple templates and take the first that exists, if a list of templates is given.
    • ๐Ÿ›  Fixed a problem with having call blocks in outer scopes that have an argument that is also used as local variable in an inner frame :issue:360.
    • Greatly improved error message reporting :pr:339
    • Implicit tuple expressions can no longer be totally empty. This change makes {% if %} a syntax error now. :issue:364
    • ๐Ÿ‘ Added support for translator comments if extracted via babel.
    • Added with-statement extension.
    • ๐Ÿ‘ Experimental Python 3 support.
  • v2.2.1 Changes

    ๐Ÿš€ Released 2009-09-14

    • ๐Ÿ›  Fixes some smaller problems for Jinja2 on Jython.
  • v2.2 Changes

    ๐Ÿš€ 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 write not foo in bar as an alias to foo 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.
  • v2.1.1 Changes

    ๐Ÿš€ Released 2008-12-25

    • ๐ŸŒ Fixed a translation error caused by looping over empty recursive loops.