-
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
fix(deps): update dependency zod to v3.24.2 #9
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/zod-3.x
base: master
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 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
renovate
bot
changed the title
fix(deps): update dependency zod to v3.19.1
fix(deps): update dependency zod to v3.21.4
Apr 3, 2023
renovate
bot
force-pushed
the
renovate/zod-3.x
branch
from
April 3, 2023 16:28
1351e3a
to
ee67843
Compare
renovate
bot
changed the title
fix(deps): update dependency zod to v3.21.4
fix(deps): update dependency zod to v3.22.0
Aug 14, 2023
renovate
bot
force-pushed
the
renovate/zod-3.x
branch
from
August 14, 2023 23:28
ee67843
to
106ef5c
Compare
renovate
bot
changed the title
fix(deps): update dependency zod to v3.22.0
fix(deps): update dependency zod to v3.22.1
Aug 15, 2023
renovate
bot
force-pushed
the
renovate/zod-3.x
branch
from
August 15, 2023 20:26
106ef5c
to
5b2a56a
Compare
renovate
bot
changed the title
fix(deps): update dependency zod to v3.22.1
fix(deps): update dependency zod to v3.22.2
Aug 19, 2023
renovate
bot
force-pushed
the
renovate/zod-3.x
branch
from
August 19, 2023 00:35
5b2a56a
to
bb56bc1
Compare
renovate
bot
changed the title
fix(deps): update dependency zod to v3.22.2
fix(deps): update dependency zod to v3.22.3
Oct 3, 2023
renovate
bot
force-pushed
the
renovate/zod-3.x
branch
2 times, most recently
from
October 5, 2023 01:24
458b3e4
to
47c2af6
Compare
renovate
bot
changed the title
fix(deps): update dependency zod to v3.22.3
fix(deps): update dependency zod to v3.22.4
Oct 5, 2023
renovate
bot
force-pushed
the
renovate/zod-3.x
branch
from
April 19, 2024 01:16
47c2af6
to
eb2f93b
Compare
renovate
bot
changed the title
fix(deps): update dependency zod to v3.22.4
fix(deps): update dependency zod to v3.22.5
Apr 19, 2024
renovate
bot
force-pushed
the
renovate/zod-3.x
branch
from
April 22, 2024 00:19
eb2f93b
to
2663178
Compare
renovate
bot
changed the title
fix(deps): update dependency zod to v3.22.5
fix(deps): update dependency zod to v3.23.0
Apr 22, 2024
renovate
bot
force-pushed
the
renovate/zod-3.x
branch
from
April 23, 2024 01:42
2663178
to
904095d
Compare
renovate
bot
changed the title
fix(deps): update dependency zod to v3.23.0
fix(deps): update dependency zod to v3.23.3
Apr 23, 2024
renovate
bot
force-pushed
the
renovate/zod-3.x
branch
from
April 23, 2024 19:24
904095d
to
95b93b7
Compare
renovate
bot
changed the title
fix(deps): update dependency zod to v3.23.3
fix(deps): update dependency zod to v3.23.4
Apr 23, 2024
renovate
bot
force-pushed
the
renovate/zod-3.x
branch
from
April 29, 2024 23:15
95b93b7
to
195e34a
Compare
renovate
bot
changed the title
fix(deps): update dependency zod to v3.23.4
fix(deps): update dependency zod to v3.23.5
Apr 29, 2024
renovate
bot
force-pushed
the
renovate/zod-3.x
branch
from
May 3, 2024 17:33
195e34a
to
c2c9437
Compare
renovate
bot
changed the title
fix(deps): update dependency zod to v3.23.5
fix(deps): update dependency zod to v3.23.6
May 3, 2024
renovate
bot
force-pushed
the
renovate/zod-3.x
branch
from
May 7, 2024 23:10
c2c9437
to
3d2b981
Compare
renovate
bot
changed the title
fix(deps): update dependency zod to v3.23.6
fix(deps): update dependency zod to v3.23.7
May 7, 2024
renovate
bot
force-pushed
the
renovate/zod-3.x
branch
from
May 8, 2024 21:46
3d2b981
to
89d4fce
Compare
renovate
bot
changed the title
fix(deps): update dependency zod to v3.23.7
fix(deps): update dependency zod to v3.23.8
May 8, 2024
renovate
bot
force-pushed
the
renovate/zod-3.x
branch
from
December 10, 2024 08:38
89d4fce
to
a70bf62
Compare
renovate
bot
changed the title
fix(deps): update dependency zod to v3.23.8
fix(deps): update dependency zod to v3.24.0
Dec 10, 2024
renovate
bot
force-pushed
the
renovate/zod-3.x
branch
from
December 11, 2024 02:12
a70bf62
to
8add683
Compare
renovate
bot
changed the title
fix(deps): update dependency zod to v3.24.0
fix(deps): update dependency zod to v3.24.1
Dec 11, 2024
renovate
bot
force-pushed
the
renovate/zod-3.x
branch
from
February 12, 2025 01:54
8add683
to
7a40203
Compare
renovate
bot
changed the title
fix(deps): update dependency zod to v3.24.1
fix(deps): update dependency zod to v3.24.2
Feb 12, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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.19.0
->3.24.2
Release Notes
colinhacks/zod (zod)
v3.24.2
Compare Source
v3.24.1
Compare Source
Commits:
0c6cbbd
Undeprecate .nonempty()4e219d6
Bump min TS version to 5.065adeea
v3.24.1v3.24.0
Compare Source
Implement
@standard-schema/spec
This 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
294f54f
Update README_ZH.md about Discriminated unions (#3493)1247caf
Add Kubb as X-to-Zod community tool (#3508)62b7842
Update default branchc6bc80d
Fix issue #3582 : ULID should be case insensitive (#3593)a5b9dc3
docs: add zod-schema-faker to ecosystem (#3605)9818d0e
Add zod-sockets (#3609)7173d0b
Add drizzle-zod library to X to Zod README.md section (#3648)c5a4edc
Add 'schemql' in Powered by Zod (#3800)85916b3
docs: add zod-form-renderer to form integration docs (#3697)51f1dc3
docs: add unplugin-environment in powered by zod (#3778)8e74db3
fix: ipv6 regex validation (#3513)1f4f0da
refactor: rename ip version types (#3755)f487d74
Remove faulty ip test case48f1c47
docs: Remove invalid semicolon in ERROR_HANDLING.md (#3857)1d0a4b9
fix: bigint coerce crash (#3822)14dceaa
Add API library (#3814)f82f817
feat: z.string.cidr() - support CIDR notation (#3820)71a0c33
docs: add info on unqualified local datetime strings (#3760)b85686a
Add support forbase64url
strings (#3712)6407bed
Allow creation of discriminated unions with a readonly array of options (#3535)3755146
Remove createParams cascade from .array() (#3530)963386d
Fix lint69a1798
Implement Standard Schema spec (#3850)c1dd537
Addsfrrm
package to documentation (#3818)b68c05f
feat: Add JWT string validator (#3893)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
v3.22.4
Compare Source
Commits:
d931ea3
Lint8e634bd
Fix prettier4018d88
docs: add @sanity-typed/zod to ecosystem (#2731)15ba5a4
docs: addzod-sandbox
to README ecosystem links (#2707)699ccae
Export jsdoc with@deprecated
when building (#2717)dfe3719
Fix sanity-typed links (#2840)cd7991e
fix ulid regex (#2225)7cb4ba2
Remove stalebot9340fd5
Lazy emojiRegexe7a9b9b
3.22.4v3.22.3
Compare Source
Commits:
1e23990
Commit9bd3879
docs: remove obsolete text about readonly types (#2676)f59be09
clarify datetime ISO 8601 (#2673)64dcc8e
Update sponsors18115a8
Formatting28c1927
Update sponsorsad2ee9c
2718 Updated Custom Schemas documentation example to use type narrowing (#2778)ae0f7a2
docs: update ref to discriminated-unions docs (#2485)2ba00fe
[2609] fix ReDoS vulnerability in email regex (#2824)1e61d76
3.22.3v3.22.2
Compare Source
Commits:
13d9e6b
Fix lint0d49f10
docs: add typeschema to ecosystem (#2626)8e4af7b
X to Zod: add app.quicktype.io (#2668)792b3ef
Fix superrefine typesv3.22.1
Compare Source
Commits:
Fix handing of
this
in ZodFunction schemas. The parse logic for function schemas now requires theReflect
API.932cc47
Initial prototype fix for issue #2651 (#2652)0a055e7
3.22.1v3.22.0
Compare Source
ZodReadonly
This release introduces
ZodReadonly
and the.readonly()
method onZodType
.Calling
.readonly()
on any schema returns aZodReadonly
instance that wraps the original schema. The new schema parses all inputs using the original schema, then callsObject.freeze()
on the result. The inferred type is also marked asreadonly
.The inferred type uses TypeScript's built-in readonly types when relevant.
Commits:
6dad907
Comments56ace68
Fix deno test3809d54
Add superformsd1ad522
Add transloadita3bb701
Testing on Typescript 5.0 (#2221)51e14be
docs: update deprecated link (#2219)a263814
fixed Datetime & IP TOC links502384e
docs: add mobx-zod-form to form integrations (#2299)a8be450
docs: Addzocker
to Ecosystem section (#2416)15de22a
Allow subdomains and hyphens inZodString.email
(#2274)00f5783
Addzod-openapi
to ecosystem (#2434)0a17340
docs: fix minor typo (#2439)60a2134
Add masterborn0a90ed1
chore: moveexports.types
field to first spot @ package.json. (#2443)67f35b1
docs: allow Zod to be used in dev tools at site (#2432)6795c57
Fix not working Deno doc link. (#2428)37e9c55
Generalize uuidRegex0969950
adds ctx to preprocess (#2426)af08390
fix: super refinement function types (#2420)36fef58
Make email regex reasonable (#2157)f627d14
Document canarye06321c
docs: add tapiduck to API libraries (#2410)11e507c
docs: add ts as const example in zod enums (#2412)5427565
docs: add zod-fixture to mocking ecosystem (#2409)d3bf7e6
docs: addzodock
to mocking ecosystem (#2394)2270ae5
remove "as any" casts in createZodEnum (#2332)00bdd0a
fix proto pollution vulnerability (#2239)a3c5256
Fix error_handling unrecognized_keys example4f75cbc
Adds getters to Map for key + value (#2356)ca7b032
FMC (#2346)6fec8bd
docs: fix typo in link fragment (#2329)16f90bd
Update README.md2c80250
Update readmeeaf64e0
Update sponsorsc576311
Update readme5e23b4f
Add*.md
pattern to prettier (#2476)898dced
Revamp tests6309322
Update test runnersc0aece1
Add vitest config73a5610
Update script8d8e1a2
Fix deno test bug9eb2508
Clean up configscfbc7b3
Fix root jest config8677f68
docs(comparison-yup): Yup added partial() and deepPartial() in v1 (#2603)fb00edd
docs: add VeeValidate form library for Vue.js (#2578)ab8e717
docs: fix typo in z.object (#2570)d870407
docs: fix incomplete Records example (#2579)5adae24
docs: add conform form integration (#2577)8b8ab3e
Update README.md (#2562)6aab901
fix typo test name (#2542)81a89f5
Update nullish documentation to correct chaining order (#2457)78a4090
docs: update comparison withruntypes
(#2536)1ecd624
Fix prettier981d4b5
Add ZodReadonly (#2634)fba438c
3.22.0v3.21.4
Compare Source
Commits:
22f3cc6
3.21.4v3.21.3
Compare Source
Commits:
14c08d8
added more.pipe
examples006e652
Fix npm canary action paths pattern (#2148)bdcff0f
Remove logging in testsa5830c6
Reverted #1564c458381
Fix tests2db0dca
3.21.3v3.21.2
Compare Source
Commits:
b276d71
Improve typings in generics4d016b7
Improve type inference in genericsf9895ab
Improve types inside generic functionsac0135e
Pass input into catchValuev3.21.1
Compare Source
Features
Support for ULID validation
Commits:
4f89461
Prettierbd6527a
Update deps126c77b
addedtoLowerCase
andtoUpperCase
back in for v3.21.01749657
Update README.mddabe63d
updatedz.custom
example again :D6b8f655
docs: improve cn readme (#2143)9012dc7
add.includes(value, options?)
@ZodString
. (#1887)67b981e
Make safeParse().error a getter346fde0
3.21.0-canary.20230304T235951b50d871
Add canary release CIb20cca2
Fix canaryf7f5c50
Move action to .github/workflowsf01fa0e
Try to fix canary CIf5e8067
No git tag5b304ae
No dry run20df80e
Add tsc compilation testead93d3
Document .pipe()d8e8653
Update headers03c0ab1
Cache the evaluation of ParseInputLazyPath.path() for a moderate perf improvement (#2137)e7b3b7b
Improve string docs83478f5
Remove zod dep2f1868d
Specify paths for canarye599966
Add sponsors950bd17
Tweak x.custom example728e56a
Close #212764883e4
feat: z.string().ulid() - add support for ulids (#2049)e0d709b
3.20.19c33194
Remove comments, clean up utils942e2db
Fix testsv3.21.0
Compare Source
Features
z.string().emoji()
Thanks @joseph-lozano for https://github.com/colinhacks/zod/pull/2045! To validate that all characters in a string are emoji:
...if that's something you want to do for some reason.
z.string().cuid2()
Thanks @joulev for https://github.com/colinhacks/zod/pull/1813! To validate CUIDv2:
z.string().ip()
Thanks @fvckDesa for https://github.com/colinhacks/zod/pull/2066. To validate that a string is a valid IP address:
To specify a particular
version
:z.bigint().{gt|gte|lt|lte}()
Thanks @igalklebanov for
#1711
!ZodBigInt
gets the same set of methods found onZodNumber
:z.enum(...).extract()
andz.enum(...).exclude()
Thanks @santosmarco-caribou for https://github.com/colinhacks/zod/pull/1652! To add or remove elements from a
ZodEnum
:This API is inspired by the
Exclude
andExtract
TypeScript built-ins.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 this update again.
This PR was generated by Mend Renovate. View the repository job log.