Update module github.com/gin-gonic/gin to v1.12.0 #51

Merged
nemunaire merged 1 commit from renovate/github.com-gin-gonic-gin-1.x into master 2026-03-16 05:00:43 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
github.com/gin-gonic/gin require minor v1.11.0v1.12.0

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 - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) | require | minor | `v1.11.0` → `v1.12.0` | --- ### Release Notes <details> <summary>gin-gonic/gin (github.com/gin-gonic/gin)</summary> ### [`v1.12.0`](https://github.com/gin-gonic/gin/blob/HEAD/CHANGELOG.md#Gin-v1120) [Compare Source](https://github.com/gin-gonic/gin/compare/v1.11.0...v1.12.0) ##### Features - feat(render): add bson protocol ([#&#8203;4145](https://github.com/gin-gonic/gin/pull/4145)) - feat(context): add GetError and GetErrorSlice methods for error retrieval ([#&#8203;4502](https://github.com/gin-gonic/gin/pull/4502)) - feat(binding): add support for encoding.UnmarshalText in uri/query binding ([#&#8203;4203](https://github.com/gin-gonic/gin/pull/4203)) - feat(gin): add option to use escaped path ([#&#8203;4420](https://github.com/gin-gonic/gin/pull/4420)) - feat(context): add Protocol Buffers support to content negotiation ([#&#8203;4423](https://github.com/gin-gonic/gin/pull/4423)) - feat(context): implemented Delete method ([#&#8203;38e7651](https://github.com/gin-gonic/gin/commit/38e7651)) - feat(logger): color latency ([#&#8203;4146](https://github.com/gin-gonic/gin/pull/4146)) ##### Enhancements - perf(tree): reduce allocations in findCaseInsensitivePath ([#&#8203;4417](https://github.com/gin-gonic/gin/pull/4417)) - perf(recovery): optimize line reading in stack function ([#&#8203;4466](https://github.com/gin-gonic/gin/pull/4466)) - perf(path): replace regex with custom functions in redirectTrailingSlash ([#&#8203;4414](https://github.com/gin-gonic/gin/pull/4414)) - perf(tree): optimize path parsing using strings.Count ([#&#8203;4246](https://github.com/gin-gonic/gin/pull/4246)) - chore(logger): allow skipping query string output ([#&#8203;4547](https://github.com/gin-gonic/gin/pull/4547)) - chore(context): always trust xff headers from unix socket ([#&#8203;3359](https://github.com/gin-gonic/gin/pull/3359)) - chore(response): prevent Flush() panic when the underlying ResponseWriter does not implement `http.Flusher` ([#&#8203;4479](https://github.com/gin-gonic/gin/pull/4479)) - refactor(recovery): smart error comparison ([#&#8203;4142](https://github.com/gin-gonic/gin/pull/4142)) - refactor(context): replace hardcoded localhost IPs with constants ([#&#8203;4481](https://github.com/gin-gonic/gin/pull/4481)) - refactor(utils): move util functions to utils.go ([#&#8203;4467](https://github.com/gin-gonic/gin/pull/4467)) - refactor(binding): use maps.Copy for cleaner map handling ([#&#8203;4352](https://github.com/gin-gonic/gin/pull/4352)) - refactor(context): using maps.Clone ([#&#8203;4333](https://github.com/gin-gonic/gin/pull/4333)) - refactor(ginS): use sync.OnceValue to simplify engine function ([#&#8203;4314](https://github.com/gin-gonic/gin/pull/4314)) - refactor: replace magic numbers with named constants in bodyAllowedForStatus ([#&#8203;4529](https://github.com/gin-gonic/gin/pull/4529)) - refactor: for loop can be modernized using range over int ([#&#8203;4392](https://github.com/gin-gonic/gin/pull/4392)) ##### Bug Fixes - fix(tree): panic in findCaseInsensitivePathRec with RedirectFixedPath ([#&#8203;4535](https://github.com/gin-gonic/gin/pull/4535)) - fix(render): write content length in Data.Render ([#&#8203;4206](https://github.com/gin-gonic/gin/pull/4206)) - fix(context): ClientIP handling for multiple X-Forwarded-For header values ([#&#8203;4472](https://github.com/gin-gonic/gin/pull/4472)) - fix(binding): empty value error ([#&#8203;2169](https://github.com/gin-gonic/gin/pull/2169)) - fix(recover): suppress http.ErrAbortHandler in recover ([#&#8203;4336](https://github.com/gin-gonic/gin/pull/4336)) - fix(gin): literal colon routes not working with engine.Handler() ([#&#8203;4415](https://github.com/gin-gonic/gin/pull/4415)) - fix(gin): close os.File in RunFd to prevent resource leak ([#&#8203;4422](https://github.com/gin-gonic/gin/pull/4422)) - fix(response): refine hijack behavior for response lifecycle ([#&#8203;4373](https://github.com/gin-gonic/gin/pull/4373)) - fix(binding): improve empty slice/array handling in form binding ([#&#8203;4380](https://github.com/gin-gonic/gin/pull/4380)) - fix(debug): version mismatch ([#&#8203;4403](https://github.com/gin-gonic/gin/pull/4403)) - fix: correct typos, improve documentation clarity, and remove dead code ([#&#8203;4511](https://github.com/gin-gonic/gin/pull/4511)) ##### Build process updates / CI - ci: update Go version support to 1.25+ across CI and docs ([#&#8203;4550](https://github.com/gin-gonic/gin/pull/4550)) - chore(binding): upgrade bson dependency to mongo-driver v2 ([#&#8203;4549](https://github.com/gin-gonic/gin/pull/4549)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi43Mi4wIiwidXBkYXRlZEluVmVyIjoiNDIuNzIuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
Update module github.com/gin-gonic/gin to v1.12.0
All checks were successful
continuous-integration/drone/push Build is passing
09355b662e
Author
Collaborator

ℹ️ 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):

  • 13 additional dependencies were updated

Details:

Package Change
github.com/bytedance/sonic v1.14.0 -> v1.15.0
github.com/bytedance/sonic/loader v0.3.0 -> v0.5.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.2 -> v0.10.5
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/ugorji/go/codec v1.3.0 -> v1.3.1
go.uber.org/mock v0.5.0 -> v0.6.0
golang.org/x/arch v0.20.0 -> v0.22.0
golang.org/x/net v0.50.0 -> v0.51.0
google.golang.org/protobuf v1.36.9 -> v1.36.10
### ℹ️ 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): - 13 additional dependencies were updated Details: | **Package** | **Change** | | :--------------------------------------- | :----------------------- | | `github.com/bytedance/sonic` | `v1.14.0` -> `v1.15.0` | | `github.com/bytedance/sonic/loader` | `v0.3.0` -> `v0.5.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.2` -> `v0.10.5` | | `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/ugorji/go/codec` | `v1.3.0` -> `v1.3.1` | | `go.uber.org/mock` | `v0.5.0` -> `v0.6.0` | | `golang.org/x/arch` | `v0.20.0` -> `v0.22.0` | | `golang.org/x/net` | `v0.50.0` -> `v0.51.0` | | `google.golang.org/protobuf` | `v1.36.9` -> `v1.36.10` |
renovate-bot force-pushed renovate/github.com-gin-gonic-gin-1.x from 09355b662e
All checks were successful
continuous-integration/drone/push Build is passing
to bf22495137
All checks were successful
continuous-integration/drone/push Build is passing
2026-03-16 01:19:43 +00:00
Compare
nemunaire merged commit bf22495137 into master 2026-03-16 05:00:43 +00:00
nemunaire deleted branch renovate/github.com-gin-gonic-gin-1.x 2026-03-16 05:00:43 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nemunaire/idfm-api!51
No description provided.