Skip to content
Myr

release version 2.11.0

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent 9ff27f6 · Browse files · 2 files+7 added−6 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+7 added−6 removed

  • other:+7 added−6 removed

2 files+7 added−6 removed

modified:src/jinja2/__init__.py+1 added-1 removed
39 unmodified lines
40from .utils import evalcontextfunction41from .utils import is_undefined42from .utils import select_autoescape4344__version__ = "2.11.0rc2"44__version__ = "2.11.0"
modified:CHANGES.rst+6 added-5 removed
1 unmodified line
23Version 2.11.04--------------56Unreleased6Released 2020-01-2778- Python 2.6, 3.3, and 3.4 are not supported anymore.8- Drop support for Python 2.6, 3.3, and 3.4. This will be the last9 version to support Python 2.7 and 3.5.10- Added a new ``ChainableUndefined`` class to support getitem and11 getattr on an undefined object. :issue:`977`12- Allow ``{%+`` syntax (with NOP behavior) when ``lstrip_blocks`` is13 disabled. :issue:`748`
25 unmodified lines
39- Always return :class:`Undefined` when omitting the ``else`` clause40 in a ``{{ 'foo' if bar }}`` expression, regardless of the41 environment's ``undefined`` class. Omitting the ``else`` clause is a42 valid shortcut and should not raise an error when using42 :class:`StrictUndefined`). :issue:`710`, :pr:`1079`43 :class:`StrictUndefined`. :issue:`710`, :pr:`1079`44- Fix behavior of ``loop`` control variables such as ``length`` and45 ``revindex0`` when looping over a generator. :issue:`459, 751, 794`,46 :pr:`993`47- Async support is only loaded the first time an environment enables
29 unmodified lines
77 to be wrapped individually, rather than creating short intermediate78 lines. :issue:`175`79- Add ``break_on_hyphens`` parameter to ``|wordwrap`` filter.80 :issue:`550`80- Use :func:`callable` to inject context at runtime for compatibility81 with Cython compiled functions. :pr:`1108`81- Cython compiled functions decorated as context functions will be82 passed the context. :pr:`1108`83- When chained comparisons of constants are evaluated at compile time,84 the result follows Python's behavior of returning ``False`` if any85 comparison returns ``False``, rather than only the last one.86 :issue:`1102`
646 unmodified lines