Skip to content

build(deps): bump ai from 4.3.19 to 5.0.52#84

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/ai-5.0.52
Open

build(deps): bump ai from 4.3.19 to 5.0.52#84
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/ai-5.0.52

Conversation

@dependabot
Copy link

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

Bumps 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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Summary by cubic

Upgraded ai to 5.0.52 across dashboards and mobile to adopt the v5 SDK. Major bump—please smoke test chat, streaming, and tool calls.

  • Dependencies

    • Bumped ai to ^5.0.52 in apps/admin-dashboard, apps/client-dashboard, and apps/resident-mobile.
    • Updated lockfile for v5; new scoped @ai-sdk/* packages are resolved.
  • Migration

    • v5 decouples React hooks; if using useChat/useCompletion, add @ai-sdk/react and update imports.
    • Review v5 breaking changes (provider option types, model IDs) and run type checks in each app.

Written for commit 46bf7b3. Summary will update on new commits.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label 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

Lighthouse CI — Marketing Site

Category 📱 Mobile 🖥 Desktop
Performance 🟡 91/100 🟡 87/100
Accessibility 🟡 94/100 🟡 94/100
Best Practices 🟢 96/100 🟢 96/100
SEO 🟡 92/100 🟡 92/100

Core Web Vitals (Mobile)
LCP: 3374ms | FCP: 1208ms | TBT: 92ms | CLS: 0.000

Plan: pagespeed_100 — Target: 100/100 all categories
Thresholds in .lighthouserc.js

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 4 files

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/client-dashboard/package.json">

<violation number="1" location="apps/client-dashboard/package.json:42">
P1: Upgrading to `ai` v5 without migrating `ai/react` imports will break module resolution (`ai/react` is no longer exported in v5).</violation>
</file>

<file name="apps/admin-dashboard/package.json">

<violation number="1" location="apps/admin-dashboard/package.json:26">
P1: Bumping `ai` to v5 without upgrading `@ai-sdk/google` leaves incompatible provider majors (`@ai-sdk/provider` v2 vs v1) in the same `streamText` path.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

"@upstash/ratelimit": "^2.0.5",
"@upstash/redis": "^1.36.2",
"ai": "4",
"ai": "5",
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: Upgrading to ai v5 without migrating ai/react imports will break module resolution (ai/react is no longer exported in v5).

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At apps/client-dashboard/package.json, line 42:

<comment>Upgrading to `ai` v5 without migrating `ai/react` imports will break module resolution (`ai/react` is no longer exported in v5).</comment>

<file context>
@@ -39,7 +39,7 @@
     "@upstash/ratelimit": "^2.0.5",
     "@upstash/redis": "^1.36.2",
-    "ai": "4",
+    "ai": "5",
     "clsx": "^2.1.1",
     "crypto-js": "^4.2.0",
</file context>
Suggested change
"ai": "5",
"ai": "4",
Fix with Cubic

"@hugeicons/core-free-icons": "^3.1.1",
"@hugeicons/react": "^1.1.5",
"ai": "4",
"ai": "5",
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 to v5 without upgrading @ai-sdk/google leaves incompatible provider majors (@ai-sdk/provider v2 vs v1) in the same streamText path.

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 26:

<comment>Bumping `ai` to v5 without upgrading `@ai-sdk/google` leaves incompatible provider majors (`@ai-sdk/provider` v2 vs v1) in the same `streamText` path.</comment>

<file context>
@@ -23,7 +23,7 @@
     "@hugeicons/core-free-icons": "^3.1.1",
     "@hugeicons/react": "^1.1.5",
-    "ai": "4",
+    "ai": "5",
     "@node-rs/argon2": "^2.0.0",
     "clsx": "^2.1.1",
</file context>
Fix with Cubic

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/ai-5.0.52 branch from b4b8cb9 to b1ab915 Compare March 23, 2026 19:11
@github-actions github-actions bot added size/XS Extra small change (≤10 lines) and removed size/XS Extra small change (≤10 lines) labels Mar 23, 2026
@iDorgham
Copy link
Owner

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/ai-5.0.52 branch from b1ab915 to fe1b6c1 Compare March 23, 2026 19:19
@github-actions github-actions bot added size/XS Extra small change (≤10 lines) and removed size/XS Extra small change (≤10 lines) labels Mar 23, 2026
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/ai-5.0.52 branch from fe1b6c1 to a077290 Compare March 23, 2026 22:04
@github-actions
Copy link

github-actions bot commented Mar 23, 2026

📦 Affected Packages

  • admin-dashboard (Next.js app)
  • client-dashboard (Next.js app)

Diff: +2975 / -8723 lines

Auto-generated by pr-labels.yml

@github-actions github-actions bot added size/XS Extra small change (≤10 lines) and removed size/XS Extra small change (≤10 lines) labels Mar 23, 2026
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/ai-5.0.52 branch from a077290 to 3eb0804 Compare March 23, 2026 23:12
@github-actions github-actions bot added size/XS Extra small change (≤10 lines) and removed size/XS Extra small change (≤10 lines) labels Mar 23, 2026
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/ai-5.0.52 branch from 3eb0804 to 2c624a4 Compare March 24, 2026 05:11
@vercel
Copy link

vercel bot commented Mar 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
gateflow-admin-dashboard Error Error Mar 25, 2026 11:12am
gateflow-client-dashboard Error Error Mar 25, 2026 11:12am
gateflow-marketing Ready Ready Preview, Comment Mar 25, 2026 11:12am
gateflow-resident-portal Ready Ready Preview, Comment Mar 25, 2026 11:12am

Bumps [ai](https://github.com/vercel/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
...

Signed-off-by: dependabot[bot] <support@github.com>
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 size/XS Extra small change (≤10 lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant