-
Notifications
You must be signed in to change notification settings - Fork 0
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
chore(deps): update dependency zod to v3.24.1 #30
base: main
Are you sure you want to change the base?
Conversation
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: package-lock.json
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Apply Sweep Rules to your PR?
This is an automated message generated by Sweep AI. |
c7f3b9d
to
a7946cc
Compare
a7946cc
to
5d58606
Compare
5d58606
to
34b6092
Compare
34b6092
to
30e96e7
Compare
30e96e7
to
67b3b6f
Compare
No applications have been configured for previews targeting branch: main. To do so go to restack console and configure your applications for previews. |
67b3b6f
to
3a14844
Compare
3a14844
to
05b7dfa
Compare
|
05b7dfa
to
e559514
Compare
e559514
to
713d56a
Compare
713d56a
to
95a04c4
Compare
This PR contains the following updates:
3.22.4
->3.24.1
Release Notes
colinhacks/zod (zod)
v3.24.1
Compare Source
Commits:
0c6cbbd
Undeprecate .nonempty()4e219d6
Bump min TS version to 5.065adeea
v3.24.1v3.24.0
Compare Source
v3.23.8
Compare Source
Commits:
0f4d403
Add Bronze logos (#3470)1968731
Tweak tiers (#3471)eda7df3
Change RefinementCtx to interfaceca42965
v3.23.8v3.23.7
Compare Source
v3.23.6
Compare Source
v3.23.5
Compare Source
v3.23.4
Compare Source
Commits:
157b18d
Add 3.23 announcementaedf93f
Revert change to default Input45107f7
v3.23.4v3.23.3
Compare Source
v3.23.2
Compare Source
Commits:
c340558
Update protocolef588d0
Fix t3env9df70dd
3.23.2v3.23.1
Compare Source
v3.23.0
Compare Source
Zod 3.23 is now available. This is the final
3.x
release before Zod 4.0. To try it out:Features
z.string().date()
Zod can now validate ISO 8601 date strings. Thanks @igalklebanov! https://github.com/colinhacks/zod/pull/1766
z.string().time()
Zod can now validate ISO 8601 time strings. Thanks @igalklebanov! https://github.com/colinhacks/zod/pull/1766
You can specify sub-second precision using the
precision
option:z.string().duration()
Zod can now validate ISO 8601 duration strings. Thanks @mastermatt! https://github.com/colinhacks/zod/pull/3265
Improvements to
z.string().datetime()
Thanks @bchrobot https://github.com/colinhacks/zod/pull/2522
You can now allow unqualified (timezone-less) datetimes using the
local: true
flag.Plus, Zod now validates the day-of-month correctly to ensure no invalid dates (e.g. February 30th) pass validation. Thanks @szamanr! https://github.com/colinhacks/zod/pull/3391
z.string().base64()
Zod can now validate base64 strings. Thanks @StefanTerdell! https://github.com/colinhacks/zod/pull/3047
Improved discriminated unions
The following can now be used as discriminator keys in
z.discriminatedUnion()
:ZodOptional
ZodNullable
ZodReadonly
ZodBranded
ZodCatch
Misc
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.
ZodFirstPartySchemaTypes
Three new types have been added to the
ZodFirstPartySchemaTypes
union. This may impact some codegen libraries. https://github.com/colinhacks/zod/pull/3247Default generics in
ZodType
The third argument of the
ZodType
base class now defaults tounknown
. This makes it easier to define recursive schemas and write generic functions that accept Zod schemas.Unrecognized 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. https://github.com/colinhacks/zod/pull/3255Bugfixes and performance
ZodFirstPartySchemaTypes
by @MatthijsMud in https://github.com/colinhacks/zod/pull/3247input
of.required()
readonly by @KATT in https://github.com/colinhacks/zod/pull/3301addQuestionMarks
, fix #2184 by @colinhacks in https://github.com/colinhacks/zod/pull/3352src
forbun test
by @rotu in https://github.com/colinhacks/zod/pull/3038Docs and ecosystem
zod-dev
utility to eco-system section by @schalkventer in https://github.com/colinhacks/zod/pull/3113orval
to "X to Zod" ecosystems by @soartec-lab in https://github.com/colinhacks/zod/pull/3397New Contributors
Full Changelog: colinhacks/zod@v3.22.4...v3.23.0
v3.22.5
Compare Source
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 becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.