From b740c681f1ed82d56c935851dc2f471981da818e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 28 Aug 2026 03:44:09 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=8B=20New=20version=20release?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/rust-redirect-on-builder.md | 21 --------------------- CHANGELOG.md | 22 ++++++++++++++++++++++ dotnet/SmooAI.Fetch/SmooAI.Fetch.csproj | 2 +- go/fetch/version.go | 2 +- package.json | 2 +- python/pyproject.toml | 2 +- python/src/smooai_fetch/__init__.py | 2 +- rust/fetch/Cargo.lock | 2 +- rust/fetch/Cargo.toml | 2 +- 9 files changed, 29 insertions(+), 28 deletions(-) delete mode 100644 .changeset/rust-redirect-on-builder.md diff --git a/.changeset/rust-redirect-on-builder.md b/.changeset/rust-redirect-on-builder.md deleted file mode 100644 index cc9361d..0000000 --- a/.changeset/rust-redirect-on-builder.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -'@smooai/fetch': patch ---- - -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. diff --git a/CHANGELOG.md b/CHANGELOG.md index ecd7574..9e0c2ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ # @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. + ## 3.7.0 ### Minor Changes diff --git a/dotnet/SmooAI.Fetch/SmooAI.Fetch.csproj b/dotnet/SmooAI.Fetch/SmooAI.Fetch.csproj index 8a57654..6b7674e 100644 --- a/dotnet/SmooAI.Fetch/SmooAI.Fetch.csproj +++ b/dotnet/SmooAI.Fetch/SmooAI.Fetch.csproj @@ -10,7 +10,7 @@ $(NoWarn);CS1591 SmooAI.Fetch - 3.7.0 + 3.7.1 SmooAI SmooAI Resilient HTTP client for .NET with Polly-based retry, timeouts, typed JSON responses, and auth token injection. Port of @smooai/fetch. diff --git a/go/fetch/version.go b/go/fetch/version.go index 1f28cf2..a14279d 100644 --- a/go/fetch/version.go +++ b/go/fetch/version.go @@ -1,4 +1,4 @@ package fetch // Version is the current version of the smooai-fetch Go package. -const Version = "3.7.0" +const Version = "3.7.1" diff --git a/package.json b/package.json index 0cb113d..a737c76 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@smooai/fetch", - "version": "3.7.0", + "version": "3.7.1", "description": "A powerful fetch client library built on top of the native `fetch` API, designed for both Node.js and browser environments. Features built-in support for retries, timeouts, rate limiting, circuit breaking, and Standard Schema validation.", "homepage": "https://github.com/SmooAI/fetch#readme", "bugs": { diff --git a/python/pyproject.toml b/python/pyproject.toml index 439bef3..e03197c 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "smooai-fetch" -version = "3.7.0" +version = "3.7.1" description = "A resilient HTTP fetch client with retries, timeouts, rate limiting, and circuit breaking." # readme = "README.md" authors = [{ name = "SmooAI", email = "brent@smooai.com" }] diff --git a/python/src/smooai_fetch/__init__.py b/python/src/smooai_fetch/__init__.py index 0eeba12..307aa02 100644 --- a/python/src/smooai_fetch/__init__.py +++ b/python/src/smooai_fetch/__init__.py @@ -4,7 +4,7 @@ and circuit breaking. """ -__version__ = "3.7.0" +__version__ = "3.7.1" # Core client # Builder diff --git a/rust/fetch/Cargo.lock b/rust/fetch/Cargo.lock index 6bcaa42..9a81280 100644 --- a/rust/fetch/Cargo.lock +++ b/rust/fetch/Cargo.lock @@ -1230,7 +1230,7 @@ checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" [[package]] name = "smooai-fetch" -version = "3.7.0" +version = "3.7.1" dependencies = [ "opentelemetry", "opentelemetry_sdk", diff --git a/rust/fetch/Cargo.toml b/rust/fetch/Cargo.toml index 1196be3..1904dcf 100644 --- a/rust/fetch/Cargo.toml +++ b/rust/fetch/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "smooai-fetch" -version = "3.7.0" +version = "3.7.1" edition = "2021" description = "A resilient HTTP fetch client with retries, timeouts, rate limiting, and circuit breaking." license = "MIT"