From: David Lord Date: Fri, 4 Oct 2019 18:59:18 +0000 (-0700) Subject: Merge branch '2.10.x' X-Git-Tag: 2.11.0~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=544c2e95016ff32ecdcb02093eb279d120c5cf3d;p=thirdparty%2Fjinja.git Merge branch '2.10.x' --- 544c2e95016ff32ecdcb02093eb279d120c5cf3d diff --cc CHANGES.rst index 692a5161,1df6bfed..888f9d91 --- a/CHANGES.rst +++ b/CHANGES.rst @@@ -1,29 -1,14 +1,38 @@@ .. currentmodule:: jinja2 +Version 2.11 +------------ + +Unreleased + +- Async support is only loaded the first time an + :class:`~environment.Environment` enables it, in order to avoid a + slow initial import. :issue:`765` +- Python 2.6 and 3.3 are not supported anymore. +- The ``map`` filter in async mode now automatically awaits +- Added a new ``ChainableUndefined`` class to support getitem and + getattr on an undefined object. :issue:`977` +- Allow ``{%+`` syntax (with NOP behavior) when ``lstrip_blocks`` is + disabled. :issue:`748` +- Added a ``default`` parameter for the ``map`` filter. :issue:`557` +- Exclude environment globals from + :func:`meta.find_undeclared_variables`. :issue:`931` +- Float literals can be written with scientific notation, like + 2.56e-3. :issue:`912`, :pr:`922` +- Int and float literals can be written with the '_' separator for + legibility, like 12_345. :pr:`923` +- Fix a bug causing deadlocks in ``LRUCache.setdefault``. :pr:`1000` + + + Version 2.10.3 + -------------- + + Released 2019-10-24 + + - Fix a typo in Babel entry point in ``setup.py`` that was preventing + installation. + + Version 2.10.2 --------------