Skip to content

chore: bump upstream wreq crates - #28

Merged
StopMakingThatBigFace merged 3 commits into
mainfrom
chore/update-wreq-upstream
Aug 26, 2026
Merged

chore: bump upstream wreq crates#28
StopMakingThatBigFace merged 3 commits into
mainfrom
chore/update-wreq-upstream

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Release Notes

  • Migrated from the release-candidate builds to stable wreq 0.16.0 and wreq-util 0.2.0.
  • Source builds now require Rust 1.98. Regular installations using prebuilt native binaries are unaffected.

HTTP and WebSocket transport

  • Added the tcpLinger option to HTTP requests, reusable clients, and WebSocket connections.
  • Setting tcpLinger to 0 enables an abortive close, while leaving it unset preserves the operating system default.
  • Native DNS failures now expose the stable ERR_DNS error code and can be targeted through retry.errorCodes.
  • WebSocket cookie-jar lookups now treat ws: and wss: URLs as their equivalent http: and https: origins.

Redirect compatibility and privacy

  • 300 Multiple Choices responses are now returned to the caller instead of being followed automatically.
  • Redirects honor the response鈥檚 Referrer-Policy, including origin changes and HTTPS-to-HTTP downgrades.
  • Authorization, proxy authorization, and explicit cookie headers are removed when a redirect crosses origins.
  • Redirect URL and referrer handling now follows standard URL sanitization and length limits more closely.

Performance

  • HTTP request dispatch and response-stream reads now run on the shared Tokio runtime instead of creating a separate operating-system thread for each operation.
  • Convenience body readers use a native whole-body fast path for lower overhead.
  • Existing WHATWG stream behavior remains available when response.body is accessed or a response is cloned.
  • Body locking, bodyUsed, cloning, cancellation, error propagation, and single-consumption guarantees remain compatible with the existing API.

@StopMakingThatBigFace
StopMakingThatBigFace merged commit 1bf7dec into main Aug 26, 2026
16 checks passed
@StopMakingThatBigFace
StopMakingThatBigFace deleted the chore/update-wreq-upstream branch August 26, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant