Update flask requirement from ~=2.1.2 to ~=2.2.2 in /api #334

Closed
dependabot[bot] wants to merge 1 commits from dependabot/pip/api/flask-approx-eq-2.2.2 into main
dependabot[bot] commented 2022-08-09 09:34:15 +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.2

This is a fix release for the 2.2.0 feature release.

Changelog

Sourced from flask's changelog.

Version 2.2.2

Released 2022-08-08

  • Update Werkzeug dependency to >= 2.2.2. This includes fixes related to the new faster router, header parsing, and the development server. :pr:4754
  • Fix the default value for app.env to be "production". This attribute remains deprecated. :issue:4740

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:4667

    • 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

... (truncated)

Commits

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.2</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/25?closed=1">https://github.com/pallets/flask/milestone/25?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.2</h2> <p>Released 2022-08-08</p> <ul> <li>Update Werkzeug dependency to &gt;= 2.2.2. This includes fixes related to the new faster router, header parsing, and the development server. :pr:<code>4754</code></li> <li>Fix the default value for <code>app.env</code> to be <code>&quot;production&quot;</code>. This attribute remains deprecated. :issue:<code>4740</code></li> </ul> <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>4667</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> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pallets/flask/commit/a1c478bc93d3dc018a6e7a1ba3cf5409553c9df3"><code>a1c478b</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pallets/flask/issues/4755">#4755</a> from pallets/release-2.2.2</li> <li><a href="https://github.com/pallets/flask/commit/43d2fff317aec64a000604a764b8ab2dc751c753"><code>43d2fff</code></a> release version 2.2.2</li> <li><a href="https://github.com/pallets/flask/commit/e9af7c23ae19fcc50781b7711f4672c113636892"><code>e9af7c2</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pallets/flask/issues/4754">#4754</a> from pallets/werkzeug-version</li> <li><a href="https://github.com/pallets/flask/commit/de16718b39e3544688130339a0813997e3790c48"><code>de16718</code></a> require werkzeug &gt;= 2.2.2</li> <li><a href="https://github.com/pallets/flask/commit/6ab3cb8d0cb1fa28dd2e0118c07e481720bd684a"><code>6ab3cb8</code></a> fix issue number</li> <li><a href="https://github.com/pallets/flask/commit/e3eaafb56e3914676755fce6f67256599fb3fc64"><code>e3eaafb</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pallets/flask/issues/4749">#4749</a> from pallets/shell-env</li> <li><a href="https://github.com/pallets/flask/commit/e3df23374cdb9342a823556170c53c9d987d0d33"><code>e3df233</code></a> remove env from shell banner</li> <li><a href="https://github.com/pallets/flask/commit/a0458efef6c8a5669bb6e78044a290bf560f962b"><code>a0458ef</code></a> refactor or remove old docs (<a href="https://github-redirect.dependabot.com/pallets/flask/issues/4748">#4748</a>)</li> <li><a href="https://github.com/pallets/flask/commit/45b2c99c1f6a884376d54bbb25223edad65596c5"><code>45b2c99</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pallets/flask/issues/4742">#4742</a> from pallets/env-default</li> <li><a href="https://github.com/pallets/flask/commit/a6a7a57380cd8f7410753c3b819ba6d09198d8c9"><code>a6a7a57</code></a> fix default value of app.env</li> <li>Additional commits viewable in <a href="https://github.com/pallets/flask/compare/2.1.2...2.2.2">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>
administrator closed this pull request 2022-09-17 22:44:56 +00:00

Pull request closed

Sign in to join this conversation.
No description provided.