Releases: causaly/zod-validation-error
Releases · causaly/zod-validation-error
v2.0.0
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
Minor Changes
- 82b7739: Expose errorMap property to use with zod.setErrorMap() method
v1.4.0
Minor Changes
- 8893d16: Expose fromZodIssue method
v1.3.1
Patch Changes
- 218da5f: fix: casing typo of how zod namespace was referenced
v1.3.0
Minor Changes
- 8ccae09: Added exports of types for parameters of fromZodError function
v1.2.1
Patch Changes
- 449477d: Switch to using npm instead of yarn. Update node requirement to v.16+
v1.1.0
Minor Changes
- b693f52: Handle unicode and special-character identifiers
v1.0.1
Patch Changes
- b868741: Fix broken links in API docs
v1.0.0
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
Patch Changes
- a2e5322: Ensure union errors do not output duplicate messages