Skip to content

[Snyk] Upgrade zod from 4.3.6 to 4.4.3#27

Open
lane-formio wants to merge 1 commit into
mainfrom
snyk-upgrade-8c8b16fd805292c34bb5e4ef8129db49
Open

[Snyk] Upgrade zod from 4.3.6 to 4.4.3#27
lane-formio wants to merge 1 commit into
mainfrom
snyk-upgrade-8c8b16fd805292c34bb5e4ef8129db49

Conversation

@lane-formio

Copy link
Copy Markdown
Contributor

snyk-top-banner

Snyk has created this PR to upgrade zod from 4.3.6 to 4.4.3.

ℹ️ 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 17 versions ahead of your current version.

  • The recommended version was released a month ago.

Breaking Change Risk

Merge Risk: Medium

Notice: This assessment is enhanced by AI.


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.3.6 to 4.4.3.

See this package in yarn:
zod

See this project in Snyk:
https://app.snyk.io/org/travist-ulg/project/ca4d6a6d-adad-4134-a128-df6d71dd5abe?utm_source=github&utm_medium=referral&page=upgrade-pr
@lane-formio

Copy link
Copy Markdown
Contributor Author

Merge Risk: Medium

This minor version upgrade of Zod from 4.3.6 to 4.4.3 introduces a potential breaking change for users of toJSONSchema().

Key Change in v4.4.0:

  • When converting a schema to a JSON Schema, redundant id fields are now stripped from $defs entries. According to the release notes, this may affect consumers that were directly reading these internal id fields.

Other changes in this range are primarily bug fixes and performance improvements, such as reduced memory usage.

Recommendation:
If you use z.toJSONSchema() and your code relies on the presence of id fields within the $defs part of the output, you must verify your implementation after this upgrade.

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

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.

2 participants