From b33babad0db7606755025467797c0af5b293af2a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 17 Jan 2025 15:28:10 +0100 Subject: [PATCH] Version Packages (#4425) Co-authored-by: github-actions[bot] --- .changeset/long-hats-push.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 | 4 +- .../package.json | 2 +- examples/next-openai-pages/package.json | 4 +- .../next-openai-telemetry-sentry/package.json | 4 +- examples/next-openai-telemetry/package.json | 4 +- .../package.json | 2 +- examples/next-openai/package.json | 4 +- 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 | 7 +++ packages/ai/package.json | 4 +- .../ai/tests/e2e/next-server/CHANGELOG.md | 6 +++ packages/react/CHANGELOG.md | 6 +++ packages/react/package.json | 2 +- packages/swarm/CHANGELOG.md | 6 +++ packages/swarm/package.json | 4 +- pnpm-lock.yaml | 54 +++++++++---------- 28 files changed, 82 insertions(+), 62 deletions(-) delete mode 100644 .changeset/long-hats-push.md diff --git a/.changeset/long-hats-push.md b/.changeset/long-hats-push.md deleted file mode 100644 index 968427eb0323..000000000000 --- a/.changeset/long-hats-push.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@ai-sdk/react': patch ---- - -feat (ai/react): expose chat id in experimental_prepareRequestBody diff --git a/examples/ai-core/package.json b/examples/ai-core/package.json index ca0ebc5254f0..370152a1c032 100644 --- a/examples/ai-core/package.json +++ b/examples/ai-core/package.json @@ -24,7 +24,7 @@ "@opentelemetry/sdk-node": "0.54.2", "@opentelemetry/auto-instrumentations-node": "0.54.0", "@opentelemetry/sdk-trace-node": "1.28.0", - "ai": "4.0.40", + "ai": "4.0.41", "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 8ee6f7df7bea..a48136d8f7c3 100644 --- a/examples/express/package.json +++ b/examples/express/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@ai-sdk/openai": "1.0.20", - "ai": "4.0.40", + "ai": "4.0.41", "dotenv": "16.4.5", "express": "5.0.1" }, diff --git a/examples/fastify/package.json b/examples/fastify/package.json index 33cfd4e34b09..44883cce79e6 100644 --- a/examples/fastify/package.json +++ b/examples/fastify/package.json @@ -4,7 +4,7 @@ "private": true, "dependencies": { "@ai-sdk/openai": "1.0.20", - "ai": "4.0.40", + "ai": "4.0.41", "dotenv": "16.4.5", "fastify": "5.1.0" }, diff --git a/examples/hono/package.json b/examples/hono/package.json index 9788ea42d8b2..46b0677b7eb6 100644 --- a/examples/hono/package.json +++ b/examples/hono/package.json @@ -5,7 +5,7 @@ "dependencies": { "@ai-sdk/openai": "1.0.20", "@hono/node-server": "1.13.7", - "ai": "4.0.40", + "ai": "4.0.41", "dotenv": "16.4.5", "hono": "4.6.9" }, diff --git a/examples/nest/package.json b/examples/nest/package.json index 4a7af04506d0..d8509d77e444 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.40", + "ai": "4.0.41", "reflect-metadata": "^0.2.0", "rxjs": "^7.8.1" }, diff --git a/examples/next-fastapi/package.json b/examples/next-fastapi/package.json index 6712d0759e13..9cf5b9b5a5f3 100644 --- a/examples/next-fastapi/package.json +++ b/examples/next-fastapi/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@ai-sdk/ui-utils": "1.0.12", - "ai": "4.0.40", + "ai": "4.0.41", "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 e215f3f1e1a9..f11e566cc683 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.19", - "ai": "4.0.40", + "ai": "4.0.41", "geist": "^1.3.1", "next": "latest", "react": "^18", diff --git a/examples/next-langchain/package.json b/examples/next-langchain/package.json index f9f2d5f39af6..b68087207959 100644 --- a/examples/next-langchain/package.json +++ b/examples/next-langchain/package.json @@ -9,10 +9,10 @@ "lint": "next lint" }, "dependencies": { - "@ai-sdk/react": "1.0.13", + "@ai-sdk/react": "1.0.14", "@langchain/openai": "0.0.28", "@langchain/core": "0.1.63", - "ai": "4.0.40", + "ai": "4.0.41", "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 6d155f728e54..65df18bde9ff 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.20", "@vercel/functions": "latest", - "ai": "4.0.40", + "ai": "4.0.41", "next": "latest", "react": "^18", "react-dom": "^18", diff --git a/examples/next-openai-pages/package.json b/examples/next-openai-pages/package.json index 91082758f00e..bed37282a7ba 100644 --- a/examples/next-openai-pages/package.json +++ b/examples/next-openai-pages/package.json @@ -10,8 +10,8 @@ }, "dependencies": { "@ai-sdk/openai": "1.0.20", - "@ai-sdk/react": "1.0.13", - "ai": "4.0.40", + "@ai-sdk/react": "1.0.14", + "ai": "4.0.41", "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 af5931407c47..98dc3e320980 100644 --- a/examples/next-openai-telemetry-sentry/package.json +++ b/examples/next-openai-telemetry-sentry/package.json @@ -10,14 +10,14 @@ }, "dependencies": { "@ai-sdk/openai": "1.0.20", - "@ai-sdk/react": "1.0.13", + "@ai-sdk/react": "1.0.14", "@opentelemetry/api-logs": "0.55.0", "@opentelemetry/instrumentation": "0.52.1", "@opentelemetry/sdk-logs": "0.55.0", "@sentry/nextjs": "^8.42.0", "@sentry/opentelemetry": "8.22.0", "@vercel/otel": "1.10.0", - "ai": "4.0.40", + "ai": "4.0.41", "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 284ba3f4dd65..50f5b9dfb963 100644 --- a/examples/next-openai-telemetry/package.json +++ b/examples/next-openai-telemetry/package.json @@ -10,12 +10,12 @@ }, "dependencies": { "@ai-sdk/openai": "1.0.20", - "@ai-sdk/react": "1.0.13", + "@ai-sdk/react": "1.0.14", "@opentelemetry/api-logs": "0.55.0", "@opentelemetry/sdk-logs": "0.55.0", "@opentelemetry/instrumentation": "0.52.1", "@vercel/otel": "1.10.0", - "ai": "4.0.40", + "ai": "4.0.41", "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 70f1f20d862a..e4f5d6269fd3 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.20", "@upstash/ratelimit": "^0.4.3", "@vercel/kv": "^0.2.2", - "ai": "4.0.40", + "ai": "4.0.41", "next": "latest", "react": "^18", "react-dom": "^18", diff --git a/examples/next-openai/package.json b/examples/next-openai/package.json index 9f37570a2143..f8a818a99dc8 100644 --- a/examples/next-openai/package.json +++ b/examples/next-openai/package.json @@ -11,9 +11,9 @@ "dependencies": { "@ai-sdk/openai": "1.0.20", "@ai-sdk/ui-utils": "1.0.12", - "@ai-sdk/react": "1.0.13", + "@ai-sdk/react": "1.0.14", "@vercel/blob": "^0.26.0", - "ai": "4.0.40", + "ai": "4.0.41", "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 a1887ca63034..ae39c256a2da 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.20", - "ai": "4.0.40", + "ai": "4.0.41", "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 acc836ca4173..f5ecb61a1822 100644 --- a/examples/nuxt-openai/package.json +++ b/examples/nuxt-openai/package.json @@ -11,7 +11,7 @@ "dependencies": { "@ai-sdk/vue": "1.0.13", "@ai-sdk/openai": "1.0.20", - "ai": "4.0.40", + "ai": "4.0.41", "zod": "3.23.8" }, "devDependencies": { diff --git a/examples/solidstart-openai/package.json b/examples/solidstart-openai/package.json index 536e6a790921..6efc557e0faf 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.40", + "ai": "4.0.41", "solid-js": "^1.9.3", "zod": "^3.23.8" }, diff --git a/examples/sveltekit-openai/package.json b/examples/sveltekit-openai/package.json index 468f1e483ddd..4cefe171ab63 100644 --- a/examples/sveltekit-openai/package.json +++ b/examples/sveltekit-openai/package.json @@ -12,7 +12,7 @@ "dependencies": { "@ai-sdk/openai": "1.0.20", "@ai-sdk/svelte": "1.0.13", - "ai": "4.0.40", + "ai": "4.0.41", "openai": "4.52.6", "zod": "^3.23.8" }, diff --git a/examples/swarm/package.json b/examples/swarm/package.json index 0b7ad91dec57..d0ef011b3736 100644 --- a/examples/swarm/package.json +++ b/examples/swarm/package.json @@ -9,8 +9,8 @@ "@ai-sdk/groq": "1.0.12", "@ai-sdk/mistral": "1.0.9", "@ai-sdk/openai": "1.0.20", - "@ai-sdk/swarm": "0.0.49", - "ai": "4.0.40", + "@ai-sdk/swarm": "0.0.50", + "ai": "4.0.41", "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 cea9c50a861a..3811a4e9754b 100644 --- a/packages/ai/CHANGELOG.md +++ b/packages/ai/CHANGELOG.md @@ -1,5 +1,12 @@ # ai +## 4.0.41 + +### Patch Changes + +- Updated dependencies [44f04d5] + - @ai-sdk/react@1.0.14 + ## 4.0.40 ### Patch Changes diff --git a/packages/ai/package.json b/packages/ai/package.json index 748a27bae498..97f46fbc5817 100644 --- a/packages/ai/package.json +++ b/packages/ai/package.json @@ -1,6 +1,6 @@ { "name": "ai", - "version": "4.0.40", + "version": "4.0.41", "description": "AI SDK by Vercel - The AI Toolkit for TypeScript and JavaScript", "license": "Apache-2.0", "sideEffects": false, @@ -61,7 +61,7 @@ "dependencies": { "@ai-sdk/provider": "1.0.4", "@ai-sdk/provider-utils": "2.0.8", - "@ai-sdk/react": "1.0.13", + "@ai-sdk/react": "1.0.14", "@ai-sdk/ui-utils": "1.0.12", "@opentelemetry/api": "1.9.0", "jsondiffpatch": "0.6.0" diff --git a/packages/ai/tests/e2e/next-server/CHANGELOG.md b/packages/ai/tests/e2e/next-server/CHANGELOG.md index f6dd9f9855d5..0885df263f6d 100644 --- a/packages/ai/tests/e2e/next-server/CHANGELOG.md +++ b/packages/ai/tests/e2e/next-server/CHANGELOG.md @@ -4,6 +4,12 @@ ### Patch Changes +- ai@4.0.41 + +## 0.0.1 + +### Patch Changes + - Updated dependencies [33592d2] - ai@4.0.40 diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 53e5f7f42376..45ae662f750f 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,11 @@ # @ai-sdk/react +## 1.0.14 + +### Patch Changes + +- 44f04d5: feat (ai/react): expose chat id in experimental_prepareRequestBody + ## 1.0.13 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index 40045488538a..eccb59f0c2cd 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@ai-sdk/react", - "version": "1.0.13", + "version": "1.0.14", "license": "Apache-2.0", "sideEffects": false, "main": "./dist/index.js", diff --git a/packages/swarm/CHANGELOG.md b/packages/swarm/CHANGELOG.md index 1b1dc96d9e63..348e8a561ba0 100644 --- a/packages/swarm/CHANGELOG.md +++ b/packages/swarm/CHANGELOG.md @@ -1,5 +1,11 @@ # @ai-sdk/swarm +## 0.0.50 + +### Patch Changes + +- ai@4.0.41 + ## 0.0.49 ### Patch Changes diff --git a/packages/swarm/package.json b/packages/swarm/package.json index f19da70e9bce..da56e99d3153 100644 --- a/packages/swarm/package.json +++ b/packages/swarm/package.json @@ -1,6 +1,6 @@ { "name": "@ai-sdk/swarm", - "version": "0.0.49", + "version": "0.0.50", "license": "Apache-2.0", "sideEffects": false, "main": "./dist/index.js", @@ -27,7 +27,7 @@ } }, "dependencies": { - "ai": "4.0.40", + "ai": "4.0.41", "zod": "3.23.8" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 87d6f3f5e381..ccd87a34cbb2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -123,7 +123,7 @@ importers: specifier: 1.28.0 version: 1.28.0(@opentelemetry/api@1.9.0) ai: - specifier: 4.0.40 + specifier: 4.0.41 version: link:../../packages/ai dotenv: specifier: 16.4.5 @@ -154,7 +154,7 @@ importers: specifier: 1.0.20 version: link:../../packages/openai ai: - specifier: 4.0.40 + specifier: 4.0.41 version: link:../../packages/ai dotenv: specifier: 16.4.5 @@ -182,7 +182,7 @@ importers: specifier: 1.0.20 version: link:../../packages/openai ai: - specifier: 4.0.40 + specifier: 4.0.41 version: link:../../packages/ai dotenv: specifier: 16.4.5 @@ -210,7 +210,7 @@ importers: specifier: 1.13.7 version: 1.13.7(hono@4.6.9) ai: - specifier: 4.0.40 + specifier: 4.0.41 version: link:../../packages/ai dotenv: specifier: 16.4.5 @@ -244,7 +244,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.40 + specifier: 4.0.41 version: link:../../packages/ai reflect-metadata: specifier: ^0.2.0 @@ -323,7 +323,7 @@ importers: specifier: 1.0.12 version: link:../../packages/ui-utils ai: - specifier: 4.0.40 + specifier: 4.0.41 version: link:../../packages/ai geist: specifier: ^1.3.1 @@ -375,7 +375,7 @@ importers: specifier: 2.0.19 version: link:../../packages/google-vertex ai: - specifier: 4.0.40 + specifier: 4.0.41 version: link:../../packages/ai geist: specifier: ^1.3.1 @@ -418,7 +418,7 @@ importers: examples/next-langchain: dependencies: '@ai-sdk/react': - specifier: 1.0.13 + specifier: 1.0.14 version: link:../../packages/react '@langchain/core': specifier: 0.1.63 @@ -427,7 +427,7 @@ importers: specifier: 0.0.28 version: 0.0.28 ai: - specifier: 4.0.40 + specifier: 4.0.41 version: link:../../packages/ai langchain: specifier: 0.1.36 @@ -476,7 +476,7 @@ importers: specifier: 1.0.20 version: link:../../packages/openai '@ai-sdk/react': - specifier: 1.0.13 + specifier: 1.0.14 version: link:../../packages/react '@ai-sdk/ui-utils': specifier: 1.0.12 @@ -485,7 +485,7 @@ importers: specifier: ^0.26.0 version: 0.26.0 ai: - specifier: 4.0.40 + specifier: 4.0.41 version: link:../../packages/ai next: specifier: latest @@ -543,7 +543,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.40 + specifier: 4.0.41 version: link:../../packages/ai next: specifier: latest @@ -592,10 +592,10 @@ importers: specifier: 1.0.20 version: link:../../packages/openai '@ai-sdk/react': - specifier: 1.0.13 + specifier: 1.0.14 version: link:../../packages/react ai: - specifier: 4.0.40 + specifier: 4.0.41 version: link:../../packages/ai next: specifier: latest @@ -647,7 +647,7 @@ importers: specifier: 1.0.20 version: link:../../packages/openai '@ai-sdk/react': - specifier: 1.0.13 + specifier: 1.0.14 version: link:../../packages/react '@opentelemetry/api-logs': specifier: 0.55.0 @@ -662,7 +662,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.40 + specifier: 4.0.41 version: link:../../packages/ai next: specifier: latest @@ -714,7 +714,7 @@ importers: specifier: 1.0.20 version: link:../../packages/openai '@ai-sdk/react': - specifier: 1.0.13 + specifier: 1.0.14 version: link:../../packages/react '@opentelemetry/api-logs': specifier: 0.55.0 @@ -735,7 +735,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.40 + specifier: 4.0.41 version: link:../../packages/ai next: specifier: latest @@ -793,7 +793,7 @@ importers: specifier: ^0.2.2 version: 0.2.4 ai: - specifier: 4.0.40 + specifier: 4.0.41 version: link:../../packages/ai next: specifier: latest @@ -842,7 +842,7 @@ importers: specifier: 1.0.20 version: link:../../packages/openai ai: - specifier: 4.0.40 + specifier: 4.0.41 version: link:../../packages/ai dotenv: specifier: 16.4.5 @@ -873,7 +873,7 @@ importers: specifier: 1.0.13 version: link:../../packages/vue ai: - specifier: 4.0.40 + specifier: 4.0.41 version: link:../../packages/ai zod: specifier: 3.23.8 @@ -937,7 +937,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.40 + specifier: 4.0.41 version: link:../../packages/ai solid-js: specifier: ^1.9.3 @@ -968,7 +968,7 @@ importers: specifier: 1.0.13 version: link:../../packages/svelte ai: - specifier: 4.0.40 + specifier: 4.0.41 version: link:../../packages/ai openai: specifier: 4.52.6 @@ -1032,13 +1032,13 @@ importers: specifier: 1.0.20 version: link:../../packages/openai '@ai-sdk/swarm': - specifier: 0.0.49 + specifier: 0.0.50 version: link:../../packages/swarm '@google/generative-ai': specifier: 0.21.0 version: 0.21.0 ai: - specifier: 4.0.40 + specifier: 4.0.41 version: link:../../packages/ai dotenv: specifier: 16.4.5 @@ -1069,7 +1069,7 @@ importers: specifier: 2.0.8 version: link:../provider-utils '@ai-sdk/react': - specifier: 1.0.13 + specifier: 1.0.14 version: link:../react '@ai-sdk/ui-utils': specifier: 1.0.12 @@ -1811,7 +1811,7 @@ importers: packages/swarm: dependencies: ai: - specifier: 4.0.40 + specifier: 4.0.41 version: link:../ai zod: specifier: 3.23.8