Open
Conversation
Snyk has created this PR to upgrade zod from 4.0.13 to 4.1.5. See this package in npm: zod See this project in Snyk: https://app.snyk.io/org/pstasdev/project/1062d0fe-2016-4d21-a635-3f7d31adae20?utm_source=github&utm_medium=referral&page=upgrade-pr
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull Request Overview
This PR upgrades the zod dependency from version 4.0.13 to 4.1.5, bringing 40 versions of improvements including bug fixes, performance enhancements, and new features. The upgrade includes fixes for toJSONSchema functionality, improved OpenAPI 3.0 support, and enhanced type definitions for z.function().
Key changes:
- Updates zod dependency version in package.json
- Incorporates multiple bug fixes and performance improvements from 40 intermediate versions
- Adds new codec functionality and improved documentation
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Snyk has created this PR to upgrade zod from 4.0.13 to 4.1.5.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 40 versions ahead of your current version.
The recommended version was released a month ago.
Release notes
Package name: zod
-
4.1.5 - 2025-08-28
- 530415f Update docs
- b7b081d Update z.function() type to support array input (#5170)
- 780cf57 4.1.5
-
4.1.4 - 2025-08-27
- 3291c61 fix(v4): toJSONSchema - wrong tuple with
- 23f41c7 test(v4): toJSONSchema - use
- 0a09fd2 Update installation instructions
- 4ea5fec 4.1.4
-
4.1.3 - 2025-08-26
- 98ff675 Drop stringToBoolean
- a410616 Fix typo
- 0cf4589 fix(v4): toJSONSchema - add missing oneOf inside items in tuple conversion (#5146)
- 8bf0c16 fix(v4): toJSONSchema tuple path handling for draft-7 with metadata IDs (#5152)
- 5c5fa90 fix(v4): toJSONSchema - wrong record output when targeting
- 87b97cc docs(codecs): update example to use payloadSchema (#5150)
- 309f358 fix(v4): toJSONSchema - output numbers with exclusive range correctly when targeting
- 1e71ca9 docs: fix refine fn to encode works properly (#5148)
- a85ec3c fix(docs): correct example to use
- 3e98274 4.1.3
-
4.1.2 - 2025-08-25
- e45e61b Improve codec docs
- 25a4c37 fix(v4): toJSONSchema - wrong record tuple output when targeting
- 0fa4f46 Use method form in codecs.mdx
- 940383d Update JSON codec and docs
- 3009fa8 4.1.2
-
4.1.1 - 2025-08-24
- 648eb43 Remove codecs from sidebare
- 7e39a99 Improve codec docs
- e5085be Add images
- 028b289 Add methods
- 10cc994 4.1.1
-
4.1.0 - 2025-08-23
-
4.1.0-canary.20250823T071728 - 2025-08-23
-
4.1.0-canary.20250823T071040 - 2025-08-23
-
4.1.0-canary.20250823T064644 - 2025-08-23
-
4.1.0-canary.20250821T014930 - 2025-08-21
-
4.1.0-canary.20250821T014902 - 2025-08-21
-
4.1.0-canary.20250813T051310 - 2025-08-13
-
4.1.0-canary.20250806T002637 - 2025-08-06
-
4.1.0-canary.20250806T000520 - 2025-08-06
-
4.1.0-canary.20250804T184334 - 2025-08-04
-
4.1.0-canary.20250804T184136 - 2025-08-04
-
4.1.0-canary.20250730T094657 - 2025-07-30
-
4.1.0-canary.20250730T051934 - 2025-07-30
-
4.1.0-canary.20250729T081926 - 2025-07-29
-
4.1.0-canary.20250729T053738 - 2025-07-29
-
4.1.0-canary.20250729T053029 - 2025-07-29
-
4.1.0-canary.20250729T005826 - 2025-07-29
-
4.1.0-canary.20250725T001018 - 2025-07-25
-
4.1.0-canary.20250724T211341 - 2025-07-24
-
4.1.0-canary.20250723T222937 - 2025-07-23
-
4.1.0-canary.20250723T221600 - 2025-07-23
-
4.1.0-canary.20250723T215716 - 2025-07-23
-
4.1.0-canary.20250723T214008 - 2025-07-23
-
4.1.0-canary.20250711T201420 - 2025-07-11
-
4.1.0-canary.20250711T200924 - 2025-07-11
-
4.1.0-canary.20250711T052917 - 2025-07-11
-
4.1.0-canary.20250710T223408 - 2025-07-10
-
4.1.0-canary.20250710T200141 - 2025-07-10
-
4.1.0-canary.20250710T005838 - 2025-07-10
-
4.1.0-canary.20250710T002006 - 2025-07-10
-
4.1.0-canary.20250709T185023 - 2025-07-09
-
4.0.17 - 2025-08-09
-
4.0.16 - 2025-08-08
-
4.0.15 - 2025-08-06
-
4.0.14 - 2025-07-30
-
4.0.13 - 2025-07-29
from zod GitHub release notesCommits:
Commits:
nulloutput when targetingopenapi-3.0(#5156)validateOpenAPI30Schemain all relevant scenarios (#5163)Commits:
openapi-3.0(#5141)openapi-3.0(#5139)LooseDoginstead ofDog(#5136)Commits:
openapi-3.0(#5145)Commits:
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: