Debian Codegraph @

CHANGELOG.md

raw symbols SCIP
1 # Changelog
2
3 ## [0.3.3] - 2026-06-17
4
5 ### Changed
6
7 - Server: Keep intact `*` if the request is `OPTIONS *`
8 - Fail when redundant built-in headers are present (`Host`, `Content-Length`...)
9 - Always bound buffering when parsing chunked transfer encoding
10
11
12 ## [0.3.2] - 2026-04-14
13
14 ### Changed
15
16 - Allow `rustls-platform-verifier` 0.7.
17
18
19 ## [0.3.1] - 2025-06-06
20
21 ### Changed
22
23 - Bump `rustls-platform-verifier` to 0.6.
24
25
26 ## [0.3.0] - 2025-02-02
27
28 ### Changed
29
30 - Uses the `http` crate structs to represent the HTTP model (`Request`, `Response`, `StatusCode`...) instead of the ones
31 defined by `oxhttp`. Only the `Body` struct is implemented by `oxhttp`.
32 - The `rustls-*-native` features now rely on the `rustls-platform-verifier` crate to support certificate revocation.
33 The now redundant `rustls-*-platform-verifier` features have been removed.
34
35
36 ## [0.2.7] - 2024-12-23
37
38 ### Changed
39
40 - Increases read and write buffer sizes to 16kB.
41 - Bump `rustls-platform-verifier` to v0.5.
42
43
44 ## [0.2.6] - 2024-12-09
45
46 ### Changed
47
48 - Bump MSRV to 1.74.
49 - Set TCP_NODELAY in client and server `TcpStream`s.
50
51
52 ## [0.2.5] - 2024-12-06
53
54 ### Changed
55
56 - Makes chunked transfer encoding decoder properly return `Ok(0)` after end.
57
58
59 ## [0.2.4] - 2024-11-06
60
61 ### Changed
62
63 - Upgrades to `rustls-platform-verifier` 0.4.
64
65
66 ## [0.2.3] - 2024-10-03
67
68 ### Changed
69
70 - Allows setting `HeaderName` in `append_header` and `with_header`.
71
72
73 ## [0.2.2] - 2024-09-15
74
75 ### Changed
76
77 - Upgrades to `rustls-native-certs` 0.8.
78
79
80 ## [0.2.1] - 2024-08-20
81
82 ### Added
83
84 - `rustls-aws-lc-platform-verifier` and `rustls-ring-platform-verifier` features to use the rustls-platform-verifier
85 crate to validate TLS certificates.
86
87
88 ## [0.2.0] - 2024-03-23
89
90 No change compared to the alpha releases.
91
92
93 ## [0.2.0-alpha.4] - 2024-02-02
94
95 ### Changed
96
97 - Upgrades `rustls` to 0.23 and its dependencies to compatible versions.
98 - Splits the `rustls-native` and `rustls-webkpi` features
99 into `rustls-ring-native`, `rustls-ring-webpki`, `rustls-aws-lc-native` and `rustls-aws-lc-webpki` to allow choosing
100 which cryptographic library to use.
101
102
103 ## [0.2.0-alpha.3] - 2023-12-07
104
105 ### Changed
106
107 - Upgrades `rustls` to 0.22 and its dependencies to compatible versions.
108 - Relaxes dependency requirements on `flate2`
109
110
111 ## [0.2.0-alpha.2] - 2023-11-18
112
113 ### Added
114
115 - `Server.bind` to set a socket the server should listen to.
116 - `Server.spawn` to spawn the server in a new set of threads and return a handle to it.
117
118 ### Removed
119
120 - `Server.listen` function that is now replaced by `Server.bind(address).spawn().join()`.
121
122 ### Changed
123
124 - Renames `Server.max_num_threads` to `Server.with_max_concurrent_connections`
125
126
127 ## [0.2.0-alpha.1] - 2023-09-23
128
129 ### Added
130
131 - When the `flate2` crate is installed, the HTTP client and server are able to decode bodies with `Content-Encoding` set
132 to `gzip` and `deflate` (no encoding yet).
133 - `client` and `server` features to enable the HTTP client and server. They are both enabled by default.
134 - `Server::with_max_num_threads` allows to set an upper bound to the number of threads running at the same time.
135
136 ### Removed
137
138 - Rayon-based thread pool.
139
140 ### Changed
141
142 - The `rustls` feature has been split into `rustls-native` and `rustls-webpki` to either rust the platform certificates
143 or the ones from the [Common CA Database](https://www.ccadb.org/).
144 - All the `set_` methods on `Client` and `Server` have been renamed to `with_` and now takes and returns the mutated
145 objects by value (builder pattern).
146 - Upgrades minimum supported Rust version to 1.70.
147 - Upgrades `webpki-roots` dependency to 0.25.
148
149
150 ## [0.1.7] - 2023-08-23
151
152 ### Changed
153
154 - Upgrades `rustls` dependency to 0.21.
155
156
157 ## [0.1.6] - 2023-03-18
158
159 ### Added
160
161 - `IntoHeaderName` trait that allows to call methods with plain strings instead of explicit `HeaderName` objects.
162 - `client` and `server` features to enable/disable the HTTP client and/or server (both features are enabled by default).
163
164 ### Changed
165
166 - Bindings to server localhost now properly binds to both IPv4 and IPv6 at the same time.
167 - Set minimum supported Rust version to 1.60.
168
169
170 ## [0.1.5] - 2022-08-16
171
172 ### Changed
173
174 - A body is now always written on POST and PUT request and on response that have not the status 1xx, 204 and 304.
175 This allows clients to not wait for an existing body in case the connection is kept alive.
176 - The TLS configuration is now initialized once and shared between clients and saved during the complete process
177 lifetime.
178
179
180 ## [0.1.4] - 2022-01-24
181
182 ### Added
183
184 - `Server`: It is now possible to use a [Rayon](https://github.com/rayon-rs/rayon) thread pool instead of spawning a new
185 thread on each call.
186
187 ### Changed
188
189 - [Chunk Transfer Encoding](https://httpwg.org/http-core/draft-ietf-httpbis-messaging-latest.html#chunked.encoding)
190 serialization was invalid: the last empty chunk was ending with two line jumps instead of one as expected by the
191 specification.
192 - `Server`: Thread spawn operation is restarted if it fails.
193 - `Server`: `text/plain; charset=utf8` media type is now returned on errors instead of the simpler `text/plain`.
194
195
196 ## [0.1.3] - 2021-12-05
197
198 ### Added
199
200 - [Rustls](https://github.com/rustls/rustls) usage is now available behind the `rustls` feature (disabled by default).
201
202
203 ## [0.1.2] - 2021-11-03
204
205 ### Added
206
207 - Redirections support to the `Client`. By default the client does not follow redirects.
208 The `Client::set_redirection_limit` method allows to set the maximum number of allowed consecutive redirects (0 by
209 default).
210
211 ### Changed
212
213 - `Server`: Do not display a TCP error if the client disconnects without having sent the `Connection: close` header.
214
215
216 ## [0.1.1] - 2021-09-30
217
218 ### Changed
219
220 - Fixes a possible DOS attack vector by sending very long headers.
221
222
223 ## [0.1.0] - 2021-09-29
224
225 ### Added
226
227 - Basic `Client` and `Server` implementations.