Member-only story

Flask 2.0 Just Got Released! Here’s what's new!

Manpreet Singh
3 min readMay 12, 2021

--

Welcome back! As some of you know Flask is a web framework for Python, it’s extremely popular and used at tons of different companies. Yesterday, Flask 2.0 just got released and there’s alot of new stuff included as well, here are some of my new favorite features! If you would like to read the entire documentation check out their change log below:

Adding Route Decorators

This one is one of my favorites, within Flask 2.0 we can now add route decorators for common HTTP methods, within the Flask documentation they use a very strong example:

This should essentially limit the amount of redundant code we would have to write.

Change JSON Module

We now have the ability to change our JSON module from the standard simplejson:

Only Supports Python 3.6 & Above

This specific one i’m kind of 50/50 on, on one hand they dropped support for Python 3.5 and Python 2 but this does allow the Flask team to focus their…

--

--

Manpreet Singh
Manpreet Singh

Responses (1)