Comparing version 1.8.0-beta.1 to 1.8.0-beta.2
{ | ||
"name": "zod", | ||
"version": "1.8.0-beta.1", | ||
"version": "1.8.0-beta.2", | ||
"description": "TypeScript-first schema declaration and validation library with static type inference", | ||
@@ -5,0 +5,0 @@ "main": "./lib/src/index.js", |
@@ -249,3 +249,3 @@ <p align="center"> | ||
z.string().url({ message: 'Invalid url' }); | ||
z.string().url({ message: 'Invalid url' }); | ||
z.string().uuid({ message: 'Invalid UUID' }); | ||
``` | ||
@@ -1086,3 +1086,3 @@ | ||
There is a dedicated guide on Zod's error handling system here: [ERROR_HANDLING.md](https://github.com/vriad/zod/blob/master/ERROR_HANDLING.md) | ||
There is a dedicated guide on Zod's error handling system here: [ERROR_HANDLING.md](https://github.com/vriad/zod/blob/beta/ERROR_HANDLING.md) | ||
@@ -1250,17 +1250,18 @@ # Comparison | ||
| zod version | release notes | | ||
| ----------- | ------------------------------------------------------------------------------------------------------------------- | | ||
| zod@1.7 | Added several built-in validators to string, number, and array schemas. Calls to `.refine` now return new instance. | | ||
| zod@1.5 | Any and unknown types | | ||
| zod@1.4 | Refinement types (`.refine`), `.parse` no longer returns deep clone | | ||
| zod@1.3 | Promise schemas | | ||
| zod@1.2.6 | `.parse` accepts `unknown`, `bigint` schemas | | ||
| zod@1.2.5 | `.partial` and `.deepPartial` on object schemas | | ||
| zod@1.2.3 | Date schemas | | ||
| zod@1.2.0 | `.pick`, `.omit`, and `.extend` on object schemas | | ||
| zod@1.1.0 | Records | | ||
| zod@1.0.11 | `.nonstrict` | | ||
| zod@1.0.10 | Type assertions with `.check` | | ||
| zod@1.0.4 | Empty tuples | | ||
| zod@1.0.0 | Type assertions, literals, enums, detailed error reporting | | ||
| zod@1.0.0 | Initial release | | ||
| zod version | release notes | | ||
| ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| 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/beta/ERROR_HANDLING.md). | | ||
| zod@1.7 | Added several built-in validators to string, number, and array schemas. Calls to `.refine` now return new instance. | | ||
| zod@1.5 | Any and unknown types | | ||
| zod@1.4 | Refinement types (`.refine`), `.parse` no longer returns deep clone | | ||
| zod@1.3 | Promise schemas | | ||
| zod@1.2.6 | `.parse` accepts `unknown`, `bigint` schemas | | ||
| zod@1.2.5 | `.partial` and `.deepPartial` on object schemas | | ||
| zod@1.2.3 | Date schemas | | ||
| zod@1.2.0 | `.pick`, `.omit`, and `.extend` on object schemas | | ||
| zod@1.1.0 | Records | | ||
| zod@1.0.11 | `.nonstrict` | | ||
| zod@1.0.10 | Type assertions with `.check` | | ||
| zod@1.0.4 | Empty tuples | | ||
| zod@1.0.0 | Type assertions, literals, enums, detailed error reporting | | ||
| zod@1.0.0 | Initial release | |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
326776
1265