Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump flask from 2.0.3 to 2.1.0 #70

Merged
merged 1 commit into from
Mar 29, 2022
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 29, 2022

Bumps flask from 2.0.3 to 2.1.0.

Release notes

Sourced from flask's releases.

2.1.0

This is a feature release, which includes new features and removes previously deprecated features. The 2.1.x branch is now the supported bugfix branch, the 2.0.x branch will become a tag marking the end of support for that branch. We encourage everyone to upgrade, and to use a tool such as pip-tools to pin all dependencies and control upgrades.

We also encourage upgrading to the latest versions of the other Pallets projects as well.

Changelog

Sourced from flask's changelog.

Version 2.1.0

Released 2022-03-28

  • Drop support for Python 3.6. :pr:4335

  • Update Click dependency to >= 8.0. :pr:4008

  • Remove previously deprecated code. :pr:4337

    • The CLI does not pass script_info to app factory functions.
    • config.from_json is replaced by config.from_file(name, load=json.load).
    • json functions no longer take an encoding parameter.
    • safe_join is removed, use werkzeug.utils.safe_join instead.
    • total_seconds is removed, use timedelta.total_seconds instead.
    • The same blueprint cannot be registered with the same name. Use name= when registering to specify a unique name.
    • The test client's as_tuple parameter is removed. Use response.request.environ instead. :pr:4417
  • Some parameters in send_file and send_from_directory were renamed in 2.0. The deprecation period for the old names is extended to 2.2. Be sure to test with deprecation warnings visible.

    • attachment_filename is renamed to download_name.
    • cache_timeout is renamed to max_age.
    • add_etags is renamed to etag.
    • filename is renamed to path.
  • The RequestContext.g property is deprecated. Use g directly or AppContext.g instead. :issue:3898

  • copy_current_request_context can decorate async functions. :pr:4303

  • The CLI uses importlib.metadata instead of setuptools to load command entry points. :issue:4419

  • Overriding FlaskClient.open will not cause an error on redirect. :issue:3396

  • Add an --exclude-patterns option to the flask run CLI command to specify patterns that will be ignored by the reloader. :issue:4188

  • When using lazy loading (the default with the debugger), the Click context from the flask run command remains available in the loader thread. :issue:4460

  • Deleting the session cookie uses the httponly flag. :issue:4485

  • Relax typing for errorhandler to allow the user to use more precise types and decorate the same function multiple times. :issue:4095, 4295, 4297

... (truncated)

Commits
  • 65b0eef Merge pull request #4500 from pallets/release-2.1.0
  • 7d264d7 release version 2.1.0
  • f5ed54b ignore examples tests
  • cd4ab00 fix typing
  • 41aaaf7 clean up unused function from prefixed_env pr
  • 2f5a2ab Merge pull request #4479 from pgjones/env_config
  • e75d575 windows env vars are uppercase
  • 4eb5e94 more from_prefixed_env features
  • 08a283a Allow loading of environment variables into the config
  • 425a626 Merge pull request #4496 from pallets/werkzeug-relative-redirect
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

Bumps [flask](https://github.com/pallets/flask) from 2.0.3 to 2.1.0.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst)
- [Commits](pallets/flask@2.0.3...2.1.0)

---
updated-dependencies:
- dependency-name: flask
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 29, 2022
@markusressel markusressel merged commit a539ce6 into master Mar 29, 2022
@markusressel markusressel deleted the dependabot/pip/flask-2.1.0 branch March 29, 2022 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant