Debian Codegraph @

third_party/rust/h2/CHANGELOG.md

raw
1 # 0.3.26 (April 3, 2024)
2
3 * Limit number of CONTINUATION frames for misbehaving connections.
4
5 # 0.3.25 (March 15, 2024)
6
7 * Improve performance decoding many headers.
8
9 # 0.3.24 (January 17, 2024)
10
11 * Limit error resets for misbehaving connections.
12
13 # 0.3.23 (January 10, 2024)
14
15 * Backport fix from 0.4.1 for stream capacity assignment.
16
17 # 0.3.22 (November 15, 2023)
18
19 * Add `header_table_size(usize)` option to client and server builders.
20 * Improve throughput when vectored IO is not available.
21 * Update indexmap to 2.
22
23 # 0.3.21 (August 21, 2023)
24
25 * Fix opening of new streams over peer's max concurrent limit.
26 * Fix `RecvStream` to return data even if it has received a `CANCEL` stream error.
27 * Update MSRV to 1.63.
28
29 # 0.3.20 (June 26, 2023)
30
31 * Fix panic if a server received a request with a `:status` pseudo header in the 1xx range.
32 * Fix panic if a reset stream had pending push promises that were more than allowed.
33 * Fix potential flow control overflow by subtraction, instead returning a connection error.
34
35 # 0.3.19 (May 12, 2023)
36
37 * Fix counting reset streams when triggered by a GOAWAY.
38 * Send `too_many_resets` in opaque debug data of GOAWAY when too many resets received.
39
40 # 0.3.18 (April 17, 2023)
41
42 * Fix panic because of opposite check in `is_remote_local()`.
43
44 # 0.3.17 (April 13, 2023)
45
46 * Add `Error::is_library()` method to check if the originated inside `h2`.
47 * Add `max_pending_accept_reset_streams(usize)` option to client and server
48 builders.
49 * Fix theoretical memory growth when receiving too many HEADERS and then
50 RST_STREAM frames faster than an application can accept them off the queue.
51 (CVE-2023-26964)
52
53 # 0.3.16 (February 27, 2023)
54
55 * Set `Protocol` extension on requests when received Extended CONNECT requests.
56 * Remove `B: Unpin + 'static` bound requiremented of bufs
57 * Fix releasing of frames when stream is finished, reducing memory usage.
58 * Fix panic when trying to send data and connection window is available, but stream window is not.
59 * Fix spurious wakeups when stream capacity is not available.
60
61 # 0.3.15 (October 21, 2022)
62
63 * Remove `B: Buf` bound on `SendStream`'s parameter
64 * add accessor for `StreamId` u32
65
66 # 0.3.14 (August 16, 2022)
67
68 * Add `Error::is_reset` function.
69 * Bump MSRV to Rust 1.56.
70 * Return `RST_STREAM(NO_ERROR)` when the server early responds.
71
72 # 0.3.13 (March 31, 2022)
73
74 * Update private internal `tokio-util` dependency.
75
76 # 0.3.12 (March 9, 2022)
77
78 * Avoid time operations that can panic (#599)
79 * Bump MSRV to Rust 1.49 (#606)
80 * Fix header decoding error when a header name is contained at a continuation
81 header boundary (#589)
82 * Remove I/O type names from handshake `tracing` spans (#608)
83
84 # 0.3.11 (January 26, 2022)
85
86 * Make `SendStream::poll_capacity` never return `Ok(Some(0))` (#596)
87 * Fix panic when receiving already reset push promise (#597)
88
89 # 0.3.10 (January 6, 2022)
90
91 * Add `Error::is_go_away()` and `Error::is_remote()` methods.
92 * Fix panic if receiving malformed PUSH_PROMISE with stream ID of 0.
93
94 # 0.3.9 (December 9, 2021)
95
96 * Fix hang related to new `max_send_buffer_size`.
97
98 # 0.3.8 (December 8, 2021)
99
100 * Add "extended CONNECT support". Adds `h2::ext::Protocol`, which is used for request and response extensions to connect new protocols over an HTTP/2 stream.
101 * Add `max_send_buffer_size` options to client and server builders, and a default of ~400MB. This acts like a high-water mark for the `poll_capacity()` method.
102 * Fix panic if receiving malformed HEADERS with stream ID of 0.
103
104 # 0.3.7 (October 22, 2021)
105
106 * Fix panic if server sends a malformed frame on a stream client was about to open.
107 * Fix server to treat `:status` in a request as a stream error instead of connection error.
108
109 # 0.3.6 (September 30, 2021)
110
111 * Fix regression of `h2::Error` that were created via `From<h2::Reason>` not returning their reason code in `Error::reason()`.
112
113 # 0.3.5 (September 29, 2021)
114
115 * Fix sending of very large headers. Previously when a single header was too big to fit in a single `HEADERS` frame, an error was returned. Now it is broken up and sent correctly.
116 * Fix buffered data field to be a bigger integer size.
117 * Refactor error format to include what initiated the error (remote, local, or user), if it was a stream or connection-level error, and any received debug data.
118
119 # 0.3.4 (August 20, 2021)
120
121 * Fix panic when encoding header size update over a certain size.
122 * Fix `SendRequest` to wake up connection when dropped.
123 * Fix potential hang if `RecvStream` is placed in the request or response `extensions`.
124 * Stop calling `Instant::now` if zero reset streams are configured.
125
126 # 0.3.3 (April 29, 2021)
127
128 * Fix client being able to make `CONNECT` requests without a `:path`.
129 * Expose `RecvStream::poll_data`.
130 * Fix some docs.
131
132 # 0.3.2 (March 24, 2021)
133
134 * Fix incorrect handling of received 1xx responses on the client when the request body is still streaming.
135
136 # 0.3.1 (February 26, 2021)
137
138 * Add `Connection::max_concurrent_recv_streams()` getter.
139 * Add `Connection::max_concurrent_send_streams()` getter.
140 * Fix client to ignore receipt of 1xx headers frames.
141 * Fix incorrect calculation of pseudo header lengths when determining if a received header is too big.
142 * Reduce monomorphized code size of internal code.
143
144 # 0.3.0 (December 23, 2020)
145
146 * Update to Tokio v1 and Bytes v1.
147 * Disable `tracing`'s `log` feature. (It can still be enabled by a user in their own `Cargo.toml`.)
148
149 # 0.2.7 (October 22, 2020)
150
151 * Fix stream ref count when sending a push promise
152 * Fix receiving empty DATA frames in response to a HEAD request
153 * Fix handling of client disabling SERVER_PUSH
154
155 # 0.2.6 (July 13, 2020)
156
157 * Integrate `tracing` directly where `log` was used. (For 0.2.x, `log`s are still emitted by default.)
158
159 # 0.2.5 (May 6, 2020)
160
161 * Fix rare debug assert failure in store shutdown.
162
163 # 0.2.4 (March 30, 2020)
164
165 * Fix when receiving `SETTINGS_HEADER_TABLE_SIZE` setting.
166
167 # 0.2.3 (March 25, 2020)
168
169 * Fix server being able to accept `CONNECT` requests without `:scheme` or `:path`.
170 * Fix receiving a GOAWAY frame from updating the recv max ID, it should only update max send ID.
171
172 # 0.2.2 (March 3, 2020)
173
174 * Reduce size of `FlowControl` and `RecvStream`.
175
176 # 0.2.1 (December 6, 2019)
177
178 * Relax `Unpin` bounds on the send `Buf` generic.
179
180 # 0.2.0 (December 3, 2019)
181
182 * Add `server::Connection::set_initial_window_size` and `client::Connection::set_initial_window_size` which can adjust the `INITIAL_WINDOW_SIZE` setting on an existing connection (#421).
183 * Update to `http` v0.2.
184 * Update to `tokio` v0.2.
185 * Change `unstable-stream` feature to `stream`.
186 * Change `ReserveCapacity` to `FlowControl` (#423).
187 * Remove `From<io::Error>` for `Error`.
188
189 # 0.2.0-alpha.3 (October 1, 2019)
190
191 * Update to futures `0.3.0-alpha.19`.
192 * Update to tokio `0.2.0-alpha.6`.
193
194 # 0.2.0-alpha.2 (September 20, 2019)
195
196 * Add server support for `PUSH_PROMISE`s (#327).
197 * Update to tokio `0.2.0-alpha.5`.
198 * Change `stream` feature to `unstable-stream`.
199
200 # 0.2.0-alpha.1 (August 30, 2019)
201
202 * Update from `futures` 0.1 to `std::future::Future`.
203 * Update `AsyncRead`/`AsyncWrite` to `tokio-io` 0.2 alpha.
204 * Change `Stream` implementations to be optional, default disabled. Specific async and poll functions are now inherent, and `Stream` can be re-enabled with the `stream` cargo feature.
205
206 # 0.1.25 (June 28, 2019)
207
208 * Fix to send a `RST_STREAM` instead of `GOAWAY` if receiving a frame on a previously closed stream.
209 * Fix receiving trailers without an end-stream flag to be a stream error instead of connection error.
210
211 # 0.1.24 (June 17, 2019)
212
213 * Fix server wrongly rejecting requests that don't have an `:authority` header (#372).
214
215 # 0.1.23 (June 4, 2019)
216
217 * Fix leaking of received DATA frames if the `RecvStream` is never polled (#368).
218
219 # 0.1.22 (June 3, 2019)
220
221 * Fix rare panic when remote sends `RST_STREAM` or `GOAWAY` for a stream pending window capacity (#364).
222
223 # 0.1.21 (May 30, 2019)
224
225 * Fix write loop when a header didn't fit in write buffer.
226
227 # 0.1.20 (May 16, 2019)
228
229 * Fix lifetime conflict for older compilers.
230
231 # 0.1.19 (May 15, 2019)
232
233 * Fix rare crash if `CONTINUATION` frame resumed in the middle of headers with the same name.
234 * Fix HPACK encoder using an old evicted index for repeated header names.
235
236 # 0.1.18 (April 9, 2019)
237
238 * Fix `server::Connection::abrupt_shutdown` to no longer return the same error the user sent (#352).
239
240 # 0.1.17 (March 12, 2019)
241
242 * Add user PING support (#346).
243 * Fix notifying a `RecvStream` task if locally sending a reset.
244 * Fix connections "hanging" when all handles are dropped but some streams had been reset.
245
246 # 0.1.16 (January 24, 2019)
247
248 * Log header values when malformed (#342).
249
250 # 0.1.15 (January 12, 2019)
251
252 * Fix race condition bug related to shutting down the client (#338).
253
254 # 0.1.14 (December 5, 2018)
255
256 * Fix closed streams to always return window capacity to the connection (#334).
257 * Fix locking when `Debug` printing an `OpaqueStreamRef` (#333).
258 * Fix inverted split for DATA frame padding (#330).
259 * Reduce `Debug` noise for `Frame` (#329).
260
261 # 0.1.13 (October 16, 2018)
262
263 * Add client support for Push Promises (#314).
264 * Expose `io::Error` from `h2::Error` (#311)
265 * Misc bug fixes (#304, #309, #319, #313, #320).
266
267 # 0.1.12 (August 8, 2018)
268
269 * Fix initial send window size (#301).
270 * Fix panic when calling `reserve_capacity` after connection has been closed (#302).
271 * Fix handling of incoming `SETTINGS_INITIAL_WINDOW_SIZE`. (#299)
272
273 # 0.1.11 (July 31, 2018)
274
275 * Add `stream_id` accessors to public API types (#292).
276 * Fix potential panic when dropping clients (#295).
277 * Fix busy loop when shutting down server (#296).
278
279 # 0.1.10 (June 15, 2018)
280
281 * Fix potential panic in `SendRequest::poll_ready()` (#281).
282 * Fix infinite loop on reset connection during prefix (#285).
283
284 # 0.1.9 (May 31, 2018)
285
286 * Add `poll_reset` to `SendResponse` and `SendStream` (#279).
287
288 # 0.1.8 (May 23, 2018)
289
290 * Fix client bug when max streams is reached. (#277)
291
292 # 0.1.7 (May 14, 2018)
293
294 * Misc bug fixes (#266, #273, #261, #275).
295
296 # 0.1.6 (April 24, 2018)
297
298 * Misc bug fixes related to stream management (#258, #260, #262).
299
300 # 0.1.5 (April 6, 2018)
301
302 * Fix the `last_stream_id` sent during graceful GOAWAY (#254).
303
304 # 0.1.4 (April 5, 2018)
305
306 * Add `initial_connection_window_size` to client and server `Builder`s (#249).
307 * Add `graceful_shutdown` and `abrupt_shutdown` to `server::Connection`,
308 deprecating `close_connection` (#250).
309
310 # 0.1.3 (March 28, 2018)
311
312 * Allow configuring max streams before the peer's settings frame is
313 received (#242).
314 * Fix HPACK decoding bug with regards to large literals (#244).
315 * Fix state transition bug triggered by receiving a RST_STREAM frame (#247).
316
317 # 0.1.2 (March 13, 2018)
318
319 * Fix another bug relating to resetting connections and reaching
320 max concurrency (#238).
321
322 # 0.1.1 (March 8, 2018)
323
324 * When streams are dropped, close the connection (#222).
325 * Notify send tasks on connection error (#231).
326 * Fix bug relating to resetting connections and reaching max concurrency (#235).
327 * Normalize HTTP request path to satisfy HTTP/2.0 specification (#228).
328 * Update internal dependencies.
329
330 # 0.1.0 (Jan 12, 2018)
331
332 * Initial release