Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 30, 2024

Note

Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to mend[bot].

This notice will be removed on 2025-10-07.


This PR contains the following updates:

Package Change Age Confidence
zod (source) 3.22.4 -> 3.25.76 age confidence

Release Notes

colinhacks/zod (zod)

v3.25.76

Compare Source

v3.25.75

Compare Source

v3.25.74

Compare Source

v3.25.73

Compare Source

Commits:

v3.25.72

Compare Source

v3.25.71

Compare Source

v3.25.70

Compare Source

v3.25.69

Compare Source

v3.25.68

Compare Source

v3.25.67

Compare Source

Commits:

v3.25.66

Compare Source

v3.25.65

Compare Source

v3.25.64

Compare Source

Commits:

v3.25.63

Compare Source

v3.25.62

Compare Source

v3.25.61

Compare Source

v3.25.60

Compare Source

v3.25.59

Compare Source

v3.25.58

Compare Source

v3.25.57

Compare Source

v3.25.56

Compare Source

v3.25.55

Compare Source

v3.25.54

Compare Source

v3.25.53

Compare Source

Commits:

v3.25.52

Compare Source

Commits:

v3.25.51

Compare Source

v3.25.50

Compare Source

v3.25.49

Compare Source

v3.25.48

Compare Source

v3.25.47

Compare Source

v3.25.46

Compare Source

v3.25.45

Compare Source

Commits:

v3.25.44

Compare Source

v3.25.43

Compare Source

Commits:

v3.25.42

Compare Source

v3.25.41

Compare Source

v3.25.40

Compare Source

v3.25.39

Compare Source

v3.25.38

Compare Source

Commits:

v3.25.37

Compare Source

Commits:

v3.25.36

Compare Source

v3.25.35

Compare Source

Commits:

v3.25.34

Compare Source

v3.25.33

Compare Source

Commits:

v3.25.32

Compare Source

v3.25.31

Compare Source

v3.25.30

Compare Source

v3.25.29

Compare Source

v3.25.28

Compare Source

Commits:

v3.25.27

Compare Source

v3.25.26

Compare Source

v3.25.25

Compare Source

v3.25.24

Compare Source

v3.25.23

Compare Source

v3.25.22

Compare Source

v3.25.21

Compare Source

v3.25.20

Compare Source

Commits:

v3.25.18

Compare Source

Commits:

v3.25.17

Compare Source

v3.25.16

Compare Source

v3.25.15

Compare Source

v3.25.14

Compare Source

v3.25.13

Compare Source

v3.25.12

Compare Source

v3.25.11

Compare Source

v3.25.10

Compare Source

Commits:

  • c172c19 Fix module resolution issue

v3.25.9

Compare Source

v3.25.8

Compare Source

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

v3.23.8

Compare Source

Commits:

v3.23.7

Compare Source

Commits:

v3.23.6

Compare Source

Commits:

v3.23.5

Compare Source

Commits:

v3.23.4

Compare Source

Commits:

v3.23.3

Compare Source

Commits:

v3.23.2

Compare Source

Commits:

v3.23.1

Compare Source

This changes the default generics back to any to prevent breakages with common packager like @hookform/resolvers:

- class ZodType<Output = unknown, Def extends ZodTypeDef = ZodTypeDef, Input = unknown> {}
+ class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef, Input = any> {}

Commits:

v3.23.0

Compare Source

Zod 3.23 is now available. This is the final 3.x release before Zod 4.0. To try it out:

npm install zod

Features

z.string().date()

Zod can now validate ISO 8601 date strings. Thanks @​igalklebanov! #​1766

const schema = z.string().date();
schema.parse("2022-01-01"); // OK
z.string().time()

Zod can now validate ISO 8601 time strings. Thanks @​igalklebanov! #​1766

const schema = z.string().time();
schema.parse("12:00:00"); // OK

You can specify sub-second precision using the precision option:

const schema = z.string().time({ precision: 3 });
schema.parse("12:00:00.123"); // OK
schema.parse("12:00:00.123456"); // Error
schema.parse("12:00:00"); // Error
z.string().duration()

