Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2025-07-19 | 1.3 kB | |
v24.6.2 source code.tar.gz | 2025-07-19 | 367.8 kB | |
v24.6.2 source code.zip | 2025-07-19 | 450.5 kB | |
Totals: 3 Items | 819.5 kB | 0 |
Compatibility advice
- Correcting recommendations given in v24.6.0 regarding using with
zod@^4.0.0
: - Make sure the
moduleResolution
in yourtsconfig.json
is eithernode16
,nodenext
orbundler
; - Consider the recommended tsconfig base, Node 20+;
- Then you MAY
import { z } from "zod"
; - Otherwise, you MUST keep
import { z } from "zod/v4"
; - In some cases module augmentation (Zod plugin) did not work and caused schema assignment errors for some users;
- This potential inconvenience will be resolved by dropping
zod@^3
in the next version of Express Zod API: - If you're having troubles using the framework with
zod@^4.0.0
, consider upgrading to v25 (currently beta).
Patch
- Addressing potential
zod@^4
augmentation issue by @RobinTail in https://github.com/RobinTail/express-zod-api/pull/2832 - chore(deps): update dependency @types/node to v24.0.15 by @renovate[bot] in https://github.com/RobinTail/express-zod-api/pull/2831
Full Changelog: https://github.com/RobinTail/express-zod-api/compare/express-zod-api-v24.6.1...express-zod-api-v24.6.2