From 2fb887052929354c1a71bcbdad4f47041fac9e9b Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Mon, 5 Oct 2026 18:13:04 +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-detection-only-feature.md | 9 ---------
CHANGELOG.md | 10 ++++++++++
dotnet/src/SmooAI.File.S3/SmooAI.File.S3.csproj | 2 +-
dotnet/src/SmooAI.File/SmooAI.File.csproj | 2 +-
go/file/version.go | 2 +-
package.json | 2 +-
python/pyproject.toml | 2 +-
python/src/smooai_file/__init__.py | 2 +-
rust/file/Cargo.lock | 2 +-
rust/file/Cargo.toml | 2 +-
10 files changed, 18 insertions(+), 17 deletions(-)
delete mode 100644 .changeset/rust-detection-only-feature.md
diff --git a/.changeset/rust-detection-only-feature.md b/.changeset/rust-detection-only-feature.md
deleted file mode 100644
index b42f49b..0000000
--- a/.changeset/rust-detection-only-feature.md
+++ /dev/null
@@ -1,9 +0,0 @@
----
-'@smooai/file': patch
----
-
-**Rust: a detection-only build.** The crate's I/O `File` type (local, URL, stream and S3 sources) is now behind a `file` feature, on by default, so existing users see no change. With `default-features = false`, `smooai-file` is just magic-byte detection (`detection`), `content_disposition` and the validation error types, and depends on only `infer`, `mime_guess` and `thiserror`, with no AWS SDK, reqwest or tokio. That makes it usable from a service's core library that only needs to sniff bytes it already holds, which is where dogfooding needs it: the Smoo AI media pipeline had two hand-written `infer` sniffers that drifted apart. CI now checks both builds.
-
-**Rust: `infer` 0.16 → 0.19** for newer magic-number signatures.
-
-**.NET: SourceLink 8.0.0 → 10.0.303.** `Microsoft.Build.Tasks.Git` 8.0.0 picked up advisory GHSA-23fw-v26w-5fgq (CVE-2026-62900), and with `TreatWarningsAsErrors` that failed every restore, which red-lit CI. This is build-time only (`PrivateAssets="All"`), so nothing ships to consumers.
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0625cae..c03515c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,15 @@
# @smooai/file
+## 2.2.21
+
+### Patch Changes
+
+- b49d0bb: **Rust: a detection-only build.** The crate's I/O `File` type (local, URL, stream and S3 sources) is now behind a `file` feature, on by default, so existing users see no change. With `default-features = false`, `smooai-file` is just magic-byte detection (`detection`), `content_disposition` and the validation error types, and depends on only `infer`, `mime_guess` and `thiserror`, with no AWS SDK, reqwest or tokio. That makes it usable from a service's core library that only needs to sniff bytes it already holds, which is where dogfooding needs it: the Smoo AI media pipeline had two hand-written `infer` sniffers that drifted apart. CI now checks both builds.
+
+ **Rust: `infer` 0.16 → 0.19** for newer magic-number signatures.
+
+ **.NET: SourceLink 8.0.0 → 10.0.303.** `Microsoft.Build.Tasks.Git` 8.0.0 picked up advisory GHSA-23fw-v26w-5fgq (CVE-2026-62900), and with `TreatWarningsAsErrors` that failed every restore, which red-lit CI. This is build-time only (`PrivateAssets="All"`), so nothing ships to consumers.
+
## 2.2.20
### Patch Changes
diff --git a/dotnet/src/SmooAI.File.S3/SmooAI.File.S3.csproj b/dotnet/src/SmooAI.File.S3/SmooAI.File.S3.csproj
index 9e63ffa..975d449 100644
--- a/dotnet/src/SmooAI.File.S3/SmooAI.File.S3.csproj
+++ b/dotnet/src/SmooAI.File.S3/SmooAI.File.S3.csproj
@@ -10,7 +10,7 @@
SmooAI.File.S3
SmooAI.File.S3
SmooAI.File.S3
- 2.2.20
+ 2.2.21
S3 helpers for SmooAI.File — createPresignedUploadUrl, createFromS3, uploadToS3, saveToS3.
README.md
diff --git a/dotnet/src/SmooAI.File/SmooAI.File.csproj b/dotnet/src/SmooAI.File/SmooAI.File.csproj
index 058ba30..2e57e0b 100644
--- a/dotnet/src/SmooAI.File/SmooAI.File.csproj
+++ b/dotnet/src/SmooAI.File/SmooAI.File.csproj
@@ -10,7 +10,7 @@
SmooAI.File
SmooAI.File
SmooAI.File
- 2.2.20
+ 2.2.21
File utilities with magic-byte MIME detection (via Mime-Detective) and typed validation errors. Use SmooAI.File.S3 for S3 upload/download helpers.
README.md
diff --git a/go/file/version.go b/go/file/version.go
index 607e2e4..6718446 100644
--- a/go/file/version.go
+++ b/go/file/version.go
@@ -1,4 +1,4 @@
package file
// Version is the current version of the smooai-file Go package.
-const Version = "2.2.20"
+const Version = "2.2.21"
diff --git a/package.json b/package.json
index 3b967ac..127097a 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@smooai/file",
- "version": "2.2.20",
+ "version": "2.2.21",
"description": "File operations that don't lie — magic-byte MIME detection catches spoofed extensions, size + content validation is built in, and presigned S3 uploads are one call away. Stream-first so large uploads don't blow your memory.",
"homepage": "https://github.com/SmooAI/file#readme",
"bugs": {
diff --git a/python/pyproject.toml b/python/pyproject.toml
index 94095f6..96dfdf1 100644
--- a/python/pyproject.toml
+++ b/python/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "smooai-file"
-version = "2.2.20"
+version = "2.2.21"
description = "A unified file handling library for working with files from local filesystem, S3, URLs, and streams."
readme = "README.md"
authors = [{ name = "SmooAI", email = "brent@smooai.com" }]
diff --git a/python/src/smooai_file/__init__.py b/python/src/smooai_file/__init__.py
index 2cb3bcb..c7675e6 100644
--- a/python/src/smooai_file/__init__.py
+++ b/python/src/smooai_file/__init__.py
@@ -4,7 +4,7 @@
S3, URLs, and streams.
"""
-__version__ = "2.2.20"
+__version__ = "2.2.21"
from ._content_disposition import parse_content_disposition
from ._detection import detect_from_bytes, detect_from_extension, extension_from_mime
diff --git a/rust/file/Cargo.lock b/rust/file/Cargo.lock
index dca28b9..c320374 100644
--- a/rust/file/Cargo.lock
+++ b/rust/file/Cargo.lock
@@ -2279,7 +2279,7 @@ checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
[[package]]
name = "smooai-file"
-version = "2.2.20"
+version = "2.2.21"
dependencies = [
"aws-config",
"aws-sdk-s3",
diff --git a/rust/file/Cargo.toml b/rust/file/Cargo.toml
index ded2987..131df3b 100644
--- a/rust/file/Cargo.toml
+++ b/rust/file/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "smooai-file"
-version = "2.2.20"
+version = "2.2.21"
edition = "2021"
description = "A unified file handling library for working with files from local filesystem, S3, URLs, and streams."
license = "MIT"