v4.0: ### Breaking changes
Breaking changes
-
Migrate from webapp2 to Flask. webapp2 had a good run, but it's no longer actively developed, and Flask is one of the most widely adopted standalone web framework in the Python community.
-
Remove
to()
class methods. Instead, now pass redirect paths to Flask'sas_view()
function, eg:app = Flask() app.add_url_rule('/start', view_func=twitter.Callback.as_view('start', '/oauth_callback'))
-
Remove deprecated
blogger_v2
module alias. -
webutil
: migrate webapp2 HTTP request handlers in thehandlers
module -XrdOrJrdHandler
,HostMetaHandler
, andHostMetaXrdsHandler
- to Flask views in a newflask_util
module.
Non-breaking changes
webutil
: implement Webmention protocol in newwebmention
module.webutil
: add misc Flask utilities and helpers in newflask_util
module.