All Versions
26
Latest Version
Avg Release Cycle
73 days
Latest Release
1251 days ago

Changelog History
Page 1

  • v20.9.1 Changes

    October 25, 2020

    ๐Ÿ›  Bugfixes


    * #1954 <https://github.com/huge-success/sanic/pull/1954>_ Fix static route registration on blueprints * #1957 <https://github.com/huge-success/sanic/pull/1957>_ Removes duplicate headers in ASGI streaming body

  • v20.9.0 Changes

    September 30, 2020

    ๐Ÿ”‹ Features


    * #1887 <https://github.com/huge-success/sanic/pull/1887>_ Pass subprotocols in websockets (both sanic server and ASGI)

    * #1894 <https://github.com/huge-success/sanic/pull/1894>_ Automatically set test_mode flag on app instance

    * #1903 <https://github.com/huge-success/sanic/pull/1903>_ Add new unified method for updating app values

    * #1906 <https://github.com/huge-success/sanic/pull/1906>, #1909 <https://github.com/huge-success/sanic/pull/1909> Adds WEBSOCKET_PING_TIMEOUT and WEBSOCKET_PING_INTERVAL configuration values

    * #1935 <https://github.com/huge-success/sanic/pull/1935>_ httpx version dependency updated, it is slated for removal as a dependency in v20.12

    * #1937 <https://github.com/huge-success/sanic/pull/1937>_ Added auto, text, and json fallback error handlers (in v21.3, the default will change form html to auto)

    ๐Ÿ›  Bugfixes


    * #1897 <https://github.com/huge-success/sanic/pull/1897>_ Resolves exception from unread bytes in stream

    ๐Ÿ—„ Deprecations and Removals


    * #1903 <https://github.com/huge-success/sanic/pull/1903>_ config.from_envar, config.from_pyfile, and config.from_object are deprecated and set to be removed in v21.3

    Developer infrastructure


    * #1890 <https://github.com/huge-success/sanic/pull/1890>, #1891 <https://github.com/huge-success/sanic/pull/1891> Update isort calls to be compatible with new API

    * #1893 <https://github.com/huge-success/sanic/pull/1893>_ Remove version section from setup.cfg

    * #1924 <https://github.com/huge-success/sanic/pull/1924>_ Adding --strict-markers for pytest

    ๐Ÿ‘Œ Improved Documentation


    * #1922 <https://github.com/huge-success/sanic/pull/1922>_ Add explicit ASGI compliance to the README

  • v20.6.3 Changes

    June 29, 2020

    ๐Ÿ”– Version 20.6.3

    ๐Ÿ›  Bugfixes

    • #1884 Socket binding implemented properly for IPv6 and UNIX sockets
  • v20.6.2 Changes

    June 29, 2020

    ๐Ÿ”– Version 20.6.2

    ๐Ÿ”‹ Features

    • #1641 Socket binding implemented properly for IPv6 and UNIX sockets
  • v20.6.1 Changes

    June 28, 2020

    ๐Ÿ”‹ Features


    * #1760 <https://github.com/huge-success/sanic/pull/1760>_ Add version parameter to websocket routes

    * #1866 <https://github.com/huge-success/sanic/pull/1866>_ Add sanic as an entry point command

    * #1880 <https://github.com/huge-success/sanic/pull/1880>_ Add handler names for websockets for url_for usage

    ๐Ÿ›  Bugfixes


    * #1776 <https://github.com/huge-success/sanic/pull/1776>_ Bug fix for host parameter issue with lists

    * #1842 <https://github.com/huge-success/sanic/pull/1842>_ Fix static _handler pickling error

    * #1827 <https://github.com/huge-success/sanic/pull/1827>_ Fix reloader on OSX py38 and Windows

    * #1848 <https://github.com/huge-success/sanic/pull/1848>_ Reverse named_response_middlware execution order, to match normal response middleware execution order

    * #1853 <https://github.com/huge-success/sanic/pull/1853>_ Fix pickle error when attempting to pickle an application which contains websocket routes

    ๐Ÿ—„ Deprecations and Removals


    * #1739 <https://github.com/huge-success/sanic/pull/1739>_ Deprecate body_bytes to merge into body

    Developer infrastructure


    * #1852 <https://github.com/huge-success/sanic/pull/1852>_ Fix naming of CI test env on Python nightlies

    * #1857 <https://github.com/huge-success/sanic/pull/1857>_ Adjust websockets version to setup.py

    * #1869 <https://github.com/huge-success/sanic/pull/1869>_ Wrap run()'s "protocol" type annotation in Optional[]

    ๐Ÿ‘Œ Improved Documentation


    * #1846 <https://github.com/huge-success/sanic/pull/1846>_ Update docs to clarify response middleware execution order

    * #1865 <https://github.com/huge-success/sanic/pull/1865>_ Fixing rst format issue that was hiding documentation

  • v20.6.0 Changes

    June 28, 2020

    ๐Ÿš€ Released, but unintentionally ommitting PR #1880, so was replaced by 20.6.1

  • v20.3.0 Changes

    May 14, 2020

    ๐Ÿ”‹ Features


    • #1762 <https://github.com/huge-success/sanic/pull/1762>_ Add srv.start_serving() and srv.serve_forever() to AsyncioServer

    • #1767 <https://github.com/huge-success/sanic/pull/1767>_ Make Sanic usable on hypercorn -k trio myweb.app

    • #1768 <https://github.com/huge-success/sanic/pull/1768>_ No tracebacks on normal errors and prettier error pages

    • #1769 <https://github.com/huge-success/sanic/pull/1769>_ Code cleanup in file responses

    • #1793 <https://github.com/huge-success/sanic/pull/1793>_ and #1819 <https://github.com/huge-success/sanic/pull/1819>_ Upgrade str.format() to f-strings

    • #1798 <https://github.com/huge-success/sanic/pull/1798>_ Allow multiple workers on MacOS with Python 3.8

    * #1820 <https://github.com/huge-success/sanic/pull/1820>_ Do not set content-type and content-length headers in exceptions

    ๐Ÿ›  Bugfixes


    • #1748 <https://github.com/huge-success/sanic/pull/1748>_ Remove loop argument in asyncio.Event in Python 3.8

    • #1764 <https://github.com/huge-success/sanic/pull/1764>_ Allow route decorators to stack up again

    • #1789 <https://github.com/huge-success/sanic/pull/1789>_ Fix tests using hosts yielding incorrect url_for

    • #1808 <https://github.com/huge-success/sanic/pull/1808>_ Fix Ctrl+C and tests on Windows

    ๐Ÿ—„ Deprecations and Removals


    * #1800 <https://github.com/huge-success/sanic/pull/1800>_ Begin deprecation in way of first-class streaming, removal of body_init, body_push, and body_finish

    * #1801 <https://github.com/huge-success/sanic/pull/1801>_ Complete deprecation from #1666 <https://github.com/huge-success/sanic/pull/1666>_ of dictionary context on request objects.

    * #1807 <https://github.com/huge-success/sanic/pull/1807>_ Remove server config args that can be read directly from app

    * #1818 <https://github.com/huge-success/sanic/pull/1818>_ Complete deprecation of app.remove_route and request.raw_args

    Dependencies


    * #1794 <https://github.com/huge-success/sanic/pull/1794>_ Bump httpx to 0.11.1

    * #1806 <https://github.com/huge-success/sanic/pull/1806>_ Import ASGIDispatch from top-level httpx (from third-party deprecation)

    Developer infrastructure


    • #1833 <https://github.com/huge-success/sanic/pull/1833>_ Resolve broken documentation builds

    ๐Ÿ‘Œ Improved Documentation


    • #1755 <https://github.com/huge-success/sanic/pull/1755>_ Usage of response.empty()

    • #1778 <https://github.com/huge-success/sanic/pull/1778>_ Update README

    • #1783 <https://github.com/huge-success/sanic/pull/1783>_ Fix typo

    * #1784 <https://github.com/huge-success/sanic/pull/1784>_ Corrected changelog for docs move of MD to RST (#1691 <https://github.com/huge-success/sanic/pull/1691>_)

    * #1803 <https://github.com/huge-success/sanic/pull/1803>_ Update config docs to match DEFAULT_CONFIG

    * #1814 <https://github.com/huge-success/sanic/pull/1814>_ Update getting_started.rst

    * #1821 <https://github.com/huge-success/sanic/pull/1821>_ Update to deployment

    * #1822 <https://github.com/huge-success/sanic/pull/1822>_ Update docs with changes done in 20.3

    * #1834 <https://github.com/huge-success/sanic/pull/1834>_ Order of listeners

  • v19.12.4

    November 05, 2020
  • v19.12.3 Changes

    October 25, 2020

    ๐Ÿ›  Bugfixes


    * #1959 <https://github.com/huge-success/sanic/pull/1959>_ Removes duplicate headers in ASGI streaming body

  • v19.12.2 Changes

    January 02, 2020

    ๐Ÿ‘€ Resolve forgotten slot, see #1743