feat(deps): Bump ai from 4.3.16 to 7.0.79 - #23704
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 8ad6e22. Configure here.
| "@types/mysql": "^2.15.21", | ||
| "@types/pg": "^8.6.5", | ||
| "ai": "^4.3.16", | ||
| "ai": "^7.0.77", |
There was a problem hiding this comment.
Unpinned bump breaks v4 AI tests
High Severity
The ai dependency is jumped from ^4.3.16 to ^7.0.77, but the v4 suites still import MockLanguageModelV1 and MockEmbeddingModelV1 from ai/test and do not pin a version via additionalDependencies (unlike the v5 and v6/v7 suites). Those mocks are gone in v7, so the v4 and span-streaming-v4 tests fail on import and v4 instrumentation is no longer covered. v7 is also ESM-only and requires Node 22, which further breaks the CJS runs and Node 20 CI.
Reviewed by Cursor Bugbot for commit 8ad6e22. Configure here.
| }, | ||
| "dependencies": { | ||
| "ai": "^6.0.0", | ||
| "ai": "^7.0.77", |
There was a problem hiding this comment.
Cloudflare v6 AI tests unpinned
Medium Severity
The Cloudflare package ai range moves from ^6.0.0 to ^7.0.77 with no per-suite pin. The vercelai-6 suite and other tests that import ai (including the Vite client build of streamText) now run against v7. That drops v6 coverage on Cloudflare and can fail Workers/client bundling because v7 is ESM-only, requires Node 22, and @ai-sdk/provider-utils now depends on undici.
Reviewed by Cursor Bugbot for commit 8ad6e22. Configure here.
bd80880 to
e0b118c
Compare
Bumps [ai](https://github.com/vercel/ai/tree/HEAD/packages/ai) from 4.3.16 to 7.0.79. - [Release notes](https://github.com/vercel/ai/releases) - [Changelog](https://github.com/vercel/ai/blob/main/packages/ai/CHANGELOG.md) - [Commits](https://github.com/vercel/ai/commits/ai@7.0.79/packages/ai) --- updated-dependencies: - dependency-name: ai dependency-version: 7.0.77 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
e0b118c to
9c5587e
Compare
|
We explicitly test for these versions and leaving them as is. |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |


Bumps ai from 4.3.16 to 7.0.79.
Release notes
Sourced from ai's releases.
Changelog
Sourced from ai's changelog.
... (truncated)
Commits
3d3afacVersion Packages (#19362)9de0baffix: parse structured output when the provider omits the finish reason (#19234)b251584fix: preserve active UI message parts across merged stream step boundaries (#...591d25bfeat: batch completion webhooks via startTextBatch webhookUrl (#19305)5b64c39Version Packages (#19341)96970bbfix: invalid approved tool input terminates resumed tool-approval turns (#19280)ed857f5Version Packages (#19296)a983d06chore: update tsx to 4.23.12 (#19273)ab58156Version Packages (#19266)c6d57f3fix(ai): prevent duplicate text and reasoning part ids (#19269)Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for ai since your current version.