Releases: http-rs/http-client
Releases · http-rs/http-client
v6.3.0
Added
- Connection pooling (HTTP/1.1 
keep-alive) forh1_client(default). native-tls(default) andrustlsfeature flags.- Only works with 
h1_client. 
- Only works with 
 - Isahc metrics as a response extension for 
curl_client. 
Fixed
Box<dyn HttpClient>no longer infinitely recurses.curl_clientnow always correctly reads the response body.hyper_clientshould now build correctly.WasmClientfetch from worker scope now works correctly.
Internal
- Improved CI
 
6.2.0
This release implements HttpClient for Box<dyn HttpClient>.
Added
impl HttpClient for Box<dyn HttpClient>
6.1.0
This release brings improvements for HyperClient (hyper_client feature).
Added
HyperClientnow implsDefault.HyperClient::from_client(hyper::Client<C>).
Changed
HyperClientnow re-uses the internal client, allowing connection pooling.
6.0.0
This release moves the responsibility of any client sharing to the user.
Changed
HttpClientimplementations no longerimpl Clone.- The responsibility for sharing is the user's.
 
H1Clientcan no longer be instatiated viaH1Client {}.::new()should be used.
v5.0.1
Fixed
- Fixed a body stream translation bug in the 
hyper_client. 
v5.0.0
This release includes an optional backend using hyper.rs, and uses async-trait for HttpClient.
Added
hyper_clientfeature, for using hyper.rs as the client backend.
Changed
HttpClientnow uses async-trait.- This attribute is also re-exported as 
http_client::async_trait. 
- This attribute is also re-exported as 
 
Fixed
- Fixed WASM compilation.
 - Fixed Isahc (curl) client translation setting duplicate headers incorrectly.
 
v4.0.0
This release allows HttpClient to be used as a dynamic Trait object.
HttpClient: removedClonebounds.HttpClient: removedErrortype.