To see the exhaustive list of pull requests included in this release see:
https://github.com/channelcat/sanic/milestone/5?closed=1
Highlights
- Content range (HTTP 1.1 feature) 378 (Thanks to aquacash5)
- Added a loop property to app class for easier access 409 (Thanks to r0fls)
- Middleware decorators now take explicit args 406 (Thanks to agoose77)
- uvloop is now a soft dependency for Windows users 402 (Thanks to agoose77)
- Event listeners (like `before_start, after_start etc.) are now handled through decorators 408 (Thanks to agoose77)
- Ensure future added as a way to ensure execution of functions after an app starts 411 (Thanks to r0fls)
- CompositionView now has tests! 416 (Thanks to subyraman)
- Blueprints now support adding HTTPMethodView as routes 424 (Thanks to growingdever)
- App object now has a flask-like `test_client` property 431 (Thanks to subyraman)
- Request object now includes `app` which acts as the currently running app 476
Notes
This release may be a bit short-lived, we have a number of great pull requests that support features like websockets, HTTP pipelining, streaming content, and http2 support so `0.5.0` may come as early as next week.