Skip to content

Commit 8dbd185

Browse files
committed
version 0.10.2
1 parent 77a712a commit 8dbd185

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
11
# Release history
22

3+
## trio-websocket 0.10.2 (2023-03-19)
4+
### Fixed
5+
- fixed a race condition where, just after a local-initiated close, the
6+
`closed` attribute would be `None`, and `send_message()` would be silently
7+
ignored (wsproto < 0.2.0) or leak a `LocalProtocolError` (wsproto >= 0.2.0)
8+
rather than raise `ConnectionClosed`
9+
([#158](https://github.com/HyperionGray/trio-websocket/issues/158))
10+
311
## trio-websocket 0.10.1 (2023-03-18)
412
### Fixed
513
- `send_message()` is changed to raise `ConnectionClosed` when a close
614
handshake is in progress. Previously, it would silently ignore
715
the call, which was an oversight, given that `ConnectionClosed` is
816
defined to cover connections "closed or in the process of closing".
9-
Noteably, this fixes `send_message()` leaking a wsproto `LocalProtocolError`
17+
Notably, this fixes `send_message()` leaking a wsproto `LocalProtocolError`
1018
with wsproto >= 1.2.0.
1119
([#175](https://github.com/HyperionGray/trio-websocket/issues/175))
1220

trio_websocket/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.11.0-dev'
1+
__version__ = '0.10.2-dev'

0 commit comments

Comments
 (0)