diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c48e7686..772a51aa 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,3 +1,78 @@ +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 +********************** + + * + `#1846 `_ + Update docs to clarify response middleware execution order + + * + `#1865 `_ + Fixing rst format issue that was hiding documentation + Version 20.3.0 =============== diff --git a/docs/sanic/deploying.rst b/docs/sanic/deploying.rst index e4da9d65..886abdf1 100644 --- a/docs/sanic/deploying.rst +++ b/docs/sanic/deploying.rst @@ -50,6 +50,12 @@ If you like using command line arguments, you can launch a Sanic webserver by executing the module. For example, if you initialized Sanic as `app` in a file named `server.py`, you could run the server like so: +:: + + sanic server.app --host=0.0.0.0 --port=1337 --workers=4 + +It can also be called directly as a module. + :: python -m sanic server.app --host=0.0.0.0 --port=1337 --workers=4