Releases
v0.2.0
Compare
Sorry, something went wrong.
No results found
Changed
Breaking: Dropped support for Python 3.9 and 3.10.
Now only Python 3.11–3.13 are supported.
BaseSocketHandler now inherits from socketio.AsyncNamespace instead of a custom base class.
Simplifies integration with the official Socket.IO API.
Native support for standard events (on_connect, on_disconnect, etc.) without extra boilerplate.
Renamed : register_events() → register_handlers() for consistency with FastAPI naming conventions.
Updated internal logic in SocketManager.register_handlers() for compatibility with the new SocketHandler type.
Added
Graceful shutdown support: await self._sio.shutdown() is now called during SocketManager cleanup.
Fixed
Improved compatibility with asynchronous event handlers.
Migration Notes
If your handlers had methods named after events (on_*), they will now be called automatically without explicit registration.
Update your code to call register_handlers() instead of register_events().
You can’t perform that action at this time.