Skip to content

Releases: causaly/zod-validation-error

v2.0.0

20 Oct 07:17
Compare
Choose a tag to compare

Major Changes

  • b199ca1: Update toValidationError() to return only ValidationError instances

    This change only affects users of toValidationError(). The method was previously returning Error | ValidationError and now returns only ValidationError.

v1.5.0

18 Aug 10:02
Compare
Choose a tag to compare

Minor Changes

  • 82b7739: Expose errorMap property to use with zod.setErrorMap() method

v1.4.0

17 Aug 06:48
Compare
Choose a tag to compare

Minor Changes

  • 8893d16: Expose fromZodIssue method

v1.3.1

19 Jun 15:25
c39e6ea
Compare
Choose a tag to compare

Patch Changes

  • 218da5f: fix: casing typo of how zod namespace was referenced

v1.3.0

07 Apr 12:28
Compare
Choose a tag to compare

Minor Changes

  • 8ccae09: Added exports of types for parameters of fromZodError function

v1.2.1

04 Apr 10:41
Compare
Choose a tag to compare

Patch Changes

  • 449477d: Switch to using npm instead of yarn. Update node requirement to v.16+

v1.1.0

20 Mar 09:15
Compare
Choose a tag to compare

Minor Changes

  • b693f52: Handle unicode and special-character identifiers

v1.0.1

03 Mar 17:30
Compare
Choose a tag to compare

Patch Changes

  • b868741: Fix broken links in API docs

v1.0.0

03 Mar 17:04
Compare
Choose a tag to compare

Major Changes

  • 90b2f83: Update ZodValidationError to behave more like a native Error constructor. Make options argument optional. Add name property and define toString() method.

v0.3.2

24 Feb 15:50
Compare
Choose a tag to compare

Patch Changes

  • a2e5322: Ensure union errors do not output duplicate messages