Skip to content

v3.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 15 Jun 06:37
0dbdc99

Minor Changes

  • #116 56bc2cf Thanks @lawvs! - Add comparison support for Zod 4.3 and 4.4 schema updates.

    Zod 4.3 support covers schema variants including z.xor(), z.looseRecord(), and .exactOptional(). Zod 4.4 support treats empty z.union([]) and z.xor([]) schemas, including nested empty unions, as never for TypeScript-level same-type and compatibility checks. It also keeps z.undefined() object properties required and clarifies runtime-only comparison warnings while leaving strict runtime behavior to custom rules.

Patch Changes

  • c9d3c0b Thanks @lawvs! - Fix TypeScript 6 declaration output so published packages include dist/index.d.ts instead of only dist/src/index.d.ts.