top | item 27128283

New Versions Released! Flask 2.0 with async

40 points| dragonsh | 4 years ago |palletsprojects.com | reply

4 comments

order
[+] nickjj|4 years ago|reply
Happy to see Flask 2.0+ ship.

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.

[+] mixmastamyk|4 years ago|reply
How are the login/security extensions doing? Last I checked some had been abandoned, which caused me some concern and thinking I maybe should have used django or pyramid.