Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 18, 2025

This PR contains the following updates:

Package Change Age Confidence
zod (source) 4.1.13 -> 4.2.0 age confidence

Release Notes

colinhacks/zod (zod)

v4.2.0

Compare Source

Features

Implement Standard JSON Schema

standard-schema/standard-schema#134

Implement z.fromJSONSchema()
const jsonSchema = {
  type: "object",
  properties: {
    name: { type: "string" },
    age: { type: "number" }
  },
  required: ["name"]
};

const schema = z.fromJSONSchema(jsonSchema);
Implement z.xor()
const schema = z.xor(
  z.object({ type: "user", name: z.string() }),
  z.object({ type: "admin", role: z.string() })
);
// Exactly one of the schemas must match
Implement z.looseRecord()
const schema = z.looseRecord(z.string(), z.number());
// Allows additional properties beyond those defined

Commits:


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Dependency upgrades label Dec 18, 2025
@github-actions github-actions bot added the bug Something isn't working label Dec 18, 2025
@renovate renovate bot force-pushed the renovate/zod-4.x branch from abaf82b to 9cd6577 Compare December 18, 2025 07:34
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 18, 2025

Deploying modestbench with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9cd6577
Status: ✅  Deploy successful!
Preview URL: https://ace93866.modestbench.pages.dev
Branch Preview URL: https://renovate-zod-4-x.modestbench.pages.dev

View logs

@renovate renovate bot merged commit 49a9538 into main Dec 18, 2025
12 of 14 checks passed
@renovate renovate bot deleted the renovate/zod-4.x branch December 18, 2025 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working dependencies Dependency upgrades

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant