|
1 |
| -0.15.0 2019-08-10 |
2 |
| ------------------ |
| 1 | +Release History |
| 2 | +=============== |
3 | 3 |
|
4 |
| -*This contains all the Bugfixes in the 0.14 branch.* |
| 4 | +1.0.0+dev |
| 5 | +--------- |
5 | 6 |
|
6 |
| -* Drop support for Python 2. Please pin to ~= 0.14.0 if you support |
| 7 | +- Prevent invalid window bit sizes. |
| 8 | +- Added support for Python 3.8. |
| 9 | + |
| 10 | + |
| 11 | +0.15.0 (2019-08-10) |
| 12 | +------------------- |
| 13 | + |
| 14 | +**This contains all the Bugfixes in the 0.14 branch.** |
| 15 | + |
| 16 | +- Drop support for Python 2. Please pin to ~= 0.14.0 if you support |
7 | 17 | Python 2.
|
8 |
| -* Drop support for Python 3.5, meaning the minimum supported version |
| 18 | +- Drop support for Python 3.5, meaning the minimum supported version |
9 | 19 | is Python 3.6.1.
|
10 |
| -* Switch events to be dataclass based, otherwise the API is |
| 20 | +- Switch events to be dataclass based, otherwise the API is |
11 | 21 | consistent.
|
12 |
| -* Add type hints throughout and support PEP 561 via a py.typed |
| 22 | +- Add type hints throughout and support PEP 561 via a py.typed |
13 | 23 | file. This should allow projects that use wsproto to type check their
|
14 | 24 | usage of wsproto.
|
15 |
| -* Bugfix prevent the test folder being installed as a package called |
| 25 | +- Bugfix prevent the test folder being installed as a package called |
16 | 26 | test.
|
17 |
| -* Explicitly require Host header in handshake. |
18 |
| -* Drop wsaccel support and utilise the aiohttp/@willmcgugan masking |
19 |
| - method. wsaccel is unmaintained and this new maksing method is |
| 27 | +- Explicitly require Host header in handshake. |
| 28 | +- Drop wsaccel support and utilise the aiohttp/@willmcgugan masking |
| 29 | + method. wsaccel is unmaintained and this new masking method is |
20 | 30 | almost as quick.
|
21 | 31 |
|
22 |
| -0.14.1 2019-05-30 |
23 |
| ------------------ |
| 32 | +0.14.1 (2019-05-30) |
| 33 | +------------------- |
24 | 34 |
|
25 |
| -* Loosen the h11 requirement to >= 0.8.1 as wsproto is compatible with |
| 35 | +- Loosen the h11 requirement to >= 0.8.1 as wsproto is compatible with |
26 | 36 | 0.9 onwards.
|
27 |
| -* Stop installing a "test" package on installation. |
| 37 | +- Stop installing a "test" package on installation. |
28 | 38 |
|
29 |
| -0.14.0 2019-04-06 |
30 |
| ------------------ |
| 39 | +0.14.0 (2019-04-06) |
| 40 | +------------------- |
31 | 41 |
|
32 |
| -* Bugfix clarify subprotocol type as str not bytes. |
33 |
| -* Support HTTP/2 WebSockets. This requires a HTTP/2 parser (not |
| 42 | +- Bugfix clarify subprotocol type as str not bytes. |
| 43 | +- Support HTTP/2 WebSockets. This requires a HTTP/2 parser (not |
34 | 44 | included), with hyper-h2 recommended. It renames
|
35 | 45 | ``handshake_extensions`` and hence is a breaking change.
|
36 |
| -* Bugfix badly formatted type hints. |
37 |
| -* Bugfix minor issues identified by type checking. |
| 46 | +- Bugfix badly formatted type hints. |
| 47 | +- Bugfix minor issues identified by type checking. |
38 | 48 |
|
39 |
| -0.13.0 2019-01-24 |
40 |
| ------------------ |
| 49 | +0.13.0 (2019-01-24) |
| 50 | +------------------- |
41 | 51 |
|
42 |
| -* Introduce a send method on the connection which accepts the new |
| 52 | +- Introduce a send method on the connection which accepts the new |
43 | 53 | events. This requires the following usage changes, ::
|
44 | 54 |
|
45 | 55 | connection.accept(subprotocol=subprotocol) -> connection.send(AcceptConnection(subprotocol=subprotocol))
|
|
48 | 58 | connection.ping() -> connection.send(Ping())
|
49 | 59 | connection.pong() -> connection.send(Pong())
|
50 | 60 |
|
51 |
| -* The Event structure is altered to allow for events to be sent and |
| 61 | +- The Event structure is altered to allow for events to be sent and |
52 | 62 | received, this requires the following name changes in existing code, ::
|
53 | 63 |
|
54 | 64 | ConnectionRequested -> Request
|
|
60 | 70 | PingReceived -> Ping
|
61 | 71 | PongReceived -> Pong
|
62 | 72 |
|
63 |
| -* Introduce RejectConnection and RejectData events to be used by a |
| 73 | +- Introduce RejectConnection and RejectData events to be used by a |
64 | 74 | server connection to reject rather than accept a connection or by a
|
65 | 75 | client connection to emit the rejection response. The RejectData
|
66 | 76 | event represents the rejection response body, if present.
|
67 |
| -* Add an extra_headers field to the AcceptConnection event in order to |
| 77 | +- Add an extra_headers field to the AcceptConnection event in order to |
68 | 78 | customise the acceptance response in server mode or to emit this
|
69 | 79 | information in client mode.
|
70 |
| -* Switch from Fail events being returned to RemoteProtocolError`s being |
71 |
| - raised. |
72 |
| -* Switch from ValueError`s to LocalProtocolError`s being raised when |
| 80 | +- Switch from Fail events being returned to raising ``RemoteProtocolError``. |
| 81 | +- Switch from ValueError`s to LocalProtocolError`s being raised when |
73 | 82 | an action is taken that is incompatible with the connection state or
|
74 | 83 | websocket standard.
|
75 |
| -* Enforce version checking in SERVER mode, only 13 is supported. |
76 |
| -* Add an event_hint to RemoteProtocolErrors to hint at how to respond |
| 84 | +- Enforce version checking in SERVER mode, only 13 is supported. |
| 85 | +- Add an event_hint to RemoteProtocolErrors to hint at how to respond |
77 | 86 | to issues.
|
78 |
| -* Switch from a ``bytes_to_send`` method to the ``send`` method |
| 87 | +- Switch from a ``bytes_to_send`` method to the ``send`` method |
79 | 88 | returning the bytes to send directly. Responses to Ping and Close
|
80 | 89 | messages must now be sent (via ``send``), with the ``Ping`` and
|
81 | 90 | ``CloseConnection`` events gaining a ``response`` method. This
|
82 | 91 | allows ::
|
83 | 92 |
|
84 | 93 | if isinstance(event, Ping):
|
85 | 94 | bytes_to_send = connection.send(event.response())
|
86 |
| -* Separate the handshake from the active connection handling. This |
| 95 | +- Separate the handshake from the active connection handling. This |
87 | 96 | allows the handshake and connection to be seperately used. By
|
88 | 97 | default though WSConnection does both.
|
89 |
| -* ``receive_bytes`` is renamed to ``receive_data`` and |
| 98 | +- ``receive_bytes`` is renamed to ``receive_data`` and |
90 | 99 | ``WSConnection`` should be imported from ``wsproto`` rather than
|
91 | 100 | ``wsproto.connection``.
|
92 | 101 |
|
93 |
| -0.12.0 2018-09-23 |
94 |
| ------------------ |
| 102 | +0.12.0 (2018-09-23) |
| 103 | +------------------- |
95 | 104 |
|
96 |
| -* Support h11 ~0.8.1. |
97 |
| -* Support Python 3.7. |
98 |
| -* Make the close-handshake more explicit, by sending a close frame on |
| 105 | +- Support h11 ~0.8.1. |
| 106 | +- Support Python 3.7. |
| 107 | +- Make the close-handshake more explicit, by sending a close frame on |
99 | 108 | reciept of a close frame.
|
100 |
| -* Bugfix fix deflate after a non-compressable message. |
101 |
| -* Bugfix connection header acceptance, by accepting Connection header |
| 109 | +- Bugfix fix deflate after a non-compressable message. |
| 110 | +- Bugfix connection header acceptance, by accepting Connection header |
102 | 111 | values that are comma separated lists.
|
103 | 112 |
|
104 |
| -0.11.0 2017-12-31 |
105 |
| ------------------ |
| 113 | +0.11.0 (2017-12-31) |
| 114 | +------------------- |
| 115 | + |
| 116 | +- Separate extension handling into its own method. |
| 117 | +- Add events for PING and PONG frames. |
| 118 | +- Stop supporting Python 3.4. |
| 119 | +- Large increase in tests and test coverage. |
| 120 | +- Bugfix extension accept for empty strings. |
| 121 | +- Bugfix raise if default arguments are invalid. |
106 | 122 |
|
107 |
| -* Separate extension handling into its own method. |
108 |
| -* Add events for PING and PONG frames. |
109 |
| -* Stop supporting Python 3.4. |
110 |
| -* Large increase in tests and test coverage. |
111 |
| -* Bugfix extension accept for empty strings. |
112 |
| -* Bugfix raise if default arguments are invalid. |
| 123 | +0.10.0 (2017-05-03) |
| 124 | +------------------- |
113 | 125 |
|
114 |
| -0.10.0 2017-05-03 |
115 |
| ------------------ |
| 126 | +- General improvements. |
116 | 127 |
|
117 |
| -0.9.1 2016-10-27 |
118 |
| ----------------- |
| 128 | +0.9.1 (2016-10-27) |
| 129 | +------------------ |
119 | 130 |
|
120 |
| -(Unreleased on PyPI) |
| 131 | +- (unreleased on PyPI) |
121 | 132 |
|
122 |
| -0.9.0 2016-08-24 |
123 |
| ----------------- |
| 133 | +0.9.0 (2016-08-24) |
| 134 | +------------------ |
124 | 135 |
|
125 |
| -(First release on PyPI) |
| 136 | +- First release on PyPI. |
0 commit comments