Releases: frankie567/httpx-ws
Releases · frankie567/httpx-ws
v0.8.2
v0.8.1
Bump version 0.8.0 → 0.8.1
Bug fixes and improvements
- Add Python 3.14 support
- ASGI transport: fix cancel scope corruption and allow multiple clients on the same transport (#116). Thanks @davidbrochart 🎉
- ASGI transport: avoid hanging indefinitely if the server never accepts the connection. Fix #92.
v0.8.0
Bump version 0.7.2 → 0.8.0
Breaking changes
- Drop Python 3.9 support
Bug fixes and improvements
- New class-based API to open clients. [Documentation] Thanks @MtkN1 🎉
- Support WebSocket Denial Response in ASGI transport helper. See #84.
- Fix websocket disconnection not properly handled in ASGI transport helper. See #97.
v0.7.2
v0.7.1
Bump version 0.7.0 → 0.7.1
Bug fixes and improvements
- Fix
ASGIWebSocketAsyncNetworkStreamimplementation to avoid async tasks issues. Thanks @graingert 🎉
v0.7.0
Bump version 0.6.2 → 0.7.0
New features
- Allow to pass a custom
session_classonconnect_ws/aconnect_wsfunctions. Thanks @GreyElaina 🎉
Breaking changes
- Drop Python 3.8 support.
Bug fixes and improvements
- Fix #29: prevent error when several tasks try to write simultaneously on the same websocket stream. Thanks @GreyElaina 🎉
- Fix #90: don't use a blocking portal to run the ASGIWebSocketTransport. Thanks @GreyElaina 🎉
v0.6.2
Bump version 0.6.1 → 0.6.2
Bug fixes and improvements
- Improve efficiency of
WebSocketSessionby reusing a single thread pool when waiting for messages. Thank you @davidbrochart 🎉
v0.6.1
Bump version 0.6.0 → 0.6.1
Bug fixes
- Fix (#73) anyio misusages. Thanks @agronholm 🎉
- Fix (#74) unclosed anyio streams. Thanks @agronholm 🎉
- Fix (#76) memory leak with non-async WebSocketSession. Thanks @ro-oliveira95 🎉
v0.6.0
Bump version 0.5.2 → 0.6.0
Breaking changes
AsyncWebSocketSessionandWebSocketSessionno longer accept thesubprotocolparameter. It's automatically set from theresponseheaders (see below).
Note
If you only use the connect_ws and aconnect_ws functions, you don't need to change anything.
Improvements
AsyncWebSocketSessionandWebSocketSessionnow accepts the original HTTPX handshake response in parameter. Thanks @WSH032 🎉
v0.5.2
Bump version 0.5.1 → 0.5.2
Bug fixes
- Set
anyiodependency lower bound version to>4