]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
release version 2.11.0 2.11.0
authorDavid Lord <davidism@gmail.com>
Mon, 27 Jan 2020 18:24:29 +0000 (10:24 -0800)
committerDavid Lord <davidism@gmail.com>
Mon, 27 Jan 2020 18:24:29 +0000 (10:24 -0800)
CHANGES.rst
src/jinja2/__init__.py

index 3305c0b8d528d738480293d50447878e754c1e0b..21eb77651bdcbc2327301d61a910d62477cda6a7 100644 (file)
@@ -3,9 +3,10 @@
 Version 2.11.0
 --------------
 
-Unreleased
+Released 2020-01-27
 
--   Python 2.6, 3.3, and 3.4 are not supported anymore.
+-   Drop support for Python 2.6, 3.3, and 3.4. This will be the last
+    version to support Python 2.7 and 3.5.
 -   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
@@ -39,7 +40,7 @@ Unreleased
     in a ``{{ 'foo' if bar }}`` expression, regardless of the
     environment's ``undefined`` class. Omitting the ``else`` clause is a
     valid shortcut and should not raise an error when using
-    :class:`StrictUndefined`). :issue:`710`, :pr:`1079`
+    :class:`StrictUndefined`. :issue:`710`, :pr:`1079`
 -   Fix behavior of ``loop`` control variables such as ``length`` and
     ``revindex0`` when looping over a generator. :issue:`459, 751, 794`,
     :pr:`993`
@@ -77,8 +78,8 @@ Unreleased
     lines. :issue:`175`
 -   Add ``break_on_hyphens`` parameter to ``|wordwrap`` filter.
     :issue:`550`
--   Use :func:`callable` to inject context at runtime for compatibility
-    with Cython compiled functions. :pr:`1108`
+-   Cython compiled functions decorated as context functions will be
+    passed the context. :pr:`1108`
 -   When chained comparisons of constants are evaluated at compile time,
     the result follows Python's behavior of returning ``False`` if any
     comparison returns ``False``, rather than only the last one.
index 8149c702a4df9f73d69a2bc97f0e2883ca7b9155..7233387d4cf3bdb3f90dd01b59666335dfd1b31a 100644 (file)
@@ -41,4 +41,4 @@ from .utils import evalcontextfunction
 from .utils import is_undefined
 from .utils import select_autoescape
 
-__version__ = "2.11.0rc2"
+__version__ = "2.11.0"