Skip to content

chore(deps): bump github.com/danielgtaylor/huma/v2 from 2.37.3 to 2.39.0 in /huma in the go-dependencies group - #37

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/huma/go-dependencies-d15ad04b97
Closed

chore(deps): bump github.com/danielgtaylor/huma/v2 from 2.37.3 to 2.39.0 in /huma in the go-dependencies group#37
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/huma/go-dependencies-d15ad04b97

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 18, 2026

Copy link
Copy Markdown
Contributor

Bumps the go-dependencies group in /huma with 1 update: github.com/danielgtaylor/huma/v2.

Updates github.com/danielgtaylor/huma/v2 from 2.37.3 to 2.39.0

Release notes

Sourced from github.com/danielgtaylor/huma/v2's releases.

v2.39.0

Overview

This release adds a new framework adapter, a handful of developer-facing features, and a large batch of correctness fixes spanning SSE, the Fiber adapter, schema generation, and validation.

Echo v5 Support

The humaecho adapter now supports Echo v5 alongside the existing versions. (#959)

No More Faulty Duplicate-Schema Panics

Registering operations that use inline structs with differing field names (and an empty operation ID) previously panicked at startup on a false-positive duplicate-schema collision. Conflicting names are now auto-incremented deterministically (Request, Request1, Request2, ...), so the app starts and the generated spec stays readable. (#893)

Context Propagation to Adapters

WithContext now propagates the context directly into the underlying adapter's own context wrapper (bun, chi, echo, fiber, gin, go, httprouter) instead of relying on a generic sub-context, so cancellation and context values flow correctly through the request lifecycle. (#867)

SSE Streaming on Fiber / fasthttp

Server-Sent Events (and other streaming responses) previously failed on the Fiber adapters with unable to flush, since fasthttp doesn't implement http.Flusher. SSE now streams correctly on Fiber v2 and v3 via an internal streaming hook, with no new public API and fasthttp remaining an indirect dependency. (#1059)

More SSE Improvements

  • Response headers are now flushed before the user handler runs, so EventSource.onopen fires immediately rather than waiting for the first event (#1038)
  • Comments can now be sent over SSE streams, a common way to keep connections alive (#1054)

New Features

  • Schema.Const for pinning a schema to a single allowed value (#1004)
  • Customizable docs renderer config for finer control over the documentation UI (#1024)
  • encoding.TextUnmarshaler support for slice query parameters, matching the existing behavior for scalar params (#1021)
  • Non-file JSON form-data fields: multipart form fields tagged contentType:"application/json" are now unmarshalled and validated (#1060)

Validation & Schema Fixes

  • Integer enums no longer always fail validation on query/path parameters; numeric enum values are now compared numerically rather than by strict Go type (#1050)
  • Content-Type validation is now case-insensitive per RFC 9110, so e.g. Application/Json no longer returns 415 (#1052)
  • Path parameters are always marked required: true in the generated spec, per the OpenAPI specification (#1011)
  • Prevented a panic (and dropped response) in uniqueItems validation when array items are unhashable types, now returning 422 correctly (#1045)
  • The json:",inline" tag is now honored for embedding anonymous fields in schemas (#1006)
  • Hidden route schemas are no longer leaked into the generated spec (#1032)

Adapter & Robustness Fixes

  • humafiber (v2): corrected EachHeader iteration (it previously invoked the callback once per byte, breaking cookie reads) and switched BodyReader to Body() for automatic request-body decompression (#1058)
  • autopatch: prevented chi route-context reuse from recursing internal GET sub-requests back into the generated PATCH handler and panicking (#1049)
  • Fixed a URL parsing panic in getAPIPrefix when server URLs contain template variables like {port} or {version} (#1027)
  • The read deadline is now cleared after the request body is read, so a slow handler can't cause a background read to time out and cancel the connection context (#1028)

Docs UI & Documentation

  • Forms are now permitted in the docs UI CSP (#1036)
  • Added allow-downloads to the Stoplight CSP so the Export button works (#1048)
  • Updated Restish references to v2 (#1041)

What's Changed

... (truncated)

Commits
  • d6f2a37 feat(form-data): handle unmarshalling and validation of non-file JSON form da...
  • 214a18c fix: avoid faulty duplicate detection (#893)
  • 4e53fef fix: prevent panic in uniqueItems validation for unhashable types (#1042) (#1...
  • a8a668c fix(sse): support streaming responses on Fiber/fasthttp adapters (#1059)
  • 6cc787b Support sending comments with SSE (#1054)
  • da460b9 feat: propagate context to adapters on WithContext (#867)
  • fcd9058 fix(humafiber): correct Fiber v2 EachHeader iteration and body decompression ...
  • 770e618 fix: content type validation should be case insensitive (#1052)
  • fd8148e fix: compare numeric enum values numerically (#1050)
  • 93b5a32 fix: support json inline tag for embedding anonymous fields in schema (#1006)
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the go-dependencies group in /huma with 1 update: [github.com/danielgtaylor/huma/v2](https://github.com/danielgtaylor/huma).


Updates `github.com/danielgtaylor/huma/v2` from 2.37.3 to 2.39.0
- [Release notes](https://github.com/danielgtaylor/huma/releases)
- [Commits](danielgtaylor/huma@v2.37.3...v2.39.0)

---
updated-dependencies:
- dependency-name: github.com/danielgtaylor/huma/v2
  dependency-version: 2.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update dependencies go Pull requests that update go code labels Jul 18, 2026
@dependabot
dependabot Bot requested a review from junioryono as a code owner July 18, 2026 18:22
@dependabot dependabot Bot added dependencies Pull requests that update dependencies go Pull requests that update go code labels Jul 18, 2026
@github-actions github-actions Bot added the type: maintenance Refactoring, dependencies, or chores label Jul 18, 2026
@dependabot @github

dependabot Bot commented on behalf of github Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

Looks like github.com/danielgtaylor/huma/v2 is updatable in another way, so this is no longer needed.

@dependabot dependabot Bot closed this Aug 20, 2026
@dependabot
dependabot Bot deleted the dependabot/go_modules/huma/go-dependencies-d15ad04b97 branch August 20, 2026 04:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update dependencies go Pull requests that update go code type: maintenance Refactoring, dependencies, or chores

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants