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

Merged
renovate[bot] merged 1 commit from renovate/all-minor-patch into main 2026-04-01 19:30:46 +00:00
renovate[bot] commented 2026-02-28 12:52:38 +00:00 (Migrated from github.com)

This PR contains the following updates:

Package Change Age Confidence
github.com/gin-gonic/gin v1.11.0 → v1.12.0 age 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: 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 was generated by Mend Renovate. View the repository job log.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/gin-gonic/gin](https://redirect.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) | ![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://redirect.github.com/gin-gonic/gin/blob/HEAD/CHANGELOG.md#Gin-v1120) [Compare Source](https://redirect.github.com/gin-gonic/gin/compare/v1.11.0...v1.12.0) ##### Features - feat(render): add bson protocol ([#&#8203;4145](https://redirect.github.com/gin-gonic/gin/pull/4145)) - feat(context): add GetError and GetErrorSlice methods for error retrieval ([#&#8203;4502](https://redirect.github.com/gin-gonic/gin/pull/4502)) - feat(binding): add support for encoding.UnmarshalText in uri/query binding ([#&#8203;4203](https://redirect.github.com/gin-gonic/gin/pull/4203)) - feat(gin): add option to use escaped path ([#&#8203;4420](https://redirect.github.com/gin-gonic/gin/pull/4420)) - feat(context): add Protocol Buffers support to content negotiation ([#&#8203;4423](https://redirect.github.com/gin-gonic/gin/pull/4423)) - feat(context): implemented Delete method ([#&#8203;38e7651](https://redirect.github.com/gin-gonic/gin/commit/38e7651)) - feat(logger): color latency ([#&#8203;4146](https://redirect.github.com/gin-gonic/gin/pull/4146)) ##### Enhancements - perf(tree): reduce allocations in findCaseInsensitivePath ([#&#8203;4417](https://redirect.github.com/gin-gonic/gin/pull/4417)) - perf(recovery): optimize line reading in stack function ([#&#8203;4466](https://redirect.github.com/gin-gonic/gin/pull/4466)) - perf(path): replace regex with custom functions in redirectTrailingSlash ([#&#8203;4414](https://redirect.github.com/gin-gonic/gin/pull/4414)) - perf(tree): optimize path parsing using strings.Count ([#&#8203;4246](https://redirect.github.com/gin-gonic/gin/pull/4246)) - chore(logger): allow skipping query string output ([#&#8203;4547](https://redirect.github.com/gin-gonic/gin/pull/4547)) - chore(context): always trust xff headers from unix socket ([#&#8203;3359](https://redirect.github.com/gin-gonic/gin/pull/3359)) - chore(response): prevent Flush() panic when the underlying ResponseWriter does not implement `http.Flusher` ([#&#8203;4479](https://redirect.github.com/gin-gonic/gin/pull/4479)) - refactor(recovery): smart error comparison ([#&#8203;4142](https://redirect.github.com/gin-gonic/gin/pull/4142)) - refactor(context): replace hardcoded localhost IPs with constants ([#&#8203;4481](https://redirect.github.com/gin-gonic/gin/pull/4481)) - refactor(utils): move util functions to utils.go ([#&#8203;4467](https://redirect.github.com/gin-gonic/gin/pull/4467)) - refactor(binding): use maps.Copy for cleaner map handling ([#&#8203;4352](https://redirect.github.com/gin-gonic/gin/pull/4352)) - refactor(context): using maps.Clone ([#&#8203;4333](https://redirect.github.com/gin-gonic/gin/pull/4333)) - refactor(ginS): use sync.OnceValue to simplify engine function ([#&#8203;4314](https://redirect.github.com/gin-gonic/gin/pull/4314)) - refactor: replace magic numbers with named constants in bodyAllowedForStatus ([#&#8203;4529](https://redirect.github.com/gin-gonic/gin/pull/4529)) - refactor: for loop can be modernized using range over int ([#&#8203;4392](https://redirect.github.com/gin-gonic/gin/pull/4392)) ##### Bug Fixes - fix(tree): panic in findCaseInsensitivePathRec with RedirectFixedPath ([#&#8203;4535](https://redirect.github.com/gin-gonic/gin/pull/4535)) - fix(render): write content length in Data.Render ([#&#8203;4206](https://redirect.github.com/gin-gonic/gin/pull/4206)) - fix(context): ClientIP handling for multiple X-Forwarded-For header values ([#&#8203;4472](https://redirect.github.com/gin-gonic/gin/pull/4472)) - fix(binding): empty value error ([#&#8203;2169](https://redirect.github.com/gin-gonic/gin/pull/2169)) - fix(recover): suppress http.ErrAbortHandler in recover ([#&#8203;4336](https://redirect.github.com/gin-gonic/gin/pull/4336)) - fix(gin): literal colon routes not working with engine.Handler() ([#&#8203;4415](https://redirect.github.com/gin-gonic/gin/pull/4415)) - fix(gin): close os.File in RunFd to prevent resource leak ([#&#8203;4422](https://redirect.github.com/gin-gonic/gin/pull/4422)) - fix(response): refine hijack behavior for response lifecycle ([#&#8203;4373](https://redirect.github.com/gin-gonic/gin/pull/4373)) - fix(binding): improve empty slice/array handling in form binding ([#&#8203;4380](https://redirect.github.com/gin-gonic/gin/pull/4380)) - fix(debug): version mismatch ([#&#8203;4403](https://redirect.github.com/gin-gonic/gin/pull/4403)) - fix: correct typos, improve documentation clarity, and remove dead code ([#&#8203;4511](https://redirect.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://redirect.github.com/gin-gonic/gin/pull/4550)) - chore(binding): upgrade bson dependency to mongo-driver v2 ([#&#8203;4549](https://redirect.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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/sarumaj/restartable-server). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My40My4yIiwidXBkYXRlZEluVmVyIjoiNDMuNDMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
renovate[bot] commented 2026-02-28 12:52:38 +00:00 (Migrated from github.com)

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

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

Details:

Package Change
go 1.21.1 -> 1.25.0
github.com/bytedance/sonic v1.11.6 -> v1.15.0
github.com/bytedance/sonic/loader v0.1.1 -> v0.5.0
github.com/cloudwego/base64x v0.1.4 -> v0.1.6
github.com/gabriel-vasile/mimetype v1.4.3 -> v1.4.12
github.com/gin-contrib/sse v0.1.0 -> v1.1.0
github.com/go-playground/validator/v10 v10.20.0 -> v10.30.1
github.com/goccy/go-json v0.10.2 -> v0.10.5
github.com/klauspost/cpuid/v2 v2.2.7 -> v2.3.0
github.com/pelletier/go-toml/v2 v2.2.2 -> v2.2.4
github.com/ugorji/go/codec v1.2.12 -> v1.3.1
golang.org/x/arch v0.8.0 -> v0.22.0
golang.org/x/crypto v0.23.0 -> v0.48.0
golang.org/x/net v0.25.0 -> v0.51.0
golang.org/x/sys v0.20.0 -> v0.41.0
golang.org/x/text v0.15.0 -> v0.34.0
google.golang.org/protobuf v1.34.1 -> 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): - 16 additional dependencies were updated - The `go` directive was updated for compatibility reasons Details: | **Package** | **Change** | | :--------------------------------------- | :----------------------- | | `go` | `1.21.1` -> `1.25.0` | | `github.com/bytedance/sonic` | `v1.11.6` -> `v1.15.0` | | `github.com/bytedance/sonic/loader` | `v0.1.1` -> `v0.5.0` | | `github.com/cloudwego/base64x` | `v0.1.4` -> `v0.1.6` | | `github.com/gabriel-vasile/mimetype` | `v1.4.3` -> `v1.4.12` | | `github.com/gin-contrib/sse` | `v0.1.0` -> `v1.1.0` | | `github.com/go-playground/validator/v10` | `v10.20.0` -> `v10.30.1` | | `github.com/goccy/go-json` | `v0.10.2` -> `v0.10.5` | | `github.com/klauspost/cpuid/v2` | `v2.2.7` -> `v2.3.0` | | `github.com/pelletier/go-toml/v2` | `v2.2.2` -> `v2.2.4` | | `github.com/ugorji/go/codec` | `v1.2.12` -> `v1.3.1` | | `golang.org/x/arch` | `v0.8.0` -> `v0.22.0` | | `golang.org/x/crypto` | `v0.23.0` -> `v0.48.0` | | `golang.org/x/net` | `v0.25.0` -> `v0.51.0` | | `golang.org/x/sys` | `v0.20.0` -> `v0.41.0` | | `golang.org/x/text` | `v0.15.0` -> `v0.34.0` | | `google.golang.org/protobuf` | `v1.34.1` -> `v1.36.10` |
Sign in to join this conversation.
No description provided.