Skip to content

Update dependency zod to v3.25.7 #67

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 10, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
zod (source) 3.23.8 -> 3.25.7 age adoption passing confidence

Release Notes

colinhacks/zod (zod)

v3.25.7

Compare Source

v3.25.6

Compare Source

v3.25.5

Compare Source

v3.25.4

Compare Source

v3.25.3

Compare Source

v3.25.1

Compare Source

v3.25.0

Compare Source

v3.24.4

Compare Source

v3.24.3

Compare Source

Commits:

v3.24.2

Compare Source

Notes

Support asynchronous checks in z.custom() .

const customSchema = z.custom<number>(async (x) => {
  return typeof x === "number";
});

Commits:

v3.24.1

Compare Source

Commits:

v3.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.

z.string().jwt();

⚠️ This does not verify your JWT cryptographically! It merely ensures its in the proper format. Use a library like jsonwebtoken to verify the JWT signature, parse the token, and read the claims.

To constrain the JWT to a specific algorithm:

z.string().jwt({ alg: "RS256" });

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.)

z.string().base64url()

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.

z.string().cidr()

To specify an IP version:

z.string().cidr({ version: "v4" })
z.string().cidr({ version: "v6" })

View the full diff from 3.23.8: colinhacks/zod@v3.23.8...v3.24.0


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.


  • 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 changed the title Update dependency zod to v3.24.0 Update dependency zod to v3.24.1 Dec 11, 2024
@renovate renovate bot force-pushed the renovate/zod-3.x-lockfile branch from 6af9ea0 to ecfbf11 Compare December 11, 2024 03:45
@renovate renovate bot force-pushed the renovate/zod-3.x-lockfile branch from ecfbf11 to 452ef60 Compare February 12, 2025 00:56
@renovate renovate bot changed the title Update dependency zod to v3.24.1 Update dependency zod to v3.24.2 Feb 12, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x-lockfile branch from 452ef60 to aa15679 Compare April 17, 2025 01:05
@renovate renovate bot changed the title Update dependency zod to v3.24.2 Update dependency zod to v3.24.3 Apr 17, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x-lockfile branch from aa15679 to d675471 Compare May 5, 2025 00:34
@renovate renovate bot changed the title Update dependency zod to v3.24.3 Update dependency zod to v3.24.4 May 5, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x-lockfile branch from d675471 to 04df0d7 Compare May 19, 2025 15:00
@renovate renovate bot changed the title Update dependency zod to v3.24.4 Update dependency zod to v3.25.1 May 19, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x-lockfile branch from 04df0d7 to c1f4be4 Compare May 19, 2025 19:04
@renovate renovate bot changed the title Update dependency zod to v3.25.1 Update dependency zod to v3.25.3 May 19, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x-lockfile branch from c1f4be4 to 424b5ad Compare May 19, 2025 21:49
@renovate renovate bot changed the title Update dependency zod to v3.25.3 Update dependency zod to v3.25.6 May 19, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x-lockfile branch from 424b5ad to c2c1f0e Compare May 20, 2025 01:15
@renovate renovate bot changed the title Update dependency zod to v3.25.6 Update dependency zod to v3.25.7 May 20, 2025
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.

0 participants