Skip to content

deps: bump ureq from 2.12.1 to 3.4.0 - #378

Merged
github-actions[bot] merged 2 commits into
mainfrom
dependabot/cargo/ureq-3.4.0
Aug 20, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
dependabot/cargo/ureq-3.4.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

Bumps ureq from 2.12.1 to 3.4.0.

Changelog

Sourced from ureq's changelog.

3.4.0

  • Seal RequestExt (technically breaking) #1189
  • Send canonical Basic authentication scheme to CONNECT proxies #1185
  • Establish target TLS through HTTPS CONNECT proxies #1183
  • Update rustls-platform-verifier to 0.7.0 #1174
  • Fix pooled connections never aging out according to max_idle_age #1172
  • Strip brackets from IPv6-literal hosts before TLS SNI/ServerName #1171
  • RequestExt::middleware_config for conf inside middleware #1169

3.3.0

  • Bump MSRV 1.71 -> 1.85, edition 2024 #1167

3.2.1

  • Switch archived utf-8 crate for utf8-zero #1163

3.2.0

  • Strip Content-Encoding/Content-Length headers after decompression #1156
  • Timeout per resolved ip for try_connect #1152
  • Fix body header bug on redirect #1140
  • ureq-proto 0.5.3 to fix unsolicited 100-continue #1139
  • Make socks5:// locally resolve before calling proxy #1138
  • Add socks5h:// which DOESN'T locally resolve before calling proxy #1138

3.1.4

  • Set content-type with new Multipart form #1133

3.1.3

  • Fix short read with multi-byte charset #1131
  • Replace rustls-pemfile usage with rustls-pki-types #1122
  • Support for env NO_PROXY and proxy config #1118
  • Experimental multi-part form support #1102

3.1.2

  • Fix bug when query is after host "example.com?query" #1115

3.1.1

  • Fix regression in MSRV (hold back native-tls) #1113
  • Fix edge case regression when setting request header Content-Length: 0 #1109

3.1.0

DECISION: webpki-roots and webpki-root-certs goes from pre-release (0.26)

... (truncated)

Commits

@dependabot @github

dependabot Bot commented on behalf of github Aug 17, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@github-actions
github-actions Bot enabled auto-merge (squash) August 17, 2026 00:38
@dependabot
dependabot Bot force-pushed the dependabot/cargo/ureq-3.4.0 branch 2 times, most recently from ea28235 to 60bfb83 Compare August 17, 2026 02:24
dependabot Bot and others added 2 commits August 20, 2026 18:11
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
mohitranka force-pushed the dependabot/cargo/ureq-3.4.0 branch from fecc737 to 6a80a79 Compare August 20, 2026 12:46
@github-actions
github-actions Bot merged commit aba6fe2 into main Aug 20, 2026
8 checks passed
@dependabot
dependabot Bot deleted the dependabot/cargo/ureq-3.4.0 branch August 20, 2026 12:48
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant