Skip to content

chore(deps): update github.com/gin-gonic/gin to v1.12.0#165

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/github.com-gin-gonic-gin-1.x
Open

chore(deps): update github.com/gin-gonic/gin to v1.12.0#165
renovate[bot] wants to merge 1 commit intomainfrom
renovate/github.com-gin-gonic-gin-1.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 8, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/gin-gonic/gin v1.11.0v1.12.0 age adoption passing confidence

Release Notes

gin-gonic/gin (github.com/gin-gonic/gin)

v1.12.0

Compare Source

Features
  • feat(render): add bson protocol (#​4145)
  • feat(context): add GetError and GetErrorSlice methods for error retrieval (#​4502)
  • feat(binding): add support for encoding.UnmarshalText in uri/query binding (#​4203)
  • feat(gin): add option to use escaped path (#​4420)
  • feat(context): add Protocol Buffers support to content negotiation (#​4423)
  • feat(context): implemented Delete method (#​38e7651)
  • feat(logger): color latency (#​4146)
Enhancements
  • perf(tree): reduce allocations in findCaseInsensitivePath (#​4417)
  • perf(recovery): optimize line reading in stack function (#​4466)
  • perf(path): replace regex with custom functions in redirectTrailingSlash (#​4414)
  • perf(tree): optimize path parsing using strings.Count (#​4246)
  • chore(logger): allow skipping query string output (#​4547)
  • chore(context): always trust xff headers from unix socket (#​3359)
  • chore(response): prevent Flush() panic when the underlying ResponseWriter does not implement http.Flusher (#​4479)
  • refactor(recovery): smart error comparison (#​4142)
  • refactor(context): replace hardcoded localhost IPs with constants (#​4481)
  • refactor(utils): move util functions to utils.go (#​4467)
  • refactor(binding): use maps.Copy for cleaner map handling (#​4352)
  • refactor(context): using maps.Clone (#​4333)
  • refactor(ginS): use sync.OnceValue to simplify engine function (#​4314)
  • refactor: replace magic numbers with named constants in bodyAllowedForStatus (#​4529)
  • refactor: for loop can be modernized using range over int (#​4392)
Bug Fixes
  • fix(tree): panic in findCaseInsensitivePathRec with RedirectFixedPath (#​4535)
  • fix(render): write content length in Data.Render (#​4206)
  • fix(context): ClientIP handling for multiple X-Forwarded-For header values (#​4472)
  • fix(binding): empty value error (#​2169)
  • fix(recover): suppress http.ErrAbortHandler in recover (#​4336)
  • fix(gin): literal colon routes not working with engine.Handler() (#​4415)
  • fix(gin): close os.File in RunFd to prevent resource leak (#​4422)
  • fix(response): refine hijack behavior for response lifecycle (#​4373)
  • fix(binding): improve empty slice/array handling in form binding (#​4380)
  • fix(debug): version mismatch (#​4403)
  • fix: correct typos, improve documentation clarity, and remove dead code (#​4511)
Build process updates / CI
  • ci: update Go version support to 1.25+ across CI and docs (#​4550)
  • chore(binding): upgrade bson dependency to mongo-driver v2 (#​4549)

Configuration

📅 Schedule: Branch creation - "after 2pm on sunday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Mar 8, 2026

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 20 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.23.0 -> 1.25.0
github.com/bytedance/sonic/loader v0.3.0 -> v0.5.0
github.com/goccy/go-yaml v1.18.0 -> v1.19.2
github.com/quic-go/qpack v0.5.1 -> v0.6.0
github.com/quic-go/quic-go v0.54.0 -> v0.59.0
github.com/xdg-go/scram v1.1.2 -> v1.2.0
go.uber.org/mock v0.5.0 -> v0.6.0
golang.org/x/mod v0.25.0 -> v0.32.0
golang.org/x/sync v0.16.0 -> v0.19.0
github.com/bytedance/sonic v1.14.0 -> v1.15.0
github.com/gabriel-vasile/mimetype v1.4.8 -> v1.4.12
github.com/go-playground/validator/v10 v10.27.0 -> v10.30.1
github.com/goccy/go-json v0.10.3 -> v0.10.5
github.com/ugorji/go/codec v1.3.0 -> v1.3.1
golang.org/x/arch v0.20.0 -> v0.22.0
golang.org/x/crypto v0.40.0 -> v0.48.0
golang.org/x/net v0.42.0 -> v0.51.0
golang.org/x/sys v0.35.0 -> v0.41.0
golang.org/x/text v0.27.0 -> v0.34.0
golang.org/x/tools v0.34.0 -> v0.41.0
google.golang.org/protobuf v1.36.9 -> v1.36.10

@renovate renovate bot added the dependencies label Mar 8, 2026
@renovate renovate bot force-pushed the renovate/github.com-gin-gonic-gin-1.x branch 2 times, most recently from dc0baf7 to d6d0e66 Compare March 9, 2026 01:58
@renovate renovate bot force-pushed the renovate/github.com-gin-gonic-gin-1.x branch from d6d0e66 to eacd0af Compare March 22, 2026 21:41
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