Update zod 4.0.14 → 4.1.5 (minor) #231
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ zod (4.0.14 → 4.1.5) · Repo · Changelog
Release Notes
4.1.5
4.1.4
4.1.3
4.1.2
4.1.1
4.1.0
4.0.17
4.0.16
4.0.15
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 62 commits:
4.1.5Update z.function() type to support array input (#5170)Update docs4.1.4Update installation instructionstest(v4): toJSONSchema - use `validateOpenAPI30Schema` in all relevant scenarios (#5163)fix(v4): toJSONSchema - wrong tuple with `null` output when targeting `openapi-3.0` (#5156)4.1.3fix(docs): correct example to use `LooseDog` instead of `Dog` (#5136)docs: fix refine fn to encode works properly (#5148)fix(v4): toJSONSchema - output numbers with exclusive range correctly when targeting `openapi-3.0` (#5139)docs(codecs): update example to use payloadSchema (#5150)fix(v4): toJSONSchema - wrong record output when targeting `openapi-3.0` (#5141)fix(v4): toJSONSchema tuple path handling for draft-7 with metadata IDs (#5152)fix(v4): toJSONSchema - add missing oneOf inside items in tuple conversion (#5146)Fix typoDrop stringToBoolean4.1.2Update JSON codec and docsUse method form in codecs.mdxfix(v4): toJSONSchema - wrong record tuple output when targeting `openapi-3.0` (#5145)Improve codec docs4.1.1Add methodsAdd imagesImprove codec docsRemove codecs from sidebarev4.1.0Update uint8array util return typesUpdate lockfileRestore ts5.5 dependencyClean up types loadingv4.1.0Zod 4.1 (#5130)Update sponsorsResizingUpdate permsrefactor: remove unnecessary await in test (#5104)feat(zod-core): add type property getter to schema instances for runtime type checking (#5097)Add `nestjs-zod` to ecosystem (#5117)fix(v4): make size-based Set/File min/max inclusive; update snapshots\n\n- Set and File min()/max() now emit inclusive: true\n- Aligns messages with Arrays (>= for min, <= for max)\n- Updates tests (inline snapshots) accordingly\n\nCloses #5091 (#5093)Add prisma-zod-generator to ecosystem (#5062)refactor: remove redundant fragment (#5076)chore: fix typo in docs-v3 (#5075)v4.0.17Fixes #5073Add blog (#5074)v4.0.16Clone POJO objects during defaulting/prefaultingUpdate Hey API link to Zod plugin (#5059)Update Hey API link to Zod v3 plugin (#5060)fix: `edit this page` button, now redirects to correct url using the new path (#5056)Fix Edit page buttonsUpdate speakeasy filesfeat: add discriminator generic (#5044)fix: ensure keyof returns enum (#5045)4.0.15Add needs infofix: remove redundant Required<> from input and output type definitions (#5033)Fix recursive object initialization errors with check() and other methods (#5018)[docs] Fix migration guide upgrade command (#5021)Clean up docsDepfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase.All Depfu comment commands
Go to the Depfu Dashboard to see the state of your dependencies and to customize how Depfu works.