bitcoin-arbitrage-trading-bot
bitcoin-arbitrage-trading-bot copied to clipboard
Bump jinja2 from 2.10 to 3.1.6
Bumps jinja2 from 2.10 to 3.1.6.
Release notes
Sourced from jinja2's releases.
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
- The
|attrfilter does not bypass the environment's attribute lookup, allowing the sandbox to apply its checks. https://github.com/pallets/jinja/security/advisories/GHSA-cpwx-vrp4-4pq73.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-5 Milestone: https://github.com/pallets/jinja/milestone/16?closed=1
- The sandboxed environment handles indirect calls to
str.format, such as by passing a stored reference to a filter that calls its argument. GHSA-q2x7-8rv6-6q7h- 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 allow
clearandpopon known mutable sequence types. #2032- Calling sync
renderfor an async template usesasyncio.run. #1952- Avoid unclosed
auto_aiterwarnings. #1960- Return an
aclose-ableAsyncGeneratorfromTemplate.generate_async. #1960- Avoid leaving
root_render_func()unclosed inTemplate.generate_async. #1960- Avoid leaving async generators unclosed in blocks, includes and extends. #1960
- The runtime uses the correct
concatfunction for the current environment when calling block references. #1701- Make
|uniqueasync-aware, allowing it to be used after another async-aware filter. #1781|intfilter handlesOverflowErrorfrom scientific notation. #1921- Make compiling deterministic for tuple unpacking in a
{% set ... %}call. #2021- Fix dunder protocol (
copy/pickle/etc) interaction withUndefinedobjects. #2025- Fix
copy/picklesupport for the internalmissingobject. #2027Environment.overlay(enable_async)is applied correctly. #2061- The error message from
FileSystemLoaderincludes the paths that were searched. #1661PackageLoadershows a clearer error message when the package does not contain the templates directory. #1705- Improve annotations for methods returning copies. #1880
urlizedoes not addmailto:to values like@a@b. #1870- Tests decorated with
@pass_contextcan be used with the|selectfilter. #1624- Using
setfor multiple assignment (a, b = 1, 2) does not fail when the target is a namespace attribute. #1413- Using
setin all branches of{% if %}{% elif %}{% else %}blocks does not cause the variable to be considered initially undefined. #12533.1.4
This is the Jinja 3.1.4 security release, which fixes security issues and bugs but does not otherwise change behavior and should not result in breaking changes.
PyPI: https://pypi.org/project/Jinja2/3.1.4/ Changes: https://jinja.palletsprojects.com/en/3.1.x/changes/#version-3-1-4
- The
xmlattrfilter does not allow keys with/solidus,>greater-than sign, or=equals sign, in addition to disallowing spaces. Regardless of any validation done by Jinja, user input should never be used as keys to this filter, or must be separately validated first. GHSA-h75v-3vvj-5mfj3.1.3
This is a fix release for the 3.1.x feature branch.
- Fix for GHSA-h5c8-rqwp-cp95. You are affected if you are using
xmlattrand passing user input as attribute keys.
... (truncated)
Changelog
Sourced from jinja2's changelog.
Version 3.1.6
Released 2025-03-05
- The
|attrfilter does not bypass the environment's attribute lookup, allowing the sandbox to apply its checks. :ghsa:cpwx-vrp4-4pq7Version 3.1.5
Released 2024-12-21
- The sandboxed environment handles indirect calls to
str.format, such as by passing a stored reference to a filter that calls its argument. :ghsa:q2x7-8rv6-6q7h- Escape template name before formatting it into error messages, to avoid issues with names that contain f-string syntax. :issue:
1792, :ghsa:gmj6-6f8f-6699- Sandbox does not allow
clearandpopon known mutable sequence types. :issue:2032- Calling sync
renderfor an async template usesasyncio.run. :pr:1952- Avoid unclosed
auto_aiterwarnings. :pr:1960- Return an
aclose-ableAsyncGeneratorfromTemplate.generate_async. :pr:1960- Avoid leaving
root_render_func()unclosed inTemplate.generate_async. :pr:1960- Avoid leaving async generators unclosed in blocks, includes and extends. :pr:
1960- The runtime uses the correct
concatfunction for the current environment when calling block references. :issue:1701- Make
|uniqueasync-aware, allowing it to be used after another async-aware filter. :issue:1781|intfilter handlesOverflowErrorfrom scientific notation. :issue:1921- Make compiling deterministic for tuple unpacking in a
{% set ... %}call. :issue:2021- Fix dunder protocol (
copy/pickle/etc) interaction withUndefinedobjects. :issue:2025- Fix
copy/picklesupport for the internalmissingobject. :issue:2027Environment.overlay(enable_async)is applied correctly. :pr:2061- The error message from
FileSystemLoaderincludes the paths that were searched. :issue:1661PackageLoadershows a clearer error message when the package does not contain the templates directory. :issue:1705- Improve annotations for methods returning copies. :pr:
1880urlizedoes not addmailto:to values like@a@b. :pr:1870
... (truncated)
Commits
1520688release version 3.1.690457bbMerge commit from fork065334dattr filter uses env.getattr033c200start version 3.1.6bc68d4euse global contributing guide (#2070)247de5euse global contributing guideab8218cuse project advisory link instead of globalb4ffc8frelease version 3.1.5 (#2066)877f6e5release version 3.1.58d58859remove test pypi- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.