From 382c49ca6fb8ac6727151718f4a0ed0874fcceec Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 17:37:35 +0100 Subject: [PATCH] Version Packages (#4262) Co-authored-by: github-actions[bot] --- .changeset/orange-plums-know.md | 5 --- examples/ai-core/package.json | 2 +- examples/express/package.json | 2 +- examples/fastify/package.json | 2 +- examples/hono/package.json | 2 +- examples/nest/package.json | 2 +- examples/next-fastapi/package.json | 2 +- examples/next-google-vertex/package.json | 2 +- examples/next-langchain/package.json | 2 +- .../package.json | 2 +- examples/next-openai-pages/package.json | 2 +- .../next-openai-telemetry-sentry/package.json | 2 +- examples/next-openai-telemetry/package.json | 2 +- .../package.json | 2 +- examples/next-openai/package.json | 2 +- examples/node-http-server/package.json | 2 +- examples/nuxt-openai/package.json | 2 +- examples/solidstart-openai/package.json | 2 +- examples/sveltekit-openai/package.json | 2 +- examples/swarm/package.json | 4 +- packages/ai/CHANGELOG.md | 6 +++ packages/ai/package.json | 2 +- .../ai/tests/e2e/next-server/CHANGELOG.md | 7 ++++ packages/swarm/CHANGELOG.md | 7 ++++ packages/swarm/package.json | 4 +- pnpm-lock.yaml | 42 +++++++++---------- 26 files changed, 64 insertions(+), 49 deletions(-) delete mode 100644 .changeset/orange-plums-know.md diff --git a/.changeset/orange-plums-know.md b/.changeset/orange-plums-know.md deleted file mode 100644 index d8d2c7eaf86d..000000000000 --- a/.changeset/orange-plums-know.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'ai': patch ---- - -fix (ai/core): throw error when accessing output when no output is defined in generateText (breaking/experimental) diff --git a/examples/ai-core/package.json b/examples/ai-core/package.json index 3e204841a911..9819542e9c01 100644 --- a/examples/ai-core/package.json +++ b/examples/ai-core/package.json @@ -21,7 +21,7 @@ "@opentelemetry/sdk-node": "0.54.2", "@opentelemetry/auto-instrumentations-node": "0.54.0", "@opentelemetry/sdk-trace-node": "1.28.0", - "ai": "4.0.24", + "ai": "4.0.25", "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 5acb432ad136..e8059d1da268 100644 --- a/examples/express/package.json +++ b/examples/express/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@ai-sdk/openai": "1.0.13", - "ai": "4.0.24", + "ai": "4.0.25", "dotenv": "16.4.5", "express": "5.0.1" }, diff --git a/examples/fastify/package.json b/examples/fastify/package.json index c11277d5e68e..28438b78e57a 100644 --- a/examples/fastify/package.json +++ b/examples/fastify/package.json @@ -4,7 +4,7 @@ "private": true, "dependencies": { "@ai-sdk/openai": "1.0.13", - "ai": "4.0.24", + "ai": "4.0.25", "dotenv": "16.4.5", "fastify": "5.1.0" }, diff --git a/examples/hono/package.json b/examples/hono/package.json index 4fbd23522faa..4d443485efff 100644 --- a/examples/hono/package.json +++ b/examples/hono/package.json @@ -5,7 +5,7 @@ "dependencies": { "@ai-sdk/openai": "1.0.13", "@hono/node-server": "1.13.7", - "ai": "4.0.24", + "ai": "4.0.25", "dotenv": "16.4.5", "hono": "4.6.9" }, diff --git a/examples/nest/package.json b/examples/nest/package.json index a28af1f2b374..0555b4a2f1b7 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.24", + "ai": "4.0.25", "reflect-metadata": "^0.2.0", "rxjs": "^7.8.1" }, diff --git a/examples/next-fastapi/package.json b/examples/next-fastapi/package.json index a36652df15b2..18e6b5b78ef0 100644 --- a/examples/next-fastapi/package.json +++ b/examples/next-fastapi/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@ai-sdk/ui-utils": "1.0.6", - "ai": "4.0.24", + "ai": "4.0.25", "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 de2a12b82e66..44e0c9aa8059 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.12", - "ai": "4.0.24", + "ai": "4.0.25", "geist": "^1.3.1", "next": "latest", "react": "^18", diff --git a/examples/next-langchain/package.json b/examples/next-langchain/package.json index d0670c8191f4..d74de42686db 100644 --- a/examples/next-langchain/package.json +++ b/examples/next-langchain/package.json @@ -12,7 +12,7 @@ "@ai-sdk/react": "1.0.7", "@langchain/openai": "0.0.28", "@langchain/core": "0.1.63", - "ai": "4.0.24", + "ai": "4.0.25", "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 441ace5e5ad7..4d3a6fd1c96e 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.13", "@vercel/functions": "latest", - "ai": "4.0.24", + "ai": "4.0.25", "next": "latest", "react": "^18", "react-dom": "^18", diff --git a/examples/next-openai-pages/package.json b/examples/next-openai-pages/package.json index 2e4edb7b3764..053804a0dff8 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.13", "@ai-sdk/react": "1.0.7", - "ai": "4.0.24", + "ai": "4.0.25", "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 a9d18b402866..572da40524df 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.24", + "ai": "4.0.25", "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 fd71fc16b743..08bfac0f3d17 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.24", + "ai": "4.0.25", "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 c2c4c524e736..9cff62ca29c2 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.13", "@upstash/ratelimit": "^0.4.3", "@vercel/kv": "^0.2.2", - "ai": "4.0.24", + "ai": "4.0.25", "next": "latest", "react": "^18", "react-dom": "^18", diff --git a/examples/next-openai/package.json b/examples/next-openai/package.json index 197b3c8721b1..f43c6be650e2 100644 --- a/examples/next-openai/package.json +++ b/examples/next-openai/package.json @@ -13,7 +13,7 @@ "@ai-sdk/ui-utils": "1.0.6", "@ai-sdk/react": "1.0.7", "@vercel/blob": "^0.26.0", - "ai": "4.0.24", + "ai": "4.0.25", "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 084d18d9a3a4..7276616bdc93 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.13", - "ai": "4.0.24", + "ai": "4.0.25", "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 f0e8323d52f3..47dd48d9cebb 100644 --- a/examples/nuxt-openai/package.json +++ b/examples/nuxt-openai/package.json @@ -11,7 +11,7 @@ "dependencies": { "@ai-sdk/vue": "1.0.7", "@ai-sdk/openai": "1.0.13", - "ai": "4.0.24", + "ai": "4.0.25", "zod": "3.23.8" }, "devDependencies": { diff --git a/examples/solidstart-openai/package.json b/examples/solidstart-openai/package.json index 5a7968380878..b7467885e19e 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.24", + "ai": "4.0.25", "solid-js": "^1.9.3", "zod": "^3.23.8" }, diff --git a/examples/sveltekit-openai/package.json b/examples/sveltekit-openai/package.json index 839d5ccc1946..ccd8ebfcd2c8 100644 --- a/examples/sveltekit-openai/package.json +++ b/examples/sveltekit-openai/package.json @@ -12,7 +12,7 @@ "dependencies": { "@ai-sdk/openai": "1.0.13", "@ai-sdk/svelte": "1.0.7", - "ai": "4.0.24", + "ai": "4.0.25", "openai": "4.52.6", "zod": "^3.23.8" }, diff --git a/examples/swarm/package.json b/examples/swarm/package.json index 12d2cae52bb5..21bd48ee1638 100644 --- a/examples/swarm/package.json +++ b/examples/swarm/package.json @@ -9,8 +9,8 @@ "@ai-sdk/groq": "1.0.9", "@ai-sdk/mistral": "1.0.6", "@ai-sdk/openai": "1.0.13", - "@ai-sdk/swarm": "0.0.33", - "ai": "4.0.24", + "@ai-sdk/swarm": "0.0.34", + "ai": "4.0.25", "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 0ee7fdc6ec0a..300acaa82bd8 100644 --- a/packages/ai/CHANGELOG.md +++ b/packages/ai/CHANGELOG.md @@ -1,5 +1,11 @@ # ai +## 4.0.25 + +### Patch Changes + +- 0823899: fix (ai/core): throw error when accessing output when no output is defined in generateText (breaking/experimental) + ## 4.0.24 ### Patch Changes diff --git a/packages/ai/package.json b/packages/ai/package.json index 30f1296139fd..4436732875e1 100644 --- a/packages/ai/package.json +++ b/packages/ai/package.json @@ -1,6 +1,6 @@ { "name": "ai", - "version": "4.0.24", + "version": "4.0.25", "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 6c33e7bbcbca..3183aa34eb11 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 [0823899] + - ai@4.0.25 + +## 0.0.1 + +### Patch Changes + - Updated dependencies [ae0485b] - ai@4.0.24 diff --git a/packages/swarm/CHANGELOG.md b/packages/swarm/CHANGELOG.md index 5c429b7060a8..b558d1e19b53 100644 --- a/packages/swarm/CHANGELOG.md +++ b/packages/swarm/CHANGELOG.md @@ -1,5 +1,12 @@ # @ai-sdk/swarm +## 0.0.34 + +### Patch Changes + +- Updated dependencies [0823899] + - ai@4.0.25 + ## 0.0.33 ### Patch Changes diff --git a/packages/swarm/package.json b/packages/swarm/package.json index e3445969c13d..56bbe1e62307 100644 --- a/packages/swarm/package.json +++ b/packages/swarm/package.json @@ -1,6 +1,6 @@ { "name": "@ai-sdk/swarm", - "version": "0.0.33", + "version": "0.0.34", "license": "Apache-2.0", "sideEffects": false, "main": "./dist/index.js", @@ -27,7 +27,7 @@ } }, "dependencies": { - "ai": "4.0.24", + "ai": "4.0.25", "zod": "3.23.8" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6c307b3affbe..8d8fb90aec94 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -114,7 +114,7 @@ importers: specifier: 1.28.0 version: 1.28.0(@opentelemetry/api@1.9.0) ai: - specifier: 4.0.24 + specifier: 4.0.25 version: link:../../packages/ai dotenv: specifier: 16.4.5 @@ -145,7 +145,7 @@ importers: specifier: 1.0.13 version: link:../../packages/openai ai: - specifier: 4.0.24 + specifier: 4.0.25 version: link:../../packages/ai dotenv: specifier: 16.4.5 @@ -173,7 +173,7 @@ importers: specifier: 1.0.13 version: link:../../packages/openai ai: - specifier: 4.0.24 + specifier: 4.0.25 version: link:../../packages/ai dotenv: specifier: 16.4.5 @@ -201,7 +201,7 @@ importers: specifier: 1.13.7 version: 1.13.7(hono@4.6.9) ai: - specifier: 4.0.24 + specifier: 4.0.25 version: link:../../packages/ai dotenv: specifier: 16.4.5 @@ -235,7 +235,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.24 + specifier: 4.0.25 version: link:../../packages/ai reflect-metadata: specifier: ^0.2.0 @@ -314,7 +314,7 @@ importers: specifier: 1.0.6 version: link:../../packages/ui-utils ai: - specifier: 4.0.24 + specifier: 4.0.25 version: link:../../packages/ai geist: specifier: ^1.3.1 @@ -366,7 +366,7 @@ importers: specifier: 2.0.12 version: link:../../packages/google-vertex ai: - specifier: 4.0.24 + specifier: 4.0.25 version: link:../../packages/ai geist: specifier: ^1.3.1 @@ -418,7 +418,7 @@ importers: specifier: 0.0.28 version: 0.0.28 ai: - specifier: 4.0.24 + specifier: 4.0.25 version: link:../../packages/ai langchain: specifier: 0.1.36 @@ -476,7 +476,7 @@ importers: specifier: ^0.26.0 version: 0.26.0 ai: - specifier: 4.0.24 + specifier: 4.0.25 version: link:../../packages/ai next: specifier: latest @@ -534,7 +534,7 @@ importers: specifier: latest version: 1.5.2(@aws-sdk/credential-provider-web-identity@3.662.0(@aws-sdk/client-sts@3.662.0)) ai: - specifier: 4.0.24 + specifier: 4.0.25 version: link:../../packages/ai next: specifier: latest @@ -586,7 +586,7 @@ importers: specifier: 1.0.7 version: link:../../packages/react ai: - specifier: 4.0.24 + specifier: 4.0.25 version: link:../../packages/ai next: specifier: latest @@ -653,7 +653,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.24 + specifier: 4.0.25 version: link:../../packages/ai next: specifier: latest @@ -726,7 +726,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.24 + specifier: 4.0.25 version: link:../../packages/ai next: specifier: latest @@ -784,7 +784,7 @@ importers: specifier: ^0.2.2 version: 0.2.4 ai: - specifier: 4.0.24 + specifier: 4.0.25 version: link:../../packages/ai next: specifier: latest @@ -833,7 +833,7 @@ importers: specifier: 1.0.13 version: link:../../packages/openai ai: - specifier: 4.0.24 + specifier: 4.0.25 version: link:../../packages/ai dotenv: specifier: 16.4.5 @@ -864,7 +864,7 @@ importers: specifier: 1.0.7 version: link:../../packages/vue ai: - specifier: 4.0.24 + specifier: 4.0.25 version: link:../../packages/ai zod: specifier: 3.23.8 @@ -928,7 +928,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.24 + specifier: 4.0.25 version: link:../../packages/ai solid-js: specifier: ^1.9.3 @@ -959,7 +959,7 @@ importers: specifier: 1.0.7 version: link:../../packages/svelte ai: - specifier: 4.0.24 + specifier: 4.0.25 version: link:../../packages/ai openai: specifier: 4.52.6 @@ -1023,13 +1023,13 @@ importers: specifier: 1.0.13 version: link:../../packages/openai '@ai-sdk/swarm': - specifier: 0.0.33 + specifier: 0.0.34 version: link:../../packages/swarm '@google/generative-ai': specifier: 0.21.0 version: 0.21.0 ai: - specifier: 4.0.24 + specifier: 4.0.25 version: link:../../packages/ai dotenv: specifier: 16.4.5 @@ -1724,7 +1724,7 @@ importers: packages/swarm: dependencies: ai: - specifier: 4.0.24 + specifier: 4.0.25 version: link:../ai zod: specifier: 3.23.8