Skip to content

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

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/apps/admin-dashboard/npm_and_yarn-a69001de16
Open

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
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/apps/admin-dashboard/npm_and_yarn-a69001de16

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Mar 23, 2026

⚠️ Dependabot is rebasing this PR ⚠️

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 ai from 4.3.19 to 5.0.52

Commits
  • 63d5f66 Version Packages (#8895)
  • 930399b Backport: fix(ai): download files when intermediate file cannot be downloaded...
  • 7ca78f1 Backport: feat(provider/gateway): Add new Qwen models to Gateway model string...
  • 1cfc209 Backport: feat(provider/openai): OpenAILanguageModelOptions type (#8858)
  • 347b7ec ci: rename v5.0 branch to release-v*
  • 85909a9 Backport: chore(ai): update test message (#8875)
  • c56822d Backport: fix(ai): update uiMessageChunkSchema to satisfy the `UIMessageChu...
  • 1461adf Backport: chore(examples): remove redundant OpenAI reasoning examples (#8871)
  • 6bd07df Version Packages (#8853)
  • a45d61a ci(release): remove incorrect changeset bump for @ai-sdk/baseten
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot 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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will 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 version will 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 conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Summary by cubic

Upgrade ai to 5.0.52 in apps/admin-dashboard to adopt the v5 API and recent fixes.

  • Dependencies

    • ai: 4.3.19 → 5.0.52 (major)
  • Migration

    • Install deps and run a build/dev smoke test.
    • Verify ai v5 usage (streaming, tool calls, message types); update imports and types if needed.

Written for commit 443af30. Summary will update on new commits.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 23, 2026
@vercel
Copy link

vercel bot commented Mar 23, 2026

Deployment failed with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/mediabubble?upgradeToPro=build-rate-limit

@github-actions github-actions bot added the size/XS Extra small change (≤10 lines) label Mar 23, 2026
@github-actions
Copy link

github-actions bot commented Mar 23, 2026

📦 Affected Packages

  • admin-dashboard (Next.js app)

Diff: +1 / -1 lines

Auto-generated by pr-labels.yml

Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

"lucide-react": "^0.344.0",
"negotiator": "^1.0.0",
"next": "^15.5.14",
"next": "^16.2.1",
Copy link

@cubic-dev-ai cubic-dev-ai bot Mar 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>
Suggested change
"next": "^16.2.1",
"next": "^15.5.14",
Fix with Cubic

"@hugeicons/react": "^1.1.5",
"@node-rs/argon2": "^2.0.0",
"ai": "^4.3.19",
"ai": "^5.0.52",
Copy link

@cubic-dev-ai cubic-dev-ai bot Mar 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>
Fix with Cubic

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>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/apps/admin-dashboard/npm_and_yarn-a69001de16 branch from 27449e2 to 443af30 Compare March 24, 2026 14:02
@github-actions github-actions bot added size/XS Extra small change (≤10 lines) and removed size/XS Extra small change (≤10 lines) labels Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code size/XS Extra small change (≤10 lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants