6.2 KiB
Changelog
vNext
0.33.0
Released 2026-Sep-18
-
Apply
HyperClient's configured timeout to the complete response body, not only request dispatch and response headers. -
Breaking Sealed the
ResponseExttrait so it can no longer be implemented by downstream crates. The trait provides a blanket implementation for allhttp::Response<T>types, so calling code is unaffected -- onlyimpl ResponseExt for MyTypewill stop compiling. If you have a custom implementation, remove it and rely on the blanket impl instead. -
Breaking Removed the deprecated
HttpClient::sendmethod, which acceptedRequest<Vec<u8>>. Implement and callHttpClient::send_bytesinstead, converting existing requests withrequest.map(Bytes::from)when needed. -
Breaking: Remove
opentelemetry_http::hyper::Body, which is no longer used by any public constructor. Usehttp_body_util::Full<Bytes>for custom Hyper client request bodies. -
Limit HTTP response body reads to 4 MiB in built-in HTTP clients (
reqwestasync/blocking andhyper). Reads exceeding the limit are aborted to prevent unbounded memory allocation and return the new opaqueResponseBodyTooLargeerror. Custom HTTP clients can construct this error withResponseBodyTooLarge::new()orResponseBodyTooLarge::default(). -
Breaking Built-in reqwest and hyper clients now return HTTP 4xx and 5xx responses as
Ok(Response<Bytes>)instead ofErr(HttpError). Here,Okmeans that the transport completed the request and received an HTTP response; it does not imply a successful HTTP status. This preserves the response status and headers for exporter retry classification. Transport failures and timeouts continue to returnErr. If your code relied onsend_bytesreturningErrfor non-success statuses, callResponseExt::error_for_status()on the response instead. -
Breaking Removed
reqwest-rustls-webpki-rootsfeature. Thewebpki-rootscargo feature was removed fromreqwestin v0.13.0. Usereqwest-rustlsinstead, which now correctly enablesreqwest/rustls(platform native trust roots). To use Mozilla's embedded CA bundle, construct a customreqwest::Clientwith arustls::ClientConfigcontainingrustls::RootCertStore::from_iter(webpki_roots::TLS_SERVER_ROOTS.iter().cloned()), then supply it to the exporter withwith_http_client().
0.32.0
Released 2026-May-08
reqwest's crypto backend has changed fromringtoaws-lc-sys.
0.31.0
Released 2025-Sep-25
- Implementation of
Extractor::get_allforHeaderExtractor - Support
HttpClientimplementation forHyperClient<C>with custom connectors beyondHttpConnector, enabling Unix Domain Socket connections and other custom transports - Add
reqwestandreqwest-blockingfeatures to enable async and blocking reqwest HTTP clients - Updated
opentelemetrydependency to version 0.31.0.
0.30.0
Released 2025-May-23
- Updated
opentelemetrydependency to version 0.30.0.
0.29.0
Released 2025-Mar-21
- Update
opentelemetrydependency version to 0.29.
0.28.0
Released 2025-Feb-10
- Update
opentelemetrydependency version to 0.28. - Bump msrv to 1.75.0.
- Add "internal-logs" feature flag (enabled by default), and emit internal logs via
tracingcrate. - Add
HttpClient::send_byteswithbytes::Bytesrequest payload and deprecate oldHttpClient::sendfunction.
0.27.0
Released 2024-Nov-08
-
Update
opentelemetrydependency version to 0.27 -
Bump MSRV to 1.70 #2179
v0.26.0
Released 2024-Sep-30
- Update
opentelemetrydependency version to 0.26
v0.25.0
- Update
opentelemetrydependency version to 0.25 - Starting with this version, this crate will align with
opentelemetrycrate on major,minor versions.
v0.13.0
- Breaking Correct the misspelling of "webkpi" to "webpki" in features #1842
- Breaking Remove support for the
isahcHTTP client #1924 - Update to
httpv1 #1674 - Update
opentelemetrydependency version to 0.24
v0.12.0
- Add
reqwest-rustls-webpki-rootsfeature flag to configurereqwestto use embeddedwebpki-roots. - Update
opentelemetrydependency version to 0.23
v0.11.1
- Add feature flag enabling users to configure
reqwestusage to use rustls viareqwest/rustls-tlsfeature flag 1638.
v0.11.0
Changed
- Breaking Remove built-in support for surf HTTP client #1537
- Breaking Surface non-2xx status codes as errors; change
ResponseExttrait to returnHttpErrorinstead ofTraceError#1484
v0.10.0
Changed
v0.9.0
Changed
- Update to opentelemetry-api v0.20.0
v0.8.0
Changed
- Add response headers in response for
HttpClientimplementations #918. - Bump MSRV to 1.57 #953.
- Update dependencies and bump MSRV to 1.60 #969.
v0.7.0
Changed
- Update to opentelemetry v0.18.0
- Export
byteandhttptypes #798 - Implementation of collector http client with pure hyper #853
v0.6.0
Changed
- Update to opentelemetry v0.17.0
v0.5.0
Changed
- Update to opentelemetry v0.16.0
v0.4.0
Changed
- Update to opentelemetry v0.15.0
v0.3.0
Changed
- Return response from
HttpClient#511 - Update to opentelemetry v0.14.0
v0.2.0
Changed
- Update to opentelemetry v0.13.0
v0.1.0
Added
- Opentelemetry integration with http #415