Skip to content

Releases: sanic-org/sanic

Multi-worker Fix, Virtual Hosts support, etc.

14 Jan 17:31

Choose a tag to compare

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:

  • Finishing up WSGI compliance (Maybe looking into ASGI compliance as well)
  • Working to finish up live reload as highlighted in #168 (We have a prototype but it's not as efficient as I'd like it to be)
  • Moving our documentation to Sphinx and publishing to readthedocs as highlighted in #229

Bug Fixes, Various Error Handling Improvements

25 Dec 02:59

Choose a tag to compare

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

29 Nov 22:07

Choose a tag to compare

Changelog:

  • Added HTTPMethodView #167
  • Added shared request storage #163
  • Changed request timeout process #172
  • Provide a default app name #159

Static files

25 Oct 09:33

Choose a tag to compare

Changelog:

  • Static file support
  • Lazy Cookie Setting (slight speed improvement when not setting cookies)

0.1.5

23 Oct 10:46

Choose a tag to compare

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