Jinja2 v3.0.1 Release Notes

  • ๐Ÿš€ Released 2021-05-18

    • โšก๏ธ Update MarkupSafe dependency to >= 2.0. :pr:1418
    • 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
    • ๐Ÿ—„ Fixed calling deprecated jinja2.Markup without an argument. Use markupsafe.Markup instead. :issue:1438
    • ๐Ÿ”€ Calling sync render for an async template uses asyncio.run on Python >= 3.7. This fixes a deprecation that Python 3.10 introduces. :issue:1443