Update dependency zod to v4.3.6 - #1450
Merged
Merged
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the
Comment |
renovate
Bot
force-pushed
the
renovate/zod-4.x
branch
from
November 27, 2025 16:18
4c79018 to
5f39229
Compare
renovate
Bot
force-pushed
the
renovate/zod-4.x
branch
from
December 1, 2025 11:34
5f39229 to
f5c600f
Compare
renovate
Bot
force-pushed
the
renovate/zod-4.x
branch
from
December 2, 2025 10:59
f5c600f to
d810497
Compare
renovate
Bot
force-pushed
the
renovate/zod-4.x
branch
from
December 3, 2025 08:55
d810497 to
1f205c6
Compare
renovate
Bot
force-pushed
the
renovate/zod-4.x
branch
from
December 3, 2025 09:49
1f205c6 to
4dda572
Compare
renovate
Bot
force-pushed
the
renovate/zod-4.x
branch
from
December 3, 2025 14:00
4dda572 to
516c14c
Compare
renovate
Bot
force-pushed
the
renovate/zod-4.x
branch
from
December 3, 2025 18:05
516c14c to
80af4fe
Compare
renovate
Bot
force-pushed
the
renovate/zod-4.x
branch
from
December 3, 2025 18:45
80af4fe to
8d48e7d
Compare
renovate
Bot
force-pushed
the
renovate/zod-4.x
branch
from
December 4, 2025 11:06
8d48e7d to
c2e2062
Compare
renovate
Bot
force-pushed
the
renovate/zod-4.x
branch
from
December 4, 2025 17:57
c2e2062 to
e5b7b80
Compare
renovate
Bot
force-pushed
the
renovate/zod-4.x
branch
from
December 8, 2025 10:53
e5b7b80 to
c183ad8
Compare
renovate
Bot
force-pushed
the
renovate/zod-4.x
branch
from
December 8, 2025 11:50
c183ad8 to
6529e47
Compare
renovate
Bot
force-pushed
the
renovate/zod-4.x
branch
2 times, most recently
from
December 9, 2025 10:26
831d90d to
c187e55
Compare
renovate
Bot
force-pushed
the
renovate/zod-4.x
branch
from
December 9, 2025 11:41
c187e55 to
49c6368
Compare
renovate
Bot
force-pushed
the
renovate/zod-4.x
branch
from
December 11, 2025 11:08
cc39d5c to
e0e6a3e
Compare
renovate
Bot
force-pushed
the
renovate/zod-4.x
branch
3 times, most recently
from
December 15, 2025 11:38
e997d2a to
ce25d70
Compare
renovate
Bot
force-pushed
the
renovate/zod-4.x
branch
from
December 16, 2025 11:09
ce25d70 to
e36e880
Compare
renovate
Bot
force-pushed
the
renovate/zod-4.x
branch
from
December 17, 2025 11:43
e36e880 to
7454a7c
Compare
renovate
Bot
force-pushed
the
renovate/zod-4.x
branch
from
December 18, 2025 10:45
7454a7c to
b05a3fc
Compare
renovate
Bot
force-pushed
the
renovate/zod-4.x
branch
from
December 19, 2025 03:39
b05a3fc to
6088a94
Compare
renovate
Bot
force-pushed
the
renovate/zod-4.x
branch
from
January 3, 2026 06:48
6088a94 to
8340b61
Compare
renovate
Bot
force-pushed
the
renovate/zod-4.x
branch
from
January 3, 2026 22:39
8340b61 to
bb62cb0
Compare
renovate
Bot
force-pushed
the
renovate/zod-4.x
branch
from
January 4, 2026 02:58
bb62cb0 to
69946b6
Compare
renovate
Bot
force-pushed
the
renovate/zod-4.x
branch
from
January 5, 2026 13:08
69946b6 to
4717277
Compare
renovate
Bot
force-pushed
the
renovate/zod-4.x
branch
from
January 6, 2026 10:39
4717277 to
162ba70
Compare
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.12→4.3.6Release Notes
colinhacks/zod (zod)
v4.3.6Compare Source
Commits:
9977fb0Add brand.dev to sponsorsf4b7baeUpdate pullfrog.yml (#5634)251d716Clean up workflow_calledd4132fix: add missing User-agent to robots.txt and allow all (#5646)85db85efix: typo in codec.test.ts file (#5628)cbf77bbAvoid non null assertion (#5638)dfbbf1cAvoid re-exported star modules (#5656)762e911Generalize numeric key handlingca3c862v4.3.6v4.3.5Compare Source
Commits:
21afffd[Docs] Update migration guide docs for deprecation of message (#5595)e36743eImprove mini treeshaking0cdc0b84.3.5v4.3.4Compare Source
Commits:
1a8bea3Add integration testse01cd02Support patternProperties for looserecord (#5592)089e5fbImprove looseRecord docsdecef9cFix lint9443aabDrop iso time in fromJSONSchema66bda74Remove .refine() from ZodMiniTypeb4ab94c4.3.4v4.3.3Compare Source
v4.3.2Compare Source
v4.3.1Compare Source
Commits:
0fe8840allow non-overwriting extends with refinements. 4.3.1v4.3.0Compare Source
This is Zod's biggest release since 4.0. It addresses several of Zod's longest-standing feature requests.
z.fromJSONSchema()Convert JSON Schema to Zod (#5534, #5586)
You can now convert JSON Schema definitions directly into Zod schemas. This function supports JSON Schema
"draft-2020-12","draft-7","draft-4", and OpenAPI 3.0.The API should be considered experimental. There are no guarantees of 1:1 "round-trip soundness":
MySchema>z.toJSONSchema()>z.fromJSONSchema(). There are several features of Zod that don't exist in JSON Schema and vice versa, which makes this virtually impossible.Features supported:
string,number,integer,boolean,null,object,array)email,uri,uuid,date-time,date,time,ipv4,ipv6, and more)anyOf,oneOf,allOf)additionalProperties,patternProperties,propertyNames)prefixItems,items,minItems,maxItems)$reffor local references and circular schemasz.xor()— exclusive union (#5534)A new exclusive union type that requires exactly one option to match. Unlike
z.union()which passes if any option matches,z.xor()fails if zero or more than one option matches.When converted to JSON Schema,
z.xor()producesoneOfinstead ofanyOf.z.looseRecord()— partial record validation (#5534)A new record variant that only validates keys matching the key schema, passing through non-matching keys unchanged. This is used to represent
patternPropertiesin JSON Schema..exactOptional()— strict optional properties (#5589)A new wrapper that makes a property key-optional (can be omitted) but does not accept
undefinedas an explicit value.This makes it possible to accurately represent the full spectrum of optionality expressible using
exactOptionalPropertyTypes..apply()A utility method for applying arbitrary transformations to a schema, enabling cleaner schema composition. (#5463)
.brand()cardinalityThe
.brand()method now accepts a second argument to control whether the brand applies to input, output, or both. Closes #4764, #4836.Type predicates on
.refine()(#5575)The
.refine()method now supports type predicates to narrow the output type:ZodMapmethods:min,max,nonempty,size(#5316)ZodMapnow has parity withZodSetandZodArray:.with()alias for.check()(359c0db)A new
.with()method has been added as a more readable alias for.check(). Over time, more APIs have been added that don't qualify as "checks". The new method provides a readable alternative that doesn't muddy semantics.z.slugify()transformTransform strings into URL-friendly slugs. Works great with
.with():z.meta()andz.describe()in Zod Mini (947b4eb)Zod Mini now exports
z.meta()andz.describe()as top-level functions for adding metadata to schemas:New locales
am) (#5531)uz) (#5519)Bug fixes
All of these changes fix soundness issues in Zod. As with any bug fix there's some chance of breakage if you were intentionally or unintentionally relying on this unsound behavior.
.pick()and.omit()disallowed on object schemas containing refinements (#5317)Using
.pick()or.omit()on object schemas with refinements now throws an error. Previously, this would silently drop the refinements, leading to unexpected behavior.Migration: The easiest way to migrate is to create a new schema using the
shapeof the old one..extend()disallowed on refined schemas (#5317)Similarly,
.extend()now throws on schemas with refinements. Use.safeExtend()if you need to extend refined schemas.Object masking methods (
.pick(),.omit()) now validate that the keys provided actually exist in the schema:Additional changes
z.iso.timewith minute precision (#5557)includesmethod params typing to acceptstring | $ZodCheckIncludesParams(#5556)implementAsyncinferred type to always be a promise (#5476)Dateinstances to numbers inminimum/maximumchecks (#5351)z.record()(#5585)~standardschema property (#5363)@__NO_SIDE_EFFECTS__for better tree-shaking (#5475)v4.2.1Compare Source
v4.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
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - Between 07:00 AM and 04:59 PM, only on Monday, Tuesday, Wednesday, and Thursday ( * 7-16 * * 1,2,3,4 ) (UTC).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.