Files
jcoffey-dev 1e7e8dfd48
ci / fork-checks (pull_request) Skipped
ci / build (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 7m26s
Vendor upstream's opentelemetry-rust fork at the pinned commit
2026-10-27 22:55:35 -07:00

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 ResponseExt trait so it can no longer be implemented by downstream crates. The trait provides a blanket implementation for all http::Response<T> types, so calling code is unaffected -- only impl ResponseExt for MyType will stop compiling. If you have a custom implementation, remove it and rely on the blanket impl instead.

  • Breaking Removed the deprecated HttpClient::send method, which accepted Request<Vec<u8>>. Implement and call HttpClient::send_bytes instead, converting existing requests with request.map(Bytes::from) when needed.

  • Breaking: Remove opentelemetry_http::hyper::Body, which is no longer used by any public constructor. Use http_body_util::Full<Bytes> for custom Hyper client request bodies.

  • Limit HTTP response body reads to 4 MiB in built-in HTTP clients (reqwest async/blocking and hyper). Reads exceeding the limit are aborted to prevent unbounded memory allocation and return the new opaque ResponseBodyTooLarge error. Custom HTTP clients can construct this error with ResponseBodyTooLarge::new() or ResponseBodyTooLarge::default().

  • Breaking Built-in reqwest and hyper clients now return HTTP 4xx and 5xx responses as Ok(Response<Bytes>) instead of Err(HttpError). Here, Ok means 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 return Err. If your code relied on send_bytes returning Err for non-success statuses, call ResponseExt::error_for_status() on the response instead.

  • Breaking Removed reqwest-rustls-webpki-roots feature. The webpki-roots cargo feature was removed from reqwest in v0.13.0. Use reqwest-rustls instead, which now correctly enables reqwest/rustls (platform native trust roots). To use Mozilla's embedded CA bundle, construct a custom reqwest::Client with a rustls::ClientConfig containing rustls::RootCertStore::from_iter(webpki_roots::TLS_SERVER_ROOTS.iter().cloned()), then supply it to the exporter with with_http_client().

0.32.0

Released 2026-May-08

  • reqwest's crypto backend has changed from ring to aws-lc-sys.

0.31.0

Released 2025-Sep-25

  • Implementation of Extractor::get_all for HeaderExtractor
  • Support HttpClient implementation for HyperClient<C> with custom connectors beyond HttpConnector, enabling Unix Domain Socket connections and other custom transports
  • Add reqwest and reqwest-blocking features to enable async and blocking reqwest HTTP clients
  • Updated opentelemetry dependency to version 0.31.0.

0.30.0

Released 2025-May-23

  • Updated opentelemetry dependency to version 0.30.0.

0.29.0

Released 2025-Mar-21

  • Update opentelemetry dependency version to 0.29.

0.28.0

Released 2025-Feb-10

  • Update opentelemetry dependency version to 0.28.
  • Bump msrv to 1.75.0.
  • Add "internal-logs" feature flag (enabled by default), and emit internal logs via tracing crate.
  • Add HttpClient::send_bytes with bytes::Bytes request payload and deprecate old HttpClient::send function.

0.27.0

Released 2024-Nov-08

  • Update opentelemetry dependency version to 0.27

  • Bump MSRV to 1.70 #2179

v0.26.0

Released 2024-Sep-30

  • Update opentelemetry dependency version to 0.26

v0.25.0

  • Update opentelemetry dependency version to 0.25
  • Starting with this version, this crate will align with opentelemetry crate on major,minor versions.

v0.13.0

  • Breaking Correct the misspelling of "webkpi" to "webpki" in features #1842
  • Breaking Remove support for the isahc HTTP client #1924
  • Update to http v1 #1674
  • Update opentelemetry dependency version to 0.24

v0.12.0

  • Add reqwest-rustls-webpki-roots feature flag to configure reqwest to use embedded webpki-roots.
  • Update opentelemetry dependency version to 0.23

v0.11.1

  • Add feature flag enabling users to configure reqwest usage to use rustls via reqwest/rustls-tls feature 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 ResponseExt trait to return HttpError instead of TraceError#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 HttpClient implementations #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 byte and http types #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