Skip to content

ai 4.0.11 → v5+: what changes in database-build #175

Description

@SohamJa1n

Was looking at database-build ahead of an AI SDK upgrade. I ran a scan of current main (de2c18d) against the 2026-09-13.1 change feed - you're on ai 4.0.11, and it found:

  • apps/web/lib/tools.ts:1:10 - CoreTool is removed in v5 (hard break)
  • apps/web/components/chat.tsx:3:10 - Message/CreateMessage are replaced by UIMessage/CreateUIMessage in v5 (hard break; seven sites)
  • apps/web/components/chat.tsx:4:1 - the ai/react entrypoint is removed in v5 (hard break; five sites)
  • apps/web/app/api/chat/route.ts:4:10 - convertToCoreMessages is renamed in v5 and removed in v6

Full disclosure: I build the scanner (Emendant) - the findings above are yours to use either way.

Want the full run as a patch?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions