Releases: sanic-org/sanic
Version 20.9.1
Version 19.12.3
Bugfixes
- #1959 Removes duplicate headers in ASGI streaming body
Version 20.9.0
Features
- #1887 Pass subprotocols in websockets (both sanic server and ASGI)
- #1894 Automatically set
test_mode
flag on app instance - #1903 Add new unified method for updating app values
- #1906, #1909 Adds WEBSOCKET_PING_TIMEOUT and WEBSOCKET_PING_INTERVAL configuration values
- #1935 httpx version dependency updated, it is slated for removal as a dependency in v20.12
- #1937 Added auto, text, and json fallback error handlers (in v21.3, the default will change form html to auto)
Bugfixes
- #1897 Resolves exception from unread bytes in stream
Deprecations and Removals
- #1903 config.from_envar, config.from_pyfile, and config.from_object are deprecated and set to be removed in v21.3
Developer infrastructure
- #1890, #1891 Update isort calls to be compatible with new API
- #1893 Remove version section from setup.cfg
- #1924 Adding --strict-markers for pytest
Improved Documentation
- #1922 Add explicit ASGI compliance to the README
Version 20.6.3
Bugfixes
- #1884 Socket binding implemented properly for IPv6 and UNIX sockets
Version 20.6.2
Features
- #1641 Socket binding implemented properly for IPv6 and UNIX sockets
Version 20.6.1
Features
-
#1760 Add version parameter to websocket routes
-
#1866 Add
sanic
as an entry point command -
#1880 Add handler names for websockets for url_for usage
Bugfixes
-
#1776 Bug fix for host parameter issue with lists
-
#1842 Fix static _handler pickling error
-
#1827 Fix reloader on OSX py38 and Windows
-
#1848 Reverse named_response_middlware execution order, to match normal response middleware execution order
-
#1853 Fix pickle error when attempting to pickle an application which contains websocket routes
Deprecations and Removals
- #1739 Deprecate body_bytes to merge into body
Developer infrastructure
-
#1852 Fix naming of CI test env on Python nightlies
-
#1857 Adjust websockets version to setup.py
-
#1869 Wrap run()'s "protocol" type annotation in Optional[]
Improved Documentation
v20.3.0
v19.12.2
v19.12.0
19.12.0 LTS
Major changes to bring sanic up to current. Please consult the changelog. There are breaking changes in this release; please continue to use 19.9.X or the previous 18.12.X LTS release which will continued to be supported until December 2021 for stability.
v19.9.0
release: 19.9.0