Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Jul 2022 11:33:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 264990] devel/py-Jinja2: Update to 3.1.2
Message-ID:  <bug-264990-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264990

            Bug ID: 264990
           Summary: devel/py-Jinja2: Update to 3.1.2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: nivit@FreeBSD.org
          Reporter: p5B2EA84B3@t-online.de
             Flags: maintainer-feedback?(nivit@FreeBSD.org)
          Assignee: nivit@FreeBSD.org

Consider renaming port to devel/py-jinja as jinja2 is now version 3.x and
devel/py-jinja is devel/py-Jinja expired on 2017-03-03

Changes=20


Version 3.1.2

Released 2022-04-28

    Add parameters to Environment.overlay to match __init__. #1645

    Handle race condition in FileSystemBytecodeCache. #1654

Version 3.1.1

Released 2022-03-25

    The template filename on Windows uses the primary path separator. #1637

Version 3.1.0

Released 2022-03-24

    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 w=
hen
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. #14=
63

    Windows drive-relative path segments in template names will not result =
in
FileSystemLoader and PackageLoader loading from drive-relative paths. #1621

Version 3.0.3

Released 2021-11-09

    Fix traceback rewriting internals for Python 3.10 and 3.11. #1535

    Fix how the native environment treats leading and trailing spaces when
parsing values on Python 3.10. #1537

    Improve async performance by avoiding checks for common types. #1514

    Revert change to hash(Node) behavior. Nodes are hashed by id again #1521

    PackageLoader works when the package is a single module file. #1512

Version 3.0.2

Released 2021-10-04

    Fix a loop scoping bug that caused assignments in nested loops to still=
 be
referenced outside of it. #1427

    Make compile_templates deterministic for filter and import names. #1452,
#1453

    Revert an unintended change that caused Undefined to act like
StrictUndefined for the in operator. #1448

    Imported macros have access to the current template globals in async
environments. #1494

    PackageLoader will not include a current directory (.) path segment. Th=
is
allows loading templates from the root of a zip import. #1467

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264990-7788>