From 1c338f375a1b2b685cee7410cbeb317244e67ef7 Mon Sep 17 00:00:00 2001 From: Matt Westcott Date: Wed, 6 Apr 2022 13:10:53 +0100 Subject: [PATCH] Add upgrade note about Jinja2 compatibility to 2.15.5 release notes --- docs/releases/2.15.5.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/releases/2.15.5.rst b/docs/releases/2.15.5.rst index 7a1e46948d..1b7e736c64 100644 --- a/docs/releases/2.15.5.rst +++ b/docs/releases/2.15.5.rst @@ -14,3 +14,12 @@ Bug fixes ~~~~~~~~~ * Allow bulk publishing of pages without revisions (Andy Chosak) + + +Upgrade considerations +====================== + +Jinja2 compatibility +~~~~~~~~~~~~~~~~~~~~ + +Developers using Jinja2 templating should note that the template tags in this release (and earlier releases in the 2.15.x) are compatible with Jinja2 2.11.x and 3.0.x. Jinja2 2.11.x is unmaintained and requires ``markupsafe`` to be pinned to version ``<2.1`` to work; Jinja2 3.1.x has breaking changes and is not compatible. We therefore recommend that you use Jinja2 3.0.x, or 2.11.x with fully pinned dependencies.