Skip to content

Commit 9ea9520

Browse files
authored
Release new versions (#198)
Hi, I'd like to ask for new releases for the middleware crates: reqwest-middleware 0.4.0, reqwest-retry 0.7.0 and reqwest-tracing 0.5.4. In [uv](https://github.com/astral-sh/uv), we're currently using a git dependency for #159, and we'd like to move to a crates.io dependency (astral-sh/uv#8932). I've bump reqwest-middleware and reqwest-retry according to being breaking changes in the error type, while requiring reqwest-middleware `>0.3.0, <0.5.0` in reqwest-retry and reqwest-tracing for minimal downstream disruption.
1 parent 4e85660 commit 9ea9520

File tree

6 files changed

+21
-9
lines changed

6 files changed

+21
-9
lines changed

reqwest-middleware/CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9-
### Changed
9+
## [0.4.0] - 2024-11-08
10+
11+
### Breaking Changes
1012
- `request_middleware::Error` is now a transparent error enum and doesn't add its own context anymore.
1113

1214
## [0.3.3] - 2024-07-08

reqwest-middleware/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "reqwest-middleware"
3-
version = "0.3.3"
3+
version = "0.4.0"
44
authors = ["Rodrigo Gryzinski <[email protected]>"]
55
edition = "2018"
66
description = "Wrapper around reqwest to allow for client middleware chains."

reqwest-retry/CHANGELOG.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [0.6.0]
7+
## [Unreleased]
8+
9+
## [0.7.0] - 2024-11-08
10+
11+
### Breaking changes
12+
- Errors are now reported as `RetryError` that adds the number of retries to the error chain if there were any. This changes the returned error types.
13+
14+
### Added
15+
- Added support reqwest-middleware `0.4` next to `0.3`
816

917
## [0.6.1] - 2024-08-08
1018

@@ -18,7 +26,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1826

1927
### Changed
2028
- Upgraded `retry-policies` to `0.4.0`.
21-
- **Breaking Change** Errors are now reported as `RetryError` that adds the number of retries to the error chain if there were any. This changes the returned error types.
2229

2330
## [0.5.0] - 2024-04-10
2431

reqwest-retry/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "reqwest-retry"
3-
version = "0.7.1"
3+
version = "0.7.0"
44
authors = ["Rodrigo Gryzinski <[email protected]>"]
55
edition = "2018"
66
description = "Retry middleware for reqwest."
@@ -14,7 +14,7 @@ default = ["tracing"]
1414
tracing = ["dep:tracing"]
1515

1616
[dependencies]
17-
reqwest-middleware = { version = "0.3.0", path = "../reqwest-middleware" }
17+
reqwest-middleware = { version = ">0.3.0, <0.5.0", path = "../reqwest-middleware" }
1818

1919
anyhow = "1.0.0"
2020
async-trait = "0.1.51"

reqwest-tracing/CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.5.4] - 2024-11-08
11+
1012
### Added
1113
- Added support for OpenTelemetry `0.25` ([#188](https://github.com/TrueLayer/reqwest-middleware/pull/188))
1214
- Added support for OpenTelemetry `0.26` ([#188](https://github.com/TrueLayer/reqwest-middleware/pull/188))
15+
- Added support reqwest-middleware `0.4` next to `0.3`
1316

1417
### Changed
1518
- Restore adding `http.url` attribute when using `SpanBackendWithUrl` middleware with the `deprecated_attributes` feature enabled
1619

17-
## [0.5.2] - 2024-07-15
20+
## [0.5.3] - 2024-07-15
1821

1922
### Added
2023
- Added support for OpenTelemetry `0.24` ([#171](https://github.com/TrueLayer/reqwest-middleware/pull/171))

reqwest-tracing/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "reqwest-tracing"
3-
version = "0.5.3"
3+
version = "0.5.4"
44
authors = ["Rodrigo Gryzinski <[email protected]>"]
55
edition = "2018"
66
description = "Opentracing middleware for reqwest."
@@ -23,7 +23,7 @@ opentelemetry_0_26 = ["opentelemetry_0_26_pkg", "tracing-opentelemetry_0_27_pkg"
2323
deprecated_attributes = []
2424

2525
[dependencies]
26-
reqwest-middleware = { version = "0.3.0", path = "../reqwest-middleware" }
26+
reqwest-middleware = { version = ">0.3.0, <0.5.0", path = "../reqwest-middleware" }
2727

2828
anyhow = "1.0.70"
2929
async-trait = "0.1.51"

0 commit comments

Comments
 (0)