Skip to content

🦋 New version release - #123

Merged
brentrager merged 1 commit into
mainfrom
changeset-release/main
Aug 28, 2026
Merged

🦋 New version release#123
brentrager merged 1 commit into
mainfrom
changeset-release/main

Conversation

@brentrager

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@smooai/fetch@3.7.1

Patch Changes

  • 0518da3: Rust: move the redirect option off RequestInit and onto the builder

    3.7.0 added RequestInit.follow_redirects. Adding a public field to a struct
    consumers construct is a breaking change in Rust semver, shipped under a
    minor — building the SmooAI monorepo against 3.7.0 fails with
    error[E0063]: missing field in 129 exhaustive constructors across ~40 crates.

    The option is now FetchBuilder::with_follow_redirects, matching the shape Go
    and .NET already use, and RequestInit is back to its 3.6.2 fields. Redirect
    policy is per-Client in reqwest anyway, so the builder was the right home from
    the start.

    client::fetch keeps its exact signature; a new client::fetch_with_redirect_policy
    takes the extra argument, so nothing that compiled against 3.6.2 needs changing.

    3.7.0 is yanked from crates.io. The other four languages were unaffected —
    Python added a defaulted dataclass field, Go and .NET added builder methods.

@brentrager
brentrager merged commit a68fc08 into main Aug 28, 2026
@brentrager
brentrager deleted the changeset-release/main branch August 28, 2026 03:45
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