summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2020-01-27 10:24:29 -0800
committerDavid Lord <davidism@gmail.com>2020-01-27 10:24:29 -0800
commitbbdafe33ce9f47e3cbfb9415619e354349f11243 (patch)
tree9b1d0ae3ab7a7e959ee6cd26305ef52e83eeb3b7
parent9ff27f64a92171c912e403bd66c392ec1a70533a (diff)
downloadjinja2-bbdafe33ce9f47e3cbfb9415619e354349f11243.tar.gz
release version 2.11.02.11.0
-rw-r--r--CHANGES.rst11
-rw-r--r--src/jinja2/__init__.py2
2 files changed, 7 insertions, 6 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index 3305c0b..21eb776 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -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.
diff --git a/src/jinja2/__init__.py b/src/jinja2/__init__.py
index 8149c70..7233387 100644
--- a/src/jinja2/__init__.py
+++ b/src/jinja2/__init__.py
@@ -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"