Skip to content

Releases: GJCoke/fastapi-socketio

0.6.0

07 May 03:42

Choose a tag to compare

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

20 Apr 13:17

Choose a tag to compare

Features & Improvements

  1. Added description field to the documentation page
  2. Updated UI styling of the page

0.5.0

20 Apr 10:03

Choose a tag to compare

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

12 Jan 09:39

Choose a tag to compare

Fixed

  • refine admin_disconnect signature

0.3.5

08 Jan 06:54

Choose a tag to compare

Fixed

  • Admin server stats
    • Rewrote server stats logic to ensure single coroutine execution
    • Fixed issues caused by multiple concurrent coroutine runs
    • Improved stability and consistency of admin monitoring data

0.3.4

07 Jan 11:51

Choose a tag to compare

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

07 Jan 11:29

Choose a tag to compare

Fixed

  • add async admin_disconnect method

0.3.1

07 Jan 03:13

Choose a tag to compare

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

06 Jan 06:26

Choose a tag to compare

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

06 Jan 02:58

Choose a tag to compare

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