File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Release history
2
2
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
+
3
11
## trio-websocket 0.10.1 (2023-03-18)
4
12
### Fixed
5
13
- ` send_message() ` is changed to raise ` ConnectionClosed ` when a close
6
14
handshake is in progress. Previously, it would silently ignore
7
15
the call, which was an oversight, given that ` ConnectionClosed ` is
8
16
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 `
10
18
with wsproto >= 1.2.0.
11
19
([ #175 ] ( https://github.com/HyperionGray/trio-websocket/issues/175 ) )
12
20
Original file line number Diff line number Diff line change 1
- __version__ = '0.11.0 -dev'
1
+ __version__ = '0.10.2 -dev'
You can’t perform that action at this time.
0 commit comments