summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES.rst2
-rw-r--r--src/jinja2/runtime.py12
2 files changed, 2 insertions, 12 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index 35dcd78..7a3c420 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -15,6 +15,8 @@ Unreleased
``environmentfilter`` and ``environmentfunction`` are replaced
by ``pass_environment``.
- ``Markup`` and ``escape`` should be imported from MarkupSafe.
+ - Compiled templates from very old Jinja versions may need to be
+ recompiled.
Version 3.0.3
diff --git a/src/jinja2/runtime.py b/src/jinja2/runtime.py
index 2346cf2..764091a 100644
--- a/src/jinja2/runtime.py
+++ b/src/jinja2/runtime.py
@@ -89,18 +89,6 @@ def str_join(seq: t.Iterable[t.Any]) -> str:
return concat(map(str, seq))
-def unicode_join(seq: t.Iterable[t.Any]) -> str:
- import warnings
-
- warnings.warn(
- "This template must be recompiled with at least Jinja 3.0, or"
- " it will fail in Jinja 3.1.",
- DeprecationWarning,
- stacklevel=2,
- )
- return str_join(seq)
-
-
def new_context(
environment: "Environment",
template_name: t.Optional[str],