Commit 0af9ee0
authored
build(deps): bump github.com/danielgtaylor/huma/v2 from 2.34.1 to 2.35.0 (#905)
Bumps
[github.com/danielgtaylor/huma/v2](https://github.com/danielgtaylor/huma)
from 2.34.1 to 2.35.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/danielgtaylor/huma/releases">github.com/danielgtaylor/huma/v2's
releases</a>.</em></p>
<blockquote>
<h2>v2.35.0</h2>
<h2>Overview</h2>
<p><em>Moved this release as it was incorrectly tagged as
v2.34.3.</em></p>
<h3>Improved Error Messaging for Form Pointers</h3>
<p>Pointer panic messages now explicitly include “Form” where
applicable, making debugging clearer and resolving <a
href="https://redirect.github.com/danielgtaylor/huma/issues/892">#892</a>.</p>
<h3>Expanded String Format Support</h3>
<p>Added support for <code>duration</code> and <code>idn-hostname</code>
string formats, improving schema expressiveness and validation
coverage.</p>
<h3>Header Parsing Fix</h3>
<p>Fixed several subtle issues in header detection that occurred when
output fields were slices, arrays, or maps, which could cause headers
(notably []*http.Cookie) to be incorrectly applied or documented. The
parsing logic now correctly inspects the root type of collection fields
and adds support for hidden headers, allowing them to be excluded from
generated OpenAPI documentation. These changes resolve multiple
long-standing documentation and serialization bugs without introducing
new behavior.</p>
<h2>What's Changed</h2>
<ul>
<li>fix: include “Form” in pointer panic message (fixes <a
href="https://redirect.github.com/danielgtaylor/huma/issues/892">#892</a>)
by <a href="https://github.com/wolveix"><code>@wolveix</code></a> in <a
href="https://redirect.github.com/danielgtaylor/huma/pull/938">danielgtaylor/huma#938</a></li>
<li>feat: support duration and IDN-hostname string formats by <a
href="https://github.com/wolveix"><code>@wolveix</code></a> in <a
href="https://redirect.github.com/danielgtaylor/huma/pull/939">danielgtaylor/huma#939</a></li>
<li>docs: add simple HTML docs by <a
href="https://github.com/wolveix"><code>@wolveix</code></a> in <a
href="https://redirect.github.com/danielgtaylor/huma/pull/941">danielgtaylor/huma#941</a></li>
<li>fix: header parsing by <a
href="https://github.com/wolveix"><code>@wolveix</code></a> in <a
href="https://redirect.github.com/danielgtaylor/huma/pull/944">danielgtaylor/huma#944</a></li>
<li>perf(schema): optimize convertType with fast paths for compatible
types by <a href="https://github.com/baagod"><code>@baagod</code></a>
in <a
href="https://redirect.github.com/danielgtaylor/huma/pull/931">danielgtaylor/huma#931</a></li>
<li>Added exhaustive error code wrappers by <a
href="https://github.com/rhodeon"><code>@rhodeon</code></a> in <a
href="https://redirect.github.com/danielgtaylor/huma/pull/876">danielgtaylor/huma#876</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/baagod"><code>@baagod</code></a> made
their first contribution in <a
href="https://redirect.github.com/danielgtaylor/huma/pull/931">danielgtaylor/huma#931</a></li>
<li><a href="https://github.com/rhodeon"><code>@rhodeon</code></a> made
their first contribution in <a
href="https://redirect.github.com/danielgtaylor/huma/pull/876">danielgtaylor/huma#876</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/danielgtaylor/huma/compare/v2.34.2...v2.35.0">https://github.com/danielgtaylor/huma/compare/v2.34.2...v2.34.3</a></p>
<h2>v2.34.2</h2>
<h2>Overview</h2>
<h3>TLS-Aware URL Scheme Detection</h3>
<p>Huma now correctly uses the <code>https</code> URL scheme when TLS is
configured, and <code>http</code> when it is not. Previously, the scheme
detection could be incorrect in certain scenarios.</p>
<h3>Time Wrapper Parsing Fix</h3>
<p>Fixed an issue where time wrapper types failed to parse correctly,
resolving <a
href="https://redirect.github.com/danielgtaylor/huma/issues/844">#844</a>.</p>
<h2>What's Changed</h2>
<ul>
<li>fix: correct example format for tags in Pet struct by <a
href="https://github.com/vikyw89"><code>@vikyw89</code></a> in <a
href="https://redirect.github.com/danielgtaylor/huma/pull/858">danielgtaylor/huma#858</a></li>
<li>docs: add links to hire me by <a
href="https://github.com/danielgtaylor"><code>@danielgtaylor</code></a>
in <a
href="https://redirect.github.com/danielgtaylor/huma/pull/869">danielgtaylor/huma#869</a></li>
<li>Revert "docs: add links to hire me" by <a
href="https://github.com/danielgtaylor"><code>@danielgtaylor</code></a>
in <a
href="https://redirect.github.com/danielgtaylor/huma/pull/890">danielgtaylor/huma#890</a></li>
<li>chore(deps): bump github.com/gofiber/fiber/v2 from 2.52.7 to 2.52.9
by <a
href="https://github.com/dependabot"><code>@dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/danielgtaylor/huma/pull/882">danielgtaylor/huma#882</a></li>
<li>Fix code samples in the response output documentation by <a
href="https://github.com/prnvbn"><code>@prnvbn</code></a> in <a
href="https://redirect.github.com/danielgtaylor/huma/pull/927">danielgtaylor/huma#927</a></li>
<li>fix: use "http" URL scheme only if no TLS is used by <a
href="https://github.com/leonklingele"><code>@leonklingele</code></a>
in <a
href="https://redirect.github.com/danielgtaylor/huma/pull/905">danielgtaylor/huma#905</a></li>
<li>fix: failed to parse time wrapper, close <a
href="https://redirect.github.com/danielgtaylor/huma/issues/844">#844</a>
by <a href="https://github.com/zhenzou"><code>@zhenzou</code></a> in <a
href="https://redirect.github.com/danielgtaylor/huma/pull/924">danielgtaylor/huma#924</a></li>
<li>Minor linting/formatting by <a
href="https://github.com/wolveix"><code>@wolveix</code></a> in <a
href="https://redirect.github.com/danielgtaylor/huma/pull/936">danielgtaylor/huma#936</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/vikyw89"><code>@vikyw89</code></a> made
their first contribution in <a
href="https://redirect.github.com/danielgtaylor/huma/pull/858">danielgtaylor/huma#858</a></li>
<li><a href="https://github.com/prnvbn"><code>@prnvbn</code></a> made
their first contribution in <a
href="https://redirect.github.com/danielgtaylor/huma/pull/927">danielgtaylor/huma#927</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/danielgtaylor/huma/commit/c24cd0713de3a8097f73db43733a8369723de32f"><code>c24cd07</code></a>
Added wrappers for the remaining error codes defined in the standard
library....</li>
<li><a
href="https://github.com/danielgtaylor/huma/commit/b4a4ec85cae82f0100328723fd3e779488053466"><code>b4a4ec8</code></a>
perf(schema): optimize convertType with fast paths for compatible types
(<a
href="https://redirect.github.com/danielgtaylor/huma/issues/931">#931</a>)</li>
<li><a
href="https://github.com/danielgtaylor/huma/commit/88c6cda0a475a83c8bd1697b7010ce7913d9586b"><code>88c6cda</code></a>
Fix Header Parsing (<a
href="https://redirect.github.com/danielgtaylor/huma/issues/944">#944</a>)</li>
<li><a
href="https://github.com/danielgtaylor/huma/commit/0814e6f6501bb0e3563ae438d33f34e3a4c96bcd"><code>0814e6f</code></a>
Simple HTML docs (<a
href="https://redirect.github.com/danielgtaylor/huma/issues/941">#941</a>)</li>
<li><a
href="https://github.com/danielgtaylor/huma/commit/1cd5c26aec0fc2554a4f9116786982386e988d53"><code>1cd5c26</code></a>
Support Duration and IDN-Hostname String Formats (<a
href="https://redirect.github.com/danielgtaylor/huma/issues/939">#939</a>)</li>
<li><a
href="https://github.com/danielgtaylor/huma/commit/e78584eeb0afb553ef51635fa1077031598e1633"><code>e78584e</code></a>
Include form in pointer panic message (<a
href="https://redirect.github.com/danielgtaylor/huma/issues/938">#938</a>)</li>
<li><a
href="https://github.com/danielgtaylor/huma/commit/027984237b8f10d526141f67fb0b6e96f7ec1bb1"><code>0279842</code></a>
Minor linting/formatting (<a
href="https://redirect.github.com/danielgtaylor/huma/issues/936">#936</a>)</li>
<li><a
href="https://github.com/danielgtaylor/huma/commit/f30901ce0689b006f1743d798a241659addc9065"><code>f30901c</code></a>
fix: failed to parse time wrapper, close <a
href="https://redirect.github.com/danielgtaylor/huma/issues/844">#844</a>
(<a
href="https://redirect.github.com/danielgtaylor/huma/issues/924">#924</a>)</li>
<li><a
href="https://github.com/danielgtaylor/huma/commit/57b362553da3d4d396e6779c1e96df120b3cc26d"><code>57b3625</code></a>
fix: use "http" URL scheme only if no TLS is used (<a
href="https://redirect.github.com/danielgtaylor/huma/issues/905">#905</a>)</li>
<li><a
href="https://github.com/danielgtaylor/huma/commit/1f43b55a213aa0423d3b1b1a53cf2aa8e10782fc"><code>1f43b55</code></a>
Merge pull request <a
href="https://redirect.github.com/danielgtaylor/huma/issues/927">#927</a>
from prnvbn/patch-1</li>
<li>Additional commits viewable in <a
href="https://github.com/danielgtaylor/huma/compare/v2.34.1...v2.35.0">compare
view</a></li>
</ul>
</details>
<br />
[](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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent fc88cf0 commit 0af9ee0
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments