Skip to content

Commit ef718eb

Browse files
author
Stefan Terdell
committed
🚀 3.20.0
1 parent 2765eb0 commit ef718eb

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

‎changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
| Version | Change |
44
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
5+
| 3.20.0 | Adds support for Zod 3.20 with catch and pipe parser as well as new string validations. Refactored Ref handling; adding definitions no longer considered experimental. Main API function refactored and simplified; output type less defined but a lot easier to maintain. Doubt anyone will miss it. |
56
| 3.19.4 | Adds custom error message support |
67
| 3.19.3 | Mark `definitions` as experimental in the readme |
78
| 3.19.2 | Added `definitions` option |

‎package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "zod-to-json-schema",
3-
"version": "3.19.4",
3+
"version": "3.20.0",
44
"description": "Converts Zod schemas to Json Schemas",
55
"main": "index.js",
66
"scripts": {
@@ -33,7 +33,7 @@
3333
},
3434
"license": "ISC",
3535
"peerDependencies": {
36-
"zod": ">=3.19.0 <3.20.0"
36+
"zod": "^3.20.0"
3737
},
3838
"devDependencies": {
3939
"@types/jest": "^26.0.24",

0 commit comments

Comments
 (0)