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