build(deps): bump ai from 4.3.19 to 5.0.52 in /apps/admin-dashboard in the npm_and_yarn group across 1 directory#87
Conversation
|
Deployment failed with the following error: Learn More: https://vercel.com/mediabubble?upgradeToPro=build-rate-limit |
📦 Affected Packages
Diff: +1 / -1 lines
|
There was a problem hiding this comment.
2 issues found across 1 file
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="apps/admin-dashboard/package.json">
<violation number="1" location="apps/admin-dashboard/package.json:28">
P1: Bumping `ai` from v4 to v5 is a major version change with breaking API changes. The codebase imports from `ai/react` (in `admin-ai-assistant.tsx`) which was deprecated in v4 in favor of `@ai-sdk/react`, and uses `toDataStreamResponse()` (in `route.ts`) which may be renamed in v5. Verify that all AI SDK usage has been migrated to v5-compatible APIs, or this upgrade will cause runtime errors.</violation>
<violation number="2" location="apps/admin-dashboard/package.json:34">
P0: This PR silently bumps `next` from `^15` to `^16` (a major version change not mentioned in the PR title), while `react` and `react-dom` remain at `^18.3.1`. Next.js major versions require matching React peer dependencies — this mismatch will almost certainly break the build. The `next` upgrade should be handled in a dedicated PR with corresponding `react`/`react-dom` upgrades and thorough testing.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
apps/admin-dashboard/package.json
Outdated
| "lucide-react": "^0.344.0", | ||
| "negotiator": "^1.0.0", | ||
| "next": "^15.5.14", | ||
| "next": "^16.2.1", |
There was a problem hiding this comment.
P0: This PR silently bumps next from ^15 to ^16 (a major version change not mentioned in the PR title), while react and react-dom remain at ^18.3.1. Next.js major versions require matching React peer dependencies — this mismatch will almost certainly break the build. The next upgrade should be handled in a dedicated PR with corresponding react/react-dom upgrades and thorough testing.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At apps/admin-dashboard/package.json, line 34:
<comment>This PR silently bumps `next` from `^15` to `^16` (a major version change not mentioned in the PR title), while `react` and `react-dom` remain at `^18.3.1`. Next.js major versions require matching React peer dependencies — this mismatch will almost certainly break the build. The `next` upgrade should be handled in a dedicated PR with corresponding `react`/`react-dom` upgrades and thorough testing.</comment>
<file context>
@@ -25,13 +25,13 @@
"lucide-react": "^0.344.0",
"negotiator": "^1.0.0",
- "next": "^15.5.14",
+ "next": "^16.2.1",
"next-themes": "^0.4.6",
"react": "^18.3.1",
</file context>
| "next": "^16.2.1", | |
| "next": "^15.5.14", |
| "@hugeicons/react": "^1.1.5", | ||
| "@node-rs/argon2": "^2.0.0", | ||
| "ai": "^4.3.19", | ||
| "ai": "^5.0.52", |
There was a problem hiding this comment.
P1: Bumping ai from v4 to v5 is a major version change with breaking API changes. The codebase imports from ai/react (in admin-ai-assistant.tsx) which was deprecated in v4 in favor of @ai-sdk/react, and uses toDataStreamResponse() (in route.ts) which may be renamed in v5. Verify that all AI SDK usage has been migrated to v5-compatible APIs, or this upgrade will cause runtime errors.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At apps/admin-dashboard/package.json, line 28:
<comment>Bumping `ai` from v4 to v5 is a major version change with breaking API changes. The codebase imports from `ai/react` (in `admin-ai-assistant.tsx`) which was deprecated in v4 in favor of `@ai-sdk/react`, and uses `toDataStreamResponse()` (in `route.ts`) which may be renamed in v5. Verify that all AI SDK usage has been migrated to v5-compatible APIs, or this upgrade will cause runtime errors.</comment>
<file context>
@@ -25,13 +25,13 @@
"@hugeicons/react": "^1.1.5",
"@node-rs/argon2": "^2.0.0",
- "ai": "^4.3.19",
+ "ai": "^5.0.52",
"clsx": "^2.1.1",
"framer-motion": "^11.18.2",
</file context>
Bumps the npm_and_yarn group with 1 update in the /apps/admin-dashboard directory: [ai](https://github.com/vercel/ai). Updates `ai` from 4.3.19 to 5.0.52 - [Release notes](https://github.com/vercel/ai/releases) - [Changelog](https://github.com/vercel/ai/blob/main/CHANGELOG.md) - [Commits](https://github.com/vercel/ai/compare/ai@4.3.19...ai@5.0.52) --- updated-dependencies: - dependency-name: ai dependency-version: 5.0.52 dependency-type: direct:production dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com>
27449e2 to
443af30
Compare
Rebasing might not happen immediately, so don't worry if this takes some time.
Note: if you make any changes to this PR yourself, they will take precedence over the rebase.
Bumps the npm_and_yarn group with 1 update in the /apps/admin-dashboard directory: ai.
Updates
aifrom 4.3.19 to 5.0.52Commits
63d5f66Version Packages (#8895)930399bBackport: fix(ai): download files when intermediate file cannot be downloaded...7ca78f1Backport: feat(provider/gateway): Add new Qwen models to Gateway model string...1cfc209Backport: feat(provider/openai):OpenAILanguageModelOptionstype (#8858)347b7ecci: renamev5.0branch torelease-v*85909a9Backport: chore(ai): update test message (#8875)c56822dBackport: fix(ai): updateuiMessageChunkSchemato satisfy the `UIMessageChu...1461adfBackport: chore(examples): remove redundant OpenAI reasoning examples (#8871)6bd07dfVersion Packages (#8853)a45d61aci(release): remove incorrect changeset bump for@ai-sdk/basetenDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditionsYou can disable automated security fix PRs for this repo from the Security Alerts page.
Summary by cubic
Upgrade
aito 5.0.52 inapps/admin-dashboardto adopt the v5 API and recent fixes.Dependencies
ai: 4.3.19 → 5.0.52 (major)Migration
aiv5 usage (streaming, tool calls, message types); update imports and types if needed.Written for commit 443af30. Summary will update on new commits.