Skip to main content

Flask Releases

This page presensts the history of Flask starting from the latest versions.

Flask 3 (September 2023)

  • Require Werkzeug >= 3.0.0
  • Restructure the code and Blueprint classes
  • Deprecate the version attribute
  • Remove Deprecated Code

Flask 2.3.3 (August 2023)

  • Python 3.12 compatibility.
  • Require Werkzeug >= 2.3.7.
  • Use flit_core instead of setuptools as build backend.
  • Refactor how an app’s root and instance paths are determined. #5160

Flask 2.3.0 (Mai 2023)**

  • Drop support for Python 3.7. #5072

Flask 2.2.0 (August 2022)

  • Update Werkzeug dependency to >= 2.2.
  • Deprecate FLASK_ENV environment variable

Flask 2.1 (August 2021)

  • Introduced support for Python 3.10.
  • Added compatibility with the async keyword for view functions using async def.
  • Updated several dependencies and improved overall performance.
  • Several bug fixes and enhancements.

Flask 2.0 (June 2021)

  • Major release with several new features and improvements.
  • Added support for Python 3.7+ (dropped support for Python 2.7 and 3.5).
  • Included new features like flask shell for interactive shell sessions, and support for create_app factory functions.
  • Improved error handling and logging.
  • Enhanced documentation and test coverage.

Flask 1.1 (March 2019)

  • Introduced support for async views using the async keyword.
  • Added websocket support.
  • Improved error messages and error handling.
  • Enhanced CLI functionality.
  • Better support for testing with test client improvements.

Flask 1.0 (June 2018)

  • Marked Flask as a stable release.
  • Included a stable API for extensions.
  • Added features like error handling improvements, CLI enhancements, and better testing capabilities.
  • Security enhancements and bug fixes.

Flask 0.12 (December 2016)

  • Introduced support for Python 3.3+.
  • Added make_response function for creating responses.
  • Enhanced error handling and debugging with the flask --pdb option.
  • CSRF protection improvements.

Flask 0.11 (April 2016)

  • Added support for Python 3.5.
  • Introduced the flask.scaffold module for creating project templates.
  • Improved request and response objects.
  • CSRF enhancements.

✅ Resources