Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update rust crate reqwest-middleware to 0.4.0 #3272

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 17, 2025

This PR contains the following updates:

Package Type Update Change
reqwest-middleware dependencies minor 0.2.5 -> 0.4.0

Release Notes

TrueLayer/reqwest-middleware (reqwest-middleware)

v0.4.0

Compare Source

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

v0.3.3

Compare Source

Added
  • Implemented Default on ClientWithMiddleware (#​179)

v0.3.2

Added
  • Added re-export of reqwest.
  • http2, rustls-tls, and charset features, which simply enable those features in reqwest.

v0.3.0

Breaking changes
  • Upgraded reqwest to 0.12.0
    • Removed default-features json and multipart from reqwest dependency
    • Added json and multipart features to reqwest-middleware
  • Upgraded matchit to 0.8.0
    • You may need to update some matches that look like /a/:some_var to /a/{some_var}
  • Removed task_local_extensions in favour of http::Extensions
    • All extensions must be Clone now.
Changed
  • RequestBuilder::try_clone now clones the extensions.
Added
  • Implemented Service for ClientWithMiddleware to have more feature parity with reqwest.
  • Added more methods like build_split to have more feature parity with reqwest.
  • Added more documentation

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) January 17, 2025 13:00
Copy link
Contributor Author

renovate bot commented Jan 17, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --package [email protected] --precise 0.4.0
    Updating crates.io index
error: failed to select a version for the requirement `reqwest-middleware = "^0.2.2"`
candidate versions found which didn't match: 0.4.0
location searched: crates.io index
required by package `http-cache-reqwest v0.13.0`
    ... which satisfies dependency `http-cache-reqwest = "^0.13.0"` (locked to 0.13.0) of package `tailcall v0.1.0 (/tmp/renovate/repos/github/tailcallhq/tailcall)`

@github-actions github-actions bot added the type: fix Iterations on existing features or infrastructure. label Jan 17, 2025
@renovate renovate bot force-pushed the renovate/reqwest-middleware-0.x branch from 99290c8 to 1c48fef Compare January 17, 2025 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: fix Iterations on existing features or infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants