fix(deps): update module github.com/gin-gonic/gin to v1.12.0 #314

Merged
nemunaire merged 1 commit from renovate/github.com-gin-gonic-gin-1.x into master 2026-03-19 03:25:21 +00:00
Collaborator

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 - At any time (no schedule defined), 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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Adoption](https://docs.renovatebot.com/merge-confidence/) | [Passing](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---|---|---| | [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) | `v1.11.0` → `v1.12.0` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgin-gonic%2fgin/v1.12.0?slim=true) | ![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgin-gonic%2fgin/v1.12.0?slim=true) | ![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgin-gonic%2fgin/v1.11.0/v1.12.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgin-gonic%2fgin/v1.11.0/v1.12.0?slim=true) | --- ### 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**: 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. --- - [ ] <!-- 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-->
fix(deps): update module github.com/gin-gonic/gin to v1.12.0
Some checks are pending
continuous-integration/drone/push Build is pending
dbefeb35d3
renovate-bot scheduled this pull request to auto merge when all checks succeed 2026-03-01 13:58:13 +00:00
nemunaire merged commit dbefeb35d3 into master 2026-03-19 03:25:21 +00:00
nemunaire deleted branch renovate/github.com-gin-gonic-gin-1.x 2026-03-19 03:25:21 +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/reveil!314
No description provided.