chore(deps): bump zod from 3.25.70 to 4.0.5 #24

Merged
dependabot[bot] merged 1 commits from dependabot/npm_and_yarn/zod-4.0.5 into dev 2025-07-24 17:32:07 -05:00
dependabot[bot] commented 2025-07-13 19:54:19 -05:00 (Migrated from github.com)

Bumps zod from 3.25.70 to 4.0.5.

Release notes

Sourced from zod's releases.

v4.0.5

Commits:

  • f91a73ec23f9ec28d908af2caa643a54088516c5 Support pipes in discriminated unions. Closes #4856 (#4861)
  • 45afab0f846dffd591362b6f770017507eb185b5 4.0.5

v4.0.4

Commits:

  • 9335f0543d6359f9236e3e33b78cc5b2788dbe0f Adds ZodFirstPartyTypeKind stub to fix module resolution failure inside zod-to-json-schema

v4.0.3

Commits:

  • 5905a8d810eff6f4677e6aa9e557f92a676805cf Improve check-versions script
  • f3e749b1b057a2cf0a0bce7e07abec4e0520e0f8 Remove global File interface
  • 44a936cb77961e57a0988d8a3c63d9c71fce69ac 4.0.2
  • 74006edd49e3fe8d74010090462859593c2bd1e2 Fix JSR provenance
  • ff4af5e889d4ad7136a9cde7202b16261db5c83c 4.0.3
  • ce573e8799f86e2f68307eba95c2d40fc92617b7 Update test badge
  • 9a7161a976d6349f738c00cb6d6528c0407a65e8 Fix versions

v4.0.0

With this release, zod@4.0.0 has been published to npm. There were no code changes between 3.25.76 and 4.0.0!

Zod 4 has been stable for the past 6 weeks, but it was published inside zod@3.25.x on npm. this transitionary window gave the ecosystem time to incrementally support for Zod 4 (without dropping support for Zod 3). As there is now near-universal support for Zod 4 in the ecosystem, ths time feels right to finally put a bow on things 🎀

To upgrade to Zod 4:

npm upgrade zod@^4.0.0

If you’ve already migrated to Zod 4 using the subpaths, there are no changes required. however you can optionally simplify your imports (recommended)

// after upgrading to zod@4.0.0:
import * as z from "zod"; // Zod 4 (regular)
import * as z from "zod/mini" // Zod 4 Mini

// these still work, but are no longer needed
import * as z from "zod/v4";
import * as z from "zod/v4-mini":

