Skip to content

Bump flask from 1.1.2 to 2.0.1

Bumps flask from 1.1.2 to 2.0.1.

Release notes

Sourced from flask's releases.

2.0.1

2.0.0

New major versions of all the core Pallets libraries, including Flask 2.0, have been released! 🎉

This represents a significant amount of work, and there are quite a few changes. Be sure to carefully read the changelog, and use tools such as pip-compile and Dependabot to pin your dependencies and control your updates.

2.0.0rc2

2.0.0rc1

Changelog

Sourced from flask's changelog.

Version 2.0.1

Released 2021-05-21

  • Re-add the filename parameter in send_from_directory. The filename parameter has been renamed to path, the old name is deprecated. 🇵🇷4019
  • Mark top-level names as exported so type checking understands imports in user projects. :issue:4024
  • Fix type annotation for g and inform mypy that it is a namespace object that has arbitrary attributes. :issue:4020
  • Fix some types that weren't available in Python 3.6.0. :issue:4040
  • Improve typing for send_file, send_from_directory, and get_send_file_max_age. :issue:4044, 🇵🇷4026
  • Show an error when a blueprint name contains a dot. The . has special meaning, it is used to separate (nested) blueprint names and the endpoint name. :issue:4041
  • Combine URL prefixes when nesting blueprints that were created with a url_prefix value. :issue:4037
  • Roll back a change to the order that URL matching was done. The URL is again matched after the session is loaded, so the session is available in custom URL converters. :issue:4053
  • Re-add deprecated Config.from_json, which was accidentally removed early. :issue:4078
  • Improve typing for some functions using Callable in their type signatures, focusing on decorator factories. :issue:4060
  • Nested blueprints are registered with their dotted name. This allows different blueprints with the same name to be nested at different locations. :issue:4069
  • register_blueprint takes a name option to change the (pre-dotted) name the blueprint is registered with. This allows the same blueprint to be registered multiple times with unique names for url_for. Registering the same blueprint with the same name multiple times is deprecated. :issue:1091
  • Improve typing for stream_with_context. :issue:4052

Version 2.0.0

Released 2021-05-11

  • Drop support for Python 2 and 3.5.
  • Bump minimum versions of other Pallets projects: Werkzeug >= 2, Jinja2 >= 3, MarkupSafe >= 2, ItsDangerous >= 2, Click >= 8. Be sure to check the change logs for each project. For better compatibility with other applications (e.g. Celery) that still require Click 7, there is no hard dependency on Click 8 yet, but using Click 7 will trigger a DeprecationWarning and Flask 2.1 will depend on Click 8.

... (truncated)

Commits
  • bc90801 Merge pull request #4091 from pallets/release-2.0.1
  • fe2d744 release version 2.0.1
  • 9f606a8 Merge pull request #4090 from pallets/stream-type
  • 7ab934f improve typing for stream_with_context
  • 6b1c4e9 Merge pull request #4087 from greyli/gitignore
  • 255461d Merge pull request #4074 from pgjones/bp
  • 3257b75 Fix blueprint renaming
  • 714b0a4 Fix blueprint self registration
  • 9409be6 warn when registering same blueprint with same name
  • 63b3067 changelog for blueprint registered name
  • Additional commits viewable in compare view

Merge request reports

Loading