Repository navigation
chore(deps): bump ureq from 2.12.1 to 3.5.1 - #4994
Conversation
📊 Automated PR Analysis
SummaryThis PR is a Dependabot automated update that bumps the ureq HTTP client crate from 2.12.1 to 3.5.0, a major version upgrade bringing new features (Agent::shutdown), timeout/proxy handling fixes, and dependency changes (swapping url for http/httparse, bumping rustls and webpki-roots). The Cargo.lock diff shows transitive dependency churn including removal of several icu_* and related crates and addition of ureq-proto, http, httparse, bytes, and utf8-zero. Review Checklist
Analyzed automatically by wshm · This is an automated analysis, not a human review. |
1739021 to
3e99095
Compare
|
@dependabot rebase |
Bumps [ureq](https://github.com/algesten/ureq) from 2.12.1 to 3.5.1. - [Changelog](https://github.com/algesten/ureq/blob/main/CHANGELOG.md) - [Commits](algesten/ureq@2.12.1...3.5.1) --- updated-dependencies: - dependency-name: ureq dependency-version: 3.5.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
3e99095 to
31f2ccf
Compare
|
@copilot fix the CI errors |
Co-authored-by: KuSh <[email protected]>
Updated the ureq 3 call sites, including request timeouts and error-response handling. Workspace check, Clippy, tests, and formatting pass. Commit: |
|
A newer version of ureq exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged. |
…ureq 3 The ureq 3 migration sent a literal placeholder instead of the classifier's bearer key. ureq 3 also reads HTTP_PROXY/HTTPS_PROXY/ ALL_PROXY, which ureq 2 did not: a proxy cannot reach this machine, so the llm-proxy health check, rtk task through the local daemon and a local classifier failed whenever a proxy was set. And ureq 3 has no default connect timeout, so a blackholed host could hang a call. core::http sets timeouts per request instead of building an Agent per call, connects to localhost and loopback directly, and calls to RTK's own daemon never use a proxy. Remote hosts follow the proxy variables; the module documents the limits of that path (CONNECT tunnels for http:// targets, task's substring daemon match, no SOCKS, how ureq reads the variables). Every request gets back ureq 2's 30s connect cap. Bodies are read as ureq 2's into_string did: at most 10 MiB once decompressed (ureq 3's own limit counts the bytes on the wire), invalid UTF-8 decoded lossily whatever the content type, JSON parsed from that text. Requests send JSON with send_json, and the health check caps the body it reads at 64 KiB. Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts: # Cargo.lock # Cargo.toml
|
Pushed a follow-up commit on top of the ureq 3 migration:
Known limitations of the proxy path, documented in |
Bumps ureq from 2.12.1 to 3.5.1.
Changelog
Sourced from ureq's changelog.
... (truncated)
Commits
33ca9d33.5.1d1b194cBump ureq-proto to 0.7.181d1b40Bump ureq-proto to 0.7.00cbee9adocs: clarify body read limit defaults (#1223)f92baaeSend only cookie names and values in the Cookie headerf60896dPreserve readable responses after macOS timeout setter failures1bd534eFix changelogfee0ad2Prepare 3.5.0 and fix dependency advisories and warnings7de0ab7Remove realtime dependencies from tests3f18f90Add Agent::shutdown() for active and pooled connections