From b4e3eb9d486199ad4194fc05ed7277f6bda74873 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 11 May 2026 07:57:54 +0000 Subject: [PATCH] ci: Version Packages --- .changeset/add-ai-utils-package.md | 5 ----- .changeset/add-openai-base-package.md | 5 ----- .changeset/refactor-providers-to-shared-packages.md | 13 ------------- examples/ts-svelte-chat/CHANGELOG.md | 10 ++++++++++ examples/ts-svelte-chat/package.json | 2 +- examples/ts-vue-chat/CHANGELOG.md | 10 ++++++++++ examples/ts-vue-chat/package.json | 2 +- packages/typescript/ai-anthropic/CHANGELOG.md | 9 +++++++++ packages/typescript/ai-anthropic/package.json | 2 +- .../ai-code-mode/models-eval/CHANGELOG.md | 12 ++++++++++++ .../ai-code-mode/models-eval/package.json | 2 +- packages/typescript/ai-elevenlabs/CHANGELOG.md | 9 +++++++++ packages/typescript/ai-elevenlabs/package.json | 2 +- packages/typescript/ai-fal/CHANGELOG.md | 9 +++++++++ packages/typescript/ai-fal/package.json | 2 +- packages/typescript/ai-gemini/CHANGELOG.md | 9 +++++++++ packages/typescript/ai-gemini/package.json | 2 +- packages/typescript/ai-grok/CHANGELOG.md | 10 ++++++++++ packages/typescript/ai-grok/package.json | 2 +- packages/typescript/ai-groq/CHANGELOG.md | 10 ++++++++++ packages/typescript/ai-groq/package.json | 2 +- packages/typescript/ai-ollama/CHANGELOG.md | 9 +++++++++ packages/typescript/ai-ollama/package.json | 2 +- packages/typescript/ai-openai/CHANGELOG.md | 10 ++++++++++ packages/typescript/ai-openai/package.json | 2 +- packages/typescript/ai-openrouter/CHANGELOG.md | 9 +++++++++ packages/typescript/ai-openrouter/package.json | 2 +- packages/typescript/ai-utils/CHANGELOG.md | 7 +++++++ packages/typescript/ai-utils/package.json | 2 +- packages/typescript/openai-base/CHANGELOG.md | 12 ++++++++++++ packages/typescript/openai-base/package.json | 2 +- 31 files changed, 149 insertions(+), 37 deletions(-) delete mode 100644 .changeset/add-ai-utils-package.md delete mode 100644 .changeset/add-openai-base-package.md delete mode 100644 .changeset/refactor-providers-to-shared-packages.md create mode 100644 packages/typescript/ai-utils/CHANGELOG.md create mode 100644 packages/typescript/openai-base/CHANGELOG.md diff --git a/.changeset/add-ai-utils-package.md b/.changeset/add-ai-utils-package.md deleted file mode 100644 index c5cdcddee..000000000 --- a/.changeset/add-ai-utils-package.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@tanstack/ai-utils': minor ---- - -New package: shared provider-agnostic utilities for TanStack AI adapters. Includes `generateId`, `getApiKeyFromEnv`, `transformNullsToUndefined`, and `ModelMeta` types with `defineModelMeta` validation helper. Zero runtime dependencies. diff --git a/.changeset/add-openai-base-package.md b/.changeset/add-openai-base-package.md deleted file mode 100644 index b549fe322..000000000 --- a/.changeset/add-openai-base-package.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@tanstack/openai-base': minor ---- - -New package: shared base adapters and utilities for OpenAI-compatible providers. Includes Chat Completions and Responses API text adapter base classes, image/summarize/transcription/TTS/video adapter base classes, schema converter, 15 tool converters, and shared types. Providers extend these base classes to reduce duplication and ensure consistent behavior. diff --git a/.changeset/refactor-providers-to-shared-packages.md b/.changeset/refactor-providers-to-shared-packages.md deleted file mode 100644 index fdbaac062..000000000 --- a/.changeset/refactor-providers-to-shared-packages.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -'@tanstack/ai-openai': patch -'@tanstack/ai-grok': patch -'@tanstack/ai-groq': patch -'@tanstack/ai-openrouter': patch -'@tanstack/ai-ollama': patch -'@tanstack/ai-anthropic': patch -'@tanstack/ai-gemini': patch -'@tanstack/ai-fal': patch -'@tanstack/ai-elevenlabs': patch ---- - -Internal refactor: every provider now delegates `getApiKeyFromEnv` / `generateId` / `transformNullsToUndefined` / `ModelMeta` helpers to the new `@tanstack/ai-utils` package. `ai-openai` and `ai-grok` additionally inherit OpenAI-compatible adapter base classes (Chat Completions / Responses text, image, summarize, transcription, TTS, video) from the new `@tanstack/openai-base` package; `ai-groq` keeps its own `BaseTextAdapter`-derived text adapter (Groq uses the `groq-sdk`, not the OpenAI SDK) but consumes `@tanstack/openai-base`'s schema converter and tool converters. The remaining providers (`ai-anthropic`, `ai-gemini`, `ai-ollama`, `ai-openrouter`, `ai-fal`, `ai-elevenlabs`) only consume `@tanstack/ai-utils` because they speak provider-native protocols, not OpenAI-compatible ones. No breaking changes — all public APIs remain identical. diff --git a/examples/ts-svelte-chat/CHANGELOG.md b/examples/ts-svelte-chat/CHANGELOG.md index 85fdf42bf..e19da44f4 100644 --- a/examples/ts-svelte-chat/CHANGELOG.md +++ b/examples/ts-svelte-chat/CHANGELOG.md @@ -1,5 +1,15 @@ # ts-svelte-chat +## 0.1.40 + +### Patch Changes + +- Updated dependencies [[`27c9aeb`](https://github.com/TanStack/ai/commit/27c9aeb80993f8262e65ef623a4cc6dadf18817e)]: + - @tanstack/ai-openai@0.8.4 + - @tanstack/ai-ollama@0.6.12 + - @tanstack/ai-anthropic@0.8.5 + - @tanstack/ai-gemini@0.10.2 + ## 0.1.39 ### Patch Changes diff --git a/examples/ts-svelte-chat/package.json b/examples/ts-svelte-chat/package.json index 4374bd000..2cf13ffdc 100644 --- a/examples/ts-svelte-chat/package.json +++ b/examples/ts-svelte-chat/package.json @@ -1,7 +1,7 @@ { "name": "ts-svelte-chat", "private": true, - "version": "0.1.39", + "version": "0.1.40", "type": "module", "scripts": { "dev": "vite dev --port 3000", diff --git a/examples/ts-vue-chat/CHANGELOG.md b/examples/ts-vue-chat/CHANGELOG.md index 39f4ac08e..b82b66b99 100644 --- a/examples/ts-vue-chat/CHANGELOG.md +++ b/examples/ts-vue-chat/CHANGELOG.md @@ -1,5 +1,15 @@ # ts-vue-chat +## 0.1.40 + +### Patch Changes + +- Updated dependencies [[`27c9aeb`](https://github.com/TanStack/ai/commit/27c9aeb80993f8262e65ef623a4cc6dadf18817e)]: + - @tanstack/ai-openai@0.8.4 + - @tanstack/ai-ollama@0.6.12 + - @tanstack/ai-anthropic@0.8.5 + - @tanstack/ai-gemini@0.10.2 + ## 0.1.39 ### Patch Changes diff --git a/examples/ts-vue-chat/package.json b/examples/ts-vue-chat/package.json index 2001d0398..910f2dcf6 100644 --- a/examples/ts-vue-chat/package.json +++ b/examples/ts-vue-chat/package.json @@ -1,6 +1,6 @@ { "name": "ts-vue-chat", - "version": "0.1.39", + "version": "0.1.40", "private": true, "type": "module", "scripts": { diff --git a/packages/typescript/ai-anthropic/CHANGELOG.md b/packages/typescript/ai-anthropic/CHANGELOG.md index e9c0dc0f8..3492454ac 100644 --- a/packages/typescript/ai-anthropic/CHANGELOG.md +++ b/packages/typescript/ai-anthropic/CHANGELOG.md @@ -1,5 +1,14 @@ # @tanstack/ai-anthropic +## 0.8.5 + +### Patch Changes + +- Internal refactor: every provider now delegates `getApiKeyFromEnv` / `generateId` / `transformNullsToUndefined` / `ModelMeta` helpers to the new `@tanstack/ai-utils` package. `ai-openai` and `ai-grok` additionally inherit OpenAI-compatible adapter base classes (Chat Completions / Responses text, image, summarize, transcription, TTS, video) from the new `@tanstack/openai-base` package; `ai-groq` keeps its own `BaseTextAdapter`-derived text adapter (Groq uses the `groq-sdk`, not the OpenAI SDK) but consumes `@tanstack/openai-base`'s schema converter and tool converters. The remaining providers (`ai-anthropic`, `ai-gemini`, `ai-ollama`, `ai-openrouter`, `ai-fal`, `ai-elevenlabs`) only consume `@tanstack/ai-utils` because they speak provider-native protocols, not OpenAI-compatible ones. No breaking changes — all public APIs remain identical. ([#409](https://github.com/TanStack/ai/pull/409)) + +- Updated dependencies [[`27c9aeb`](https://github.com/TanStack/ai/commit/27c9aeb80993f8262e65ef623a4cc6dadf18817e)]: + - @tanstack/ai-utils@0.2.0 + ## 0.8.4 ### Patch Changes diff --git a/packages/typescript/ai-anthropic/package.json b/packages/typescript/ai-anthropic/package.json index aae16335b..60e9170ff 100644 --- a/packages/typescript/ai-anthropic/package.json +++ b/packages/typescript/ai-anthropic/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/ai-anthropic", - "version": "0.8.4", + "version": "0.8.5", "description": "Anthropic Claude adapter for TanStack AI", "author": "", "license": "MIT", diff --git a/packages/typescript/ai-code-mode/models-eval/CHANGELOG.md b/packages/typescript/ai-code-mode/models-eval/CHANGELOG.md index b30229161..9d5f1890e 100644 --- a/packages/typescript/ai-code-mode/models-eval/CHANGELOG.md +++ b/packages/typescript/ai-code-mode/models-eval/CHANGELOG.md @@ -1,5 +1,17 @@ # @tanstack/ai-code-mode-models-eval +## 0.0.14 + +### Patch Changes + +- Updated dependencies [[`27c9aeb`](https://github.com/TanStack/ai/commit/27c9aeb80993f8262e65ef623a4cc6dadf18817e)]: + - @tanstack/ai-openai@0.8.4 + - @tanstack/ai-grok@0.7.2 + - @tanstack/ai-groq@0.1.10 + - @tanstack/ai-ollama@0.6.12 + - @tanstack/ai-anthropic@0.8.5 + - @tanstack/ai-gemini@0.10.2 + ## 0.0.13 ### Patch Changes diff --git a/packages/typescript/ai-code-mode/models-eval/package.json b/packages/typescript/ai-code-mode/models-eval/package.json index 2102d9fe7..e24d34135 100644 --- a/packages/typescript/ai-code-mode/models-eval/package.json +++ b/packages/typescript/ai-code-mode/models-eval/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/ai-code-mode-models-eval", - "version": "0.0.13", + "version": "0.0.14", "private": true, "type": "module", "description": "Dev benchmark: local/cloud models vs code-mode database-demo gold (not published)", diff --git a/packages/typescript/ai-elevenlabs/CHANGELOG.md b/packages/typescript/ai-elevenlabs/CHANGELOG.md index 55b305371..4e5eb5297 100644 --- a/packages/typescript/ai-elevenlabs/CHANGELOG.md +++ b/packages/typescript/ai-elevenlabs/CHANGELOG.md @@ -1,5 +1,14 @@ # @tanstack/ai-elevenlabs +## 0.2.2 + +### Patch Changes + +- Internal refactor: every provider now delegates `getApiKeyFromEnv` / `generateId` / `transformNullsToUndefined` / `ModelMeta` helpers to the new `@tanstack/ai-utils` package. `ai-openai` and `ai-grok` additionally inherit OpenAI-compatible adapter base classes (Chat Completions / Responses text, image, summarize, transcription, TTS, video) from the new `@tanstack/openai-base` package; `ai-groq` keeps its own `BaseTextAdapter`-derived text adapter (Groq uses the `groq-sdk`, not the OpenAI SDK) but consumes `@tanstack/openai-base`'s schema converter and tool converters. The remaining providers (`ai-anthropic`, `ai-gemini`, `ai-ollama`, `ai-openrouter`, `ai-fal`, `ai-elevenlabs`) only consume `@tanstack/ai-utils` because they speak provider-native protocols, not OpenAI-compatible ones. No breaking changes — all public APIs remain identical. ([#409](https://github.com/TanStack/ai/pull/409)) + +- Updated dependencies [[`27c9aeb`](https://github.com/TanStack/ai/commit/27c9aeb80993f8262e65ef623a4cc6dadf18817e)]: + - @tanstack/ai-utils@0.2.0 + ## 0.2.1 ### Patch Changes diff --git a/packages/typescript/ai-elevenlabs/package.json b/packages/typescript/ai-elevenlabs/package.json index 45e2d128e..3ef3cbebe 100644 --- a/packages/typescript/ai-elevenlabs/package.json +++ b/packages/typescript/ai-elevenlabs/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/ai-elevenlabs", - "version": "0.2.1", + "version": "0.2.2", "description": "ElevenLabs adapter for TanStack AI realtime voice", "author": "", "license": "MIT", diff --git a/packages/typescript/ai-fal/CHANGELOG.md b/packages/typescript/ai-fal/CHANGELOG.md index aa5294579..4149073ca 100644 --- a/packages/typescript/ai-fal/CHANGELOG.md +++ b/packages/typescript/ai-fal/CHANGELOG.md @@ -1,5 +1,14 @@ # @tanstack/ai-fal +## 0.7.2 + +### Patch Changes + +- Internal refactor: every provider now delegates `getApiKeyFromEnv` / `generateId` / `transformNullsToUndefined` / `ModelMeta` helpers to the new `@tanstack/ai-utils` package. `ai-openai` and `ai-grok` additionally inherit OpenAI-compatible adapter base classes (Chat Completions / Responses text, image, summarize, transcription, TTS, video) from the new `@tanstack/openai-base` package; `ai-groq` keeps its own `BaseTextAdapter`-derived text adapter (Groq uses the `groq-sdk`, not the OpenAI SDK) but consumes `@tanstack/openai-base`'s schema converter and tool converters. The remaining providers (`ai-anthropic`, `ai-gemini`, `ai-ollama`, `ai-openrouter`, `ai-fal`, `ai-elevenlabs`) only consume `@tanstack/ai-utils` because they speak provider-native protocols, not OpenAI-compatible ones. No breaking changes — all public APIs remain identical. ([#409](https://github.com/TanStack/ai/pull/409)) + +- Updated dependencies [[`27c9aeb`](https://github.com/TanStack/ai/commit/27c9aeb80993f8262e65ef623a4cc6dadf18817e)]: + - @tanstack/ai-utils@0.2.0 + ## 0.7.1 ### Patch Changes diff --git a/packages/typescript/ai-fal/package.json b/packages/typescript/ai-fal/package.json index 32e948990..01432759f 100644 --- a/packages/typescript/ai-fal/package.json +++ b/packages/typescript/ai-fal/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/ai-fal", - "version": "0.7.1", + "version": "0.7.2", "description": "fal.ai adapter for TanStack AI", "author": "", "license": "MIT", diff --git a/packages/typescript/ai-gemini/CHANGELOG.md b/packages/typescript/ai-gemini/CHANGELOG.md index a87d09766..3853c3fb0 100644 --- a/packages/typescript/ai-gemini/CHANGELOG.md +++ b/packages/typescript/ai-gemini/CHANGELOG.md @@ -1,5 +1,14 @@ # @tanstack/ai-gemini +## 0.10.2 + +### Patch Changes + +- Internal refactor: every provider now delegates `getApiKeyFromEnv` / `generateId` / `transformNullsToUndefined` / `ModelMeta` helpers to the new `@tanstack/ai-utils` package. `ai-openai` and `ai-grok` additionally inherit OpenAI-compatible adapter base classes (Chat Completions / Responses text, image, summarize, transcription, TTS, video) from the new `@tanstack/openai-base` package; `ai-groq` keeps its own `BaseTextAdapter`-derived text adapter (Groq uses the `groq-sdk`, not the OpenAI SDK) but consumes `@tanstack/openai-base`'s schema converter and tool converters. The remaining providers (`ai-anthropic`, `ai-gemini`, `ai-ollama`, `ai-openrouter`, `ai-fal`, `ai-elevenlabs`) only consume `@tanstack/ai-utils` because they speak provider-native protocols, not OpenAI-compatible ones. No breaking changes — all public APIs remain identical. ([#409](https://github.com/TanStack/ai/pull/409)) + +- Updated dependencies [[`27c9aeb`](https://github.com/TanStack/ai/commit/27c9aeb80993f8262e65ef623a4cc6dadf18817e)]: + - @tanstack/ai-utils@0.2.0 + ## 0.10.1 ### Patch Changes diff --git a/packages/typescript/ai-gemini/package.json b/packages/typescript/ai-gemini/package.json index ad53cc42c..32f228787 100644 --- a/packages/typescript/ai-gemini/package.json +++ b/packages/typescript/ai-gemini/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/ai-gemini", - "version": "0.10.1", + "version": "0.10.2", "description": "Google Gemini adapter for TanStack AI", "author": "", "license": "MIT", diff --git a/packages/typescript/ai-grok/CHANGELOG.md b/packages/typescript/ai-grok/CHANGELOG.md index d8da59b86..c9c352758 100644 --- a/packages/typescript/ai-grok/CHANGELOG.md +++ b/packages/typescript/ai-grok/CHANGELOG.md @@ -1,5 +1,15 @@ # @tanstack/ai-grok +## 0.7.2 + +### Patch Changes + +- Internal refactor: every provider now delegates `getApiKeyFromEnv` / `generateId` / `transformNullsToUndefined` / `ModelMeta` helpers to the new `@tanstack/ai-utils` package. `ai-openai` and `ai-grok` additionally inherit OpenAI-compatible adapter base classes (Chat Completions / Responses text, image, summarize, transcription, TTS, video) from the new `@tanstack/openai-base` package; `ai-groq` keeps its own `BaseTextAdapter`-derived text adapter (Groq uses the `groq-sdk`, not the OpenAI SDK) but consumes `@tanstack/openai-base`'s schema converter and tool converters. The remaining providers (`ai-anthropic`, `ai-gemini`, `ai-ollama`, `ai-openrouter`, `ai-fal`, `ai-elevenlabs`) only consume `@tanstack/ai-utils` because they speak provider-native protocols, not OpenAI-compatible ones. No breaking changes — all public APIs remain identical. ([#409](https://github.com/TanStack/ai/pull/409)) + +- Updated dependencies [[`27c9aeb`](https://github.com/TanStack/ai/commit/27c9aeb80993f8262e65ef623a4cc6dadf18817e), [`27c9aeb`](https://github.com/TanStack/ai/commit/27c9aeb80993f8262e65ef623a4cc6dadf18817e)]: + - @tanstack/ai-utils@0.2.0 + - @tanstack/openai-base@0.2.0 + ## 0.7.1 ### Patch Changes diff --git a/packages/typescript/ai-grok/package.json b/packages/typescript/ai-grok/package.json index 8c3ccfc98..af1527645 100644 --- a/packages/typescript/ai-grok/package.json +++ b/packages/typescript/ai-grok/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/ai-grok", - "version": "0.7.1", + "version": "0.7.2", "description": "Grok (xAI) adapter for TanStack AI", "author": "", "license": "MIT", diff --git a/packages/typescript/ai-groq/CHANGELOG.md b/packages/typescript/ai-groq/CHANGELOG.md index a1508b45a..5fd97d1be 100644 --- a/packages/typescript/ai-groq/CHANGELOG.md +++ b/packages/typescript/ai-groq/CHANGELOG.md @@ -1,5 +1,15 @@ # @tanstack/ai-groq +## 0.1.10 + +### Patch Changes + +- Internal refactor: every provider now delegates `getApiKeyFromEnv` / `generateId` / `transformNullsToUndefined` / `ModelMeta` helpers to the new `@tanstack/ai-utils` package. `ai-openai` and `ai-grok` additionally inherit OpenAI-compatible adapter base classes (Chat Completions / Responses text, image, summarize, transcription, TTS, video) from the new `@tanstack/openai-base` package; `ai-groq` keeps its own `BaseTextAdapter`-derived text adapter (Groq uses the `groq-sdk`, not the OpenAI SDK) but consumes `@tanstack/openai-base`'s schema converter and tool converters. The remaining providers (`ai-anthropic`, `ai-gemini`, `ai-ollama`, `ai-openrouter`, `ai-fal`, `ai-elevenlabs`) only consume `@tanstack/ai-utils` because they speak provider-native protocols, not OpenAI-compatible ones. No breaking changes — all public APIs remain identical. ([#409](https://github.com/TanStack/ai/pull/409)) + +- Updated dependencies [[`27c9aeb`](https://github.com/TanStack/ai/commit/27c9aeb80993f8262e65ef623a4cc6dadf18817e), [`27c9aeb`](https://github.com/TanStack/ai/commit/27c9aeb80993f8262e65ef623a4cc6dadf18817e)]: + - @tanstack/ai-utils@0.2.0 + - @tanstack/openai-base@0.2.0 + ## 0.1.9 ### Patch Changes diff --git a/packages/typescript/ai-groq/package.json b/packages/typescript/ai-groq/package.json index 8ed6a98ba..ec8cc05b1 100644 --- a/packages/typescript/ai-groq/package.json +++ b/packages/typescript/ai-groq/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/ai-groq", - "version": "0.1.9", + "version": "0.1.10", "type": "module", "description": "Groq adapter for TanStack AI", "author": "", diff --git a/packages/typescript/ai-ollama/CHANGELOG.md b/packages/typescript/ai-ollama/CHANGELOG.md index 8d75f8516..50a2a565c 100644 --- a/packages/typescript/ai-ollama/CHANGELOG.md +++ b/packages/typescript/ai-ollama/CHANGELOG.md @@ -1,5 +1,14 @@ # @tanstack/ai-ollama +## 0.6.12 + +### Patch Changes + +- Internal refactor: every provider now delegates `getApiKeyFromEnv` / `generateId` / `transformNullsToUndefined` / `ModelMeta` helpers to the new `@tanstack/ai-utils` package. `ai-openai` and `ai-grok` additionally inherit OpenAI-compatible adapter base classes (Chat Completions / Responses text, image, summarize, transcription, TTS, video) from the new `@tanstack/openai-base` package; `ai-groq` keeps its own `BaseTextAdapter`-derived text adapter (Groq uses the `groq-sdk`, not the OpenAI SDK) but consumes `@tanstack/openai-base`'s schema converter and tool converters. The remaining providers (`ai-anthropic`, `ai-gemini`, `ai-ollama`, `ai-openrouter`, `ai-fal`, `ai-elevenlabs`) only consume `@tanstack/ai-utils` because they speak provider-native protocols, not OpenAI-compatible ones. No breaking changes — all public APIs remain identical. ([#409](https://github.com/TanStack/ai/pull/409)) + +- Updated dependencies [[`27c9aeb`](https://github.com/TanStack/ai/commit/27c9aeb80993f8262e65ef623a4cc6dadf18817e)]: + - @tanstack/ai-utils@0.2.0 + ## 0.6.11 ### Patch Changes diff --git a/packages/typescript/ai-ollama/package.json b/packages/typescript/ai-ollama/package.json index 17782bb53..393334169 100644 --- a/packages/typescript/ai-ollama/package.json +++ b/packages/typescript/ai-ollama/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/ai-ollama", - "version": "0.6.11", + "version": "0.6.12", "description": "Ollama adapter for TanStack AI", "author": "", "license": "MIT", diff --git a/packages/typescript/ai-openai/CHANGELOG.md b/packages/typescript/ai-openai/CHANGELOG.md index 165bf9836..f122b8ee9 100644 --- a/packages/typescript/ai-openai/CHANGELOG.md +++ b/packages/typescript/ai-openai/CHANGELOG.md @@ -1,5 +1,15 @@ # @tanstack/ai-openai +## 0.8.4 + +### Patch Changes + +- Internal refactor: every provider now delegates `getApiKeyFromEnv` / `generateId` / `transformNullsToUndefined` / `ModelMeta` helpers to the new `@tanstack/ai-utils` package. `ai-openai` and `ai-grok` additionally inherit OpenAI-compatible adapter base classes (Chat Completions / Responses text, image, summarize, transcription, TTS, video) from the new `@tanstack/openai-base` package; `ai-groq` keeps its own `BaseTextAdapter`-derived text adapter (Groq uses the `groq-sdk`, not the OpenAI SDK) but consumes `@tanstack/openai-base`'s schema converter and tool converters. The remaining providers (`ai-anthropic`, `ai-gemini`, `ai-ollama`, `ai-openrouter`, `ai-fal`, `ai-elevenlabs`) only consume `@tanstack/ai-utils` because they speak provider-native protocols, not OpenAI-compatible ones. No breaking changes — all public APIs remain identical. ([#409](https://github.com/TanStack/ai/pull/409)) + +- Updated dependencies [[`27c9aeb`](https://github.com/TanStack/ai/commit/27c9aeb80993f8262e65ef623a4cc6dadf18817e), [`27c9aeb`](https://github.com/TanStack/ai/commit/27c9aeb80993f8262e65ef623a4cc6dadf18817e)]: + - @tanstack/ai-utils@0.2.0 + - @tanstack/openai-base@0.2.0 + ## 0.8.3 ### Patch Changes diff --git a/packages/typescript/ai-openai/package.json b/packages/typescript/ai-openai/package.json index b5163c348..de7618365 100644 --- a/packages/typescript/ai-openai/package.json +++ b/packages/typescript/ai-openai/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/ai-openai", - "version": "0.8.3", + "version": "0.8.4", "description": "OpenAI adapter for TanStack AI", "author": "", "license": "MIT", diff --git a/packages/typescript/ai-openrouter/CHANGELOG.md b/packages/typescript/ai-openrouter/CHANGELOG.md index 934e62149..c20791e10 100644 --- a/packages/typescript/ai-openrouter/CHANGELOG.md +++ b/packages/typescript/ai-openrouter/CHANGELOG.md @@ -1,5 +1,14 @@ # @tanstack/ai-openrouter +## 0.8.4 + +### Patch Changes + +- Internal refactor: every provider now delegates `getApiKeyFromEnv` / `generateId` / `transformNullsToUndefined` / `ModelMeta` helpers to the new `@tanstack/ai-utils` package. `ai-openai` and `ai-grok` additionally inherit OpenAI-compatible adapter base classes (Chat Completions / Responses text, image, summarize, transcription, TTS, video) from the new `@tanstack/openai-base` package; `ai-groq` keeps its own `BaseTextAdapter`-derived text adapter (Groq uses the `groq-sdk`, not the OpenAI SDK) but consumes `@tanstack/openai-base`'s schema converter and tool converters. The remaining providers (`ai-anthropic`, `ai-gemini`, `ai-ollama`, `ai-openrouter`, `ai-fal`, `ai-elevenlabs`) only consume `@tanstack/ai-utils` because they speak provider-native protocols, not OpenAI-compatible ones. No breaking changes — all public APIs remain identical. ([#409](https://github.com/TanStack/ai/pull/409)) + +- Updated dependencies [[`27c9aeb`](https://github.com/TanStack/ai/commit/27c9aeb80993f8262e65ef623a4cc6dadf18817e)]: + - @tanstack/ai-utils@0.2.0 + ## 0.8.3 ### Patch Changes diff --git a/packages/typescript/ai-openrouter/package.json b/packages/typescript/ai-openrouter/package.json index 635193aed..56b97ad2a 100644 --- a/packages/typescript/ai-openrouter/package.json +++ b/packages/typescript/ai-openrouter/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/ai-openrouter", - "version": "0.8.3", + "version": "0.8.4", "description": "OpenRouter adapter for TanStack AI", "author": "", "license": "MIT", diff --git a/packages/typescript/ai-utils/CHANGELOG.md b/packages/typescript/ai-utils/CHANGELOG.md new file mode 100644 index 000000000..17aa431de --- /dev/null +++ b/packages/typescript/ai-utils/CHANGELOG.md @@ -0,0 +1,7 @@ +# @tanstack/ai-utils + +## 0.2.0 + +### Minor Changes + +- New package: shared provider-agnostic utilities for TanStack AI adapters. Includes `generateId`, `getApiKeyFromEnv`, `transformNullsToUndefined`, and `ModelMeta` types with `defineModelMeta` validation helper. Zero runtime dependencies. ([#409](https://github.com/TanStack/ai/pull/409)) diff --git a/packages/typescript/ai-utils/package.json b/packages/typescript/ai-utils/package.json index 6ccd77a7e..c2e880bbb 100644 --- a/packages/typescript/ai-utils/package.json +++ b/packages/typescript/ai-utils/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/ai-utils", - "version": "0.1.0", + "version": "0.2.0", "description": "Shared utilities for TanStack AI adapter packages", "author": "", "license": "MIT", diff --git a/packages/typescript/openai-base/CHANGELOG.md b/packages/typescript/openai-base/CHANGELOG.md new file mode 100644 index 000000000..b005ab463 --- /dev/null +++ b/packages/typescript/openai-base/CHANGELOG.md @@ -0,0 +1,12 @@ +# @tanstack/openai-base + +## 0.2.0 + +### Minor Changes + +- New package: shared base adapters and utilities for OpenAI-compatible providers. Includes Chat Completions and Responses API text adapter base classes, image/summarize/transcription/TTS/video adapter base classes, schema converter, 15 tool converters, and shared types. Providers extend these base classes to reduce duplication and ensure consistent behavior. ([#409](https://github.com/TanStack/ai/pull/409)) + +### Patch Changes + +- Updated dependencies [[`27c9aeb`](https://github.com/TanStack/ai/commit/27c9aeb80993f8262e65ef623a4cc6dadf18817e)]: + - @tanstack/ai-utils@0.2.0 diff --git a/packages/typescript/openai-base/package.json b/packages/typescript/openai-base/package.json index 88950d62d..0e54a6f5e 100644 --- a/packages/typescript/openai-base/package.json +++ b/packages/typescript/openai-base/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/openai-base", - "version": "0.1.0", + "version": "0.2.0", "description": "Shared base adapters and utilities for OpenAI-compatible providers in TanStack AI", "author": "", "license": "MIT",