Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 24, 2025

This PR contains the following updates:

Package Change Age Confidence
zod (source) 4.1.12 -> 4.2.1 age confidence

Release Notes

colinhacks/zod (zod)

v4.2.1

Compare Source

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:

v4.1.13

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 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 force-pushed the renovate/zod-4.x-lockfile branch 4 times, most recently from 26c6f79 to 549383e Compare November 25, 2025 14:56
@renovate renovate bot changed the title Update dependency zod to v4.1.13 chore(deps): update dependency zod to v4.1.13 Dec 2, 2025
@renovate renovate bot force-pushed the renovate/zod-4.x-lockfile branch from 549383e to 31edca2 Compare December 2, 2025 17:33
@renovate renovate bot changed the title chore(deps): update dependency zod to v4.1.13 chore(deps): update dependency zod to v4.2.0 Dec 15, 2025
@renovate renovate bot force-pushed the renovate/zod-4.x-lockfile branch 2 times, most recently from c05f253 to 84b8576 Compare December 16, 2025 02:56
@renovate renovate bot changed the title chore(deps): update dependency zod to v4.2.0 chore(deps): update dependency zod to v4.2.1 Dec 16, 2025
@renovate renovate bot force-pushed the renovate/zod-4.x-lockfile branch from 84b8576 to 6cf0f34 Compare December 17, 2025 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant