mirror of
https://github.com/BradGroux/veritas-kanban.git
synced 2026-10-11 06:07:54 +00:00
* fix(stability): complete Zod 4 API migration BREAKING CHANGE: Migrated from Zod 3 to Zod 4 API patterns Changes: - Replace ZodError.errors with ZodError.issues (Zod 4 API) - Update z.record(valueSchema) to z.record(z.string(), valueSchema) - Fix env.ts schema defaults to use correct types (numbers/booleans) - Replace required_error with message in Zod schemas This resolves 50+ TypeScript compilation errors that were blocking CI/CD and potentially causing runtime issues. Fixes: type checking errors in server and web packages Risk: Low - straightforward API migration with full test coverage * fix(zod4): use string defaults for transform/pipe schemas Zod v4 changed .default() to require the input type (string) rather than the output type. Fixed PORT, VERITAS_AUTH_ENABLED, VERITAS_AUTH_LOCALHOST_BYPASS, CSP_REPORT_ONLY, and RATE_LIMIT_MAX to pass string defaults to their respective portSchema / booleanString / positiveIntString coercing schemas. --------- Co-authored-by: BradGroux <super.seth.vos@gmail.com> |
||
|---|---|---|
| .. | ||
| src | ||
| .env.example | ||
| components.json | ||
| favicon.svg | ||
| index.html | ||
| package.json | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||