Closed dependabot[bot] closed 3 years ago
@dependabot merge
On Fri, Mar 19, 2021 at 10:34 PM dependabot[bot] @.***> wrote:
This automated pull request fixes a security vulnerability https://github.com/holdenweb/int-py-notes/security/dependabot/requirements.txt/jinja2/open (moderate severity).
Learn more about Dependabot security updates https://docs.github.com/github/managing-security-vulnerabilities/configuring-dependabot-security-updates.
Bumps jinja2 https://github.com/pallets/jinja from 2.7.3 to 2.11.3. Release notes
Sourced from jinja2's releases https://github.com/pallets/jinja/releases.
2.11.3
This contains a fix for a speed issue with the urlize filter. urlize is likely to be called on untrusted user input. For certain inputs some of the regular expressions used to parse the text could take a very long time due to backtracking. As part of the fix, the email matching became slightly stricter. The various speedups apply to urlize in general, not just the specific input cases.
- PyPI: https://pypi.org/project/Jinja2/2.11.3/
- Changes: https://jinja.palletsprojects.com/en/2.11.x/changelog/#version-2-11-3
2.11.2
2.11.1
This fixes an issue in async environment when indexing the result of an attribute lookup, like {{ data.items[1:] }}.
2.11.0
- Changes: https://jinja.palletsprojects.com/en/2.11.x/changelog/#version-2-11-0
- Blog: https://palletsprojects.com/blog/jinja-2-11-0-released/
- Twitter: https://twitter.com/PalletsTeam/status/1221883554537230336
This is the last version to support Python 2.7 and 3.5. The next version will be Jinja 3.0 and will support Python 3.6 and newer. 2.10.3
2.10.2
2.10.1
- Changes: https://jinja.palletsprojects.com/en/2.10.x/changelog/#version-2-10-1
- Blog: https://palletsprojects.com/blog/jinja-2-10-1-released/
- Twitter: https://twitter.com/PalletsTeam/status/1114605127308992513
2.10 Primary changes
- A NativeEnvironment that renders Python types instead of strings. http://jinja.pocoo.org/docs/2.10/nativetypes/
- A namespace object that works with {% set %}. This replaces previous hacks for storing state across iterations or scopes. http://jinja.pocoo.org/docs/2.10/templates/#assignments
- The loop object now has nextitem and previtem attributes, as well as a changed method, for the common case of outputting something as a value in the loop changes. More complicated cases can use the namespace object. http://jinja.pocoo.org/docs/2.10/templates/#for
Install or upgrade
Install from PyPI https://pypi.python.org/pypi/Jinja2/2.10 with pip:
... (truncated) Changelog
Sourced from jinja2's changelog https://github.com/pallets/jinja/blob/master/CHANGES.rst.
Version 2.11.3
Released 2021-01-31
- Improve the speed of the urlize filter by reducing regex backtracking. Email matching requires a word character at the start of the domain part, and only word characters in the TLD. :pr:1343
Version 2.11.2
Released 2020-04-13
- Fix a bug that caused callable objects with getattr, like :class: ~unittest.mock.Mock to be treated as a :func:contextfunction. :issue: 1145
- Update wordcount filter to trigger :class:Undefined methods by wrapping the input in :func:soft_str. :pr:1160
- Fix a hang when displaying tracebacks on Python 32-bit. :issue:1162
- Showing an undefined error for an object that raises AttributeError on access doesn't cause a recursion error. :issue:1177
- Revert changes to :class:~loaders.PackageLoader from 2.10 which removed the dependency on setuptools and pkg_resources, and added limited support for namespace packages. The changes caused issues when using Pytest. Due to the difficulty in supporting Python 2 and :pep:451 simultaneously, the changes are reverted until 3.0. :pr:1182
- Fix line numbers in error messages when newlines are stripped. :pr: 1178
- The special namespace() assignment object in templates works in async environments. :issue:1180
- Fix whitespace being removed before tags in the middle of lines when lstrip_blocks is enabled. :issue:1138
- :class:~nativetypes.NativeEnvironment doesn't evaluate intermediate strings during rendering. This prevents early evaluation which could change the value of an expression. :issue:1186
Version 2.11.1
Released 2020-01-30
- Fix a bug that prevented looking up a key after an attribute ({{ data.items[1:] }}) in an async template. :issue:1141
... (truncated) Commits
- cf21539 https://github.com/pallets/jinja/commit/cf215390d4a4d6f0a4de27e2687eed176878f13d release version 2.11.3
- 15ef8f0 https://github.com/pallets/jinja/commit/15ef8f09b659f9100610583938005a7a10472d4d Merge pull request #1343 https://github-redirect.dependabot.com/pallets/jinja/issues/1343 from pallets/urlize-speedup
- ef658dc https://github.com/pallets/jinja/commit/ef658dc3b6389b091d608e710a810ce8b87995b3 speed up urlize matching
- eeca0fe https://github.com/pallets/jinja/commit/eeca0fecc3318d43f61bc340ad61db641b861ade Merge pull request #1207 https://github-redirect.dependabot.com/pallets/jinja/issues/1207 from mhansen/patch-1
- 2dd7691 https://github.com/pallets/jinja/commit/2dd769111cbb1a2637f805b3b4c652ec8096d371 Merge pull request #1209 https://github-redirect.dependabot.com/pallets/jinja/issues/1209 from mhansen/patch-3
- 4892940 https://github.com/pallets/jinja/commit/48929401db7228db04dfd8e88115dd5c30dc2d86 do_dictsort: update example ready to copy/paste
- 7db7d33 https://github.com/pallets/jinja/commit/7db7d336ba12574e6205fdd929386fd529e3fad4 api.rst: bugfix in docs, import PackageLoader
- 9ec465b https://github.com/pallets/jinja/commit/9ec465baefe32e305bd4e61da49e6c39360c194e fix changelog header
- 737a4cd https://github.com/pallets/jinja/commit/737a4cd41d09878e7e6c584a2062f5853dc30150 release version 2.11.2
- 179df6b https://github.com/pallets/jinja/commit/179df6b54e87b3d420cabf65fc07b2605ffc05f8 Merge pull request #1190 https://github-redirect.dependabot.com/pallets/jinja/issues/1190 from pallets/native-eval
- Additional commits viewable in compare view https://github.com/pallets/jinja/compare/2.7.3...2.11.3
[image: Dependabot compatibility score] https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores
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 rebase will rebase this PR
- @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
- @dependabot merge will merge this PR after your CI passes on it
- @dependabot squash and merge will squash and merge this PR after your CI passes on it
- @dependabot cancel merge will cancel a previously requested merge and block automerging
- @dependabot reopen will reopen this PR if it is closed
- @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
- @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
- @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
- @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page https://github.com/holdenweb/int-py-notes/network/alerts.
You can view, comment on, or merge this pull request online at:
https://github.com/holdenweb/int-py-notes/pull/14 Commit Summary
- Bump jinja2 from 2.7.3 to 2.11.3
File Changes
- M requirements.txt https://github.com/holdenweb/int-py-notes/pull/14/files#diff-4d7c51b1efe9043e44439a949dfd92e5827321b34082903477fd04876edb7552 (2)
Patch Links:
- https://github.com/holdenweb/int-py-notes/pull/14.patch
- https://github.com/holdenweb/int-py-notes/pull/14.diff
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/holdenweb/int-py-notes/pull/14, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAZWYA2UF2TC2LRSQSOQ2TTEPGNXANCNFSM4ZPT45OA .
Bumps jinja2 from 2.7.3 to 2.11.3.
Release notes
Sourced from jinja2's releases.
... (truncated)
Changelog
Sourced from jinja2's changelog.
... (truncated)
Commits
cf21539
release version 2.11.315ef8f0
Merge pull request #1343 from pallets/urlize-speedupef658dc
speed up urlize matchingeeca0fe
Merge pull request #1207 from mhansen/patch-12dd7691
Merge pull request #1209 from mhansen/patch-34892940
do_dictsort: update example ready to copy/paste7db7d33
api.rst: bugfix in docs, import PackageLoader9ec465b
fix changelog header737a4cd
release version 2.11.2179df6b
Merge pull request #1190 from pallets/native-evalDependabot 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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/holdenweb/int-py-notes/network/alerts).