From 01369a1717e62705f4505856bd81967be3782e20 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 13:09:24 +0100 Subject: [PATCH] Version Packages (#4257) Co-authored-by: github-actions[bot] --- .changeset/nasty-beers-rule.md | 5 --- examples/ai-core/package.json | 4 +-- examples/express/package.json | 2 +- examples/fastify/package.json | 2 +- examples/hono/package.json | 2 +- examples/nest/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 | 2 +- packages/azure/CHANGELOG.md | 7 ++++ packages/azure/package.json | 4 +-- packages/openai/CHANGELOG.md | 6 ++++ packages/openai/package.json | 2 +- pnpm-lock.yaml | 36 +++++++++---------- 22 files changed, 51 insertions(+), 43 deletions(-) delete mode 100644 .changeset/nasty-beers-rule.md diff --git a/.changeset/nasty-beers-rule.md b/.changeset/nasty-beers-rule.md deleted file mode 100644 index df2742809c24..000000000000 --- a/.changeset/nasty-beers-rule.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@ai-sdk/openai': patch ---- - -feat (provider/openai): add predicted outputs token usage diff --git a/examples/ai-core/package.json b/examples/ai-core/package.json index 62fe5ade031d..3e204841a911 100644 --- a/examples/ai-core/package.json +++ b/examples/ai-core/package.json @@ -5,7 +5,7 @@ "dependencies": { "@ai-sdk/amazon-bedrock": "1.0.6", "@ai-sdk/anthropic": "1.0.6", - "@ai-sdk/azure": "1.0.14", + "@ai-sdk/azure": "1.0.15", "@ai-sdk/cohere": "1.0.6", "@ai-sdk/deepinfra": "0.0.4", "@ai-sdk/fireworks": "0.0.8", @@ -13,7 +13,7 @@ "@ai-sdk/google-vertex": "2.0.12", "@ai-sdk/groq": "1.0.9", "@ai-sdk/mistral": "1.0.6", - "@ai-sdk/openai": "1.0.12", + "@ai-sdk/openai": "1.0.13", "@ai-sdk/openai-compatible": "0.0.13", "@ai-sdk/provider": "1.0.3", "@ai-sdk/togetherai": "0.0.15", diff --git a/examples/express/package.json b/examples/express/package.json index 16fb4fe74e97..5acb432ad136 100644 --- a/examples/express/package.json +++ b/examples/express/package.json @@ -7,7 +7,7 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@ai-sdk/openai": "1.0.12", + "@ai-sdk/openai": "1.0.13", "ai": "4.0.24", "dotenv": "16.4.5", "express": "5.0.1" diff --git a/examples/fastify/package.json b/examples/fastify/package.json index e4bf92081a6d..c11277d5e68e 100644 --- a/examples/fastify/package.json +++ b/examples/fastify/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "private": true, "dependencies": { - "@ai-sdk/openai": "1.0.12", + "@ai-sdk/openai": "1.0.13", "ai": "4.0.24", "dotenv": "16.4.5", "fastify": "5.1.0" diff --git a/examples/hono/package.json b/examples/hono/package.json index 975396911dcb..4fbd23522faa 100644 --- a/examples/hono/package.json +++ b/examples/hono/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "private": true, "dependencies": { - "@ai-sdk/openai": "1.0.12", + "@ai-sdk/openai": "1.0.13", "@hono/node-server": "1.13.7", "ai": "4.0.24", "dotenv": "16.4.5", diff --git a/examples/nest/package.json b/examples/nest/package.json index 514c72bfc394..a28af1f2b374 100644 --- a/examples/nest/package.json +++ b/examples/nest/package.json @@ -15,7 +15,7 @@ "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix" }, "dependencies": { - "@ai-sdk/openai": "1.0.12", + "@ai-sdk/openai": "1.0.13", "@nestjs/common": "^10.4.15", "@nestjs/core": "^10.0.0", "@nestjs/platform-express": "^10.4.9", diff --git a/examples/next-openai-kasada-bot-protection/package.json b/examples/next-openai-kasada-bot-protection/package.json index 3e974231f498..441ace5e5ad7 100644 --- a/examples/next-openai-kasada-bot-protection/package.json +++ b/examples/next-openai-kasada-bot-protection/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "@ai-sdk/openai": "1.0.12", + "@ai-sdk/openai": "1.0.13", "@vercel/functions": "latest", "ai": "4.0.24", "next": "latest", diff --git a/examples/next-openai-pages/package.json b/examples/next-openai-pages/package.json index 33b767b64ba4..2e4edb7b3764 100644 --- a/examples/next-openai-pages/package.json +++ b/examples/next-openai-pages/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "@ai-sdk/openai": "1.0.12", + "@ai-sdk/openai": "1.0.13", "@ai-sdk/react": "1.0.7", "ai": "4.0.24", "next": "latest", diff --git a/examples/next-openai-telemetry-sentry/package.json b/examples/next-openai-telemetry-sentry/package.json index 6df616108038..a9d18b402866 100644 --- a/examples/next-openai-telemetry-sentry/package.json +++ b/examples/next-openai-telemetry-sentry/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "@ai-sdk/openai": "1.0.12", + "@ai-sdk/openai": "1.0.13", "@ai-sdk/react": "1.0.7", "@opentelemetry/api-logs": "0.55.0", "@opentelemetry/instrumentation": "0.52.1", diff --git a/examples/next-openai-telemetry/package.json b/examples/next-openai-telemetry/package.json index 56f326b2626f..fd71fc16b743 100644 --- a/examples/next-openai-telemetry/package.json +++ b/examples/next-openai-telemetry/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "@ai-sdk/openai": "1.0.12", + "@ai-sdk/openai": "1.0.13", "@ai-sdk/react": "1.0.7", "@opentelemetry/api-logs": "0.55.0", "@opentelemetry/sdk-logs": "0.55.0", diff --git a/examples/next-openai-upstash-rate-limits/package.json b/examples/next-openai-upstash-rate-limits/package.json index 940b3e501f4c..c2c4c524e736 100644 --- a/examples/next-openai-upstash-rate-limits/package.json +++ b/examples/next-openai-upstash-rate-limits/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "@ai-sdk/openai": "1.0.12", + "@ai-sdk/openai": "1.0.13", "@upstash/ratelimit": "^0.4.3", "@vercel/kv": "^0.2.2", "ai": "4.0.24", diff --git a/examples/next-openai/package.json b/examples/next-openai/package.json index 5fbec96cc0ac..197b3c8721b1 100644 --- a/examples/next-openai/package.json +++ b/examples/next-openai/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "@ai-sdk/openai": "1.0.12", + "@ai-sdk/openai": "1.0.13", "@ai-sdk/ui-utils": "1.0.6", "@ai-sdk/react": "1.0.7", "@vercel/blob": "^0.26.0", diff --git a/examples/node-http-server/package.json b/examples/node-http-server/package.json index dea893f05c04..084d18d9a3a4 100644 --- a/examples/node-http-server/package.json +++ b/examples/node-http-server/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "private": true, "dependencies": { - "@ai-sdk/openai": "1.0.12", + "@ai-sdk/openai": "1.0.13", "ai": "4.0.24", "dotenv": "16.4.5", "zod": "3.23.8", diff --git a/examples/nuxt-openai/package.json b/examples/nuxt-openai/package.json index 294dfc1cf63d..f0e8323d52f3 100644 --- a/examples/nuxt-openai/package.json +++ b/examples/nuxt-openai/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "@ai-sdk/vue": "1.0.7", - "@ai-sdk/openai": "1.0.12", + "@ai-sdk/openai": "1.0.13", "ai": "4.0.24", "zod": "3.23.8" }, diff --git a/examples/solidstart-openai/package.json b/examples/solidstart-openai/package.json index 7b5a3351f42d..5a7968380878 100644 --- a/examples/solidstart-openai/package.json +++ b/examples/solidstart-openai/package.json @@ -14,7 +14,7 @@ "vinxi": "^0.4.3" }, "dependencies": { - "@ai-sdk/openai": "1.0.12", + "@ai-sdk/openai": "1.0.13", "@ai-sdk/solid": "1.0.7", "@solidjs/meta": "0.29.4", "@solidjs/router": "^0.15.1", diff --git a/examples/sveltekit-openai/package.json b/examples/sveltekit-openai/package.json index baa9b3eab612..839d5ccc1946 100644 --- a/examples/sveltekit-openai/package.json +++ b/examples/sveltekit-openai/package.json @@ -10,7 +10,7 @@ "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch" }, "dependencies": { - "@ai-sdk/openai": "1.0.12", + "@ai-sdk/openai": "1.0.13", "@ai-sdk/svelte": "1.0.7", "ai": "4.0.24", "openai": "4.52.6", diff --git a/examples/swarm/package.json b/examples/swarm/package.json index 49c693430969..12d2cae52bb5 100644 --- a/examples/swarm/package.json +++ b/examples/swarm/package.json @@ -8,7 +8,7 @@ "@ai-sdk/google-vertex": "2.0.12", "@ai-sdk/groq": "1.0.9", "@ai-sdk/mistral": "1.0.6", - "@ai-sdk/openai": "1.0.12", + "@ai-sdk/openai": "1.0.13", "@ai-sdk/swarm": "0.0.33", "ai": "4.0.24", "dotenv": "16.4.5", diff --git a/packages/azure/CHANGELOG.md b/packages/azure/CHANGELOG.md index 011cb1a6d89d..3083e516c566 100644 --- a/packages/azure/CHANGELOG.md +++ b/packages/azure/CHANGELOG.md @@ -1,5 +1,12 @@ # @ai-sdk/azure +## 1.0.15 + +### Patch Changes + +- Updated dependencies [b19aa82] + - @ai-sdk/openai@1.0.13 + ## 1.0.14 ### Patch Changes diff --git a/packages/azure/package.json b/packages/azure/package.json index 5c0a66493d2d..b10ae6703cdd 100644 --- a/packages/azure/package.json +++ b/packages/azure/package.json @@ -1,6 +1,6 @@ { "name": "@ai-sdk/azure", - "version": "1.0.14", + "version": "1.0.15", "license": "Apache-2.0", "sideEffects": false, "main": "./dist/index.js", @@ -30,7 +30,7 @@ } }, "dependencies": { - "@ai-sdk/openai": "1.0.12", + "@ai-sdk/openai": "1.0.13", "@ai-sdk/provider": "1.0.3", "@ai-sdk/provider-utils": "2.0.5" }, diff --git a/packages/openai/CHANGELOG.md b/packages/openai/CHANGELOG.md index 235b62fe8b99..2531da27ac05 100644 --- a/packages/openai/CHANGELOG.md +++ b/packages/openai/CHANGELOG.md @@ -1,5 +1,11 @@ # @ai-sdk/openai +## 1.0.13 + +### Patch Changes + +- b19aa82: feat (provider/openai): add predicted outputs token usage + ## 1.0.12 ### Patch Changes diff --git a/packages/openai/package.json b/packages/openai/package.json index fe2cbc880ea9..de64d3351e9e 100644 --- a/packages/openai/package.json +++ b/packages/openai/package.json @@ -1,6 +1,6 @@ { "name": "@ai-sdk/openai", - "version": "1.0.12", + "version": "1.0.13", "license": "Apache-2.0", "sideEffects": false, "main": "./dist/index.js", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0ca19fcb65e8..6c307b3affbe 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -63,7 +63,7 @@ importers: specifier: 1.0.6 version: link:../../packages/anthropic '@ai-sdk/azure': - specifier: 1.0.14 + specifier: 1.0.15 version: link:../../packages/azure '@ai-sdk/cohere': specifier: 1.0.6 @@ -87,7 +87,7 @@ importers: specifier: 1.0.6 version: link:../../packages/mistral '@ai-sdk/openai': - specifier: 1.0.12 + specifier: 1.0.13 version: link:../../packages/openai '@ai-sdk/openai-compatible': specifier: 0.0.13 @@ -142,7 +142,7 @@ importers: examples/express: dependencies: '@ai-sdk/openai': - specifier: 1.0.12 + specifier: 1.0.13 version: link:../../packages/openai ai: specifier: 4.0.24 @@ -170,7 +170,7 @@ importers: examples/fastify: dependencies: '@ai-sdk/openai': - specifier: 1.0.12 + specifier: 1.0.13 version: link:../../packages/openai ai: specifier: 4.0.24 @@ -195,7 +195,7 @@ importers: examples/hono: dependencies: '@ai-sdk/openai': - specifier: 1.0.12 + specifier: 1.0.13 version: link:../../packages/openai '@hono/node-server': specifier: 1.13.7 @@ -223,7 +223,7 @@ importers: examples/nest: dependencies: '@ai-sdk/openai': - specifier: 1.0.12 + specifier: 1.0.13 version: link:../../packages/openai '@nestjs/common': specifier: ^10.4.15 @@ -464,7 +464,7 @@ importers: examples/next-openai: dependencies: '@ai-sdk/openai': - specifier: 1.0.12 + specifier: 1.0.13 version: link:../../packages/openai '@ai-sdk/react': specifier: 1.0.7 @@ -528,7 +528,7 @@ importers: examples/next-openai-kasada-bot-protection: dependencies: '@ai-sdk/openai': - specifier: 1.0.12 + specifier: 1.0.13 version: link:../../packages/openai '@vercel/functions': specifier: latest @@ -580,7 +580,7 @@ importers: examples/next-openai-pages: dependencies: '@ai-sdk/openai': - specifier: 1.0.12 + specifier: 1.0.13 version: link:../../packages/openai '@ai-sdk/react': specifier: 1.0.7 @@ -635,7 +635,7 @@ importers: examples/next-openai-telemetry: dependencies: '@ai-sdk/openai': - specifier: 1.0.12 + specifier: 1.0.13 version: link:../../packages/openai '@ai-sdk/react': specifier: 1.0.7 @@ -702,7 +702,7 @@ importers: examples/next-openai-telemetry-sentry: dependencies: '@ai-sdk/openai': - specifier: 1.0.12 + specifier: 1.0.13 version: link:../../packages/openai '@ai-sdk/react': specifier: 1.0.7 @@ -775,7 +775,7 @@ importers: examples/next-openai-upstash-rate-limits: dependencies: '@ai-sdk/openai': - specifier: 1.0.12 + specifier: 1.0.13 version: link:../../packages/openai '@upstash/ratelimit': specifier: ^0.4.3 @@ -830,7 +830,7 @@ importers: examples/node-http-server: dependencies: '@ai-sdk/openai': - specifier: 1.0.12 + specifier: 1.0.13 version: link:../../packages/openai ai: specifier: 4.0.24 @@ -858,7 +858,7 @@ importers: examples/nuxt-openai: dependencies: '@ai-sdk/openai': - specifier: 1.0.12 + specifier: 1.0.13 version: link:../../packages/openai '@ai-sdk/vue': specifier: 1.0.7 @@ -913,7 +913,7 @@ importers: examples/solidstart-openai: dependencies: '@ai-sdk/openai': - specifier: 1.0.12 + specifier: 1.0.13 version: link:../../packages/openai '@ai-sdk/solid': specifier: 1.0.7 @@ -953,7 +953,7 @@ importers: examples/sveltekit-openai: dependencies: '@ai-sdk/openai': - specifier: 1.0.12 + specifier: 1.0.13 version: link:../../packages/openai '@ai-sdk/svelte': specifier: 1.0.7 @@ -1020,7 +1020,7 @@ importers: specifier: 1.0.6 version: link:../../packages/mistral '@ai-sdk/openai': - specifier: 1.0.12 + specifier: 1.0.13 version: link:../../packages/openai '@ai-sdk/swarm': specifier: 0.0.33 @@ -1195,7 +1195,7 @@ importers: packages/azure: dependencies: '@ai-sdk/openai': - specifier: 1.0.12 + specifier: 1.0.13 version: link:../openai '@ai-sdk/provider': specifier: 1.0.3