- Mark top-level names as exported so type checking understands
imports in user projects. :issue:`1426`
- 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`
Version 3.0.0
"The 'with' extension is deprecated and will be removed in"
" Jinja 3.1. This is built in now.",
DeprecationWarning,
- stacklevel=2,
+ stacklevel=3,
)
"The 'autoescape' extension is deprecated and will be"
" removed in Jinja 3.1. This is built in now.",
DeprecationWarning,
- stacklevel=2,
+ stacklevel=3,
)