Commit Graph

  • 782e0881e5 Slots to Middleware Adam Hopkins 2022-08-07 22:38:25 +03:00
  • c72cbe4326 Begin middleware revamp Adam Hopkins 2022-08-07 22:31:26 +03:00
  • 2f6f2bfa76 Rename code of conduct Adam Hopkins 2022-08-02 13:56:53 +03:00
  • dee09d7fff style: add some type hints (#2517) Ryu Juheon 2022-08-02 14:47:59 +09:00
  • 9cf38a0a83 MERGEBACK (#2495) (#2512) Adam Hopkins 2022-07-31 15:50:46 +03:00
  • daa1f8f2d5 Bump version v22.6.1 Adam Hopkins 2022-07-31 14:16:48 +03:00
  • 05002d7ee4 Path protection with pathlib v20.12.7 20.12LTS Adam Hopkins 2022-07-31 14:09:01 +03:00
  • b4360d4a20 Path protection with pathlib Adam Hopkins 2022-07-31 13:26:11 +03:00
  • 0b750593da Version Bump v21.12.2 21.12LTS Adam Hopkins 2022-07-31 13:03:51 +03:00
  • 5b1686ceba Use path.parts instead of match (#2508) Adam Hopkins 2022-07-31 12:54:42 +03:00
  • 86baaef1ec Use pathlib for path resolution (#2506) Adam Hopkins 2022-07-31 08:49:02 +03:00
  • 2b4b78da88 Fix dotted test Adam Hopkins 2022-07-28 10:07:30 +03:00
  • ee6d8cfe11 Prevent directory traversion with static files (#2495) Néstor Pérez 2022-07-28 16:45:45 +10:00
  • 0901d3188a Use path.parts instead of match (#2508) Adam Hopkins 2022-07-31 12:54:42 +03:00
  • 0985d130e2 Use pathlib for path resolution (#2506) Adam Hopkins 2022-07-31 08:49:02 +03:00
  • 7e0b0deb11 Fix dotted test Adam Hopkins 2022-07-28 10:07:30 +03:00
  • e54ac3c6fd Prevent directory traversion with static files (#2495) Néstor Pérez 2022-07-28 16:45:45 +10:00
  • 3def3d3569 Use path.parts instead of match (#2508) Adam Hopkins 2022-07-31 12:54:42 +03:00
  • e100a14fd4 Use pathlib for path resolution (#2506) Adam Hopkins 2022-07-31 08:49:02 +03:00
  • 2fa28f1711 Fix dotted test Adam Hopkins 2022-07-28 10:07:30 +03:00
  • 9d415e4ec6 Prevent directory traversion with static files (#2495) Néstor Pérez 2022-07-28 16:45:45 +10:00
  • 312ab298fd docs: Fix a few typos (#2502) Tim Gates 2022-07-25 05:47:39 +10:00
  • 2fc21ad576 Replace Unsupported Python Version Number from the Contributing Doc (#2505) Zhiwei 2022-07-24 14:33:05 -05:00
  • 8f6c87c3d6 Fix Test Cases: test_http for Py3.9+, test_json_response_json for ujson 5.4.0+, and test_zero_downtime; Test Case Type Annotations (#2504) Zhiwei 2022-07-24 14:07:54 -05:00
  • 4429e76532 Add to changelog v22.6.0 Adam Hopkins 2022-06-30 12:52:27 +03:00
  • 162cb43c4b Run make pretty py37-catch-cancel Adam Hopkins 2022-06-30 12:28:11 +03:00
  • e4be70bae8 Add custom loads function (#2445) Michael Azimov 2022-06-29 23:39:21 +03:00
  • 13d5a44278 Release 22.6 (#2487) Adam Hopkins 2022-06-28 15:25:46 +03:00
  • aba333bfb6 Improve API docs (#2488) Adam Hopkins 2022-06-28 10:53:03 +03:00
  • b59da498cc HTTP/3 Support (#2378) Adam Hopkins 2022-06-27 11:19:26 +03:00
  • 70382f21ba Fix and improve file cache control header calculation (#2486) Zhiwei 2022-06-26 15:11:48 -05:00
  • 0e1bf89fad Add missing spaces in CLI error message (#2485) Néstor Pérez 2022-06-26 09:38:35 +02:00
  • 6c48c8b3ba Fix for running in pythonw (#2448) Aidan Timson 2022-06-19 12:48:06 +01:00
  • d1c5e8003b Fix test_cli and test_cookies (#2479) Zhiwei 2022-06-18 20:43:12 -05:00
  • ce926a34f2 Add Request contextvars (#2475) Adam Hopkins 2022-06-16 22:57:02 +03:00
  • a744041e38 File Cache Control Headers Support (#2447) Zhiwei 2022-06-16 08:24:39 -05:00
  • 2f90a85df1 feat(type): extend (#2466) Mary 2022-06-16 21:38:13 +09:00
  • a411bc06e3 Resolve typing of stacked route definitions (#2455) Adam Hopkins 2022-06-16 15:15:20 +03:00
  • 1668e1532f Move verbosity filtering to logger (#2453) Adam Hopkins 2022-06-16 12:35:49 +03:00
  • b87982769f Trigger http.lifecycle.request signal in ASGI mode (#2451) Vetési Zoltán 2022-06-16 10:55:50 +02:00
  • 65b53a5f3f style: add msg in `task.cancel` (#2416) Ryu Juheon 2022-06-16 16:55:20 +09:00
  • 49789b7841 Clean Up Black and Isort Config (#2449) Zhiwei 2022-05-26 04:48:32 -05:00
  • c249004c30 fixed manual to match current Sanic app name policy (#2461) Amitay 2022-05-26 10:16:24 +03:00
  • 698a359808 Properly catch websocket CancelledError in websocket handler in Python 3.7 Ashley Sommer 2022-05-24 05:47:05 +10:00
  • 4ee2e57ec8 Properly catch websocket CancelledError in websocket handler in Python 3.7 (#2463) Ashley Sommer 2022-05-24 05:47:05 +10:00
  • 86ae5f981c refactor: consistent exception naming (#2420) Néstor Pérez 2022-05-12 19:39:35 +02:00
  • 2bfa65e0de Current release mergeback (#2454) Adam Hopkins 2022-05-11 09:37:33 +03:00
  • 293278bb08 Resolve warning issue with error handler mismatch warning (#2452) Adam Hopkins 2022-05-11 09:36:05 +03:00
  • 8aecbdb52c Bump version v22.3.2 Adam Hopkins 2022-05-10 22:38:00 +03:00
  • 3a1a9f071d Resolve warning issue with error handler mismatch warning Adam Hopkins 2022-05-10 22:31:22 +03:00
  • 5d683c6ea4 Expose scope parameter in request object (#2432) Michael Azimov 2022-04-26 17:25:29 +03:00
  • 78b6723149 Preserve blank form values for urlencoded forms (option) (#2439) Stephen Sadowski 2022-04-24 15:01:35 -05:00
  • 3a6cc7389c feat: easier websocket interface annotation (#2438) Ryu juheon 2022-04-24 19:32:13 +09:00
  • cc97287f8e Add fall back for Windows even loop fetching (#2421) v22.3.1 Adam Hopkins 2022-04-17 05:25:41 -04:00
  • 00218aa9f2 22.3 Internal version bumps (#2419) v22.3.0 Adam Hopkins 2022-03-31 14:30:30 +03:00
  • 874718db94 Bump version and 22.3 changelog (#2418) Adam Hopkins 2022-03-30 15:09:45 +03:00
  • bb4474897f Fix "DeprecationWarning: There is no current event loop" (#2390) Javier Marcet 2022-03-30 08:40:30 +02:00
  • 0cb342aef4 Better exception for bad URL parse (#2415) Adam Hopkins 2022-03-25 00:22:12 +02:00
  • 030987480c Add config option to skip Touchup step, for debugging purposes (#2361) Ashley Sommer 2022-03-24 21:52:05 +10:00
  • f6fdc80b40 allow multidict version 6 (#2396) Robert Schütz 2022-03-23 22:38:45 +00:00
  • 361c242473 remove error_logger on websockets (#2373) Jonathan Vargas 2022-03-23 09:25:19 -05:00
  • 32962d1e1c Fixing typing for ListenerMixin.listener (#2376) André Ericson 2022-03-23 14:34:33 +01:00
  • 6e0a6871b5 Upgrade tests for sanic-routing changes (#2405) Adam Hopkins 2022-03-23 13:43:36 +02:00
  • 0030425c8c Conditionally inject CLI arguments into factory (#2402) Adam Hopkins 2022-03-23 12:00:41 +02:00
  • c9dbc8ed26 Remove loop as required listener arg (#2414) Adam Hopkins 2022-03-23 11:02:39 +02:00
  • 44b108b564 Changes to CLI (#2401) Callum 2022-03-23 10:30:41 +02:00
  • 2a8e91052f Add two new events on the reloader process (#2413) Adam Hopkins 2022-03-22 23:29:39 +02:00
  • 0c9df02e66 Add a docstring to Request.respond() (#2409) Bluenix 2022-03-14 12:10:49 +01:00
  • a61c5ff55b Get better output on test failures flaky-test-fix Adam Hopkins 2022-02-27 13:29:16 +02:00
  • 7523e87937 remove overlapping slots from app.Sanic, fix broken slots inherit of HTTPResponse (#2387) Arie Bovenberg 2022-02-24 16:45:23 +01:00
  • 3b85b3bbad Potential server crash if running Python 3.10 w/ Sanic 20.12 (#2400) v20.12.6 Adam Hopkins 2022-02-16 18:03:05 +02:00
  • d4fb44e986 Document middleware on_request and on_response (#2398) Bluenix 2022-02-13 20:08:08 +01:00
  • 68b654d981 fix(tasks): newly assigned `None` in registry (#2381) Ryu juheon 2022-02-08 15:33:09 +09:00
  • 0a84b6cfdb Merge branch 'main' into fix-2388-strtobool fix-2388-strtobool Adam Hopkins 2022-02-02 20:44:19 +02:00
  • 92bfeaefd5 tests: fix for typing httptools error import - ignore feat-2394-url_parse Stephen Sadowski 2022-02-02 11:37:50 -06:00
  • 5a650f5758 fix: unused f-string Stephen Sadowski 2022-02-02 11:32:31 -06:00
  • 850b1f432c Merge branch 'main' into feat-2394-url_parse Stephen Sadowski 2022-02-02 08:30:09 -06:00
  • 88bc6d8966 Upgrade black and isort changes (#2397) Adam Hopkins 2022-02-02 10:41:55 +02:00
  • df8480156d test: update malformed url test Stephen Sadowski 2022-02-01 20:14:57 -06:00
  • d0cfb69f43 lint: fixed linting (again) across all files Stephen Sadowski 2022-02-01 15:15:55 -06:00
  • 19eee8bfb2 fix: replace strtobool inside setup.py; including from sanic.utils is a no-go Stephen Sadowski 2022-02-01 15:07:12 -06:00
  • 625cffb1b9 fix: linting errors Stephen Sadowski 2022-02-01 14:33:34 -06:00
  • c5ac28cbcd test: add strtobool validation test for deprecation replacement Stephen Sadowski 2022-02-01 14:15:35 -06:00
  • e57bea28f7 fix: update sanic.utils.str_to_bool to match deprecated strtobool, changed setup.py to use sanic.utils.str_to_bool Stephen Sadowski 2022-02-01 14:11:52 -06:00
  • 28665e31ce fix: added message when ValueError is raised for strtobool replacement Stephen Sadowski 2022-01-24 06:52:36 -06:00
  • 9f41936861 fix: removed distutils dependency in setup.py per PEP 632 Stephen Sadowski 2022-01-23 19:57:30 -06:00
  • 7835492b09 fix: E501 line too long. Stephen Sadowski 2022-01-23 18:48:49 -06:00
  • ca3bea3425 fix: replace distutils.strtobool() with locally implemented version per PEP 632 Stephen Sadowski 2022-01-23 09:43:14 -06:00
  • 88ca56dda3 test: stubbed malformed url test Stephen Sadowski 2022-02-01 15:45:09 -06:00
  • d2ab46d70b feat: better error handling for malformed urls Stephen Sadowski 2022-02-01 15:44:33 -06:00
  • 2750f0f82a lint: fixed linting (again) across all files Stephen Sadowski 2022-02-01 15:15:55 -06:00
  • 0f5de2ef2c fix: replace strtobool inside setup.py; including from sanic.utils is a no-go Stephen Sadowski 2022-02-01 15:07:12 -06:00
  • aef131af90 fix: linting errors Stephen Sadowski 2022-02-01 14:33:34 -06:00
  • 6e40292974 test: add strtobool validation test for deprecation replacement Stephen Sadowski 2022-02-01 14:15:35 -06:00
  • db92c1fedd fix: update sanic.utils.str_to_bool to match deprecated strtobool, changed setup.py to use sanic.utils.str_to_bool Stephen Sadowski 2022-02-01 14:11:52 -06:00
  • bbffdcbd68 fix: added message when ValueError is raised for strtobool replacement Stephen Sadowski 2022-01-24 06:52:36 -06:00
  • 768d0e09b5 fix: removed distutils dependency in setup.py per PEP 632 Stephen Sadowski 2022-01-23 19:57:30 -06:00
  • 9d04f24298 fix: E501 line too long. Stephen Sadowski 2022-01-23 18:48:49 -06:00
  • 6f18c82879 fix: replace distutils.strtobool() with locally implemented version per PEP 632 Stephen Sadowski 2022-01-23 09:43:14 -06:00
  • ac388d644b Downgrade warnings to backwater debug messages (#2382) Adam Hopkins 2022-01-19 14:26:45 +02:00