Skip to content

Releases: colinhacks/zod

3.0.0-alpha.7

18 Mar 06:43
Compare
Choose a tag to compare
3.0.0-alpha.7 Pre-release
Pre-release
  • Refactored parsing logic into individual subclass methods
  • Eliminated ZodTypes to enable custom ZodType subclasses
  • Removed ZodIntersection
  • Added ZodEffects as a container for refinement and transform logic
  • Added or method to ZodType
  • Added format method to ZodError
  • Added unwrap method to ZodOptional and ZodNullable
  • Added new default method and moved default functionality into ZodOptional
  • Implemented z.setErrorMap
  • Exporting z variable from index.ts to enable import { z } from 'zod';

v3-snapshot-2021-01-21

22 Jan 01:24
Compare
Choose a tag to compare
Pre-release
changed min ts version

1.11

30 Aug 08:48
Compare
Choose a tag to compare

Fixes #120 #121 #125 #127 #128

1.10.2

05 Aug 04:14
Compare
Choose a tag to compare

Fixed a bug in TypeScript compilation that caused build failures for projects with "skipLibCheck": false. #110

1.10

23 Jul 22:57
Compare
Choose a tag to compare

Dropping support for TypeScript 3.2 due to errors with deepPartial

v1.9

09 Jul 03:29
Compare
Choose a tag to compare
  • Added z.instanceof() and z.custom()
  • Implemented ZodSchema.array() method.

v1.8

09 Jul 03:27
Compare
Choose a tag to compare
  • Major overhaul to error handling system, including the introduction of custom error maps.
  • Introduced z.void()
  • Wrote new error handling guide.

1.7

08 Jun 23:46
Compare
Choose a tag to compare
1.7

Added several built-in validators to string, number, and array schemas. Calls to .refine now return new instance.

v1.0

29 Mar 03:52
Compare
Choose a tag to compare

After working out some initial kinks (#20, #24), fixing some compatibility issues with previous versions of TypeScript (#25), and implementing some of the most glaring feature holes (#2, #5, #8, #17), Zod is ready for a proper v1 release 🚀

Thanks to everyone for submitting issues and PRs! Keep em coming.

v1.2.0

06 Apr 05:01
Compare
Choose a tag to compare

Major improvement to object schemas.

Implemented .pick, .omit, and .augment. Documented in README.