Skip to content

Commit

Permalink
1.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin McDonnell committed Jul 20, 2020
1 parent cf9867f commit 9c93eb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

| zod version | release notes |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [email protected] | Dropping support for TypeScript 3.2 |
| [email protected] | Added z.instanceof() and z.custom(). Implemented ZodSchema.array() method. |
| [email protected] | Introduced z.void(). Major overhaul to error handling system, including the introduction of custom error maps. Wrote new [error handling guide](https://github.com/vriad/zod/blob/master/ERROR_HANDLING.md). |
| [email protected] | Added several built-in validators to string, number, and array schemas. Calls to `.refine` now return new instance. |
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ yarn add zod

#### TypeScript requirements

1. Zod 1.x requires TypeScript 3.2+
1. Zod 1.x requires TypeScript 3.3+
> Support for TS 3.2 was dropped with the release of [email protected] on 19 July 2020
2. You must enable `strictNullChecks` or use `strict` mode which includes `strictNullChecks`. Otherwise Zod can't correctly infer the types of your schemas!
```ts
// tsconfig.json
Expand Down

0 comments on commit 9c93eb7

Please sign in to comment.