cuddly-jelly-27016
05/30/2025, 10:39 PM## 3.1.6
This is the Jinja 3.1.6 security release, which fixes security issues but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.
PyPI: https://pypi.org/project/Jinja2/3.1.6/Changes: https://jinja.palletsprojects.com/en/stable/changes/#version-3-1-6
• Thefilter does not bypass the environment's attribute lookup, allowing the sandbox to apply its checks. GHSA-cpwx-vrp4-4pq7|attr
## 3.1.5
This is the Jinja 3.1.5 security fix release, which fixes security issues and bugs but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.
PyPI: https://pypi.org/project/Jinja2/3.1.5/Changes: https://jinja.palletsprojects.com/changes/#version-3-1-5Milestone: https://github.com/pallets/jinja/milestone/16?closed=1
• The sandboxed environment handles indirect calls to, such as by passing a stored reference to a filter that calls its argument. GHSA-q2x7-8rv6-6q7hstr.format
• Escape template name before formatting it into error messages, to avoid issues with names that contain f-string syntax. #1792, GHSA-gmj6-6f8f-6699
• Sandbox does not allowandclearon known mutable sequence types. #2032pop
• Calling syncfor an async template usesrender. #1952asyncio.run
• Avoid unclosedwarnings. #1960auto_aiter
• Return an-ableaclosefromAsyncGenerator. #1960Template.generate_async
• Avoid leavingunclosed inroot_render_func(). #1960Template.generate_async
• Avoid leaving async generators unclosed in blocks, includes and extends. #1960
• The runtime uses the correctfunction for the current environment when calling block references. #1701concat
• Makeasync-aware, allowing it to be used after another async-aware filter. #1781|unique
•filter handles|intfrom scientific notation. #1921OverflowError
• Make compiling deterministic for tuple unpacking in acall. #2021{% set ... %}
• Fix dunder protocol (`copy`/`pickle`/etc) interaction withobjects. #2025Undefined
• Fix `copy`/`pickle` support for the internalobject. #2027missing
•is applied correctly. #2061Environment.overlay(enable_async)
• The error message fromincludes the paths that were searched. #1661FileSystemLoader
•shows a clearer error message when the package does not contain the templates directory. #1705PackageLoader
• Improve annotations for methods returning copies. #1880
•does not addurlizeto values likemailto:. #1870@a@b
• Tests decorated withcan be used with the@pass_contextfilter. #1624|select
• Usingfor multiple assignment (set) does not fail when the target is a namespace attribute. #1413a, b = 1, 2
• UsingChangelog Sourced from jinja2's changelog.in all branches ofsetblocks does not cause the variable to be considered initially undefined. #1253{% if %}{% elif %}{% else %}
## Version 3.1.6
Released 2025-03-05
• Thefilter does not bypass the environment's attribute lookup, allowing the sandbox to apply its checks. ghsa|attrcpwx-vrp4-4pq7
## Version 3.1.5
Released 2024-12-21
• The sandboxed environment handles indirect calls to, such as by passing a stored reference to a filter that calls its argument. ghsastr.formatq2x7-8rv6-6q7h
• Escape template name before formatting it into error messages, to avoid issues with names that contain f-string syntax. issue, ghsa1792gmj6-6f8f-6699
• Sandbox does not allowandclearon known mutable sequence types. issuepop2032
• Calling syncfor an async template usesrender. prasyncio.run1952
• Avoid unclosedwarnings. prauto_aiter1960
• Return an-ableaclosefrom`Template.generate_async`. prAsyncGenerator1960
• Avoid leavingunclosed in`Template.generate_async`. prroot_render_func()1960
• Avoid leaving async generators unclosed in blocks, includes and extends. pr1960
• The runtime uses the correctfunction for the current environment when calling block references. issueconcat1701
• Makeasync-aware, allowing it to be used after another async-aware filter. issue|unique1781
•filter handles|intfrom scientific notation. issueOverflowError1921
• Make compiling deterministic for tuple unpacking in a `{% set ... %}`call. issue2021
• Fix dunder protocol (`copy`/`pickle`/etc) interaction with `Undefined`objects. issue2025
• Fix `copy`/`pickle` support for the internalobject. issuemissing2027
•is applied correctly. prEnvironment.overlay(enable_async)2061
• The error message fromincludes the paths that were searched. issueFileSystemLoader1661
•shows a clearer error message when the package does not contain the templates directory. issuePackageLoader1705
• Improve annotations for methods returning copies. pr1880
•... (truncated) Commits •does not addurlizeto values likemailto:. pr@a@b1870
1520688 release version 3.1.6
• 90457bb Merge commit from fork
• 065334d attr filter uses env.getattr
• 033c200 start version 3.1.6
• bc68d4e use global contributing guide (#2070)
• 247de5e use global contributing guide
• <https://github.com/pallets/jin…
flyteorg/flytekitcuddly-jelly-27016
06/06/2025, 9:06 PM