Repository navigation
deps: bump ureq from 2.12.1 to 3.4.0 - #378
Merged
Merged
Conversation
Contributor
Author
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
dependabot
Bot
force-pushed
the
dependabot/cargo/ureq-3.4.0
branch
2 times, most recently
from
August 17, 2026 02:24
ea28235 to
60bfb83
Compare
Bumps [ureq](https://github.com/algesten/ureq) from 2.12.1 to 3.4.0. - [Changelog](https://github.com/algesten/ureq/blob/main/CHANGELOG.md) - [Commits](algesten/ureq@2.12.1...3.4.0) --- updated-dependencies: - dependency-name: ureq dependency-version: 3.4.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
The bump in the parent commit is a major version with breaking API
changes; the crate did not compile against it (30 errors). Migrate the
call sites:
- `AgentBuilder::new()` -> `Agent::config_builder()`, `.timeout()` ->
`.timeout_per_call()` / `.timeout_global()`, `.redirects(0)` ->
`.max_redirects(0)`
- `.set()` -> `.header()`, `.send_string()` -> `.send()`
- `Response::into_string`/`into_json` -> `body_mut().read_to_string()` /
`read_json()`; `status()` now returns `StatusCode`, so compare
`.as_u16()`
- `Error::Status(code, response)` -> `Error::StatusCode(code)`
The last one is the substantive change: ureq 3 no longer carries the
response on a status error, so code that read the error's body or its
`Location` header had nowhere to read from. Those call sites now set
`http_status_as_error(false)` and branch on the status of an ordinary
response — the redirect handling and error-body reporting in
`http_get_json_ids`, and the OAuth flows, whose `error` /
`error_description` bodies callers parse. Where only the status code was
ever used, the variant is mapped straight across and behaviour is
unchanged.
Two assertions pinned ureq 2's own error text ("status code 500"), which
ureq 3 renders as "http status: 500"; they are updated. Anthropic's 500
now reports as a status failure rather than "unreachable", which is also
more accurate — the server answered.
Separately, `picker_refresh_replaces_a_fresh_account_catalog` refreshes
the models.dev registry and so reads `FORGE_MODELS_DEV_URL` without
holding `EnvGuard`. That raced `refresh_models_dev_registry_uses_
override_url`: whichever ran second consumed the other's single scripted
mock response and failed with a connection reset. The race predates this
bump; ureq 3's timing surfaced it, at 3 failures in 10 suite runs. The
test now takes the guard and points the variable at its own mock, which
also stops it reaching the real models.dev. 8/8 runs green after.
mohitranka
force-pushed
the
dependabot/cargo/ureq-3.4.0
branch
from
August 20, 2026 12:46
fecc737 to
6a80a79
Compare
mohitranka
added a commit
that referenced
this pull request
Aug 21, 2026
* deps: bump ureq from 2.12.1 to 3.4.0 Bumps [ureq](https://github.com/algesten/ureq) from 2.12.1 to 3.4.0. - [Changelog](https://github.com/algesten/ureq/blob/main/CHANGELOG.md) - [Commits](algesten/ureq@2.12.1...3.4.0) --- updated-dependencies: - dependency-name: ureq dependency-version: 3.4.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * deps: migrate forge-connect to the ureq 3 API The bump in the parent commit is a major version with breaking API changes; the crate did not compile against it (30 errors). Migrate the call sites: - `AgentBuilder::new()` -> `Agent::config_builder()`, `.timeout()` -> `.timeout_per_call()` / `.timeout_global()`, `.redirects(0)` -> `.max_redirects(0)` - `.set()` -> `.header()`, `.send_string()` -> `.send()` - `Response::into_string`/`into_json` -> `body_mut().read_to_string()` / `read_json()`; `status()` now returns `StatusCode`, so compare `.as_u16()` - `Error::Status(code, response)` -> `Error::StatusCode(code)` The last one is the substantive change: ureq 3 no longer carries the response on a status error, so code that read the error's body or its `Location` header had nowhere to read from. Those call sites now set `http_status_as_error(false)` and branch on the status of an ordinary response — the redirect handling and error-body reporting in `http_get_json_ids`, and the OAuth flows, whose `error` / `error_description` bodies callers parse. Where only the status code was ever used, the variant is mapped straight across and behaviour is unchanged. Two assertions pinned ureq 2's own error text ("status code 500"), which ureq 3 renders as "http status: 500"; they are updated. Anthropic's 500 now reports as a status failure rather than "unreachable", which is also more accurate — the server answered. Separately, `picker_refresh_replaces_a_fresh_account_catalog` refreshes the models.dev registry and so reads `FORGE_MODELS_DEV_URL` without holding `EnvGuard`. That raced `refresh_models_dev_registry_uses_ override_url`: whichever ran second consumed the other's single scripted mock response and failed with a connection reset. The race predates this bump; ureq 3's timing surfaced it, at 3 failures in 10 suite runs. The test now takes the guard and points the variable at its own mock, which also stops it reaching the real models.dev. 8/8 runs green after. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mohit Ranka <[email protected]>
mohitranka
added a commit
that referenced
this pull request
Sep 11, 2026
* deps: bump ureq from 2.12.1 to 3.4.0 Bumps [ureq](https://github.com/algesten/ureq) from 2.12.1 to 3.4.0. - [Changelog](https://github.com/algesten/ureq/blob/main/CHANGELOG.md) - [Commits](algesten/ureq@2.12.1...3.4.0) --- updated-dependencies: - dependency-name: ureq dependency-version: 3.4.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * deps: migrate forge-connect to the ureq 3 API The bump in the parent commit is a major version with breaking API changes; the crate did not compile against it (30 errors). Migrate the call sites: - `AgentBuilder::new()` -> `Agent::config_builder()`, `.timeout()` -> `.timeout_per_call()` / `.timeout_global()`, `.redirects(0)` -> `.max_redirects(0)` - `.set()` -> `.header()`, `.send_string()` -> `.send()` - `Response::into_string`/`into_json` -> `body_mut().read_to_string()` / `read_json()`; `status()` now returns `StatusCode`, so compare `.as_u16()` - `Error::Status(code, response)` -> `Error::StatusCode(code)` The last one is the substantive change: ureq 3 no longer carries the response on a status error, so code that read the error's body or its `Location` header had nowhere to read from. Those call sites now set `http_status_as_error(false)` and branch on the status of an ordinary response — the redirect handling and error-body reporting in `http_get_json_ids`, and the OAuth flows, whose `error` / `error_description` bodies callers parse. Where only the status code was ever used, the variant is mapped straight across and behaviour is unchanged. Two assertions pinned ureq 2's own error text ("status code 500"), which ureq 3 renders as "http status: 500"; they are updated. Anthropic's 500 now reports as a status failure rather than "unreachable", which is also more accurate — the server answered. Separately, `picker_refresh_replaces_a_fresh_account_catalog` refreshes the models.dev registry and so reads `FORGE_MODELS_DEV_URL` without holding `EnvGuard`. That raced `refresh_models_dev_registry_uses_ override_url`: whichever ran second consumed the other's single scripted mock response and failed with a connection reset. The race predates this bump; ureq 3's timing surfaced it, at 3 failures in 10 suite runs. The test now takes the guard and points the variable at its own mock, which also stops it reaching the real models.dev. 8/8 runs green after. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mohit Ranka <[email protected]>
mohitranka
added a commit
that referenced
this pull request
Sep 11, 2026
* deps: bump ureq from 2.12.1 to 3.4.0 Bumps [ureq](https://github.com/algesten/ureq) from 2.12.1 to 3.4.0. - [Changelog](https://github.com/algesten/ureq/blob/main/CHANGELOG.md) - [Commits](algesten/ureq@2.12.1...3.4.0) --- updated-dependencies: - dependency-name: ureq dependency-version: 3.4.0 dependency-type: direct:production update-type: version-update:semver-major ... * deps: migrate forge-connect to the ureq 3 API The bump in the parent commit is a major version with breaking API changes; the crate did not compile against it (30 errors). Migrate the call sites: - `AgentBuilder::new()` -> `Agent::config_builder()`, `.timeout()` -> `.timeout_per_call()` / `.timeout_global()`, `.redirects(0)` -> `.max_redirects(0)` - `.set()` -> `.header()`, `.send_string()` -> `.send()` - `Response::into_string`/`into_json` -> `body_mut().read_to_string()` / `read_json()`; `status()` now returns `StatusCode`, so compare `.as_u16()` - `Error::Status(code, response)` -> `Error::StatusCode(code)` The last one is the substantive change: ureq 3 no longer carries the response on a status error, so code that read the error's body or its `Location` header had nowhere to read from. Those call sites now set `http_status_as_error(false)` and branch on the status of an ordinary response — the redirect handling and error-body reporting in `http_get_json_ids`, and the OAuth flows, whose `error` / `error_description` bodies callers parse. Where only the status code was ever used, the variant is mapped straight across and behaviour is unchanged. Two assertions pinned ureq 2's own error text ("status code 500"), which ureq 3 renders as "http status: 500"; they are updated. Anthropic's 500 now reports as a status failure rather than "unreachable", which is also more accurate — the server answered. Separately, `picker_refresh_replaces_a_fresh_account_catalog` refreshes the models.dev registry and so reads `FORGE_MODELS_DEV_URL` without holding `EnvGuard`. That raced `refresh_models_dev_registry_uses_ override_url`: whichever ran second consumed the other's single scripted mock response and failed with a connection reset. The race predates this bump; ureq 3's timing surfaced it, at 3 failures in 10 suite runs. The test now takes the guard and points the variable at its own mock, which also stops it reaching the real models.dev. 8/8 runs green after. --------- Co-authored-by: Mohit Ranka <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps ureq from 2.12.1 to 3.4.0.
Changelog
Sourced from ureq's changelog.
... (truncated)
Commits
5e803fc3.4.082b37b5Update changelog for 3.4.007b8ea2Seal RequestExt (#1189)0df28a1Update changelog653e963Bump deps (#1188)830f6cachore: remove redundant clone (#1187)6e9a050Send CONNECT Proxy-Authorization scheme as canonical "Basic" (#1185)f8a5bedFix TLS to targets through HTTPS proxies (#1183)1f1c342Support testing in release mode (#1180)089c235Update rustls-platform-verifier to 0.7.0