2021-08-10 09:07:08 -07:00
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog ](https://keepachangelog.com/en/1.0.0/ ),
and this project adheres to [Semantic Versioning ](https://semver.org/spec/v2.0.0.html ).
2024-06-28 02:43:04 -07:00
## [Unreleased]
2024-12-09 04:21:26 -08:00
## [0.5.5] - 2024-12-02
2024-11-18 03:16:33 -08:00
### Added
- Added support for OpenTelemetry `0.27` ([#201](https://github.com/TrueLayer/reqwest-middleware/pull/201))
2024-11-11 10:24:20 -08:00
## [0.5.4] - 2024-11-08
2024-10-16 13:05:35 -07:00
### Added
- Added support for OpenTelemetry `0.25` ([#188](https://github.com/TrueLayer/reqwest-middleware/pull/188))
- Added support for OpenTelemetry `0.26` ([#188](https://github.com/TrueLayer/reqwest-middleware/pull/188))
2024-11-11 10:24:20 -08:00
- Added support reqwest-middleware `0.4` next to `0.3`
2024-10-16 13:05:35 -07:00
2024-08-22 08:00:55 -07:00
### Changed
- Restore adding `http.url` attribute when using `SpanBackendWithUrl` middleware with the `deprecated_attributes` feature enabled
2024-11-11 10:24:20 -08:00
## [0.5.3] - 2024-07-15
2024-07-15 03:53:31 -07:00
2024-08-08 12:09:38 -07:00
### Added
- Added support for OpenTelemetry `0.24` ([#171](https://github.com/TrueLayer/reqwest-middleware/pull/171))
### Fixed
- Fixed, `deprecated_attributes` feature, failing to compile ([#172](https://github.com/TrueLayer/reqwest-middleware/pull/172))
## [0.5.2] - 2024-07-15
2024-07-15 03:53:31 -07:00
### Added
- Added feature flag, `deprecated_attributes` , for emitting [deprecated opentelemetry HTTP attributes ](https://opentelemetry.io/docs/specs/semconv/http/migration-guide/ ) alongside the stable ones used by default
2024-06-28 02:43:04 -07:00
## [0.5.1] - 2024-06-28
### Added
- Added support for `opentelemetry` version `0.23` .
2024-04-10 01:55:41 -07:00
## [0.5.0] - 2024-04-10
2022-11-15 02:31:34 -08:00
2024-04-03 10:13:10 -07:00
### Breaking changes
2024-04-10 01:55:41 -07:00
- Upgraded `reqwest-middleware` to `0.3.0` .
2024-04-03 10:13:10 -07:00
- Removed support for `opentelemetry` 0.13 to 0.19
2024-02-01 15:14:49 -08:00
- The keys emitted by the crate now match the stable Semantic Conventions for HTTP Spans.
2024-04-03 10:13:10 -07:00
### Changed
2024-04-10 01:55:41 -07:00
- The keys emitted by the crate now match the stable Semantic Conventions for HTTP Spans.
- Opentelemetry features are now additive.
2024-04-03 10:13:10 -07:00
2024-03-15 09:26:17 -07:00
## [0.4.8] - 2024-03-11
### Added
- Add support for opentelemetry 0.22
2023-08-23 04:34:20 -07:00
## [0.4.6] - 2023-08-23
### Added
- Add support for opentelemetry 0.20
2023-06-20 10:07:12 -07:00
## [0.4.5] - 2023-06-20
### Added
- A new extension `DisableOtelPropagation` which stops opentelemetry contexts propagating
- Support for opentelemetry 0.19
2023-05-15 06:55:56 -07:00
## [0.4.4] - 2023-05-15
### Added
- A new `default_span_name` method for use in custom span backends.
2023-05-15 03:45:55 -07:00
## [0.4.3] - 2023-05-15
### Fixed
- Fix span and http status codes
2023-05-12 03:16:42 -07:00
## [0.4.2] - 2023-05-12
### Added
- `OtelPathNames` extension to provide known parameterized paths that will be used in span names
### Changed
- `DefaultSpanBackend` and `SpanBackendWithUrl` default span name to HTTP method name instead of `reqwest-http-client`
## [0.4.1] - 2023-03-09
### Added
- Support for `wasm32-unknown-unknown` target
2022-11-15 02:31:34 -08:00
## [0.4.0] - 2022-11-15
### Changed
- Updated `reqwest-middleware` to `0.2.0`
- Before, `root_span!` /`DefaultSpanBacked` would name your spans `{METHOD} {PATH}` . Since this can be quite
high cardinality, this was changed and now the macro requires an explicit otel name.
`DefaultSpanBacked` /`SpanBackendWithUrl` will default to `reqwest-http-client` but this can be configured
using the `OtelName` Request Initialiser.
2022-11-10 05:21:07 -08:00
### Added
- `SpanBackendWithUrl` for capturing `http.url` in traces
2022-11-15 02:31:34 -08:00
- `OtelName` Request Initialiser Extension for configuring
2021-09-15 02:58:03 -07:00
2022-09-29 08:17:12 -07:00
## [0.3.1] - 2022-09-21
- Added support for `opentelemetry` version `0.18` .
## [0.3.0] - 2022-06-10
2022-06-30 06:54:54 -07:00
### Breaking
- Created `ReqwestOtelSpanBackend` trait with `reqwest_otel_span` macro to provide extendable default request otel fields
2022-06-29 07:06:52 -07:00
## [0.2.3] - 2022-06-23
2022-05-17 02:25:58 -07:00
### Fixed
- Fix how we set the OpenTelemetry span status, based on the HTTP response status.
2022-09-29 08:17:12 -07:00
## [0.2.2] - 2022-04-21
2022-04-21 10:53:32 -07:00
### Fixed
- Opentelemetry context is now propagated when the request span is disabled.
2022-02-21 04:50:18 -08:00
## [0.2.1] - 2022-02-21
### Changed
- Updated `reqwest-middleware` to `0.1.5`
2021-11-30 08:15:36 -08:00
## [0.2.0] - 2021-11-30
### Breaking
- Update to `tracing-subscriber` `0.3.x` when `opentelemetry_0_16` is active.
2021-09-28 14:01:36 -07:00
## [0.1.3] - 2021-09-28
2021-09-28 03:17:10 -07:00
### Changed
- Disabled default features on `reqwest`
2021-09-28 11:50:23 -07:00
- Replaced `truelayer-extensions` with `task-local-extensions`
2021-09-28 11:57:28 -07:00
- Updated `reqwest-middleware` to `0.1.2`
2021-09-28 03:17:10 -07:00
2021-09-15 02:58:03 -07:00
## [0.1.2] - 2021-09-15
### Changed
- Updated `reqwest-middleware` dependency to `0.1.1` .
## [0.1.1] - 2021-08-30
### Added
- Support for opentelemtry `0.15` and `0.16` .