Version 23.12.0
Version 23.12.0
Current version
Features
- #2775 Start and restart arbitrary processes
- #2811 Cleaner process management in shutdown
- #2812 Suppress task cancel traceback on open websocket
- #2822 Listener and signal prioritization
- #2831 Reduce memory consumption
- #2837 Accept bare cookies
- #2841 Add
websocket.handler.<before/after/exception>
signals - #2805 Add changed files to reload trigger listeners
- #2813 Allow for simple signals
- #2827 Improve functionality and consistency of
Sanic.event()
- #2851 Allow range requests for a single byte
- #2854 Better
Request.scheme
for websocket requests - #2858 Convert Sanic
Request
to a WebsocketsRequest
for handshake - #2859 Add a REPL to the
sanic
CLI - #2870 Add Python 3.12 support
- #2875 Better exception on multiprocessing context conflicts
Bugfixes
- #2803 Fix MOTD display for extra data
Deprecations and Removals
Developer infrastructure
- #2796 Refactor unit test cases
- #2801 Fix
test_fast
when there is only one CPU - #2807 Add constraint for autodocsum (lint issue in old package version)
- #2808 Refactor GitHub Actions
- #2814 Run CI pipeline on git push
- #2846 Drop old performance tests/benchmarks
- #2848 Makefile cleanup
- #2865
#2869
#2872
#2879
Add ruff to toolchain - #2866 Fix the alt svc test to run locally with explicit buffer nbytes
- #2877 Use Python's trusted publisher in deployments
- #2882 Introduce dynamic port fixture in targeted locations in the test suite
Improved Documentation
- #2781
#2821
#2861
#2863
Conversion of User Guide to the SHH (Sanic, html5tagger, HTMX) stack - #2810 Update README
- #2855 Edit Discord badge
- #2864 Adjust documentation for using state properties within http/https redirection document
What's Changed
- Add constraint for autodocsumm by @prryplatypus in #2807
- Update README by @prryplatypus in #2810
- Refactor GitHub Actions by @prryplatypus in #2808
- Suppress task cancel traceback by @ahopkins in #2812
- Run tests on push as well by @prryplatypus in #2814
- Conversion of User Guide to the SHH stack by @ahopkins in #2781
- Fix test_fast when there's only one CPU by @tjni in #2801
- Refactoring unit test cases by @freddiewanah in #2796
- Accept bare cookies by @Tronic in #2837
- Allow range requests for a single byte by @Tronic in #2851
- Edit Discord badge. by @MichaelHinrichs in #2855
- Makefile cleanup by @ChihweiLHBird in #2848
- Drop old performance tests/benchmarks by @sjsadowski in #2846
- Add websocket.handler.before/after/exception signals by @Tronic in #2841
- Reducing memory consumption by @gluhar2006 in #2831
- Improvements to documentation by @ahopkins in #2821
- Add missing requirement by @ahopkins in #2861
- Fix MOTD for extra data by @ahopkins in #2803
- Style changes for mobile by @ahopkins in #2863
- Add ruff to toolchain by @ahopkins in #2865
- Allow for simple signals by @ahopkins in #2813
- issue:2832 Adjust documentation for using state properties within http -> https redirects doc. by @iAndriy in #2864
- Fix the alt svc test to run locally with explicit buffer nbytes by @ahopkins in #2866
- Add changed files to reload trigger listener by @ahopkins in #2805
- Introduce ruff execution on the examples and scripts folder #2867 by @iAndriy in #2869
- Cleaner process management by @ahopkins in #2811
- Improve functionality and consistency of Sanic.event() by @talljosh in #2827
- Make request.scheme return ws/wss for WS even when http/https in SERVER_NAME or proxy headers by @Tronic in #2854
- Add support for listener and signal prioritization by @ahopkins in #2822
- Better exception on multiprocessing context conflicts by @ahopkins in #2875
- Convert Sanic
Request
to WebSocketRequest
inwebsocket_handshake
by @ChihweiLHBird in #2858 - Introduce ruff execution on the tests folder #2871 by @iAndriy in #2872
- Add a REPL to the CLI by @ahopkins in #2859
- Use trusted publisher by @prryplatypus in #2877
- Support for Python 3.12 #2836 by @iAndriy in #2870
- Introduce ruff execution on the guides folder #2876 by @iAndriy in #2879
- Introduce dynamic port fixture for test_app and helper function for tests which require port within a loop. by @iAndriy in #2882
- Start and restart arbitrary processes by @ahopkins in #2775
- Version 23.12 Release by @ahopkins in #2885
New Contributors
- @tjni made their first contribution in #2801
- @freddiewanah made their first contribution in #2796
- @MichaelHinrichs made their first contribution in #2855
- @iAndriy made their first contribution in #2864
- @talljosh made their first contribution in #2827
Full Changelog: v23.6.0...v23.12.0