diff --git a/.changeset/two-mirrors-fry.md b/.changeset/two-mirrors-fry.md deleted file mode 100644 index ae35d68bbbce..000000000000 --- a/.changeset/two-mirrors-fry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'ai': patch ---- - -fix (ai/core): change streamText.experimental_transform signature to support tool type inference diff --git a/examples/ai-core/package.json b/examples/ai-core/package.json index 241380d3f699..72244032f31d 100644 --- a/examples/ai-core/package.json +++ b/examples/ai-core/package.json @@ -18,7 +18,7 @@ "@opentelemetry/sdk-node": "0.54.2", "@opentelemetry/auto-instrumentations-node": "0.54.0", "@opentelemetry/sdk-trace-node": "1.28.0", - "ai": "4.0.16", + "ai": "4.0.17", "dotenv": "16.4.5", "mathjs": "14.0.0", "zod": "3.23.8", diff --git a/examples/express/package.json b/examples/express/package.json index cc5156c2ab83..0b6970a6055c 100644 --- a/examples/express/package.json +++ b/examples/express/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@ai-sdk/openai": "1.0.8", - "ai": "4.0.16", + "ai": "4.0.17", "dotenv": "16.4.5", "express": "5.0.1" }, diff --git a/examples/fastify/package.json b/examples/fastify/package.json index efa2b96f1299..f299870be316 100644 --- a/examples/fastify/package.json +++ b/examples/fastify/package.json @@ -4,7 +4,7 @@ "private": true, "dependencies": { "@ai-sdk/openai": "1.0.8", - "ai": "4.0.16", + "ai": "4.0.17", "dotenv": "16.4.5", "fastify": "5.1.0" }, diff --git a/examples/hono/package.json b/examples/hono/package.json index feafa06ce24e..b42a37c32f19 100644 --- a/examples/hono/package.json +++ b/examples/hono/package.json @@ -5,7 +5,7 @@ "dependencies": { "@ai-sdk/openai": "1.0.8", "@hono/node-server": "1.13.7", - "ai": "4.0.16", + "ai": "4.0.17", "dotenv": "16.4.5", "hono": "4.6.9" }, diff --git a/examples/nest/package.json b/examples/nest/package.json index 4ed4af81b227..9e334d684b5b 100644 --- a/examples/nest/package.json +++ b/examples/nest/package.json @@ -19,7 +19,7 @@ "@nestjs/common": "^10.4.15", "@nestjs/core": "^10.0.0", "@nestjs/platform-express": "^10.4.9", - "ai": "4.0.16", + "ai": "4.0.17", "reflect-metadata": "^0.2.0", "rxjs": "^7.8.1" }, diff --git a/examples/next-fastapi/package.json b/examples/next-fastapi/package.json index e735f34dfc09..c4dd2a3a2a41 100644 --- a/examples/next-fastapi/package.json +++ b/examples/next-fastapi/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@ai-sdk/ui-utils": "1.0.5", - "ai": "4.0.16", + "ai": "4.0.17", "geist": "^1.3.1", "next": "latest", "react": "^18", diff --git a/examples/next-google-vertex/package.json b/examples/next-google-vertex/package.json index 2f0a10d71c67..c40e71f83394 100644 --- a/examples/next-google-vertex/package.json +++ b/examples/next-google-vertex/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "@ai-sdk/google-vertex": "2.0.8", - "ai": "4.0.16", + "ai": "4.0.17", "geist": "^1.3.1", "next": "latest", "react": "^18", diff --git a/examples/next-langchain/package.json b/examples/next-langchain/package.json index 87d1bd470fcb..e197847fab4b 100644 --- a/examples/next-langchain/package.json +++ b/examples/next-langchain/package.json @@ -12,7 +12,7 @@ "@ai-sdk/react": "1.0.6", "@langchain/openai": "0.0.28", "@langchain/core": "0.1.63", - "ai": "4.0.16", + "ai": "4.0.17", "langchain": "0.1.36", "next": "latest", "react": "^18", diff --git a/examples/next-openai-kasada-bot-protection/package.json b/examples/next-openai-kasada-bot-protection/package.json index 58cbd5c053e0..b4c7f7f07ed0 100644 --- a/examples/next-openai-kasada-bot-protection/package.json +++ b/examples/next-openai-kasada-bot-protection/package.json @@ -11,7 +11,7 @@ "dependencies": { "@ai-sdk/openai": "1.0.8", "@vercel/functions": "latest", - "ai": "4.0.16", + "ai": "4.0.17", "next": "latest", "react": "^18", "react-dom": "^18", diff --git a/examples/next-openai-pages/package.json b/examples/next-openai-pages/package.json index 3b16975d84fb..b9ccf8c14f4f 100644 --- a/examples/next-openai-pages/package.json +++ b/examples/next-openai-pages/package.json @@ -11,7 +11,7 @@ "dependencies": { "@ai-sdk/openai": "1.0.8", "@ai-sdk/react": "1.0.6", - "ai": "4.0.16", + "ai": "4.0.17", "next": "latest", "openai": "4.52.6", "react": "^18", diff --git a/examples/next-openai-telemetry-sentry/package.json b/examples/next-openai-telemetry-sentry/package.json index b0c8e432d7e1..c98526fee32b 100644 --- a/examples/next-openai-telemetry-sentry/package.json +++ b/examples/next-openai-telemetry-sentry/package.json @@ -17,7 +17,7 @@ "@sentry/nextjs": "^8.42.0", "@sentry/opentelemetry": "8.22.0", "@vercel/otel": "1.10.0", - "ai": "4.0.16", + "ai": "4.0.17", "next": "latest", "openai": "4.52.6", "react": "^18", diff --git a/examples/next-openai-telemetry/package.json b/examples/next-openai-telemetry/package.json index c3a01a5f1198..a2a8111450e1 100644 --- a/examples/next-openai-telemetry/package.json +++ b/examples/next-openai-telemetry/package.json @@ -15,7 +15,7 @@ "@opentelemetry/sdk-logs": "0.55.0", "@opentelemetry/instrumentation": "0.52.1", "@vercel/otel": "1.10.0", - "ai": "4.0.16", + "ai": "4.0.17", "next": "latest", "openai": "4.52.6", "react": "^18", diff --git a/examples/next-openai-upstash-rate-limits/package.json b/examples/next-openai-upstash-rate-limits/package.json index 0211720ba708..0b185753d6df 100644 --- a/examples/next-openai-upstash-rate-limits/package.json +++ b/examples/next-openai-upstash-rate-limits/package.json @@ -12,7 +12,7 @@ "@ai-sdk/openai": "1.0.8", "@upstash/ratelimit": "^0.4.3", "@vercel/kv": "^0.2.2", - "ai": "4.0.16", + "ai": "4.0.17", "next": "latest", "react": "^18", "react-dom": "^18", diff --git a/examples/next-openai/package.json b/examples/next-openai/package.json index ee4538aa1395..13a249c2b215 100644 --- a/examples/next-openai/package.json +++ b/examples/next-openai/package.json @@ -13,7 +13,7 @@ "@ai-sdk/ui-utils": "1.0.5", "@ai-sdk/react": "1.0.6", "@vercel/blob": "^0.26.0", - "ai": "4.0.16", + "ai": "4.0.17", "next": "latest", "openai": "4.52.6", "react": "^18", diff --git a/examples/node-http-server/package.json b/examples/node-http-server/package.json index a88ef0d51d37..3997e111e539 100644 --- a/examples/node-http-server/package.json +++ b/examples/node-http-server/package.json @@ -4,7 +4,7 @@ "private": true, "dependencies": { "@ai-sdk/openai": "1.0.8", - "ai": "4.0.16", + "ai": "4.0.17", "dotenv": "16.4.5", "zod": "3.23.8", "zod-to-json-schema": "3.23.5" diff --git a/examples/nuxt-openai/package.json b/examples/nuxt-openai/package.json index c3bf37d72354..7349f301141f 100644 --- a/examples/nuxt-openai/package.json +++ b/examples/nuxt-openai/package.json @@ -11,7 +11,7 @@ "dependencies": { "@ai-sdk/vue": "1.0.6", "@ai-sdk/openai": "1.0.8", - "ai": "4.0.16", + "ai": "4.0.17", "zod": "3.23.8" }, "devDependencies": { diff --git a/examples/solidstart-openai/package.json b/examples/solidstart-openai/package.json index 8b0e170e3dc0..223b535abf25 100644 --- a/examples/solidstart-openai/package.json +++ b/examples/solidstart-openai/package.json @@ -19,7 +19,7 @@ "@solidjs/meta": "0.29.4", "@solidjs/router": "^0.15.1", "@solidjs/start": "^1.0.10", - "ai": "4.0.16", + "ai": "4.0.17", "solid-js": "^1.9.3", "zod": "^3.23.8" }, diff --git a/examples/sveltekit-openai/package.json b/examples/sveltekit-openai/package.json index e16ad5ee7949..eb9ad2c8c854 100644 --- a/examples/sveltekit-openai/package.json +++ b/examples/sveltekit-openai/package.json @@ -12,7 +12,7 @@ "dependencies": { "@ai-sdk/openai": "1.0.8", "@ai-sdk/svelte": "1.0.6", - "ai": "4.0.16", + "ai": "4.0.17", "openai": "4.52.6", "zod": "^3.23.8" }, diff --git a/examples/swarm/package.json b/examples/swarm/package.json index e27d368df97c..fd388feafb32 100644 --- a/examples/swarm/package.json +++ b/examples/swarm/package.json @@ -9,8 +9,8 @@ "@ai-sdk/groq": "1.0.8", "@ai-sdk/mistral": "1.0.5", "@ai-sdk/openai": "1.0.8", - "@ai-sdk/swarm": "0.0.25", - "ai": "4.0.16", + "@ai-sdk/swarm": "0.0.26", + "ai": "4.0.17", "dotenv": "16.4.5", "zod": "3.23.8", "zod-to-json-schema": "3.23.5", diff --git a/packages/ai/CHANGELOG.md b/packages/ai/CHANGELOG.md index 0c60733e64f5..6dddba7ed78a 100644 --- a/packages/ai/CHANGELOG.md +++ b/packages/ai/CHANGELOG.md @@ -1,5 +1,11 @@ # ai +## 4.0.17 + +### Patch Changes + +- 54bbf21: fix (ai/core): change streamText.experimental_transform signature to support tool type inference + ## 4.0.16 ### Patch Changes diff --git a/packages/ai/package.json b/packages/ai/package.json index 2961d74b5927..a7db376080b2 100644 --- a/packages/ai/package.json +++ b/packages/ai/package.json @@ -1,6 +1,6 @@ { "name": "ai", - "version": "4.0.16", + "version": "4.0.17", "description": "AI SDK by Vercel - The AI Toolkit for TypeScript and JavaScript", "license": "Apache-2.0", "sideEffects": false, diff --git a/packages/ai/tests/e2e/next-server/CHANGELOG.md b/packages/ai/tests/e2e/next-server/CHANGELOG.md index 5c9a8300352c..e02e2795a8bd 100644 --- a/packages/ai/tests/e2e/next-server/CHANGELOG.md +++ b/packages/ai/tests/e2e/next-server/CHANGELOG.md @@ -4,6 +4,13 @@ ### Patch Changes +- Updated dependencies [54bbf21] + - ai@4.0.17 + +## 0.0.1 + +### Patch Changes + - Updated dependencies [e3fac3f] - ai@4.0.16 diff --git a/packages/swarm/CHANGELOG.md b/packages/swarm/CHANGELOG.md index dd5a864c0954..d1ca9b599041 100644 --- a/packages/swarm/CHANGELOG.md +++ b/packages/swarm/CHANGELOG.md @@ -1,5 +1,12 @@ # @ai-sdk/swarm +## 0.0.26 + +### Patch Changes + +- Updated dependencies [54bbf21] + - ai@4.0.17 + ## 0.0.25 ### Patch Changes diff --git a/packages/swarm/package.json b/packages/swarm/package.json index 5d9cf1ed8f8d..7aab9ff9c18c 100644 --- a/packages/swarm/package.json +++ b/packages/swarm/package.json @@ -1,6 +1,6 @@ { "name": "@ai-sdk/swarm", - "version": "0.0.25", + "version": "0.0.26", "license": "Apache-2.0", "sideEffects": false, "main": "./dist/index.js", @@ -27,7 +27,7 @@ } }, "dependencies": { - "ai": "4.0.16", + "ai": "4.0.17", "zod": "3.23.8" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c9a27c83bde8..700eccd8fb09 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -105,7 +105,7 @@ importers: specifier: 1.28.0 version: 1.28.0(@opentelemetry/api@1.9.0) ai: - specifier: 4.0.16 + specifier: 4.0.17 version: link:../../packages/ai dotenv: specifier: 16.4.5 @@ -136,7 +136,7 @@ importers: specifier: 1.0.8 version: link:../../packages/openai ai: - specifier: 4.0.16 + specifier: 4.0.17 version: link:../../packages/ai dotenv: specifier: 16.4.5 @@ -164,7 +164,7 @@ importers: specifier: 1.0.8 version: link:../../packages/openai ai: - specifier: 4.0.16 + specifier: 4.0.17 version: link:../../packages/ai dotenv: specifier: 16.4.5 @@ -192,7 +192,7 @@ importers: specifier: 1.13.7 version: 1.13.7(hono@4.6.9) ai: - specifier: 4.0.16 + specifier: 4.0.17 version: link:../../packages/ai dotenv: specifier: 16.4.5 @@ -226,7 +226,7 @@ importers: specifier: ^10.4.9 version: 10.4.9(@nestjs/common@10.4.15(reflect-metadata@0.2.2)(rxjs@7.8.1))(@nestjs/core@10.4.2) ai: - specifier: 4.0.16 + specifier: 4.0.17 version: link:../../packages/ai reflect-metadata: specifier: ^0.2.0 @@ -305,7 +305,7 @@ importers: specifier: 1.0.5 version: link:../../packages/ui-utils ai: - specifier: 4.0.16 + specifier: 4.0.17 version: link:../../packages/ai geist: specifier: ^1.3.1 @@ -357,7 +357,7 @@ importers: specifier: 2.0.8 version: link:../../packages/google-vertex ai: - specifier: 4.0.16 + specifier: 4.0.17 version: link:../../packages/ai geist: specifier: ^1.3.1 @@ -409,7 +409,7 @@ importers: specifier: 0.0.28 version: 0.0.28 ai: - specifier: 4.0.16 + specifier: 4.0.17 version: link:../../packages/ai langchain: specifier: 0.1.36 @@ -467,7 +467,7 @@ importers: specifier: ^0.26.0 version: 0.26.0 ai: - specifier: 4.0.16 + specifier: 4.0.17 version: link:../../packages/ai next: specifier: latest @@ -525,7 +525,7 @@ importers: specifier: latest version: 1.5.1(@aws-sdk/credential-provider-web-identity@3.662.0(@aws-sdk/client-sts@3.662.0)) ai: - specifier: 4.0.16 + specifier: 4.0.17 version: link:../../packages/ai next: specifier: latest @@ -577,7 +577,7 @@ importers: specifier: 1.0.6 version: link:../../packages/react ai: - specifier: 4.0.16 + specifier: 4.0.17 version: link:../../packages/ai next: specifier: latest @@ -644,7 +644,7 @@ importers: specifier: 1.10.0 version: 1.10.0(@opentelemetry/api-logs@0.55.0)(@opentelemetry/api@1.9.0)(@opentelemetry/instrumentation@0.52.1(@opentelemetry/api@1.9.0))(@opentelemetry/resources@1.29.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-logs@0.55.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-metrics@1.29.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@1.29.0(@opentelemetry/api@1.9.0)) ai: - specifier: 4.0.16 + specifier: 4.0.17 version: link:../../packages/ai next: specifier: latest @@ -717,7 +717,7 @@ importers: specifier: 1.10.0 version: 1.10.0(@opentelemetry/api-logs@0.55.0)(@opentelemetry/api@1.9.0)(@opentelemetry/instrumentation@0.52.1(@opentelemetry/api@1.9.0))(@opentelemetry/resources@1.29.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-logs@0.55.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-metrics@1.29.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@1.28.0(@opentelemetry/api@1.9.0)) ai: - specifier: 4.0.16 + specifier: 4.0.17 version: link:../../packages/ai next: specifier: latest @@ -775,7 +775,7 @@ importers: specifier: ^0.2.2 version: 0.2.4 ai: - specifier: 4.0.16 + specifier: 4.0.17 version: link:../../packages/ai next: specifier: latest @@ -824,7 +824,7 @@ importers: specifier: 1.0.8 version: link:../../packages/openai ai: - specifier: 4.0.16 + specifier: 4.0.17 version: link:../../packages/ai dotenv: specifier: 16.4.5 @@ -855,7 +855,7 @@ importers: specifier: 1.0.6 version: link:../../packages/vue ai: - specifier: 4.0.16 + specifier: 4.0.17 version: link:../../packages/ai zod: specifier: 3.23.8 @@ -919,7 +919,7 @@ importers: specifier: ^1.0.10 version: 1.0.10(@testing-library/jest-dom@6.6.3)(solid-js@1.9.3)(vinxi@0.4.3(@types/node@22.7.4)(@upstash/redis@1.34.3)(ioredis@5.4.1)(terser@5.31.3)(typescript@5.6.3))(vite@6.0.3(@types/node@22.7.4)(jiti@2.4.0)(terser@5.31.3)(tsx@4.19.2)(yaml@2.5.0)) ai: - specifier: 4.0.16 + specifier: 4.0.17 version: link:../../packages/ai solid-js: specifier: ^1.9.3 @@ -950,7 +950,7 @@ importers: specifier: 1.0.6 version: link:../../packages/svelte ai: - specifier: 4.0.16 + specifier: 4.0.17 version: link:../../packages/ai openai: specifier: 4.52.6 @@ -1014,13 +1014,13 @@ importers: specifier: 1.0.8 version: link:../../packages/openai '@ai-sdk/swarm': - specifier: 0.0.25 + specifier: 0.0.26 version: link:../../packages/swarm '@google/generative-ai': specifier: 0.21.0 version: 0.21.0 ai: - specifier: 4.0.16 + specifier: 4.0.17 version: link:../../packages/ai dotenv: specifier: 16.4.5 @@ -1659,7 +1659,7 @@ importers: packages/swarm: dependencies: ai: - specifier: 4.0.16 + specifier: 4.0.17 version: link:../ai zod: specifier: 3.23.8