-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Insights: colinhacks/zod
Overview
Could not load contribution data
Please try again later
51 Pull requests merged by 38 people
-
Add
$schema
inz.toJSONSchema
#4390 merged
May 17, 2025 -
Improve min/max in JSON Schema
#4388 merged
May 17, 2025 -
fix: use JSON.stringify to escape toDotPath keys w/ quotes
#4374 merged
May 17, 2025 -
Fix typo in json-schema.mdx
#4380 merged
May 17, 2025 -
Simplify object generics, add test for empty objects
#4387 merged
May 17, 2025 -
Fix: $ZodCatch schema catchValue handling on validation error
#4382 merged
May 17, 2025 -
Improve base64 perf. Disallow padding in base64url.
#4386 merged
May 17, 2025 -
z.toJSONSchema
: Defer execution ofoverride
, improve ref handling#4385 merged
May 17, 2025 -
Improve discriminateduion errors
#4384 merged
May 16, 2025 -
Allow generic on coerce functions
#4379 merged
May 16, 2025 -
Defer initialization to avoid crashes with z.lazy. Closes #4324.
#4377 merged
May 15, 2025 -
Implement
z.prefault
#4376 merged
May 15, 2025 -
v4 docs: Escape
.
in example Regex forz.url
withhostname
#4375 merged
May 15, 2025 -
v4: set
additionalProperties
tofalse
when catchall is never#4365 merged
May 15, 2025 -
Add
jitless
flag to avoideval
/new Function
#4368 merged
May 15, 2025 -
Improve
z.url()
: supporthostname
andprotocol
regexes#4367 merged
May 15, 2025 -
Drop
@zod/core
. Switch to subpaths for Zod 4 ("zod/v4"
and"zod/v4-mini"
)#4364 merged
May 14, 2025 -
Languages: Add Malay language
#4204 merged
May 13, 2025 -
feat(locales): add Catalan locale support and update documentation
#4287 merged
May 13, 2025 -
Languages: add German language
#4253 merged
May 13, 2025 -
feat(lang): Added initial
Tamil
locale#4237 merged
May 13, 2025 -
feat(locale): Add SL locale
#4231 merged
May 13, 2025 -
feat(lang): Added initial Thai locale
#4230 merged
May 13, 2025 -
feat(locale): Add Norwegian
#4229 merged
May 13, 2025 -
feat(locale): add Traditional Chinese
#4226 merged
May 13, 2025 -
Add-fr-ca-locale
#4218 merged
May 13, 2025 -
feat(locale): add Macedonian 🇲🇰 language
#4214 merged
May 13, 2025 -
feat(locale): Add Urdu language
#4208 merged
May 13, 2025 -
Languages: Add Farsi language
#4207 merged
May 13, 2025 -
Languages: Add Korean language
#4206 merged
May 13, 2025 -
feat(lang): Add ota locale in Latin script
#4200 merged
May 13, 2025 -
feat(locale): add belarusian language
#4199 merged
May 13, 2025 -
feat(locale): add russian language
#4197 merged
May 13, 2025 -
feat(lang): Added initial Turkish locale
#4196 merged
May 13, 2025 -
Languages: add Indonesia language
#4195 merged
May 13, 2025 -
Languages: add italian language
#4194 merged
May 13, 2025 -
Languages: add Czech language 🇨🇿
#4192 merged
May 13, 2025 -
feat(lang): add Vietnamese (vi) locale
#4191 merged
May 13, 2025 -
Add Simplified Chinese
#4189 merged
May 13, 2025 -
Languages: add Hungarian language
#4186 merged
May 13, 2025 -
Languages: add Finnish language
#4188 merged
May 13, 2025 -
Languages: add Ukrainian language
#4185 merged
May 13, 2025 -
Languages: add Polish 🇵🇱 language
#4184 merged
May 13, 2025 -
Languages: Add Hebrew language
#4183 merged
May 13, 2025 -
Languages: Add Arabic language
#4176 merged
May 13, 2025 -
Languages: Add french language
#4172 merged
May 13, 2025 -
Languages: Add Portuguese language
#4171 merged
May 13, 2025 -
Languages: Add Japanese language
#4170 merged
May 13, 2025 -
fix(v4): use input, not output, for input of
$ZodUnionInternals
#4330 merged
May 13, 2025 -
Update Speakeasy sponsor URL
#4337 merged
May 13, 2025 -
fix(core): prototype pollution in
generateFastpass
#4359 merged
May 13, 2025
6 Pull requests opened by 6 people
-
docs: add zod-playground to the list of ecosystem utilities
#4348 opened
May 11, 2025 -
chore: add oRPC to the API Libraries ecosystem
#4349 opened
May 11, 2025 -
Remove check for JWT typ header
#4350 opened
May 11, 2025 -
Added Parent property to RefinementCtx
#4352 opened
May 12, 2025 -
feat: add z.looseEnum for flexible enum validation
#4391 opened
May 17, 2025 -
chore: add `path` back to `ctx`
#4395 opened
May 17, 2025
85 Issues closed by 3 people
-
v4: export EnumLike type
#4331 closed
May 17, 2025 -
Allow module augmentation of global registry?
#4328 closed
May 17, 2025 -
v4: cannot use empty object as default for schema with defaults - regression?
#4308 closed
May 17, 2025 -
v4: Consider adding $schema to JSON Schmea output
#4299 closed
May 17, 2025 -
v4: `z.number().safe()` enforces the number being an int, unintentional breaking change?
#4290 closed
May 17, 2025 -
v4: `instanceof`
#4285 closed
May 17, 2025 -
v4: incorrect JSON schema for `.positive()`, `.gt()`
#4309 closed
May 17, 2025 -
v4: the input type loose/strip object schema should allow unknown keys
#4320 closed
May 17, 2025 -
v4: Error formatting in v4 using `format` and `treeifyError` has different output
#4268 closed
May 17, 2025 -
v4 & v3: base64 check causes "Maximum call stack size exceeded"
#4283 closed
May 17, 2025 -
v4: toJSONSchema: `_ref` complicates overrides
#4275 closed
May 17, 2025 -
v4: Type signature of enum input is not properly inferred
#4278 closed
May 17, 2025 -
v4: Providing default value for base schema doesn't reference base schema in generated JSON Schema
#4276 closed
May 17, 2025 -
v4: toJSONSchema: "input" `io` is ignored for transformations meta
#4274 closed
May 16, 2025 -
v4: Dynamic Code Evaluation (e. g. 'eval', 'new Function') not allowed in Edge Runtime
#4273 closed
May 16, 2025 -
v4: $ZodError does not extend Error
#4334 closed
May 16, 2025 -
Zod Mini Edge runtime compatibility
#4248 closed
May 16, 2025 -
v4: mutual recursion with discriminatedUnion
#4340 closed
May 16, 2025 -
Issue Infering a Type
#4342 closed
May 16, 2025 -
v4 Recursive Type with record migration issues
#4351 closed
May 16, 2025 -
v4: Recursive types don't work with discriminated unions
#4264 closed
May 16, 2025 -
[v4] @zod/mini: Passing a `as const` array to `z.enum` result in type error
#4343 closed
May 16, 2025 -
[v4] @zod/mini: `z._default` doesn't make the schema optional
#4344 closed
May 16, 2025 -
Question(v4): What is the behavior of the error message for the `file` schema in `@zod/mini`?
#4262 closed
May 16, 2025 -
V4: toJSONSchema does not render recursive reference
#4254 closed
May 16, 2025 -
v4: `z.interface` cyclical reference with `z.discriminatedUnion`
#4245 closed
May 16, 2025 -
Error in Enum docs for `.exclude()` / `.extract()`
#4240 closed
May 16, 2025 -
v4: Type violation upon piping into coerced types
#4236 closed
May 16, 2025 -
core 0.8.0: circular schemas via ZodLazy stopped working
#4234 closed
May 16, 2025 -
v4: add z.record().partial() for v3 compatibility
#4232 closed
May 16, 2025 -
How to avoid redundancy in generated .d.ts files?
#4227 closed
May 16, 2025 -
Coercing unioned input types not unifying with Input Types
#4216 closed
May 16, 2025 -
v4: `treeifyError()` a step back compared to the deprecated `formatError()`?
#4213 closed
May 16, 2025 -
v4(feature): add .pick/omit mask as array
#4201 closed
May 16, 2025 -
v4: Union errors no longer contain the full path
#4165 closed
May 15, 2025 -
v4: nested object `refine` returns the parent object when using `[~standard].validate`
#4161 closed
May 15, 2025 -
v4: `.required` on subset of an interface removes optionality on all fields
#4163 closed
May 15, 2025 -
v4: `isOptional` may throw despite using `safeParse`
#4159 closed
May 15, 2025 -
Infer with key optional properties on an extended interface are not represented correctly
#4238 closed
May 15, 2025 -
z.infer<typeof Schema> returns object after .extend()
#4082 closed
May 15, 2025 -
@zod/mini: extend and merge return plain object
#4154 closed
May 15, 2025 -
v4: toJSONSchema Circular sibling references
#4324 closed
May 15, 2025 -
v4: defaults in zod object are no longer optional when defining a default for wrapped zod object
#4140 closed
May 15, 2025 -
Cannot find module 'zod/v4' — CommonJS
#4372 closed
May 15, 2025 -
Unable to extract `set` elements schema
#4373 closed
May 15, 2025 -
v4: URI and URN support
#4363 closed
May 15, 2025 -
Versioning with subpaths (`"zod/v4"`) to enable incremental migration
#4371 closed
May 15, 2025 -
v4: ZodInterface - Property 'shape' does not exist on type 'ZodInterface'
#4147 closed
May 15, 2025 -
v4: docs typo in the note to `.parse()` method
#4146 closed
May 15, 2025 -
v4: no longer able to extract discriminator options’ concrete values
#4142 closed
May 15, 2025 -
[V4 Mini] Recursive objects containing optional will lead to type inference failure.
#4370 closed
May 15, 2025 -
v4: `params` type inconsistencies
#4139 closed
May 15, 2025 -
v4: Impossible to represent a key+value-optional field with the default value with `z.interface()`
#4181 closed
May 15, 2025 -
[v4]: `z.enum({ A: 1, B: "A" })` does not accept `"A"`
#4353 closed
May 15, 2025 -
z.default in doc but only z._default available in @zod/mini
#4136 closed
May 15, 2025 -
@zod/mini: `pipe` rejects out schemas with wider input than specified
#4130 closed
May 15, 2025 -
v4: `refine` no longer accepts `params` as a function
#4129 closed
May 15, 2025 -
v4: `parse` and `safeParse` no longer accept `path` in params
#4128 closed
May 15, 2025 -
z.pick() with z.partial() ignores z.pick() for zod mini.
#4126 closed
May 15, 2025 -
v4: `z.file` optional not working
#4125 closed
May 15, 2025 -
Fix: [Pull Request #4116] - Documentation typo: Correct z.cidrv4() to z.cidrv6()
#4118 closed
May 15, 2025 -
v4: z.file() fails in edge runtime in next.js server action
#4112 closed
May 15, 2025 -
v4: z.enum() error does not contain the `recieved` info
#4109 closed
May 15, 2025 -
v4: z.interface() not suport jsDoc
#4108 closed
May 15, 2025 -
v4: Make `.partial()` avaliable on `z.record()`
#4106 closed
May 15, 2025 -
v4: no reasonable replacement for `z.ZodBranded` as a type
#4105 closed
May 15, 2025 -
v4: URL parser does not accept `localhost` as a valid hostname
#4103 closed
May 15, 2025 -
v4: minor issues docs
#4100 closed
May 15, 2025 -
v4: json-schema incorect generation optional
#4099 closed
May 15, 2025 -
v4: Custom error message for .regex() is ignored
#4098 closed
May 15, 2025 -
ZodNativeEnum should support the `.exclude()` method like `ZodEnum` does
#4097 closed
May 15, 2025 -
v4: No overload matches this call: `z.enum({readonly['foo','bar']})`
#4086 closed
May 15, 2025 -
Zod 4 enum error messages omitting "received X" part
#4339 closed
May 15, 2025 -
ZodTypeAny unnecessarily uses any instead of unknown
#4361 closed
May 15, 2025 -
v4: script-src: csp_violation: 'eval' blocked by 'script-src' directive
#4360 closed
May 15, 2025 -
Validate paseto tokens spec / schema
#4345 closed
May 15, 2025 -
bug(core): `z.object` fastpass compilation is susceptible to prototype pollution
#4357 closed
May 15, 2025
10 Issues opened by 8 people
-
V4: `discriminatedUnion.options` returns `undefined`, but types are valid in TypeScript
#4394 opened
May 17, 2025 -
V4: Recursive object throws `RangeError` when using `.shape` on it
#4393 opened
May 17, 2025 -
V4: `discriminatedUnion` does not fail on invalid input
#4392 opened
May 17, 2025 -
v4: Records cannot have `z.number` keys
#4383 opened
May 16, 2025 -
[v4] `toJSONSchema` can better
#4381 opened
May 16, 2025 -
Multiple zod instances
#4378 opened
May 15, 2025 -
[v4 mini] All locales are included in the bundle
#4369 opened
May 15, 2025 -
`z.lazy(...).optional()` no longer works in v4 (TDZ) but `z.lazy(() => …optional())` does
#4366 opened
May 14, 2025 -
z.looseEnum() for more permissive enum validation
#4362 opened
May 13, 2025 -
[v4] result is undefined when using _safeParse with rollup
#4355 opened
May 12, 2025
19 Unresolved conversations
Sometimes conversations happen on old items that aren’t yet closed. Here is a list of all the Issues and Pull Requests with unresolved conversations.
-
Zod 4
#4074 commented on
May 17, 2025 • 124 new comments -
Improve the performance of z.nativeEnum
#4341 commented on
May 12, 2025 • 0 new comments -
[v4 beta] Properly support branded keys in records
#4277 commented on
May 13, 2025 • 0 new comments -
v4: importing a const/type alias returns optional unknowns
#4286 commented on
May 17, 2025 • 0 new comments -
v4: infinite recursion in union array
#4325 commented on
May 17, 2025 • 0 new comments -
v4: toJSONSchema: inability to customize references
#4281 commented on
May 17, 2025 • 0 new comments -
v4: Error - "Cannot call a class as a function" in React Native.
#4148 commented on
May 16, 2025 • 0 new comments -
Can't get named types when inferring types with JSDoc
#3936 commented on
May 16, 2025 • 0 new comments -
v4: strictObject() has the same type as object()
#4149 commented on
May 16, 2025 • 0 new comments -
Feature Request: Support build enum from literal
#4221 commented on
May 16, 2025 • 0 new comments -
v4: `.meta()` global registry conflicts
#4145 commented on
May 15, 2025 • 0 new comments -
v4: `toJSONSchema` should not use union for optional, and set false to additionalProperties
#4123 commented on
May 15, 2025 • 0 new comments -
v4: use in nextjs middleware generates DynamicCodeEvaluationWarning
#4113 commented on
May 15, 2025 • 0 new comments -
"Type instantiation is excessively deep and possibly infinite" when using Zod with React Hook Form and @hookform/resolvers
#3987 commented on
May 14, 2025 • 0 new comments -
v4(feature): Add cron string format
#4239 commented on
May 14, 2025 • 0 new comments -
Persian (Farsi) locale support
#2855 commented on
May 12, 2025 • 0 new comments -
[Feature Request] Add parent field to `RefinementCtx`
#3982 commented on
May 12, 2025 • 0 new comments -
Intersection between `z.object` and `z.record` incorrectly merges validators
#2573 commented on
May 12, 2025 • 0 new comments -
Feature: Allow using a function for validation "message" prop
#2884 commented on
May 11, 2025 • 0 new comments