Releases: GJCoke/fastapi-socketio
Releases · GJCoke/fastapi-socketio
0.6.0
Changelog v0.6.0
Added:
- Cross-instance call() support via Redis List + BLPOP
- AsyncRedisCallManager — drop-in replacement for AsyncRedisManager with cross-instance call routing
- Local short-circuit optimization when target client is on the same instance
- CallError exception for cross-instance call failures
- Optional dependency group: pip install fastapi-sio-di[redis]
0.5.3
0.5.0
Docs UI
- Redesign to Swagger UI 3.x style (white topbar, system fonts, Source Code Pro)
- Fix accordion expand/collapse jank (CSS Grid replaces max-height)
- Add persistent Authorize button for manual auth JSON input
- Fix extra bottom border line on collapsed operation cards
- Replace Unicode arrows with SVG chevron icons
- Auto-select / namespace on page load
- Remove tag group borders, use bottom separator only
README
- Document setup_docs(), instrument(), response_model, Annotated style, dependency_overrides, Environ properties, connect auth, SocketIOValidationError
0.3.8
0.3.5
0.3.4
Fixed
- Refactored unknown parameter handling to improve flexibility in the dependency injection system.
- Updated solve_dependant to support resolving multiple unknown parameters, enabling more efficient argument resolution.
Changed
- Replaced the legacy data_param logic with a unified unknown_params list.
- Simplified and improved parameter parsing and injection flow for better maintainability.
0.3.3
0.3.1
Fixed
- Fixed a TypeError in Socket.IO Admin UI by wrapping InstrumentedAsyncServer to improve compatibility.
- Added a fallback mechanism in solve_dependant to support unannotated parameters.
- Corrected multiple methods in AsyncServer where coroutines were not properly awaited, preventing runtime warnings and async issues.
0.3.0
Release v0.3.0
Changes
- Introduced an Environ wrapper class with convenient properties such as .headers, .client, and .path
- Preserved full compatibility with the original environment dictionary ([] and .get() still supported)
- Updated dependency injection to automatically wrap raw environment dictionaries into Environ
- Integrated Environ wrapping into async event handlers
- Added type hints and documentation for all public server methods (emit, send, call, on)
- Updated examples to use the object-based Environ API for cleaner event handlers
0.2.1
Breaking Changes
- Removed support for the synchronous Socket. IO Server
- The synchronous socketio. Server is no longer supported
- The library now relies exclusively on socketio. AsyncServer
Changes
- Simplified the internal architecture by unifying on an ASGI-based async model