- Fix some types that weren't available in Python 3.6.0. :issue:`1433`
- The deprecation warning for unneeded ``autoescape`` and ``with_``
extensions shows more relevant context. :issue:`1429`
+- Fixed calling deprecated ``jinja2.Markup`` without an argument.
+ Use ``markupsafe.Markup`` instead. :issue:`1438`
Version 3.0.0
class Markup(markupsafe.Markup):
- def __new__(cls, base, encoding=None, errors="strict"): # type: ignore
+ def __new__(cls, base="", encoding=None, errors="strict"): # type: ignore
warnings.warn(
"'jinja2.Markup' is deprecated and will be removed in Jinja"
" 3.1. Import 'markupsafe.Markup' instead.",