v1.0.2
v1.0.2 (2026-05-12)
This release is published under the Apache-2.0 License.
Bug Fixes
- fix: trigger websocket reconnect on listener error paths
The listener exited without firing _reconnect() when receive() raised ClientError (the heartbeat timeout path), when a WSMsgType.ERROR arrived, or when an unexpected exception bubbled up in the loop body. WSMsgType.CLOSE and CLOSING were also not handled explicitly. Each path now sets have_connection=False and breaks so _reconnect() fires.
- refactor: use module-level frozenset for ws close-type membership check
Detailed Changes: v1.0.1...v1.0.2