# zod/release
Zod v4.4.0
importance: highbreakingfeature
This release focuses on correctness and soundness fixes, making Zod stricter in several areas. It includes important updates to tuple defaults, object property handling, and JSON schema generation.
release_signals
-Tuple parsing now more accurately reflects defaults, optional tails, and explicit `undefined`, which may affect code relying on previous behavior
-Properties with `z.undefined()` are now treated as required, which may break code that previously treated them as optional
-The `.merge()` method now throws when the receiver has refinements, requiring changes in object composition logic
-JSON Schema conversion through `z.toJSONSchema()` now strips redundant `id` fields from `$defs` entries, which may affect consumers reading those fields directly
-Base64 validation now rejects whitespace instead of allowing `atob()`-style whitespace stripping, which may break code relying on previous behavior
+Tuple defaults now materialize output values correctly
+Required object properties with `z.undefined()` are now treated correctly
code_snippet
const schema = z.tuple([
z.string(),
z.string().default("fallback"),
]);
schema.parse(["a"]);
// ["a", "fallback"]# community_signal
How useful is this release to your stack?
—
net score
Sign in with GitHub to cast your vote.
Sign in with GitHub to vote
You’ll return to this release, then choose your vote.