Update dependency zod to v4.6.1 - #1182
Merged
Merged
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
renovate
Bot
force-pushed
the
renovate/zod-4.x
branch
from
September 10, 2026 02:44
0f02501 to
b058640
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.5.4→4.6.1Release Notes
colinhacks/zod (zod)
v4.6.1Compare Source
A patch on top of 4.6.0.
b12aa523fix: preserve unique tags with defaulted discriminators (#6582) — closes #6577dd9c36fafix(v4): defer recursive object index inference (#6580)3b154992feat(lang): add Tajik (tg) locale (#6581) by @ismoil772efa8b80ci: give the npm wait a real budget and drop the back-publish path (#6583)v4.6.0Compare Source
Commits:
908c9e1fix(docs): retry the GitHub stars fetch and log the real status93186cadocs(wiki): drop the zod-compiler benchmark (#6505)8ce9e8dfeat(mini): publish Zod Mini as the standalone @zod/mini package (#6491)2956c4cchore(mini): sync @zod/mini to 4.5.4abd41addocs(wiki): move plans and comparisons into a gitignored internal/ (#6506)8106573chore(docs): build with Turbopackc7ec94dci: check zod and @zod/mini lockstep on npm after every publish (#6507)c46eeffchore: narrow blanket biome-ignore comments (#6504)a0898b4ci: wait hours for npm to serve a publish, not ten minutes (#6502)1c0bce0docs: bring the 4.5 charts and worked examples into the docs pages70eb2c0docs: drop the traits section and the compilation feature bullet43b9bfcdocs: drop the bound-methods section from the Zod package pagecd4f9a6perf(v4): report Standard Schema issues without constructing a ZodError (#6509)f3cb364docs: surface the blog on the home page and in the sidebarf3e7c72fix(docs): render the docs 404 page inside the (doc) layout oncef412178ci: publish @zod/mini to JSR in lockstep with npm (#6510)5ff9566Stop re-exporting the compile internals from zod/v4/core (#6511)40b4d0bfix(ci): read zod's latest version with npm view when picking the backfill dist-taga6b4939Mark the compile internals @internal instead of hiding them (#6518)3195ed0docs: label the memory chart like the compile chart8cd1250docs: center the memory chart callout labelsff56a55docs: center the memory chart callout labels and pad them off the numberfb2fedfdocs: tighten the memory chart callout, pad the canvas, say "less memory"93f3ab3docs: replace the blog navbar's GitHub icon with a star-count pill7ae49d6docs: drop the circle around the star pill's GitHub mark and center it on the pill's arcb801439bench: add typebox (compiled and dynamic) to the moltar cross-library harness1ec6b7cdocs: add an RSS feed to the blog at /blog/rss.xml08ba069perf(v4): read Luhn digits with charCodeAt instead of string indexing (#6529)319f47fEmit a length-aware base64url pattern in toJSONSchema (#6527)a2a019aAccept enum-typed targets in z.toZod (#6528)74f9a6ddocs: drop the toZod enum block from basics and pin the page's curation rule in a commentf83ab51fix(v4): reject component-only strings from z.emoji() (#6532)84dd3b0perf: build literal and enum pattern regexes lazily (#6531)0227e53docs: bump the star pill's GitHub mark to 20px68a609aWiden literal inputs in property check types (#6520)2ec972erefactor: collapse toZod's enum leaf normalizer to a dummy union (#6533)bc1157edocs: use a Response example for z.properties()07c43e2Keep the runtime base64 regexes linear so composed parse paths cannot overflow (#6534)bec73beperf(v4): build the safeParse error on first read (#6519)bf99021perf: move util.cached's accessor to a prototype (#6537)69f2a7fCollapse toZod's normalizer and move its docs to the API reference (#6539)abfb389feat(v4): make z.properties() a schema, and give z.instanceof() a .properties() method (#6536)51caf01refactor: collapse cachedInternal back into cached (#6540)81ded99perf: answer z.validate from the compiled fast path on invalid input (#6538)eca9687fix(v4): enforce the six JSON Schema keywords fromJSONSchema silently dropped (#6535)68aca3ddocs: cover the 4.5 API surface that never made it into the reference18e71c7Rename the JSON Schemaprocesshelper so bundler polyfills cannot collide (#6541)90269c6Keep a numeric TS enum's reverse-mapping keys out of.options(#6542)4d73088Release the parsed input once a failing safeParse builds its error (#6543)cafbee4fix(v4): parse recursive schemas built by a factory (#6530)62e6624feat(v4): add .validate() and .validateAsync() to Zod Classic (#6547)07917f4test(v4): pin the lazy safeParse error's stack behavior (#6548)764ac59perf(v4): settle z.validate on the first failure in parse order (#6544)e760471docs: attribute the compiled failure cost to the fallback, not the double pass5489a53test(v4): pin the check-chain case that keeps compiled validate's definite guard (#6551)7a00236fix(v4): don't let format checks overwrite tighter min/max bounds (#6553)e4d67f3Migrate development and CI to Nub (#6562)6f04836fix(v4): derive JSON Schema constraints by folding checks in the converter (#6554)804e0f5perf: seal the CommonJS exports so require("zod") stops reading through a getter (#6564)741981fperf(compile): for-in record walk, cheaper issue finalization, and a generative compile differential (#6567)eb1c108ci: release only on workflow_dispatch behind the npm environment (#6569)277613adocs: move the release procedure to the maintainer-local notesdcbcf05fix(compile): unwind the doc indent when a child generator throws (#6570)e54716cdocs(ecosystem): add @apical-ts/craft (#5946)c5b9bcbbench: measure what a runtime island's leaked indent cost the generated source22bed61feat(v4): add z.iban() string format with mod-97 checksum (#6571)36f1796fix(v4): stop the memoizer from pinning a finished parse (#6572)f7fd554perf(v4): drop the lookaheads from the email regex (#6573)f9465d4docs: reconcile the sponsor listings with active sponsorships (#6576)213ee75feat(compile): add z.withParser for externally generated parsers (#6575)6de10dcdocs: reconcile the sponsor listings against every active sponsorship (#6579)661673adocs: make the 9thCO logo visible on the light theme1c51cbe4.6.03b15499feat(lang): add Tajik (tg) localec532d76test(locales): cover Tajik error branches574d480fix(locales): clarify Tajik discriminator value messagedd9c36ffix(v4): defer recursive object index inference (#6580)b12aa52fix: preserve unique tags with defaulted discriminators (#6582)Configuration
📅 Schedule: (UTC)
🚦 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 was generated by Mend Renovate. View the repository job log.