Skip to content

Releases: causaly/zod-validation-error

v4.0.1

23 Jul 14:55
683212d
Compare
Choose a tag to compare

Patch Changes

v.4.0.0

22 Jul 11:55
Compare
Choose a tag to compare

Major Changes

  • 9be31d2: Make v4 the default export of zod-validation-error
  • b979890: Add support for zod v4 as a peer dependency.
  • 3bf9e78: Update the API to separate between error mapping and message building.

v3.5.2

18 Jun 07:01
Compare
Choose a tag to compare

Patch Changes

  • 3809f85: Include paths of sub-issues of union.

v3.5.1

16 Jun 14:59
bfcdba7
Compare
Choose a tag to compare

Patch Changes

  • e7713d5: Add compatibility with older node versions and module-resolution strategies + improve docs

v3.5.0

12 Jun 07:25
737ae88
Compare
Choose a tag to compare

Minor Changes

v3.4.1

06 May 11:56
f19abcc
Compare
Choose a tag to compare

Patch Changes

  • 94d5f3b: Bump zod to v.3.24.4 in package.json as dev + peer dependency

v3.4.0

16 Sep 06:44
Compare
Choose a tag to compare

Minor Changes

  • 3a7928c: Customize error messages using a MessageBuilder.

v3.3.1

01 Aug 12:14
62e6826
Compare
Choose a tag to compare

Patch Changes

  • 42bc4fe: Test Version Packages fix

v3.3.0

10 May 06:29
Compare
Choose a tag to compare

Minor Changes

  • 66f5b5d: Match ZodError via heuristics instead of relying on instanceof.

    Why? Because we want to ensure that zod-validation-error works smoothly even when multiple versions of zod have been installed in the same project.

v3.2.0

23 Apr 12:15
Compare
Choose a tag to compare

Minor Changes

  • 6b4e8a0: Introduce fromError API which is a less strict version of fromZodError
  • 35a28c6: Add runtime check in fromZodError and throw dev-friendly TypeError suggesting usage of fromError instead