Skip to content

Releases: sanic-org/sanic

Version 25.12.1

31 May 19:42
ef9240c

Choose a tag to compare

Version 24.12.1

31 May 19:39
47349d6

Choose a tag to compare

What's Changed

Full Changelog: v24.6.0...v24.12.1

Version 25.12.0

31 Dec 19:06
785d77f

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v25.3.0...v25.12.0

Version 25.3

31 Mar 21:20
a64d7fe

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v24.12.0...v25.3.0

Version 24.12

31 Dec 23:06
2beeeee

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v24.6.0...v24.12.0

Version 24.6.0

30 Jun 12:16
a1f5118

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v23.12.0...v24.6.0

Version 23.12.2

30 Jun 12:14

Choose a tag to compare

What's Changed

Full Changelog: v23.12.1...v23.12.2

Version 23.12.1

09 Jan 17:47
cf71fc7

Choose a tag to compare

What's Changed

Full Changelog: v23.12.0...v23.12.1

Version 23.12.0

31 Dec 09:38
f06d75f

Choose a tag to compare

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 Websockets Request 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

New Contributors

Full Changelog: v23.6.0...v23.12.0

Version 23.6.0

25 Jul 12:58
205795d

Choose a tag to compare

Version 23.6.0 🔶

Features

  • #2670 Increase KEEP_ALIVE_TIMEOUT default to 120 seconds
  • #2716 Adding allow route overwrite option in blueprint
  • #2724 and #2792 Add a new exception signal for ALL exceptions raised anywhere in application
  • #2727 Add name prefixing to BP groups
  • #2754 Update request type on middleware types
  • #2770 Better exception message on startup time application induced import error
  • #2776 Set multiprocessing start method early
  • #2785 Add custom typing to config and ctx objects
  • #2790 Add request.client_ip

Bugfixes

  • #2728 Fix traversals for intended results
  • #2729 Handle case when headers argument of ResponseStream constructor is None
  • #2737 Fix type annotation for JSONREsponse default content type
  • #2740 Use Sanic's serializer for JSON responses in the Inspector
  • #2760 Support for Request.get_current in ASGI mode
  • #2773 Alow Blueprint routes to explicitly define error_format
  • #2774 Resolve headers on different renderers
  • #2782 Resolve pypy compatibility issues

Deprecations and Removals

  • #2777 Remove Python 3.7 support

Developer infrastructure

  • #2766 Unpin setuptools version
  • #2779 Run keep alive tests in loop to get available port

Improved Documentation

  • #2741 Better documentation examples about running Sanic
    From that list, the items to highlight in the release notes:

What's Changed

New Contributors

Full Changelog: v23.3.0...v23.6.0