Zod can now validate ISO 8601 duration strings. Thanks @​mastermatt! #​3265

const schema = z.string().duration();
schema.parse("P3Y6M4DT12H30M5S"); // OK
Improvements to z.string().datetime()

Thanks @​bchrobot #​2522

You can now allow unqualified (timezone-less) datetimes using the local: true flag.

const schema = z.string().datetime({ local: true });
schema.parse("2022-01-01T12:00:00"); // OK

Plus, Zod now validates the day-of-month correctly to ensure no invalid dates (e.g. February 30th) pass validation. Thanks @​szamanr! #​3391

z.string().base64()

Zod can now validate base64 strings. Thanks @​StefanTerdell! #​3047

const schema = z.string().base64();
schema.parse("SGVsbG8gV29ybGQ="); // OK
Improved discriminated unions

The following can now be used as discriminator keys in z.discriminatedUnion():

  • ZodOptional
  • ZodNullable
  • ZodReadonly
  • ZodBranded
  • ZodCatch
const schema = z.discriminatedUnion("type", [
  z.object({ type: z.literal("A").optional(), value: z.number() }),
  z.object({ type: z.literal("B").nullable(), value: z.string() }),
  z.object({ type: z.literal("C").readonly(), value: z.boolean() }),
  z.object({ type: z.literal("D").brand<"D">(), value: z.boolean() }),
  z.object({ type: z.literal("E").catch("E"), value: z.unknown() }),
]);
Misc

Breaking changes

There are no breaking changes to the public API of Zod. However some changes can impact ecosystem tools that rely on Zod internals.

ZodFirstPartySchemaTypes

Three new types have been added to the ZodFirstPartySchemaTypes union. This may impact some codegen libraries. #​3247

+  | Zo

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 3am on Monday" (UTC), 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.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/renovate/) using a [curated preset](https://redirect.github.com/sanity-io/renovate-config#readme) maintained by [<picture><source media="(prefers-color-scheme: dark)" srcset="https://www.sanity.io/static/images/logo_white.svg?v=3"><img alt="Sanity" src="https://www.sanity.io/static/images/logo_black.svg?v=3" height="22" align="top"></picture>](https://www.sanity.io/?utm_source=github&utm_medium=referral&utm_campaign=ecosystem-renovate-preset). View repository job log [here](https://developer.mend.io/github/sanity-io/contentful-to-sanity)
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMjEuMiIsInVwZGF0ZWRJblZlciI6IjQxLjEzMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyLwn5OmIGRlcHMiLCLwn6SWIGJvdCJdfQ==-->

@renovate renovate bot requested a review from a team as a code owner April 30, 2024 12:52
@renovate renovate bot force-pushed the renovate/zod-3.x branch from 13093a5 to 2409259 Compare May 3, 2024 04:33
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.23.5 fix(deps): Update dependency zod to v3.23.6 May 3, 2024
@renovate renovate bot force-pushed the renovate/zod-3.x branch from 2409259 to b23da7a Compare May 7, 2024 23:23
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.23.6 fix(deps): Update dependency zod to v3.23.7 May 7, 2024
@renovate renovate bot force-pushed the renovate/zod-3.x branch from b23da7a to 0a60f2a Compare May 8, 2024 20:15
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.23.7 fix(deps): Update dependency zod to v3.23.8 May 8, 2024
@renovate renovate bot force-pushed the renovate/zod-3.x branch from 0a60f2a to c569ae4 Compare December 10, 2024 07:16
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.23.8 fix(deps): Update dependency zod to v3.24.0 Dec 10, 2024
Copy link

socket-security bot commented Dec 10, 2024

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedzod@​3.22.4 ⏵ 3.25.76100 +110010096100

View full report

