Skip to content

Commit

Permalink
Release new versions (#198)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
konstin authored Nov 11, 2024
1 parent 4e85660 commit 9ea9520
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 9 deletions.
4 changes: 3 additions & 1 deletion reqwest-middleware/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed
## [0.4.0] - 2024-11-08

### Breaking Changes
- `request_middleware::Error` is now a transparent error enum and doesn't add its own context anymore.

## [0.3.3] - 2024-07-08
Expand Down
2 changes: 1 addition & 1 deletion reqwest-middleware/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "reqwest-middleware"
version = "0.3.3"
version = "0.4.0"
authors = ["Rodrigo Gryzinski <[email protected]>"]
edition = "2018"
description = "Wrapper around reqwest to allow for client middleware chains."
Expand Down
11 changes: 9 additions & 2 deletions reqwest-retry/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@ 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).

## [0.6.0]
## [Unreleased]

## [0.7.0] - 2024-11-08

### Breaking changes
- 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.

### Added
- Added support reqwest-middleware `0.4` next to `0.3`

## [0.6.1] - 2024-08-08

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

### Changed
- Upgraded `retry-policies` to `0.4.0`.
- **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.

## [0.5.0] - 2024-04-10

Expand Down
4 changes: 2 additions & 2 deletions reqwest-retry/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "reqwest-retry"
version = "0.7.1"
version = "0.7.0"
authors = ["Rodrigo Gryzinski <[email protected]>"]
edition = "2018"
description = "Retry middleware for reqwest."
Expand All @@ -14,7 +14,7 @@ default = ["tracing"]
tracing = ["dep:tracing"]

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

anyhow = "1.0.0"
async-trait = "0.1.51"
Expand Down
5 changes: 4 additions & 1 deletion reqwest-tracing/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.5.4] - 2024-11-08

### 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))
- Added support reqwest-middleware `0.4` next to `0.3`

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

## [0.5.2] - 2024-07-15
## [0.5.3] - 2024-07-15

### Added
- Added support for OpenTelemetry `0.24` ([#171](https://github.com/TrueLayer/reqwest-middleware/pull/171))
Expand Down
4 changes: 2 additions & 2 deletions reqwest-tracing/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "reqwest-tracing"
version = "0.5.3"
version = "0.5.4"
authors = ["Rodrigo Gryzinski <[email protected]>"]
edition = "2018"
description = "Opentracing middleware for reqwest."
Expand All @@ -23,7 +23,7 @@ opentelemetry_0_26 = ["opentelemetry_0_26_pkg", "tracing-opentelemetry_0_27_pkg"
deprecated_attributes = []

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

anyhow = "1.0.70"
async-trait = "0.1.51"
Expand Down

0 comments on commit 9ea9520

Please sign in to comment.