Releases: sanic-org/sanic
Releases · sanic-org/sanic
Multi-worker Fix, Virtual Hosts support, etc.
This pull request encompasses a lot of bug fixes among other things.
To see the exhaustive list visit: https://github.com/channelcat/sanic/milestone/2?closed=1
Highlights:
- Multiprocessing fix #276 (Thank you to @r0fls)
- Updates to class based views to make them thread safe #274 (Thank you to @AntonDnepr)
- Adding support for virtual hosts through the main application and blueprints #285, #287
- Added methods to remove routes from api/router #243 (Thanks to @dutradda)
Next up on the table:
Bug Fixes, Various Error Handling Improvements
PR's included in the milestone can be found here: https://github.com/channelcat/sanic/milestone/1?closed=1
Changes:
- Addition of Python 3.6 to tox tests and travis tests (We will eventually be using the tox.ini as our main travis testing script as well)
- New raising of error if an invalid response is returned
- Add in a way to encode objects that are un-encodable in response objects
Adding HTTPMethodView
Static files
Changelog:
- Static file support
- Lazy Cookie Setting (slight speed improvement when not setting cookies)
0.1.5
Changelog:
- Cookies
- Blueprint listeners and ordering
- Faster Router
- Fix: Incomplete file reads on medium+ sized post requests
Breaking:
- after_start and before_stop now pass sanic as their first argument. Current event listeners will need to be updated to accept the new argument