-
Notifications
You must be signed in to change notification settings - Fork 3
fix(deps): update dependency zod to v3.25.76 #114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/zod-3.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
da0ad9c to
2891fc9
Compare
2891fc9 to
e92bbf7
Compare
e92bbf7 to
b436ea5
Compare
b436ea5 to
02a98b8
Compare
02a98b8 to
b89b1ad
Compare
b89b1ad to
4157c8b
Compare
4157c8b to
3d4dcfc
Compare
3d4dcfc to
dc1e9c4
Compare
dc1e9c4 to
9fc32b9
Compare
9fc32b9 to
12b7131
Compare
6742e9e to
5099461
Compare
5099461 to
81bec41
Compare
81bec41 to
0f078a2
Compare
0f078a2 to
c340fd1
Compare
c340fd1 to
939a0d7
Compare
939a0d7 to
d8b0972
Compare
d8b0972 to
a0d4cc2
Compare
a0d4cc2 to
7ad7e16
Compare
7ad7e16 to
7ce98ae
Compare
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:
3.22.4->3.25.76Release Notes
colinhacks/zod (zod)
v3.25.76Compare Source
v3.25.75Compare Source
v3.25.74Compare Source
v3.25.73Compare Source
Commits:
1021d3cv3.25.73 (#4822)v3.25.72Compare Source
v3.25.71Compare Source
v3.25.70Compare Source
v3.25.69Compare Source
v3.25.68Compare Source
v3.25.67Compare Source
Commits:
7afe790Make $ZodLiteralDef generic91274c33.25.67c22944bFix race conditionv3.25.66Compare Source
v3.25.65Compare Source
v3.25.64Compare Source
Commits:
b142ea8Fix $stripb6e59c3Check for existence of Error.captureStackTrace0c686afRemove type from mime issue pathaf88d74Fix testv3.25.63Compare Source
v3.25.62Compare Source
v3.25.61Compare Source
v3.25.60Compare Source
v3.25.59Compare Source
v3.25.58Compare Source
v3.25.57Compare Source
v3.25.56Compare Source
v3.25.55Compare Source
v3.25.54Compare Source
v3.25.53Compare Source
Commits:
a6adb14zod mini internals (#4631)da4f9213.25.53v3.25.52Compare Source
Commits:
2954f40Fix json (#4630)51dc6f93.25.52e479ea7Add test cast for deferred self-recursionv3.25.51Compare Source
v3.25.50Compare Source
v3.25.49Compare Source
v3.25.48Compare Source
v3.25.47Compare Source
v3.25.46Compare Source
v3.25.45Compare Source
Commits:
dc2c0b0minor grammar typo fix (#4584)6fd3b39fix(JSONSchema): add type for enum (#4577)6be478bFix ZodType assignability issues69ccb673.25.45v3.25.44Compare Source
v3.25.43Compare Source
Commits:
508e306Fix type inference in ZodMiniType check method (#4568)f8fef45Ecosystem: Add Express Zod API (#4579)289cba3Fix type inference in ZodMiniType check method (#4568)011623aFix dts filesv3.25.42Compare Source
v3.25.41Compare Source
v3.25.40Compare Source
v3.25.39Compare Source
v3.25.38Compare Source
Commits:
11477aeAdd test1574d2e3.25.38v3.25.37Compare Source
Commits:
abc13deAdd major version sectiond6cc999Improve inference in z.function implementc00ca423.25.37v3.25.36Compare Source
v3.25.35Compare Source
Commits:
5e31fd0Update readmefe75806Improve discriminated union implementation (#4556)caee693Tweak readme02f2389Fix lint056e3f8Improve homepage33495d5Fix isPlainObject3a42469Remove defaults from JSON Schema for transforming schemas (#4557)edc34773.25.35v3.25.34Compare Source
v3.25.33Compare Source
Commits:
80cfd3aImprove runtime error for non-schema values in shape741be37chore: fix comment for packages/docs/content/v4/index.mdx (#4533)74662e3chore: Update README to specify TypeScript syntax highlighting for schema example (#4443)3c5ffd2Add Khmer locale support to Zod and update documentation (#4447)8e827b1docs: Add conform to the ecosystem page (#4415)7918973add Swedish locale (#4451)33d3bb9Fix issue #4454: Updating the contribution.md file (#4455)4d8cb5dUpdate bronze.tsx (#4472)bc15379Fix typo in changelog (#4496)010bbe4type in error-customization.mdx (#4514)f3b4630Add inheritance diagram to docsb97e218fix: Add check for requiredKeys before assigning to json.required (#4525)b650a48nit (#4520)56ae81bfix v4 docs typo (#4414)efbcd7afeat(locales): add nl (#4425)1ba8ddcStandardize casing for locales5cb48f73.25.33345864fImprove library docs9379c0cImprove stringbool docs0828c93Fix CId1e0876Rename494b944Undo rename4e44e61Add zh-TW5a6d986docs: fix typos in "Per-parse error customization" (#4549)v3.25.32Compare Source
v3.25.31Compare Source
v3.25.30Compare Source
v3.25.29Compare Source
v3.25.28Compare Source
Commits:
e012bd2Improve override docs7bd15edfix: add missing re-exports files and add new entries the published files (#4500)b588d2cImprove z.function typing. Add .def5ac95df3.25.287aecb61Clean up ZodFunctioned48cbbbugfix: Small typo in V4 docs (#4435)5e4ff20fix: JSON Schema > override section typo (#4428)v3.25.27Compare Source
v3.25.26Compare Source
v3.25.25Compare Source
v3.25.24Compare Source
v3.25.23Compare Source
v3.25.22Compare Source
v3.25.21Compare Source
v3.25.20Compare Source
Commits:
709dfe3Add global File fallbackv3.25.18Compare Source
Commits:
17ee03ev3.25.18v3.25.17Compare Source
v3.25.16Compare Source
v3.25.15Compare Source
v3.25.14Compare Source
v3.25.13Compare Source
v3.25.12Compare Source
v3.25.11Compare Source
v3.25.10Compare Source
Commits:
c172c19Fix module resolution issuev3.25.9Compare Source
v3.25.8Compare Source
v3.25.7Compare Source
v3.25.6Compare Source
v3.25.5Compare Source
v3.25.4Compare Source
v3.25.3Compare Source
v3.25.1Compare Source
v3.25.0Compare Source
v3.24.4Compare Source
v3.24.3Compare Source
Commits:
de1f090Switch to featured sponsors (#4001)eea05aeFix headers (#4003)446644fTweak feature layout (#4008)1d6e1cbdocs(README): add GQLoom to tools and integrations section (#3995)e2b9a5fUpdate feature (#4009)0b5d29eFeature Mintlify (#4014)47dbb2dUpdate mintlify feature (#4015)69d8436Add Clerk fellowship mention (#4020)850871dFix table formatf204123WIP (#4028)5041dfaWIP (#4045)cb2b857docs: add TanStack Form to Ecosystem/Form integrations (#4055)099fe85docs: add oRPC to Ecosystem (#4042)b999b4bdocs: Remove outdated doc 'avoid coercions that throw uncaught errors' (#4005)19c6d2edocs: update README_KO (#4025)1061293WIP (#4060)07ff0daUpdate link4c7d8e5Update Fern art/link (#4062)91dcd30removed unnecessary console logs (#4059)859ad24Update alt tag for Retool and Stainless URL (#4071)220aedaFix imagesb865062update readme.md with zod-csv library (#4021)0615af8Fix formatting12e5866Add zod 4 beta anno (#4081)faac697Fix CI8cca93bFix CId114394Added FullProduct.dev to 'Powered by Zod' in Ecosystem section (#4131)a801dddFix broken logo link (#3974)8fc309aAdd packages/docsbfd0913Remove packages/docs3e602d4OptimizeextendShape(#4150)06db7f83.24.3a18d25badd back packages/docsv3.24.2Compare Source
Notes
Support asynchronous checks in
z.custom().Commits:
cdcf9d4Bump rollup from 2.79.1 to 2.79.2 (#3895)a2ad370Bump find-my-way from 8.2.0 to 8.2.2 (#3897)0e02d66Bump nanoid from 3.3.7 to 3.3.8 (#3896)96be65fBump cross-spawn from 7.0.3 to 7.0.6 (#3882)f7ad261Bump micromatch from 4.0.7 to 4.0.8 (#3748)d724620Addzod-structto utilities for Zod (#3921)6b96cfdUpdate README.md (#3949)e376cdaAdd Courier to README (#3961)8a099deAdd CodeRabbit to sponsors (#3975)587d160WIP (#3976)9d3af2eAdd CodeRabbit at Platinum (#3981)eedeb4bdocs(X to Zod): Update url for runtyping (#3971)706f49ffix: redirect url to correct url (#3939)7365b7ddocs: translate README to Korean (#3934)b7e173dFormat1dd44a0Support async z.custome308703v3.24.2v3.24.1Compare Source
Commits:
0c6cbbdUndeprecate .nonempty()4e219d6Bump min TS version to 5.065adeeav3.24.1v3.24.0Compare Source
Implement
@standard-schema/specThis is the first version of Zod to implement the Standard Schema spec. This is a new community effort among several validation library authors to implement a common interface, with the goal of simplifying the process of integrating schema validators with the rest of the ecosystem. Read more about the project and goals here.
z.string().jwt()Thanks to @Mokshit06 and @Cognition-Labs for this contribution!
To verify that a string is a valid 3-part JWT.
To constrain the JWT to a specific algorithm:
z.string().base64url()Thank you to @marvinruder!
To complement the JWT validation, Zod 3.24 implements a standalone
.base64url()string validation API. (The three elements of JWTs are base64url-encoded JSON strings.)This functionality is available along the standard
z.string().base64()validator added in Zod 3.23.z.string().cidr()Thanks to @wataryooou for their work on this!
A validator for CIDR notation for specifying IP address ranges, e.g.
192.24.12.0/22.To specify an IP version:
View the full diff from 3.23.8: colinhacks/zod@v3.23.8...v3.24.0
294f54fUpdate README_ZH.md about Discriminated unions (#3493)1247cafAdd Kubb as X-to-Zod community tool (#3508)62b7842Update default branchc6bc80dFix issue #3582 : ULID should be case insensitive (#3593)a5b9dc3docs: add zod-schema-faker to ecosystem (#3605)9818d0eAdd zod-sockets (#3609)7173d0bAdd drizzle-zod library to X to Zod README.md section (#3648)c5a4edcAdd 'schemql' in Powered by Zod (#3800)85916b3docs: add zod-form-renderer to form integration docs (#3697)51f1dc3docs: add unplugin-environment in powered by zod (#3778)8e74db3fix: ipv6 regex validation (#3513)1f4f0darefactor: rename ip version types (#3755)f487d74Remove faulty ip test case48f1c47docs: Remove invalid semicolon in ERROR_HANDLING.md (#3857)1d0a4b9fix: bigint coerce crash (#3822)14dceaaAdd API library (#3814)f82f817feat: z.string.cidr() - support CIDR notation (#3820)71a0c33docs: add info on unqualified local datetime strings (#3760)b85686aAdd support forbase64urlstrings (#3712)6407bedAllow creation of discriminated unions with a readonly array of options (#3535)3755146Remove createParams cascade from .array() (#3530)963386dFix lint69a1798Implement Standard Schema spec (#3850)c1dd537Addsfrrmpackage to documentation (#3818)b68c05ffeat: Add JWT string validator (#3893)v3.23.8Compare Source
Commits:
0f4d403Add Bronze logos (#3470)1968731Tweak tiers (#3471)eda7df3Change RefinementCtx to interfaceca42965v3.23.8v3.23.7Compare Source
Commits:
29d2ea2Add copperd969423Fix #3437: extendShape erases JSDoc property documentation (#3463)2239ff3Add social crowf985b5b3.23.7v3.23.6Compare Source
Commits:
bc0095aTest on latest node6e5699aLint on latest node1f466d9describe how one can protect from cyclical objects starting an infini… (#3447)3fed6f2Add zod playground link (#3454)04e1f37Fixed freezing async ZodReadonly results (#3457)b87e59dUpdate sponsor tiers (#3453)1438861Add copper tier (#3460)ce3711eadd VSCode dev container support and documenation93b480bv3.23.6v3.23.5Compare Source
Commits:
110b821Update README_ZH.md (#3433)c1910bdMade ZodEnum take readonly string array (#3444)541a8623.23.5v3.23.4Compare Source
Commits:
157b18dAdd 3.23 announcementaedf93fRevert change to default Input45107f7v3.23.4v3.23.3Compare Source
Commits:
103d2433.23.3v3.23.2Compare Source
Commits:
c340558Update protocolef588d0Fix t3env9df70dd3.23.2v3.23.1Compare Source
This changes the default generics back to
anyto prevent breakages with common packager like@hookform/resolvers:Commits:
59f4872Change unknown -> any for ZodType defaults2ff5ceb3.23.1v3.23.0Compare Source
Zod 3.23 is now available. This is the final
3.xrelease before Zod 4.0. To try it out:Features
z.string().date()Zod can now validate ISO 8601 date strings. Thanks @igalklebanov! #1766
z.string().time()Zod can now validate ISO 8601 time strings. Thanks @igalklebanov! #1766
You can specify sub-second precision using the
precisionoption:z.string().duration()Zod can now validate ISO 8601 duration strings. Thanks @mastermatt! #3265
Improvements to
z.string().datetime()Thanks @bchrobot #2522
You can now allow unqualified (timezone-less) datetimes using the
local: trueflag.Plus, Zod now validates the day-of-month correctly to ensure no invalid dates (e.g. February 30th) pass validation. Thanks @szamanr! #3391
z.string().base64()Zod can now validate base64 strings. Thanks @StefanTerdell! #3047
Improved discriminated unions
The following can now be used as discriminator keys in
z.discriminatedUnion():ZodOptionalZodNullableZodReadonlyZodBrandedZodCatchMisc
Breaking changes
There are no breaking changes to the public API of Zod. However some changes can impact ecosystem tools that rely on Zod internals.
ZodFirstPartySchemaTypesThree new types have been added to the
ZodFirstPartySchemaTypesunion. This may impact some codegen libraries. #3247Unrecognized keys in
.pick()and.omit()This version fixes a bug where unknown keys were accidentally accepted in
.pick()andomit(). This has been fixed, which could cause compiler errors in some user code. #3255Bugfixes and performance
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.