Skip to content

Fix #920: bump ureq to 3.3.0 and migrate downloader API#940

Merged
AlexMikhalev merged 1 commit into
mainfrom
fix/ureq-3.3.0-downloader
Jul 6, 2026
Merged

Fix #920: bump ureq to 3.3.0 and migrate downloader API#940
AlexMikhalev merged 1 commit into
mainfrom
fix/ureq-3.3.0-downloader

Conversation

@AlexMikhalev

Copy link
Copy Markdown
Contributor

Supersedes and closes #920.

ureq 3.x introduces breaking API changes:

  • timeout is now configured on the Agent via ConfigBuilder
  • responses are http::Response
  • Content-Length is read from headers()
  • body is streamed via Body::as_reader()

This PR updates crates/terraphim_update to compile and pass tests with ureq 3.3.0.

Closes #920

ureq 3.x moves timeout/config to Agent and uses http::Response for
responses. Update perform_download to build an Agent with the request
timeout, read Content-Length from headers(), and stream the body via
Body::as_reader().

Closes #920
@AlexMikhalev AlexMikhalev merged commit 1015328 into main Jul 6, 2026
1 check passed
@AlexMikhalev AlexMikhalev deleted the fix/ureq-3.3.0-downloader branch July 6, 2026 16:25
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