From 5928c5005786b690539d3cf2c2814f696a326104 Mon Sep 17 00:00:00 2001 From: Adam Hopkins Date: Wed, 30 Sep 2020 17:30:21 +0300 Subject: [PATCH] Version 20.9 (#1940) --- CHANGELOG.rst | 72 +++++++++++++++++++++++++++++++++++++++++++- sanic/__version__.py | 2 +- 2 files changed, 72 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d97c8307..006bad7c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,3 +1,73 @@ +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 =============== @@ -299,7 +369,7 @@ Features * `#1562 `_ - Remove ``aiohttp`` dependencey and create new ``SanicTestClient`` based upon + Remove ``aiohttp`` dependency and create new ``SanicTestClient`` based upon `requests-async `_ * diff --git a/sanic/__version__.py b/sanic/__version__.py index 470130c1..d59f2279 100644 --- a/sanic/__version__.py +++ b/sanic/__version__.py @@ -1 +1 @@ -__version__ = "20.6.3" +__version__ = "20.9.0"