Commit Graph

  • 65a7060d3b Merge branch 'master' into master Adam Hopkins 2020-09-29 00:41:22 +03:00
  • 3483e7b061 Fix linting issues Adam Hopkins 2020-09-29 00:40:24 +03:00
  • 13094e02bc Revert check for websocket protocol to use hasattr Adam Hopkins 2020-09-29 00:24:00 +03:00
  • ed777e9d5b Merge pull request #1935 from huge-success/httpx-upgrade Ashley Sommer 2020-09-28 09:06:37 +10:00
  • 8ad80a282a Merge branch 'master' into httpx-upgrade Adam Hopkins 2020-09-27 11:20:07 +03:00
  • 0b7eb49839 Merge pull request #1924 from tomaszdrozdz/strict_markers_for_pytest Adam Hopkins 2020-09-27 11:18:24 +03:00
  • de3b40c2e6 Merge branch 'master' into strict_markers_for_pytest Adam Hopkins 2020-09-27 10:57:31 +03:00
  • efa0aaf2c2 Add asyncio markers to tox.ini Adam Hopkins 2020-09-27 10:46:51 +03:00
  • bd4e1cdc1e squash Adam Hopkins 2020-09-27 10:27:12 +03:00
  • eb8df1fc18 Upgrade httpx Adam Hopkins 2020-09-27 02:58:36 +03:00
  • 9a8e49751d Adding --strict-markers for pytest tomaszdrozdz 2020-09-08 13:08:49 +02:00
  • 58e15134fd Add explicit ASGI compliance to the README (#1922) raphaelauv 2020-09-02 22:22:02 +02:00
  • 875be11ae5 Update README.rst (#1917) Adam Hopkins 2020-08-27 10:28:56 +03:00
  • 3f7c9ea3f5 feat: fixes exception due to unread bytes in stream (#1897) Andrew Scott 2020-08-27 00:22:02 -07:00
  • 33aa4daac8 fixed the problem that the websocket ping_timeout and ping_interval parameter settings did not take effect brook 2020-08-13 14:39:55 +08:00
  • 58e4087d4b Add websocket ping variables (#1906) Shawn Hill 2020-08-06 21:37:59 -06:00
  • 0072fd1573 Add an additional component to the request_data context test. This checks if items stored a request.ctx are able to be accessed from a response-middleware after a response is issued. (#1888) Ashley Sommer 2020-07-29 21:25:31 +10:00
  • 5d5ed10a45 Websocket subprotocol (#1887) Lee Tat Wai David 2020-07-29 19:09:26 +08:00
  • 2a44a27236 Backport to 1912 (#1900) Adam Hopkins 2020-07-29 13:54:33 +03:00
  • 5ee8ee7b04 Merge pull request #1894 from huge-success/test_mode Ashley Sommer 2020-07-15 22:46:23 +10:00
  • 521ae7f60e squash Adam Hopkins 2020-07-14 10:41:28 +03:00
  • 27c8c12420 squash Adam Hopkins 2020-07-14 10:30:48 +03:00
  • 3d1f100781 squash Adam Hopkins 2020-07-14 10:30:01 +03:00
  • 16d36fc17f squash Adam Hopkins 2020-07-14 10:25:56 +03:00
  • eddb5bad91 squash Adam Hopkins 2020-07-14 10:25:30 +03:00
  • 23e1b5ee3f squash Adam Hopkins 2020-07-14 10:23:31 +03:00
  • 9e053bef19 squash Adam Hopkins 2020-07-14 10:13:30 +03:00
  • cf234fca15 squash this Adam Hopkins 2020-07-13 23:59:45 +03:00
  • 050a563e1d Add documentation on test mode Adam Hopkins 2020-07-09 14:57:42 +03:00
  • c347ff742e Add app.test_mode which is set on testing calls Adam Hopkins 2020-07-09 14:52:58 +03:00
  • db1c819fe1 Merge branch 'master' of github.com:huge-success/sanic Adam Hopkins 2020-07-09 14:24:06 +03:00
  • 9f2818ee29 Remove version section (#1893) Egor 2020-07-09 07:17:50 +03:00
  • 26aa6d23c7 Fix imports and isort to remove from Makefile deprecated options (#1891) Adam Hopkins 2020-07-07 16:13:03 +03:00
  • ec7e894eb3 Merge branch 'master' of github.com:huge-success/sanic Adam Hopkins 2020-07-07 08:46:01 +03:00
  • 71a08382d6 Adjust isort options and invocation to work on isort 5.0.0 (#1890) Ashley Sommer 2020-07-07 15:43:33 +10:00
  • 09224f8676 Merge branch 'master' of github.com:huge-success/sanic Adam Hopkins 2020-06-29 15:19:32 +03:00
  • 008b8ac394 V2.6.3 changelog (#1886) v20.6.3 Adam Hopkins 2020-06-29 15:16:06 +03:00
  • 3b037f1faa v2.6.3 changelog and version v2.6.3 Adam Hopkins 2020-06-29 14:56:56 +03:00
  • a357add14e Merge branch 'master' of github.com:huge-success/sanic Adam Hopkins 2020-06-29 14:55:52 +03:00
  • 0cfd7b528b V20.6.2 changelog (#1885) Adam Hopkins 2020-06-29 14:54:44 +03:00
  • 9ba4fe05df Merge branch 'master' of github.com:huge-success/sanic Adam Hopkins 2020-06-29 14:54:02 +03:00
  • 35786b4b74 Revert change to multiprocessing mode (#1884) Ashley Sommer 2020-06-29 21:51:30 +10:00
  • c7430d805a Revert change to multiprocessing mode (#1884) Ashley Sommer 2020-06-29 20:51:55 +10:00
  • 8a3fbb555f Merge branch 'master' of github.com:huge-success/sanic v20.6.2 Adam Hopkins 2020-06-29 08:56:20 +03:00
  • a62c84a954 Socket binding implemented properly for IPv6 and UNIX sockets. (#1641) L. Kärkkäinen 2020-06-29 08:55:32 +03:00
  • 4aba74d050 V20.6 version (#1882) Adam Hopkins 2020-06-29 00:17:24 +03:00
  • ab2cb88cf4 CHANGELOG for v 20.6 and documentation change for sanic command (#1881) Adam Hopkins 2020-06-28 21:42:12 +03:00
  • e79ec7d7e0 Version 20.6.1 Adam Hopkins 2020-06-28 17:21:48 +03:00
  • ccdb74a9a7 Merge branch 'master' of github.com:huge-success/sanic v20.6.1 Adam Hopkins 2020-06-28 17:21:12 +03:00
  • 7b96d633db Version v20.6.0 Adam Hopkins 2020-06-28 17:19:57 +03:00
  • 938c49b899 Add handler names for websockets for url_for usage (#1880) Adam Hopkins 2020-06-28 14:45:52 +03:00
  • 761eef7d96 Fix pickle error when attempting to pickle an application which contains websocket routes. (#1853) Ashley Sommer 2020-06-28 18:05:06 +10:00
  • 83511a0ba7 fix-#1851: correct step name (#1852) David Bordeynik 2020-06-28 10:52:43 +03:00
  • cf9ccdae47 Bug fix for host parameter issue with lists (#1776) Damian Jimenez 2020-06-28 01:42:18 -05:00
  • d81096fdc0 Clarified response middleware execution order in the documentation (#1846) Kiril Yershov 2020-06-28 09:29:48 +03:00
  • 6c8e20a859 Add version parameter to websocket routes (#1760) Adam Hopkins 2020-06-28 09:17:18 +03:00
  • 6239fa4f56 Deprecate body_bytes to merge into body (#1739) Liran Nuna 2020-06-27 22:59:23 -07:00
  • 1b324ae981 fix-#1856: adjust websockets version to setup.py and make nightly (py39) tests pass (#1857) David Bordeynik 2020-06-28 08:43:12 +03:00
  • bedf68a9b2 Wrap run()'s "protocol" type annotation in Optional[] (#1869) Linus Groh 2020-06-11 19:40:12 +01:00
  • 496e87e4ba Add sanic as an entry point command (#1866) Adam Hopkins 2020-06-05 17:14:18 +03:00
  • fa4f85eb32 Fixing rst format issue (#1865) Luca Fabbri 2020-06-05 02:08:14 +02:00
  • 1b1dfedc74 Add changes from version 20.3 to CHANGELOG (#1867) Adam Hopkins 2020-06-05 01:45:55 +03:00
  • 230941ff4f Fix reloader on OSX py38 and Windows (#1827) L. Kärkkäinen 2020-06-03 16:45:07 +03:00
  • 4658e0f2f3 Merge pull request #1842 from ashleysommer/fix_pickle_again Adam Hopkins 2020-06-03 15:53:17 +03:00
  • 7c3c532dae Merge branch 'master' into fix_pickle_again Ashley Sommer 2020-05-14 20:48:06 +10:00
  • 7c04c9a227 Merge pull request #1848 from ashleysommer/fix_named_response_middleware v20.3.0 Ashley Sommer 2020-05-14 20:45:29 +10:00
  • 44973125c1 Reverse named_response_middlware execution order, to match normal response middleware execution order. Fixes #1847 Adds a test to ensure fix is correct Adds an example which demonstrates correct blueprint-middlware execution order behavior. Ashley Sommer 2020-05-14 09:54:47 +10:00
  • 6aaccd1e8b Merge branch 'master' into fix_pickle_again Adam Hopkins 2020-05-13 15:46:37 +03:00
  • e7001b0074 release 20.3.0 (#1844) 7 2020-05-12 16:58:42 -07:00
  • aacbd022cf Fix static _handler pickling error. Moves the subfunction _handler out to a module-level function, and parameterizes it with functools.partial(). Fixes the case when picking a sanic app which has a registered static route handler. This is usually encountered when attempting to use multiprocessing or auto_reload on OSX or Windows. Fixes #1774 Ashley Sommer 2020-05-07 11:06:10 +10:00
  • ae1874ce34 Delete unnecessary isolated blanks and letters. (#1838) WH-2099 2020-05-01 01:07:06 +08:00
  • 8abba597a8 Do not set content-type and content-length headers in exceptions. (#1820) L. Kärkkäinen 2020-04-26 06:18:59 +03:00
  • 9987893963 Update docs for order of listeners #1805 (#1834) Prasanna Walimbe 2020-04-26 05:33:23 +05:30
  • 638322d905 docs: Fix doc build (#1833) Jacob 2020-04-25 05:13:35 +08:00
  • ae40f960ff Import ASGIDispatch from top-level httpx (#1806) wangqr 2020-04-10 15:03:51 -04:00
  • d969fdc19f [Doc] Update getting_started.rst (#1814) koug44 2020-04-09 13:07:07 -04:00
  • 710024125e Remove server config args that can be read directly from app. (#1807) L. Kärkkäinen 2020-04-09 08:10:58 +03:00
  • 9a39aff803 Replaced str.format() method in core functionality (#1819) Mykhailo Yusko 2020-04-06 22:45:25 +03:00
  • 78e912ea45 Update docs with changes done in 20.3 (#1822) L. Kärkkäinen 2020-03-31 20:57:09 +03:00
  • aa6ea5b5a0 Updated deployment docs (#1821) L. Kärkkäinen 2020-03-28 20:43:42 +02:00
  • 48800e657f Deprecation and test cleanup (#1818) L. Kärkkäinen 2020-03-28 20:43:14 +02:00
  • 120f0262f7 Fix Ctrl+C and tests on Windows. (#1808) L. Kärkkäinen 2020-03-26 06:42:46 +02:00
  • 4db075ffc1 Streaming migration for 20.3 release (#1800) L. Kärkkäinen 2020-03-24 19:11:09 +02:00
  • 60b4efad67 Update config docs to match DEFAULT_CONFIG (#1803) Kevin Guillaumond 2020-03-14 08:57:39 -07:00
  • 319388d78b Remove the old request context API deprecated in 19.9. Use request.ctx instead. (#1801) L. Kärkkäinen 2020-03-06 07:40:46 +02:00
  • ce71514d71 bump httpx dependency version to 0.11.1 (#1794) Subham Roy 2020-03-02 01:12:11 +05:30
  • 7833d70d9e Allow multiple workers on MacOS with Python 3.8. Fallback to single worker on Windows until pickling can be fixed. (#1798) L. Kärkkäinen 2020-03-01 21:41:10 +02:00
  • 16961fab9d Use f-strings instead of str.format() (#1793) Mykhailo Yusko 2020-02-25 22:01:13 +02:00
  • 861e87347a Fix #1788 incorrect url_for for routes with hosts, added tests. (#1789) L. Kärkkäinen 2020-02-21 19:10:22 +02:00
  • 91f6abaa81 Fix simple typo: viewes -> views (#1783) Tim Gates 2020-02-18 03:16:58 +11:00
  • d380b52f9a Merge pull request #1784 from gdub/changelog_correction Eli Uriegas 2020-02-15 17:09:41 -08:00
  • d656a06a19 Corrected changelog for docs move of MD to RST (#1691). Gary Wilson Jr 2020-02-11 11:45:56 -06:00
  • 258dbee3b9 Py38 tox env (#1752) Adam Hopkins 2020-02-05 21:17:55 +02:00
  • 6b9287b076 Update README re: experimental support for Windows (#1778) Sudeep Mandal 2020-02-03 11:27:56 -05:00
  • dac0514441 Code cleanup in file responses (#1769) L. Kärkkäinen 2020-01-27 08:08:34 +02:00
  • bffdb3b5c2 More robust response datatype handling (#1674) L. Kärkkäinen 2020-01-20 18:34:32 +02:00
  • e908ca8cef [Trio] Quick fixes to make Sanic usable on hypercorn -k trio myweb.app (#1767) L. Kärkkäinen 2020-01-20 18:29:06 +02:00
  • 801595e24a Add server.start_serving and server.serve_forever to AsyncioServer proxy object, to match asyncio-python3.7 example doc, fixes #1754 (#1762) Ashley Sommer 2020-01-21 01:00:48 +10:00
  • ba9b432993 No tracebacks on normal errors and prettier error pages (#1768) L. Kärkkäinen 2020-01-20 16:58:14 +02:00
  • b565072ed9 Allow route decorators to stack up again (#1764) Ashley Sommer 2020-01-11 15:50:16 +10:00