From 9c93eb7a256f4e26781789488d717b5c7e121670 Mon Sep 17 00:00:00 2001 From: Colin McDonnell Date: Sun, 19 Jul 2020 17:09:30 -0700 Subject: [PATCH] 1.10.0 --- CHANGELOG.md | 1 + README.md | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a5f239b1..94ae96954 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ | zod version | release notes | | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| zod@1.10 | Dropping support for TypeScript 3.2 | | zod@1.9 | Added z.instanceof() and z.custom(). Implemented ZodSchema.array() method. | | zod@1.8 | 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). | | zod@1.7 | Added several built-in validators to string, number, and array schemas. Calls to `.refine` now return new instance. | diff --git a/README.md b/README.md index 283b99b11..448528a7a 100644 --- a/README.md +++ b/README.md @@ -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 zod@1.10 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