chore(deps): update dependency zod to v4.2.1#23
Merged
Conversation
Contributor
Author
|
🎉 This PR is included in version 1.1.4 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
This PR contains the following updates:
4.1.5→4.2.1Release Notes
colinhacks/zod (zod)
v4.2.1Compare Source
Commits:
5b5b1294.2.1v4.2.0Compare Source
Features
Implement Standard JSON Schema
standard-schema/standard-schema#134
Implement
z.fromJSONSchema()Implement
z.xor()Implement
z.looseRecord()Commits:
af49c08Update docs for JSON Schema conversion ofz.undefined()(#5504)767f320Add.toJSONSchema()method (#5477)e17dcb6Addz.fromJSONSchema(),z.looseRecord(),z.xor()(#5534)v4.1.13Compare Source
Commits:
5c2602cUpdate AI widget (#5318)d3da530reflect the specified regex correctly in error (#5338)39f8c45faster initialization (#5352)e9e2790Clean up comment8e4739fUpdate inferred z.promise() type2849df8fix(locales): improve Dutch (nl) localization (#5367)b0d3c9fRun tests on windows6fd61b7feat unitest (#5358)a4e4bc8Lock to node 248de8badFix windows buildb2c186bUse Node LTSb73b1f6Consolidate isTransforming logicd85f3eaFix #53531bac0f3Fix test.yml86d4dadFix partial record5e6c0fdFix attw on windows27fc616Extend test timeout8d336c4Remove windows runner5be72e0chore(doc): update metadata.tsx (#5331)cb0272adocs: add 'cd zod' step to development setup instructions (#5394)24e3325docs: replace 'Refinement' with 'Transform' in transforms section (#5397)644a082chore: add resource for validating environment variables with Zod (#5403)5e1cfcfChange doc for email validation method in Zod schema (#5392)88cf944Fix: Iterate over keys in catchall object using "in" operator. (#5376)aa43732Emphasise thatenumvalidates against values, for object literal &enums (#5386)3a4bd00Improve Hebrew localization for Zod error messages (#5409)c10f9d1Fix typos (#5420)86f0ef9Documentation Improvements (#5417)e120a48Fix opt tuplef9bbb50Improve tuple0ba0f34Optimize docs caching/ISR (#5433)c3ec66cImprove docs cachingc8cce4bdocs: fix typos and links (#5428)84ec047docs(ecosystem): Add react-f3 (#5429)3396515Docs: Fix typo in safeExtend description (#5445)3d93a7dfeat: MAC address validation in v4 and mini (#5440)f2f0d17Fix dual package hazard forglobalRegistry(#5452)9fc493ffix: use oneOf for discriminated unions in JSON Schema (#5453)603dbe8Clean up regex, drop backreferencesab69b9eUpdate mac addr testsf791052chore: upgrade vitest to v4 (#5028)f97e80dfix(core): prevent infinite recursion for recursive tuples (#5089) (#5094)002e01afix(record): handle non-function constructor field in isPlainObject (#5098)6716517docs(contributing): add instructions on building @zod/docs (#5114)8b0603dFix typo in ISO time documentation (#5277)be85eccdocs(codecs): correctstringToDatesafeDecode methods (#5302)50bba54Add zodgres to ecosystem documentation (#5308)377f5d1Addzod-to-mongo-schemato ecosystem documentation (#5457)dea32d5docs(ecosystem): add fn sphere and zod-compare (#5326)02ea4c8Add Claude Code GitHub Workflow (#5460)d44253dAdd support for number literal and TypeScript's enum keys inz.record(#5334)f52344eFix vitest 40f4ce73Do not allow unsound pick/omit162fe29Add z.meta and z.describe3de39eeImplement slugify5bfc8f2Fix docs0e803a2Revert "Do not allow unsound pick/omit"a774750v4.1.132cdd82b4.1.134063e80Update check-semver scriptv4.1.12Compare Source
Commits:
0b109c3docs(ecosystem): add bupkis to the ecosystem section (#5237)d22ec0ddocs(ecosystem): add upfetch (#5238)c56a4f6docs(ecosystem): addeslint-plugin-zod-x(#5261)a0abcc0docs(metadata.mdx): fix a mistake in an example output (#5248)62bf4e4fix(ZodError): prevent flatten() from crashing on 'toString' key (#5266)02a5840refac(errors): Unify code structure and improve types (#5278)4b1922adocs(content/v4/index): fix zod version (#5289)3fcb20fAdd frrm to ecosystem (#5292)fda4c7cMake docs work without tokenaf44738Fix lint77c3c9fExport bg.ts3b94610v4.1.12v4.1.11Compare Source
Commits:
2bed4b34.1.11v4.1.10Compare Source
Commits:
7ffedd0Fix shape caching (#5263)82cd717v4.1.10v4.1.9Compare Source
Commits:
a78716dUpdate zshy (#5249)923af80Publish zod@4.1.9v4.1.8Compare Source
Commits:
36c4ee3Switch back to weakmapa1726d54.1.8v4.1.7Compare Source
Commits:
0cca351Fix variable name inconsistency in coercion documentation (#5188)aa78c27Add copy/edit buttons76452d4Update button txt937f73cFix tsconfig issue in bench976b436v4.1.6 (#5222)4309c61Fix cidrv6 validation - cidrv6 should reject invalid strings with multiple slashes (#5196)ef95a73feat(locales): Add Lithuanian (lt) locale (#5210)3803f3fdocs: update wrong contents in codeblocks inapi.mdx(#5209)8a47d5cdocs: update coerce example inapi.mdx(#5207)e87db13feat(locales): Add Georgian (ka) locale (#5203)c54b123docs: adds@traversable/zodand@traversable/zod-testto v4 ecosystem (#5194)c27a294Fix two tiny grammatical errors in the docs. (#5193)23a2d66docs: fix broken links in async refinements and transforms references (#5190)845a230fix(locales): Add type name translations to Spanish locale (#5187)27f13d6Improve regex precision and eliminate duplicates in regexes.ts (#5181)a8a52b3fix(v4): fix Khmer and Ukrainian locales (#5177)887e37cUpdate slugse1f1948fix(v4): ensure array defaults are shallow-cloned (#5173)9f65038docs(ecosystem): add DRZL; fix Prisma Zod Generator placement (#5215)aa6f0f0More fixes (#5223)aab33564.1.7v4.1.6Compare Source
Configuration
📅 Schedule: Branch creation - "before 8am on monday" in timezone UTC, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.