@renovate renovate bot force-pushed the renovate/zod-3.x branch from c569ae4 to a8816a2 Compare December 11, 2024 05:04
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.24.0 fix(deps): Update dependency zod to v3.24.1 Dec 11, 2024
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.24.1 fix(deps): Update dependency zod to v3.24.2 Feb 12, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x branch from a8816a2 to 469d744 Compare February 12, 2025 01:04
@renovate renovate bot force-pushed the renovate/zod-3.x branch from 469d744 to 112f51d Compare April 17, 2025 00:32
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.24.2 fix(deps): Update dependency zod to v3.24.3 Apr 17, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x branch from 112f51d to 8c8e261 Compare May 5, 2025 00:48
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.24.3 fix(deps): Update dependency zod to v3.24.4 May 5, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x branch from 8c8e261 to 8df6878 Compare May 19, 2025 15:36
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.24.4 fix(deps): Update dependency zod to v3.25.3 May 19, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x branch from 8df6878 to c758718 Compare May 19, 2025 21:47
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.25.3 fix(deps): Update dependency zod to v3.25.6 May 19, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x branch from c758718 to 9c3552f Compare May 20, 2025 01:02
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.25.6 fix(deps): Update dependency zod to v3.25.7 May 20, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x branch from 9c3552f to 5de4f0e Compare May 21, 2025 00:45
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.25.7 fix(deps): Update dependency zod to v3.25.9 May 21, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x branch from 5de4f0e to 682dfcb Compare May 21, 2025 04:30
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.25.9 fix(deps): Update dependency zod to v3.25.13 May 21, 2025
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.25.57 fix(deps): Update dependency zod to v3.25.58 Jun 11, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x branch from a136694 to 722cd1e Compare June 11, 2025 15:05
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.25.58 fix(deps): Update dependency zod to v3.25.61 Jun 11, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x branch from 722cd1e to 24a4ff1 Compare June 11, 2025 20:50
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.25.61 fix(deps): Update dependency zod to v3.25.62 Jun 11, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x branch from 24a4ff1 to 732bf07 Compare June 12, 2025 14:53
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.25.62 fix(deps): Update dependency zod to v3.25.63 Jun 12, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x branch from 732bf07 to 53254f5 Compare June 13, 2025 08:09
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.25.63 fix(deps): Update dependency zod to v3.25.64 Jun 13, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x branch from 53254f5 to fd9eafc Compare June 16, 2025 18:14
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.25.64 fix(deps): Update dependency zod to v3.25.65 Jun 16, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x branch from fd9eafc to aa36664 Compare June 17, 2025 00:47
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.25.65 fix(deps): Update dependency zod to v3.25.67 Jun 17, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x branch from aa36664 to 25611b3 Compare July 2, 2025 20:27
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.25.67 fix(deps): Update dependency zod to v3.25.69 Jul 2, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x branch from 25611b3 to 0693836 Compare July 3, 2025 04:52
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.25.69 fix(deps): Update dependency zod to v3.25.71 Jul 3, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x branch from 0693836 to 668fffe Compare July 4, 2025 04:23
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.25.71 fix(deps): Update dependency zod to v3.25.72 Jul 4, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x branch from 668fffe to d13f694 Compare July 4, 2025 14:01
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.25.72 fix(deps): Update dependency zod to v3.25.73 Jul 4, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x branch from d13f694 to 6acdd3e Compare July 4, 2025 20:44
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.25.73 fix(deps): Update dependency zod to v3.25.74 Jul 4, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x branch from 6acdd3e to a10979f Compare July 7, 2025 08:40
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.25.74 fix(deps): Update dependency zod to v3.25.75 Jul 7, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x branch from a10979f to 9960213 Compare July 8, 2025 18:48
@renovate renovate bot changed the title fix(deps): Update dependency zod to v3.25.75 fix(deps): Update dependency zod to v3.25.76 Jul 8, 2025
@renovate renovate bot force-pushed the renovate/zod-3.x branch from 9960213 to 6c5d923 Compare August 10, 2025 15:47
@renovate renovate bot force-pushed the renovate/zod-3.x branch from 6c5d923 to 024eee5 Compare September 25, 2025 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants