Skip to content

v0.3.0

Choose a tag to compare

@floydous floydous released this 18 Aug 09:21
· 99 commits to main since this release

[0.3.0] - 2025-8-18

Added

  • Improved compatibility: Other WebSocket modules from different languages can now interact with the Webshocket server. Check the docs for more information.
  • Added a requires keyword argument to webshocket.rpc_method for custom access control.
  • register_rpc_method added to WebSocketServer for manual addition to RPC Function
  • Disconnected client will automatically unsubscribe from all channels.

Fixed

  • Fixed a bug where an RPC function would not respond when it returned a falsy type as its return object.
  • When an RPC method returns no value, an RPC response is sent with None as its result.

Changed

  • send_rpc function now returns the response of the RPC calls.
  • The example code in the folder example/ was refactored to demonstrate Webshocket's full potential
  • ClientConnection.publish() can now accept an Iterable of channel names