1.9.1
- Add Python 3.14 support to setup config and CI (f2bc97a)
- Fix
close()dropping close frame when reason is str (2f22e2e) - Fix
close()type annotation and docstring for timeout and reason (d69f730) - Make
abort()robust for sockets that cannot shutdown, same logic asshutdown()(1904e3d) - Raise
WebSocketExceptionfor redirects missing aLocationheader (97e34db) - Raise when WebSocket connect redirect limit is exhausted (be0d38d)
- Raise
WebSocketExceptionfor redirects to invalid targets (62ef6af) - Fix unformatted ABNF validation error messages (0145b7b)
- Fix
validate_utf8()crash on str input (4a8e6ed) - Store
status_messageonWebSocketBadStatusException(368aeda) - Raise
WebSocketExceptionforcheck_hostnamewithCERT_NONE(0232aca) - Fix
handleDisconnecttype annotation: None default requires Optional (20f3712) - Remove unreachable
not framecheck inrecv_data_frame()(b684242) - Set
proxy_timeoutonproxy_infowithout a proxy host (68f0aed) - Fix
_wsdump.pybytes annotations and remove dead code (5ecc6e4) - Export
STATUS_SERVICE_RESTARTandSTATUS_TRY_AGAIN_LATERclose codes (22279c4) - Fix
extract_err_message()to always return str (e2091bd) - Raise
WebSocketProxyExceptionfor SOCKS proxy without a port, correct proxy port docs (3c62bdf) - Raise
WebSocketExceptionfor malformed HTTP responses (04f4d94) - Fix docs examples using dead or unreachable endpoints (2fc92c0)
- Add pyproject.toml, drop deprecated setup.py metadata (8b34f50)
- Apply linting (3b4ffab)