Skip to content

Conversation

@PstasDev
Copy link
Member

snyk-top-banner

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

    Commits:

  • 4.1.4 - 2025-08-27

    Commits:

    • 3291c61 fix(v4): toJSONSchema - wrong tuple with null output when targeting openapi-3.0 (#5156)
    • 23f41c7 test(v4): toJSONSchema - use validateOpenAPI30Schema in all relevant scenarios (#5163)
    • 0a09fd2 Update installation instructions
    • 4ea5fec 4.1.4
  • 4.1.3 - 2025-08-26

    Commits:

    • 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 openapi-3.0 (#5141)
    • 87b97cc docs(codecs): update example to use payloadSchema (#5150)
    • 309f358 fix(v4): toJSONSchema - output numbers with exclusive range correctly when targeting openapi-3.0 (#5139)
    • 1e71ca9 docs: fix refine fn to encode works properly (#5148)
    • a85ec3c fix(docs): correct example to use LooseDog instead of Dog (#5136)
    • 3e98274 4.1.3
  • 4.1.2 - 2025-08-25

    Commits:

    • e45e61b Improve codec docs
    • 25a4c37 fix(v4): toJSONSchema - wrong record tuple output when targeting openapi-3.0 (#5145)
    • 0fa4f46 Use method form in codecs.mdx
    • 940383d Update JSON codec and docs
    • 3009fa8 4.1.2
  • 4.1.1 - 2025-08-24

    Commits:

  • 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 notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

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
Copilot AI review requested due to automatic review settings September 25, 2025 06:56
@vercel
Copy link

vercel bot commented Sep 25, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
ftv-frontend Ready Ready Preview Comment Sep 25, 2025 7:00am

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants