Skip to content

chore: major dependency bumps (zod 4, @types/node 25, npm-run-all2 9, @vue/tsconfig 0.9)#257

Merged
yorickdewid merged 2 commits into
mainfrom
chore/major-dep-bumps
Jun 13, 2026
Merged

chore: major dependency bumps (zod 4, @types/node 25, npm-run-all2 9, @vue/tsconfig 0.9)#257
yorickdewid merged 2 commits into
mainfrom
chore/major-dep-bumps

Conversation

@yorickdewid

@yorickdewid yorickdewid commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Major-version bumps + idiomatic zod-4 migration (two commits).

Package From To Kind
zod 3.25.76 4.4.3 runtime
@types/node 24.12.4 25.9.3 dev/type
npm-run-all2 8.0.4 9.0.2 dev/build
@vue/tsconfig 0.7.0 0.9.1 dev/type

Commit 1 — version bumps (zod 4 behavioural fix)

zod 4 made .uuid() strict (validates RFC-4122 version + variant bits); zod 3 accepted any 8-4-4-4-12 hex. The two reviewer validators (Inquiry/Recovery Step 1) now use .guid(), preserving zod 3's lenient behaviour so existing user IDs keep validating.

Commit 2 — migrate deprecated zod-4 APIs

Shared useValidation composable (mirrors ManagementFront #50):

  • ZodTypeAnyZodType
  • z.ZodIssuez.core.$ZodIssue

Verification

pnpm type-check ✅ · pnpm build ✅ · runtime contract test mirroring useValidation (safeParseAsyncgroupBy(issues,'path')getError): invalid input surfaces the Dutch custom messages; a real dev-DB user UUID validates.

Part of a fleet-wide major-dep alignment (Auth #7 / ClientApp / ManagementFront #50).

🤖 Generated with Claude Code

yorickdewid and others added 2 commits June 13, 2026 08:23
…, @vue/tsconfig 0.9)

- zod 3 -> 4: migrate reviewer validators from .uuid() to .guid().
  zod 4's .uuid() now enforces strict RFC-4122 version/variant bits;
  .guid() preserves zod 3's lenient 8-4-4-4-12 behaviour so existing
  (non-strict) user IDs keep validating.
- @types/node 24 -> 25, npm-run-all2 8 -> 9, @vue/tsconfig 0.7 -> 0.9 (dev/type only).

Verified: type-check + vite build pass; validation runtime contract
(safeParseAsync -> groupBy(issues,'path') -> getError) reproduces zod 3
behaviour incl. custom messages and acceptance of real user UUIDs.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Mirror of the ManagementFront change (shared composable):
- ZodTypeAny -> ZodType
- z.ZodIssue -> z.core.$ZodIssue

Type-check + build pass; no runtime behaviour change (type-level only).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@yorickdewid
yorickdewid merged commit f6b79b8 into main Jun 13, 2026
1 check passed
@yorickdewid
yorickdewid deleted the chore/major-dep-bumps branch June 13, 2026 08:42
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