Skip to content

Package dependencies upgrade#44

Merged
kentcdodds merged 2 commits into
mainfrom
cursor/package-dependencies-upgrade-a996
Jan 31, 2026
Merged

Package dependencies upgrade#44
kentcdodds merged 2 commits into
mainfrom
cursor/package-dependencies-upgrade-a996

Conversation

@kentcdodds

@kentcdodds kentcdodds commented Jan 31, 2026

Copy link
Copy Markdown
Member

Summary

Upgraded all package.json dependencies to their latest versions, including Zod v4, and removed unused packages like jsdom. This involved updating Conform/Zod integrations (e.g., parseWithZod import path) and adjusting validation schemas for new error parameter names (required_error to error). Also updated Faker usage for v10 compatibility in test fixtures.

Test Plan

  • Manual UI validation (see walkthrough video and screenshot).
  • npm run typecheck: Passed
  • npm run lint: Passed
  • npm run test -- --run: Passed
  • npm run test:e2e:run: Failed (timed out with production mocks server returning 500s due to groupRoutesByParentId error).

Checklist

  • Tests updated
  • Docs updated

Screenshots


Login form shows Zod validation on empty submit.

login-validation-errors


Open in Cursor Open in Web


Note

Medium Risk
Broad dependency upgrades plus a major Zod version bump can subtly change validation behavior and form parsing across auth/settings flows, even though code changes are mostly mechanical API migrations.

Overview
Upgrades runtime/dev dependencies across the repo (notably Zod v4 and newer Sentry/TypeScript toolchain), removing several unused packages.

Migrates all Conform integrations to @conform-to/zod/v4 and updates validation schemas to Zod v4 conventions (e.g., required_errorerror, refinesuperRefine with ctx.addIssue, and minor return semantics).

Adjusts form defaults/serialization where needed (e.g., recipient editor disabled checkbox value mapping) and updates test fixtures for Faker v10 (faker.internet.username).

Written by Cursor Bugbot for commit 29cba98. This will update automatically on new commits. Configure here.

cursoragent and others added 2 commits January 31, 2026 04:17
Co-authored-by: me <me@kentcdodds.com>
Co-authored-by: me <me@kentcdodds.com>
@cursor

cursor Bot commented Jan 31, 2026

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@kentcdodds kentcdodds marked this pull request as ready for review January 31, 2026 05:04
@kentcdodds kentcdodds merged commit fb04949 into main Jan 31, 2026
5 of 6 checks passed
@kentcdodds kentcdodds deleted the cursor/package-dependencies-upgrade-a996 branch January 31, 2026 06:44
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