Skip to content

Fix request pipeline, authentication, cancellation, and URL handling - #4

Merged
ANSCoder merged 5 commits into
mainfrom
fix/pipeline-architecture
Oct 18, 2026
Merged

ANSCoder merged 5 commits into
mainfrom
fix/pipeline-architecture

Conversation

@ANSCoder

Copy link
Copy Markdown
Owner

Summary

  • Retry HTTP 429 and 5xx responses; restrict built-in retries to idempotent methods and cap backoff and total retries.
  • Honor endpoint auth overrides, prevent auth-provider refresh recursion, and strip common credentials and cookies from explicit no-auth requests.
  • Preserve query strings when resolving relative URLs.
  • Propagate cancellation through retries and decoding; move JSON and image decoding off actors and limit image prefetch concurrency.
  • Redact query values, URL user info, and fragments from request logs.
  • Add pipeline regression tests and update the README, changelog, and example documentation.

Compatibility

Public Swift signatures remain source-compatible, but request behavior changes. Recommend releasing as 2.0.0.

Testing

  • git diff --check passes.
  • Tests were not run.

@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Warnings
⚠️ PR is large (987 lines). Consider splitting.

Generated by 🚫 Danger Swift against 4f9fe3f

@ANSCoder
ANSCoder merged commit aca8149 into main Oct 18, 2026
6 checks passed
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