New Versions Released! Flask 2.0 with async
palletsprojects.com
palletsprojects.com
I upgraded a pretty big Flask app (7,500 lines of Python code without counting test lines) that uses lots of Flask extensions, etc. and the upgrade process to Flask 2.0 was the easiest upgrade ever. Everything worked without a single line of app code that needed to change. Then I went in and started using some of the new 2.0 features.
There were a few deprecation warnings in a couple popular extensions but those will go away soon (I opened PRs in Flask-Login, Flask-WTF and Flask-DebugToolbar to fix them).
If anyone is curious I updated my example Flask + Docker + gunicorn + Celery + Redis + PostgreSQL + Webpack + TailwindCSS starter project to support Flask 2.0 here: https://github.com/nickjj/docker-flask-example
And I'll be updating my Build a SAAS App with Flask course for Flask 2.0 today at: https://buildasaasappwithflask.com/. About to record some videos for it now.
[1] https://pgjones.gitlab.io/quart/
[2] https://github.com/pallets/werkzeug/issues/1322#issuecomment...