Opened 5 months ago

Closed 4 months ago

#5038 closed enhancement (fixed)


Reported by: Xi Ruoyao Owned by: lfs-book
Priority: normal Milestone: 11.2
Component: Book Version: git
Severity: normal Keywords:


Change History (3)

comment:1 by Xi Ruoyao, 5 months ago

Version 3.1.0

  • Drop support for Python 3.6. #1534
  • Remove previously deprecated code. #1544
    • WithExtension and AutoEscapeExtension are built-in now.
    • contextfilter and contextfunction are replaced by pass_context. evalcontextfilter and evalcontextfunction are replaced by pass_eval_context. 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.
    • Legacy resolve mode for Context subclasses is no longer supported. Override resolve_or_missing instead of resolve.
    • unicode_urlencode is renamed to url_quote.
  • Add support for native types in macros. #1510
  • The {% trans %} tag can use pgettext and npgettext by passing a context string as the first token in the tag, like {% trans "title" %}. #1430
  • Update valid identifier characters from Python 3.6 to 3.7. #1571
  • Filters and tests decorated with @async_variant are pickleable. #1612
  • Add items filter. #1561
  • Subscriptions ([0], etc.) can be used after filters, tests, and calls when the environment is in async mode. #1573
  • The groupby filter is case-insensitive by default, matching other comparison filters. Added the case_sensitive parameter to control this. #1463
  • Windows drive-relative path segments in template names will not result in FileSystemLoader and PackageLoader loading from drive-relative paths. #1621
Version 0, edited 5 months ago by Xi Ruoyao (next)

comment:2 by Bruce Dubbs, 4 months ago

Summary: Jinja2-3.1.0Jinja2-3.1.1

Now version 3.1.1.

comment:3 by Bruce Dubbs, 4 months ago

Resolution: fixed
Status: newclosed

Fixed at commit 676f0fdcecb3d53217a274db1138ff22005bea9a

Package updates.
    Update to sysvinit-3.02.
    Update to zlib-1.2.12.
    Update to expat-2.4.8.
    Update to Jinja2-3.1.1.
    Update to Python-3.10.4.
    Update to procps-ng-4.0.0.
    Update to iproute2-5.17.0.
    Update to meson-0.62.0.
    Update to linux-5.17.1.
    Update to util-linux-2.38.
Note: See TracTickets for help on using tickets.