Commit 116405e
Bump zod from 3.25.42 to 3.25.46 (#2691)
Bumps [zod](https://github.com/colinhacks/zod) from 3.25.42 to 3.25.45.
<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>v3.25.45</h2>
<h2>Commits:</h2>
<ul>
<li>dc2c0b0fccd893a08306ccadc8baa821b1b06a5b minor grammar typo fix (<a
href="https://redirect.github.com/colinhacks/zod/issues/4584">#4584</a>)</li>
<li>6fd3b39ab65970ec7f708e0aa4d0c9e20d9d2050 fix(JSONSchema): add type
for enum (<a
href="https://redirect.github.com/colinhacks/zod/issues/4577">#4577</a>)</li>
<li>6be478b98c6a36895e28ab0d8b214880dc645d88 Fix ZodType assignability
issues</li>
<li>69ccb67f6d9d264dd26b6ba0bcc6f2ddc90a8fbc 3.25.45</li>
</ul>
<h2>v3.25.44</h2>
<h2>Commits:</h2>
<ul>
<li>91267823162009488fff03f2a7240b89767e4d7d Update input<!-- raw HTML
omitted --> to prevent excessively deep in more cases</li>
<li>e2d72afba3378ab81c691bc81c7e96d6f4845e06 Loosen and expand metadata
typing (<a
href="https://redirect.github.com/colinhacks/zod/issues/4586">#4586</a>)</li>
<li>fc69453e625a1b1c1a4523def3e4e60e5f2af8ca 3.25.44</li>
</ul>
<h2>v3.25.43</h2>
<h2>Commits:</h2>
<ul>
<li>508e3065ca2debf43a2a8c27845ab7c7d4fe3bb0 Fix type inference in
ZodMiniType check method (<a
href="https://redirect.github.com/colinhacks/zod/issues/4568">#4568</a>)</li>
<li>f8fef45cfa813412beecadfbbe9d6df09ac33a86 Ecosystem: Add Express Zod
API (<a
href="https://redirect.github.com/colinhacks/zod/issues/4579">#4579</a>)</li>
<li>289cba3b95e522b9c66611b94c218bcdfe8566b2 Fix type inference in
ZodMiniType check method (<a
href="https://redirect.github.com/colinhacks/zod/issues/4568">#4568</a>)</li>
<li>011623a7daaa4e5215178073e3a0aeb2e760b2a9 Fix dts files</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/colinhacks/zod/commit/69ccb67f6d9d264dd26b6ba0bcc6f2ddc90a8fbc"><code>69ccb67</code></a>
3.25.45</li>
<li><a
href="https://github.com/colinhacks/zod/commit/6be478b98c6a36895e28ab0d8b214880dc645d88"><code>6be478b</code></a>
Fix ZodType assignability issues</li>
<li><a
href="https://github.com/colinhacks/zod/commit/6fd3b39ab65970ec7f708e0aa4d0c9e20d9d2050"><code>6fd3b39</code></a>
fix(JSONSchema): add type for enum (<a
href="https://redirect.github.com/colinhacks/zod/issues/4577">#4577</a>)</li>
<li><a
href="https://github.com/colinhacks/zod/commit/dc2c0b0fccd893a08306ccadc8baa821b1b06a5b"><code>dc2c0b0</code></a>
minor grammar typo fix (<a
href="https://redirect.github.com/colinhacks/zod/issues/4584">#4584</a>)</li>
<li><a
href="https://github.com/colinhacks/zod/commit/fc69453e625a1b1c1a4523def3e4e60e5f2af8ca"><code>fc69453</code></a>
3.25.44</li>
<li><a
href="https://github.com/colinhacks/zod/commit/e2d72afba3378ab81c691bc81c7e96d6f4845e06"><code>e2d72af</code></a>
Loosen and expand metadata typing (<a
href="https://redirect.github.com/colinhacks/zod/issues/4586">#4586</a>)</li>
<li><a
href="https://github.com/colinhacks/zod/commit/91267823162009488fff03f2a7240b89767e4d7d"><code>9126782</code></a>
Update input<> and output<> to prevent excessively deep in
more cases</li>
<li><a
href="https://github.com/colinhacks/zod/commit/011623a7daaa4e5215178073e3a0aeb2e760b2a9"><code>011623a</code></a>
Fix dts files</li>
<li><a
href="https://github.com/colinhacks/zod/commit/289cba3b95e522b9c66611b94c218bcdfe8566b2"><code>289cba3</code></a>
Fix type inference in ZodMiniType check method (<a
href="https://redirect.github.com/colinhacks/zod/issues/4568">#4568</a>)</li>
<li><a
href="https://github.com/colinhacks/zod/commit/f8fef45cfa813412beecadfbbe9d6df09ac33a86"><code>f8fef45</code></a>
Ecosystem: Add Express Zod API (<a
href="https://redirect.github.com/colinhacks/zod/issues/4579">#4579</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/colinhacks/zod/compare/v3.25.42...v3.25.45">compare
view</a></li>
</ul>
</details>
<br />
<details>
<summary>Most Recent Ignore Conditions Applied to This Pull
Request</summary>
| Dependency Name | Ignore Conditions |
| --- | --- |
| zod | [>= 3.10.1.a, < 3.10.2] |
</details>
[](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>
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced a new helper to retrieve example values from schemas,
improving consistency in how examples are accessed across the library.
- **Bug Fixes**
- Improved compatibility with recent Zod updates, ensuring restored and
updated example handling in schemas.
- **Documentation**
- Updated changelog with detailed notes on compatibility improvements
and restored helpers.
- **Tests**
- Added comprehensive tests for the new example retrieval helper to
ensure correct behavior in various scenarios.
- **Chores**
- Upgraded Zod dependency to the latest compatible version.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anna Bocharova <[email protected]>1 parent 9382e4b commit 116405e
17 files changed
Lines changed: 130 additions & 51 deletions
File tree
- example
- endpoints
- express-zod-api
- src
- tests
- __snapshots__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
33 | 37 | | |
34 | 38 | | |
35 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 5 | + | |
9 | 6 | | |
10 | 7 | | |
11 | 8 | | |
12 | 9 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
| 89 | + | |
91 | 90 | | |
92 | 91 | | |
93 | 92 | | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
| 96 | + | |
100 | 97 | | |
101 | 98 | | |
102 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
103 | | - | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| |||
151 | 152 | | |
152 | 153 | | |
153 | 154 | | |
154 | | - | |
155 | | - | |
156 | | - | |
| 155 | + | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
165 | 166 | | |
166 | 167 | | |
167 | | - | |
| 168 | + | |
168 | 169 | | |
169 | 170 | | |
170 | 171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
101 | 104 | | |
102 | 105 | | |
0 commit comments