Skip to content

chore: bump all dependencies to latest versions - #64

Merged
LukeMainwaring merged 2 commits into
mainfrom
update-deps/2026-06-26
Jun 26, 2026
Merged

LukeMainwaring merged 2 commits into
mainfrom
update-deps/2026-06-26

Conversation

@LukeMainwaring

Copy link
Copy Markdown
Owner

Routine dependency refresh (/updating-deps), plus the two breaking-change fixes the major bumps required. Library docs (pydantic-ai-llms-full.txt, vercel-ai-sdk-ui.txt) re-downloaded.

Notable bumps

  • pydantic-ai 1.106.0 → 2.0.0 (major)
  • Vercel AI SDK — ai 6 → 7, @ai-sdk/react 3 → 4, @ai-sdk/provider/@ai-sdk/gateway 3 → 4 (majors)
  • @biomejs/biome 2.4.16 → 2.5.1, @types/node 25 → 26
  • fastapi 0.136 → 0.138, plus minor/patch bumps across radix, axios, motion, tailwind, etc.

Breaking-change fixes (commit 2)

  • message_serialization.py — BuiltinToolReturnPart → NativeToolReturnPart. The old name is removed in pydantic-ai 2.0, so the backend would ImportError on startup without this.
  • biome.jsonc — moved noUnnecessaryConditions from nursery → suspicious (Biome 2.5 promoted it); the stale key was rejecting the whole config and blocking all linting.
  • layout.tsx — removed a noDangerouslySetInnerHtml suppression that Biome 2.5 now reports as ineffective.

The frontend AI SDK v7 migration needed no code changes — the chat UI was already on v7 idioms (isToolUIPart, DefaultChatTransport, useChat<ChatMessage>).

Validation

  • Backend pre-commit (ruff + ruff-format + mypy): all pass
  • Frontend ultracite check: clean, 65 files, zero warnings

Recommended before merge

Static checks can't exercise the runtime SSE protocol between the pydantic-ai 2.0 VercelAIAdapter and AI SDK 7 useChat. Both jumped majors together so they should align, but a quick manual smoke test of one streaming chat with a tool call is worth doing.

🤖 Generated with Claude Code

LukeMainwaring and others added 2 commits June 26, 2026 15:32
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- pydantic-ai 2.0 renamed BuiltinToolReturnPart -> NativeToolReturnPart
  (import + isinstance in message_serialization.py); the old name is
  removed, so the backend failed to import without this.
- biome 2.5 promoted noUnnecessaryConditions from nursery -> suspicious;
  move the override so the config parses and lint runs again.
- Drop the now-ineffective noDangerouslySetInnerHtml suppression in
  layout.tsx that biome 2.5 reports as unused.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@LukeMainwaring
LukeMainwaring merged commit 3929748 into main Jun 26, 2026
1 check 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.

1 participant