Update flask requirement from ~=2.1.2 to ~=2.2.1 in /api #328

Closed
dependabot[bot] wants to merge 1 commits from dependabot/pip/api/flask-approx-eq-2.2.1 into main
dependabot[bot] commented 2022-08-04 09:43:44 +00:00 (Migrated from github.com)

Updates the requirements on flask to permit the latest version.

Release notes

Sourced from flask's releases.

2.2.1

This is a fix release for the 2.2.0 feature release.

Changelog

Sourced from flask's changelog.

Version 2.2.1

Released 2022-08-03

  • Setting or accessing json_encoder or json_decoder raises a deprecation warning. :issue:4732

Version 2.2.0

Released 2022-08-01

  • Remove previously deprecated code. :pr:4337

    • Old names for some send_file parameters have been removed. download_name replaces attachment_filename, max_age replaces cache_timeout, and etag replaces add_etags. Additionally, path replaces filename in send_from_directory.
    • The RequestContext.g property returning AppContext.g is removed.
  • Update Werkzeug dependency to >= 2.2.

  • The app and request contexts are managed using Python context vars directly rather than Werkzeug's LocalStack. This should result in better performance and memory use. :pr:4682

    • Extension maintainers, be aware that _app_ctx_stack.top and _request_ctx_stack.top are deprecated. Store data on g instead using a unique prefix, like g._extension_name_attr.
  • The FLASK_ENV environment variable and app.env attribute are deprecated, removing the distinction between development and debug mode. Debug mode should be controlled directly using the --debug option or app.run(debug=True). :issue:4714

  • Some attributes that proxied config keys on app are deprecated: session_cookie_name, send_file_max_age_default, use_x_sendfile, propagate_exceptions, and templates_auto_reload. Use the relevant config keys instead. :issue:4716

  • Add new customization points to the Flask app object for many previously global behaviors.

    • flask.url_for will call app.url_for. :issue:4568
    • flask.abort will call app.aborter. Flask.aborter_class and Flask.make_aborter can be used to customize this aborter. :issue:4567

... (truncated)

Commits
  • 85f79e1 Merge pull request #4736 from pallets/release-2.2.1
  • 52c54b2 release version 2.2.1
  • 0d87b22 update requirements
  • 723a3a6 Merge pull request #4735 from pallets/json_encoder-warning
  • 714ccef show deprecation warning on json_encoder/decoder access
  • 9a1b25f start version 2.2.1
  • b17bb9e Merge pull request #4710 from pallets/release-2.2.0
  • 292c7e5 release version 2.2.0
  • f3bb9b2 Merge branch '2.1.x'
  • ac1bb97 Merge pull request #4721 from pallets/pre-commit-ci-update-config
  • 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 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)