// if you still need Zod 3
import * as z from "zod/v3"; // Zod 3

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps [zod](https://github.com/colinhacks/zod) from 3.25.70 to 4.0.5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/colinhacks/zod/releases">zod's releases</a>.</em></p> <blockquote> <h2>v4.0.5</h2> <h2>Commits:</h2> <ul> <li>f91a73ec23f9ec28d908af2caa643a54088516c5 Support pipes in discriminated unions. Closes <a href="https://redirect.github.com/colinhacks/zod/issues/4856">#4856</a> (<a href="https://redirect.github.com/colinhacks/zod/issues/4861">#4861</a>)</li> <li>45afab0f846dffd591362b6f770017507eb185b5 4.0.5</li> </ul> <h2>v4.0.4</h2> <h2>Commits:</h2> <ul> <li>9335f0543d6359f9236e3e33b78cc5b2788dbe0f Adds <code>ZodFirstPartyTypeKind</code> stub to fix module resolution failure inside <code>zod-to-json-schema</code></li> </ul> <h2>v4.0.3</h2> <h2>Commits:</h2> <ul> <li>5905a8d810eff6f4677e6aa9e557f92a676805cf Improve check-versions script</li> <li>f3e749b1b057a2cf0a0bce7e07abec4e0520e0f8 Remove global File interface</li> <li>44a936cb77961e57a0988d8a3c63d9c71fce69ac 4.0.2</li> <li>74006edd49e3fe8d74010090462859593c2bd1e2 Fix JSR provenance</li> <li>ff4af5e889d4ad7136a9cde7202b16261db5c83c 4.0.3</li> <li>ce573e8799f86e2f68307eba95c2d40fc92617b7 Update test badge</li> <li>9a7161a976d6349f738c00cb6d6528c0407a65e8 Fix versions</li> </ul> <h2>v4.0.0</h2> <p>With this release, <code>zod@4.0.0</code> has been published to <code>npm</code>. There were no code changes between 3.25.76 and 4.0.0!</p> <p>Zod 4 has been stable for the past 6 weeks, but it was published inside <a href="mailto:zod@3.25.x">zod@3.25.x</a> on npm. this transitionary window gave the ecosystem time to incrementally support for Zod 4 (without dropping support for Zod 3). As there is now near-universal support for Zod 4 in the ecosystem, ths time feels right to finally put a bow on things 🎀</p> <p>To upgrade to Zod 4:</p> <pre><code>npm upgrade zod@^4.0.0 </code></pre> <p>If you’ve already migrated to Zod 4 using the subpaths, there are no changes required. however you can optionally simplify your imports (recommended)</p> <pre lang="ts"><code>// after upgrading to zod@4.0.0: import * as z from &quot;zod&quot;; // Zod 4 (regular) import * as z from &quot;zod/mini&quot; // Zod 4 Mini <p>// these still work, but are no longer needed<br /> import * as z from &quot;zod/v4&quot;;<br /> import * as z from &quot;zod/v4-mini&quot;:</p> <p>// if you still need Zod 3<br /> import * as z from &quot;zod/v3&quot;; // Zod 3<br /> </code></pre></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/colinhacks/zod/commit/45afab0f846dffd591362b6f770017507eb185b5"><code>45afab0</code></a> 4.0.5</li> <li><a href="https://github.com/colinhacks/zod/commit/f91a73ec23f9ec28d908af2caa643a54088516c5"><code>f91a73e</code></a> Support pipes in discriminated unions. Closes <a href="https://redirect.github.com/colinhacks/zod/issues/4856">#4856</a> (<a href="https://redirect.github.com/colinhacks/zod/issues/4861">#4861</a>)</li> <li><a href="https://github.com/colinhacks/zod/commit/9335f0543d6359f9236e3e33b78cc5b2788dbe0f"><code>9335f05</code></a> 4.0.4</li> <li><a href="https://github.com/colinhacks/zod/commit/4d6e266119d5935aa233f1948524adf82f2e7e21"><code>4d6e266</code></a> improve changelog (<a href="https://redirect.github.com/colinhacks/zod/issues/4860">#4860</a>)</li> <li><a href="https://github.com/colinhacks/zod/commit/878775ef28b11cdefd26a88709c475f3f1e7d5fa"><code>878775e</code></a> Improve docs</li> <li><a href="https://github.com/colinhacks/zod/commit/9a7161a976d6349f738c00cb6d6528c0407a65e8"><code>9a7161a</code></a> Fix versions</li> <li><a href="https://github.com/colinhacks/zod/commit/ce573e8799f86e2f68307eba95c2d40fc92617b7"><code>ce573e8</code></a> Update test badge</li> <li><a href="https://github.com/colinhacks/zod/commit/ff4af5e889d4ad7136a9cde7202b16261db5c83c"><code>ff4af5e</code></a> 4.0.3</li> <li><a href="https://github.com/colinhacks/zod/commit/74006edd49e3fe8d74010090462859593c2bd1e2"><code>74006ed</code></a> Fix JSR provenance</li> <li><a href="https://github.com/colinhacks/zod/commit/44a936cb77961e57a0988d8a3c63d9c71fce69ac"><code>44a936c</code></a> 4.0.2</li> <li>Additional commits viewable in <a href="https://github.com/colinhacks/zod/compare/v3.25.70...v4.0.5">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=zod&package-manager=npm_and_yarn&previous-version=3.25.70&new-version=4.0.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
vercel[bot] commented 2025-07-13 19:54:22 -05:00 (Migrated from github.com)

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mice Ready (Inspect) Visit Preview 💬 Add feedback Jul 14, 2025 0:55am
[vc]: #rYCHCwyKWfTLb7CpY+Dykr7lJeCArGaGwEOE23TRCDk=:eyJpc01vbm9yZXBvIjp0cnVlLCJ0eXBlIjoiZ2l0aHViIiwicHJvamVjdHMiOlt7Im5hbWUiOiJtaWNlIiwiaW5zcGVjdG9yVXJsIjoiaHR0cHM6Ly92ZXJjZWwuY29tL2JhbmFuYW5hbmFzLXByb2plY3RzL21pY2UvQ1lBZ2FpZlhqcEs5eXQxTWVLdnBFWjg3VGpHRyIsInByZXZpZXdVcmwiOiJtaWNlLWdpdC1kZXBlbmRhYm90LW5wbWFuZHlhcm56b2QtNDA1LWJhbmFuYW5hbmFzLXByb2plY3RzLnZlcmNlbC5hcHAiLCJuZXh0Q29tbWl0U3RhdHVzIjoiREVQTE9ZRUQiLCJsaXZlRmVlZGJhY2siOnsicmVzb2x2ZWQiOjAsInVucmVzb2x2ZWQiOjAsInRvdGFsIjowLCJsaW5rIjoibWljZS1naXQtZGVwZW5kYWJvdC1ucG1hbmR5YXJuem9kLTQwNS1iYW5hbmFuYW5hcy1wcm9qZWN0cy52ZXJjZWwuYXBwIn0sInJvb3REaXJlY3RvcnkiOm51bGx9XX0= **The latest updates on your projects**. Learn more about [Vercel for Git ↗︎](https://vercel.link/github-learn-more) | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **mice** | ✅ Ready ([Inspect](https://vercel.com/bananananas-projects/mice/CYAgaifXjpK9yt1MeKvpEZ87TjGG)) | [Visit Preview](https://mice-git-dependabot-npmandyarnzod-405-bananananas-projects.vercel.app) | 💬 [**Add feedback**](https://vercel.live/open-feedback/mice-git-dependabot-npmandyarnzod-405-bananananas-projects.vercel.app?via=pr-comment-feedback-link) | Jul 14, 2025 0:55am |
Sign in to join this conversation.