All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Added
dependabot
config file. - Added test workflow.
- Added
Connection
async iterator that "yields"Message
objects. #10
- Changed tests to not depends on Docker.
- Fixed typing all around the codebase (e.g. coro funcs return annotations).
- Braking change: standardized
WebSocketManager
send methods signatures.
Such methods now accpets only aMessage
object. This has keep thesend_msg
method clean and simple.
Involves the following methods:WebSocketManager._send
WebSocketManager.send
WebSocketManager._broadcast
WebSocketManager.broadcast
WebSocketManager._send_by_conn_id
WebSocketManager._send_multi_by_conn_id
WebSocketManager.send_by_conn_id
- Updated Python to
3.11
and tested with latest dependencies versions.
- Breaking change: removed
WebSocketManager.send_multi_by_conn_id
method.
- First release of the API.