Updates the requirements on [flask](https://github.com/pallets/flask) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pallets/flask/releases">flask's releases</a>.</em></p> <blockquote> <h2>2.2.1</h2> <p>This is a fix release for the <a href="https://github.com/pallets/flask/releases/tag/2.2.0">2.2.0</a> feature release.</p> <ul> <li>Changes: <a href="https://flask.palletsprojects.com/en/2.2.x/changes/#version-2-2-1">https://flask.palletsprojects.com/en/2.2.x/changes/#version-2-2-1</a></li> <li>Milestone: <a href="https://github.com/pallets/flask/milestone/23?closed=1">https://github.com/pallets/flask/milestone/23?closed=1</a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pallets/flask/blob/main/CHANGES.rst">flask's changelog</a>.</em></p> <blockquote> <h2>Version 2.2.1</h2> <p>Released 2022-08-03</p> <ul> <li>Setting or accessing <code>json_encoder</code> or <code>json_decoder</code> raises a deprecation warning. :issue:<code>4732</code></li> </ul> <h2>Version 2.2.0</h2> <p>Released 2022-08-01</p> <ul> <li> <p>Remove previously deprecated code. :pr:<code>4337</code></p> <ul> <li>Old names for some <code>send_file</code> parameters have been removed. <code>download_name</code> replaces <code>attachment_filename</code>, <code>max_age</code> replaces <code>cache_timeout</code>, and <code>etag</code> replaces <code>add_etags</code>. Additionally, <code>path</code> replaces <code>filename</code> in <code>send_from_directory</code>.</li> <li>The <code>RequestContext.g</code> property returning <code>AppContext.g</code> is removed.</li> </ul> </li> <li> <p>Update Werkzeug dependency to &gt;= 2.2.</p> </li> <li> <p>The app and request contexts are managed using Python context vars directly rather than Werkzeug's <code>LocalStack</code>. This should result in better performance and memory use. :pr:<code>4682</code></p> <ul> <li>Extension maintainers, be aware that <code>_app_ctx_stack.top</code> and <code>_request_ctx_stack.top</code> are deprecated. Store data on <code>g</code> instead using a unique prefix, like <code>g._extension_name_attr</code>.</li> </ul> </li> <li> <p>The <code>FLASK_ENV</code> environment variable and <code>app.env</code> attribute are deprecated, removing the distinction between development and debug mode. Debug mode should be controlled directly using the <code>--debug</code> option or <code>app.run(debug=True)</code>. :issue:<code>4714</code></p> </li> <li> <p>Some attributes that proxied config keys on <code>app</code> are deprecated: <code>session_cookie_name</code>, <code>send_file_max_age_default</code>, <code>use_x_sendfile</code>, <code>propagate_exceptions</code>, and <code>templates_auto_reload</code>. Use the relevant config keys instead. :issue:<code>4716</code></p> </li> <li> <p>Add new customization points to the <code>Flask</code> app object for many previously global behaviors.</p> <ul> <li><code>flask.url_for</code> will call <code>app.url_for</code>. :issue:<code>4568</code></li> <li><code>flask.abort</code> will call <code>app.aborter</code>. <code>Flask.aborter_class</code> and <code>Flask.make_aborter</code> can be used to customize this aborter. :issue:<code>4567</code></li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pallets/flask/commit/85f79e1a2360c3589b228410c39e208b8514b5b9"><code>85f79e1</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pallets/flask/issues/4736">#4736</a> from pallets/release-2.2.1</li> <li><a href="https://github.com/pallets/flask/commit/52c54b2ce1e392c5d5cd9339a4a069e91edd1d01"><code>52c54b2</code></a> release version 2.2.1</li> <li><a href="https://github.com/pallets/flask/commit/0d87b22314d7d0f1a0aa6c3be340095412f6637e"><code>0d87b22</code></a> update requirements</li> <li><a href="https://github.com/pallets/flask/commit/723a3a6ffdb2c84eb7883d0852ec7d41fed751c0"><code>723a3a6</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pallets/flask/issues/4735">#4735</a> from pallets/json_encoder-warning</li> <li><a href="https://github.com/pallets/flask/commit/714ccefeca33db9e87e8ef4abd0008af05c32a4d"><code>714ccef</code></a> show deprecation warning on json_encoder/decoder access</li> <li><a href="https://github.com/pallets/flask/commit/9a1b25fce4ddd553d7cba01bab3df5841a24aeff"><code>9a1b25f</code></a> start version 2.2.1</li> <li><a href="https://github.com/pallets/flask/commit/b17bb9ed563ab2857c0db9a07ec4e6407404c7be"><code>b17bb9e</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pallets/flask/issues/4710">#4710</a> from pallets/release-2.2.0</li> <li><a href="https://github.com/pallets/flask/commit/292c7e5c5db14824a23bbd6fdfe69f62015aee20"><code>292c7e5</code></a> release version 2.2.0</li> <li><a href="https://github.com/pallets/flask/commit/f3bb9b25665d5d141d899979116ad62d771815cc"><code>f3bb9b2</code></a> Merge branch '2.1.x'</li> <li><a href="https://github.com/pallets/flask/commit/ac1bb97679f2b778bd89580fac2f461ff77c716a"><code>ac1bb97</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pallets/flask/issues/4721">#4721</a> from pallets/pre-commit-ci-update-config</li> <li>Additional commits viewable in <a href="https://github.com/pallets/flask/compare/2.1.2...2.2.1">compare view</a></li> </ul> </details> <br /> 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details>
dependabot[bot] commented 2022-08-09 09:34:17 +00:00 (Migrated from github.com)

Superseded by #334.

Superseded by #334.

Pull request closed

Sign in to join this conversation.
No description provided.