Skip to content

Conversation

@sergical
Copy link
Member

Summary

  • Upgrades 7 packages with major version bumps
  • All breaking changes have been addressed
  • Type check and build pass

Major Version Upgrades

Package From To
ai 5.0.111 6.0.34
@ai-sdk/openai 2.0.24 3.0.10
@ai-sdk/react 2.0.113 3.0.36
recharts 2.15.4 3.6.0
react-resizable-panels 3.0.5 4.4.1
streamdown 1.6.10 2.0.1
@types/node 20.19.13 25.0.8

Breaking Changes Addressed

AI SDK (v5 → v6)

  • convertToModelMessages is now async - added await
  • New tool states added: approval-requested, approval-responded, output-denied

recharts (v2 → v3)

  • Updated TooltipContentProps type parameters
  • Fixed LegendPayload type for legend content

react-resizable-panels (v3 → v4)

  • Renamed exports: PanelGroupGroup, PanelResizeHandleSeparator
  • Updated data attributes: data-panel-group-directiondata-orientation

Test Plan

  • Type check passes
  • Build succeeds
  • Manual testing in dev
  • Verify resizable panels still work
  • Verify charts render correctly
  • Verify AI analysis flow works

🤖 Generated with Claude Code

**Major version upgrades:**
- ai: 5.0.111 → 6.0.34
- @ai-sdk/openai: 2.0.24 → 3.0.10
- @ai-sdk/react: 2.0.113 → 3.0.36
- recharts: 2.15.4 → 3.6.0
- react-resizable-panels: 3.0.5 → 4.4.1
- streamdown: 1.6.10 → 2.0.1
- @types/node: 20.19.13 → 25.0.8

**Breaking changes addressed:**
- AI SDK: `convertToModelMessages` is now async
- AI SDK: Added new tool states (approval-requested, approval-responded, output-denied)
- recharts: Updated tooltip content props typing
- recharts: Fixed legend payload type
- react-resizable-panels: Renamed exports (PanelGroup → Group, PanelResizeHandle → Separator)
- react-resizable-panels: Updated data attributes (panel-group-direction → orientation)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Jan 14, 2026

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

Project Deployment Review Updated (UTC)
webvitals-com Ready Ready Preview, Comment Jan 14, 2026 10:36pm

- Change `url` from `.optional()` to `.nullable()` in follow-up schema
- Remove unused `basedOnTools` field from schema and components
- Update AI docs to reflect actual architecture (removed phantom
  artifacts/context systems that don't exist)

OpenAI's Structured Outputs API requires all properties to be in the
`required` array. Using `.nullable()` instead of `.optional()` keeps
the field required while allowing null values.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@sergical sergical merged commit bd304c6 into main Jan 15, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants