Skip to content

Release v0.1.0

Choose a tag to compare

@bandirom bandirom released this 02 Aug 22:44
· 7 commits to main since this release
9f5c8d0

Added

  • SocketManager: a core class for integrating Socket.IO with FastAPI.
  • BaseSocketHandler: an abstract base class for socket event handlers with register_events() method.
  • register_handler(): a decorator for registering socket handlers with a specific namespace.
  • handler_registry: registry to keep track of all socket handlers.
  • Redis support via AsyncRedisManager using the redis_url parameter.
  • mount_to_app() method for attaching the Socket.IO server to a FastAPI app.
  • Full unit test and integration test coverage with pytest.
  • GitHub Actions CI with jobs for:
    • ruff (linter and formatter)
    • black (formatter)
    • pytest (tests for Python 3.9–3.13)