build(deps): Bump the go group across 1 directory with 3 updates #78

Merged
dependabot[bot] merged 2 commits from dependabot/go_modules/go-d72d732ded into main 2026-03-06 08:08:22 +00:00
dependabot[bot] commented 2026-03-02 03:07:21 +00:00 (Migrated from github.com)

Bumps the go group with 2 updates in the / directory: github.com/gin-gonic/gin and golang.org/x/oauth2.

Updates github.com/gin-gonic/gin from 1.11.0 to 1.12.0

Release notes

Sourced from github.com/gin-gonic/gin's releases.

v1.12.0

Changelog

Features

  • 192ac89eefc1c30f7c97ae48a9ffb1c6f1c8c8bc: feat(binding): add support for encoding.UnmarshalText in uri/query binding (#4203) (@​takanuva15)
  • 53410d2e07054369e0960fbe2eed97e1b9966f12: feat(context): add GetError and GetErrorSlice methods for error retrieval (#4502) (@​raju-mechatronics)
  • acc55e049e33b401e810dbd8c0d6dcb6b3ba2b05: feat(context): add Protocol Buffers support to content negotiation (#4423) (@​1911860538)
  • 38e765119241d990705169bedb5002a29ae0cbd1: feat(context): implemented Delete method (@​Spyder01)
  • 771dcc6476d7bc6abb9ec0235ecefa4d38fe6fb0: feat(gin): add option to use escaped path (#4420) (@​ldesauw)
  • 4dec17afdff48e8018c83618fbbe69fceeb2b41d: feat(logger): color latency (#4146) (@​wsyqn6)
  • d7776de7d444935ea4385999711bd6331a98fecb: feat(render): add bson protocol (#4145) (@​laurentcau)

Bug fixes

  • b917b14ff9d189f16a7492be79d123a47806ee19: fix(binding): empty value error (#2169) (@​guonaihong)
  • c3d1092b3b48addf6f9cd00fe274ec3bd14650eb: fix(binding): improve empty slice/array handling in form binding (#4380) (@​1911860538)
  • 9914178584e42458ff7d23891463a880f58c9d86: fix(context): ClientIP handling for multiple X-Forwarded-For header values (#4472) (@​Nurysso)
  • 2a794cd0b0faa7d829291375b27a3467ea972b0d: fix(debug): version mismatch (#4403) (@​zeek0x)
  • c3d5a28ed6d3849da820195b6774d212bcc038a9: fix(gin): close os.File in RunFd to prevent resource leak (#4422) (@​1911860538)
  • 5fad976b372e381312f8de69f0969f1284d229d3: fix(gin): literal colon routes not working with engine.Handler() (#4415) (@​pawannn)
  • 63dd3e60cab89c27fb66bce1423bd268d52abad1: fix(recover): suppress http.ErrAbortHandler in recover (#4336) (@​MondayCha)
  • 5c00df8afadd06cc5be530dde00fe6d9fa4a2e4a: fix(render): write content length in Data.Render (#4206) (@​dengaleev)
  • 234a6d4c00cb77af9852aca0b8289745d5529b4b: fix(response): refine hijack behavior for response lifecycle (#4373) (@​appleboy)
  • 472d086af2acd924cb4b9d7be0525f7d790f69bc: fix(tree): panic in findCaseInsensitivePathRec with RedirectFixedPath (#4535) (@​veeceey)
  • 8e07d37c63e5536eb25f4af4c91eabeee4011fba: fix: Correct typos, improve documentation clarity, and remove dead code (#4511) (@​mahanadh)

Enhancements

  • ba093d19477b896ac89a7fc3246af23d290b8e26: chore(binding): upgrade bson dependency to mongo-driver v2 (#4549) (@​BobDu)
  • b2b489dbf4826c2c630717a77fd5e42774625410: chore(context): always trust xff headers from unix socket (#3359) (@​WeidiDeng)
  • ecb3f7b5e2f3915bf1db240ed5eee572f8dbea36: chore(deps): upgrade golang.org/x/crypto to v0.45.0 (#4449) (@​appleboy)
  • af6e8b70b8261bb0c99ad094fe552ab92991620a: chore(deps): upgrade quic-go to v0.57.1 (@​appleboy)
  • db309081bc5c137b2aa15701ef53f7f19788da25: chore(logger): allow skipping query string output (#4547) (@​USA-RedDragon)
  • 26c3a628655cad2388380cb8102d6ce7d4875f3b: chore(response): prevent Flush() panic when http.Flusher (#4479) (@​Twacqwq)
  • 5dd833f1f26de0eb30eae47b17e05ced2482dc41: chore: bump minimum Go version to 1.24 and update workflows (#4388) (@​appleboy)

Refactor

  • 39858a0859c914bd26948fa950477e11bd8d3823: refactor(binding): use maps.Copy for cleaner map handling (#4352) (@​russcoss)
  • c0048f645ee945c4db30593afdea10123e2c30a6: refactor(context): omit the return value names (#4395) (@​wanghaolong613)
  • 915e4c90d28ec4cffc6eb146e208ab5a65eac772: refactor(context): replace hardcoded localhost IPs with constants (#4481) (@​pauloappbr)
  • 414de60574449457f3192a7a1d5528940db2836d: refactor(context): using maps.Clone (#4333) (@​cuiweixie)
  • 59e9d4a794f12c4f9a6c7bed441b9644e5f6d99b: refactor(ginS): use sync.OnceValue to simplify engine function (#4314) (@​1911860538)
  • 3ab698dc5110af1977d57226e4995c57dd34c233: refactor(recovery): smart error comparison (#4142) (@​zeek0x)
  • d1a15347b1e45a8ee816193d3578a93bfd73b70f: refactor(utils): move util functions to utils.go (#4467) (@​zeek0x)
  • e3118cc378d263454098924ebbde7e8d1dd2e904: refactor: for loop can be modernized using range over int (#4392) (@​wanghaolong613)
  • 488f8c3ffa579a8d19beb2bae95ff8ef36b3d53f: refactor: replace magic numbers with named constants in bodyAllowedForStatus (#4529) (@​veeceey)
  • 9968c4bf9d5a99edc3eee2c068a4c9160ece8915: refactor: use b.Loop() to simplify the code and improve performance (#4389) (@​reddaisyy)
  • a85ef5ce4d0cda8834c59c855068ed48b51192d1: refactor: use b.Loop() to simplify the code and improve performance (#4432) (@​efcking)

Build process updates

  • 61b67de522a189b568aced4c5c16917c558e3387: ci(bot): increase frequency and group updates for dependencies (#4367) (@​appleboy)
  • fb27ef26c2fdfe25344b4c039d8a53551f9e912c: ci(lint): refactor test assertions and linter configuration (#4436) (@​appleboy)
  • 93ff771e6dbf10e432864b30f3719ac5c84a4d4a: ci(sec): improve type safety and server organization in HTTP middleware (#4437) (@​appleboy)
  • e88fc8927a52b74f55bec0351604a56ac0aa1c51: ci(sec): schedule Trivy security scans to run daily at midnight UTC (#4439) (@​appleboy)
  • 5e5ff3ace496a31b138b0820136a146bfb5de0ef: ci: replace vulnerability scanning workflow with Trivy integration (#4421) (@​appleboy)
  • 00900fb3e1ea9dde33985a0e4f6afec793d5e786: ci: update CI workflows and standardize Trivy config quotes (#4531) (@​appleboy)
  • ae3f524974fc4f55d18c9e7fae4614503c015226: ci: update Go version support to 1.25+ across CI and docs (#4550) (@​appleboy)

... (truncated)

Changelog

Sourced from github.com/gin-gonic/gin's changelog.

Gin v1.12.0

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)
Commits
  • 73726dc docs: update documentation to reflect Go version changes (#4552)
  • e292e5c docs: document and finalize Gin v1.12.0 release (#4551)
  • ae3f524 ci: update Go version support to 1.25+ across CI and docs (#4550)
  • 38534e2 chore(deps): bump golang.org/x/net from 0.50.0 to 0.51.0 (#4548)
  • 472d086 fix(tree): panic in findCaseInsensitivePathRec with RedirectFixedPath (#4535)
  • fb25834 test(context): use http.StatusContinue constant instead of magic number 100 (...
  • 6f1d5fe test(render): add comprehensive error handling tests (#4541)
  • 5c00df8 fix(render): write content length in Data.Render (#4206)
  • db30908 chore(logger): allow skipping query string output (#4547)
  • ba093d1 chore(binding): upgrade bson dependency to mongo-driver v2 (#4549)
  • Additional commits viewable in compare view

Updates golang.org/x/net from 0.49.0 to 0.51.0

Commits
  • 60b3f6f internal/http3: prevent Server handler from writing longer body than declared
  • b0ca456 internal/http3: fix Write in Server Handler returning the wrong value
  • 1558ba7 publicsuffix: update to 2026-02-06
  • 4e1c745 internal/http3: make Server response include headers that can be inferred
  • 19f580f http2: fix nil panic in typeFrameParser for unassigned frame types
  • 818aad7 internal/http3: add server to client trailer header support
  • c1bbe1a internal/http3: add client to server trailer header support
  • 29181b8 all: remove go1.25 and older build constraints
  • 8109305 all: upgrade go directive to at least 1.25.0 [generated]
  • 0b37bdf quic: don't run TestStreamsCreateConcurrency in synctest bubble
  • Additional commits viewable in compare view

Updates golang.org/x/oauth2 from 0.34.0 to 0.35.0

Commits

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 group with 2 updates in the / directory: [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) and [golang.org/x/oauth2](https://github.com/golang/oauth2). Updates `github.com/gin-gonic/gin` from 1.11.0 to 1.12.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/gin-gonic/gin/releases">github.com/gin-gonic/gin's releases</a>.</em></p> <blockquote> <h2>v1.12.0</h2> <h2>Changelog</h2> <h3>Features</h3> <ul> <li>192ac89eefc1c30f7c97ae48a9ffb1c6f1c8c8bc: feat(binding): add support for encoding.UnmarshalText in uri/query binding (<a href="https://redirect.github.com/gin-gonic/gin/issues/4203">#4203</a>) (<a href="https://github.com/takanuva15"><code>@​takanuva15</code></a>)</li> <li>53410d2e07054369e0960fbe2eed97e1b9966f12: feat(context): add GetError and GetErrorSlice methods for error retrieval (<a href="https://redirect.github.com/gin-gonic/gin/issues/4502">#4502</a>) (<a href="https://github.com/raju-mechatronics"><code>@​raju-mechatronics</code></a>)</li> <li>acc55e049e33b401e810dbd8c0d6dcb6b3ba2b05: feat(context): add Protocol Buffers support to content negotiation (<a href="https://redirect.github.com/gin-gonic/gin/issues/4423">#4423</a>) (<a href="https://github.com/1911860538"><code>@​1911860538</code></a>)</li> <li>38e765119241d990705169bedb5002a29ae0cbd1: feat(context): implemented Delete method (<a href="https://github.com/Spyder01"><code>@​Spyder01</code></a>)</li> <li>771dcc6476d7bc6abb9ec0235ecefa4d38fe6fb0: feat(gin): add option to use escaped path (<a href="https://redirect.github.com/gin-gonic/gin/issues/4420">#4420</a>) (<a href="https://github.com/ldesauw"><code>@​ldesauw</code></a>)</li> <li>4dec17afdff48e8018c83618fbbe69fceeb2b41d: feat(logger): color latency (<a href="https://redirect.github.com/gin-gonic/gin/issues/4146">#4146</a>) (<a href="https://github.com/wsyqn6"><code>@​wsyqn6</code></a>)</li> <li>d7776de7d444935ea4385999711bd6331a98fecb: feat(render): add bson protocol (<a href="https://redirect.github.com/gin-gonic/gin/issues/4145">#4145</a>) (<a href="https://github.com/laurentcau"><code>@​laurentcau</code></a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>b917b14ff9d189f16a7492be79d123a47806ee19: fix(binding): empty value error (<a href="https://redirect.github.com/gin-gonic/gin/issues/2169">#2169</a>) (<a href="https://github.com/guonaihong"><code>@​guonaihong</code></a>)</li> <li>c3d1092b3b48addf6f9cd00fe274ec3bd14650eb: fix(binding): improve empty slice/array handling in form binding (<a href="https://redirect.github.com/gin-gonic/gin/issues/4380">#4380</a>) (<a href="https://github.com/1911860538"><code>@​1911860538</code></a>)</li> <li>9914178584e42458ff7d23891463a880f58c9d86: fix(context): ClientIP handling for multiple X-Forwarded-For header values (<a href="https://redirect.github.com/gin-gonic/gin/issues/4472">#4472</a>) (<a href="https://github.com/Nurysso"><code>@​Nurysso</code></a>)</li> <li>2a794cd0b0faa7d829291375b27a3467ea972b0d: fix(debug): version mismatch (<a href="https://redirect.github.com/gin-gonic/gin/issues/4403">#4403</a>) (<a href="https://github.com/zeek0x"><code>@​zeek0x</code></a>)</li> <li>c3d5a28ed6d3849da820195b6774d212bcc038a9: fix(gin): close os.File in RunFd to prevent resource leak (<a href="https://redirect.github.com/gin-gonic/gin/issues/4422">#4422</a>) (<a href="https://github.com/1911860538"><code>@​1911860538</code></a>)</li> <li>5fad976b372e381312f8de69f0969f1284d229d3: fix(gin): literal colon routes not working with engine.Handler() (<a href="https://redirect.github.com/gin-gonic/gin/issues/4415">#4415</a>) (<a href="https://github.com/pawannn"><code>@​pawannn</code></a>)</li> <li>63dd3e60cab89c27fb66bce1423bd268d52abad1: fix(recover): suppress http.ErrAbortHandler in recover (<a href="https://redirect.github.com/gin-gonic/gin/issues/4336">#4336</a>) (<a href="https://github.com/MondayCha"><code>@​MondayCha</code></a>)</li> <li>5c00df8afadd06cc5be530dde00fe6d9fa4a2e4a: fix(render): write content length in Data.Render (<a href="https://redirect.github.com/gin-gonic/gin/issues/4206">#4206</a>) (<a href="https://github.com/dengaleev"><code>@​dengaleev</code></a>)</li> <li>234a6d4c00cb77af9852aca0b8289745d5529b4b: fix(response): refine hijack behavior for response lifecycle (<a href="https://redirect.github.com/gin-gonic/gin/issues/4373">#4373</a>) (<a href="https://github.com/appleboy"><code>@​appleboy</code></a>)</li> <li>472d086af2acd924cb4b9d7be0525f7d790f69bc: fix(tree): panic in findCaseInsensitivePathRec with RedirectFixedPath (<a href="https://redirect.github.com/gin-gonic/gin/issues/4535">#4535</a>) (<a href="https://github.com/veeceey"><code>@​veeceey</code></a>)</li> <li>8e07d37c63e5536eb25f4af4c91eabeee4011fba: fix: Correct typos, improve documentation clarity, and remove dead code (<a href="https://redirect.github.com/gin-gonic/gin/issues/4511">#4511</a>) (<a href="https://github.com/mahanadh"><code>@​mahanadh</code></a>)</li> </ul> <h3>Enhancements</h3> <ul> <li>ba093d19477b896ac89a7fc3246af23d290b8e26: chore(binding): upgrade bson dependency to mongo-driver v2 (<a href="https://redirect.github.com/gin-gonic/gin/issues/4549">#4549</a>) (<a href="https://github.com/BobDu"><code>@​BobDu</code></a>)</li> <li>b2b489dbf4826c2c630717a77fd5e42774625410: chore(context): always trust xff headers from unix socket (<a href="https://redirect.github.com/gin-gonic/gin/issues/3359">#3359</a>) (<a href="https://github.com/WeidiDeng"><code>@​WeidiDeng</code></a>)</li> <li>ecb3f7b5e2f3915bf1db240ed5eee572f8dbea36: chore(deps): upgrade golang.org/x/crypto to v0.45.0 (<a href="https://redirect.github.com/gin-gonic/gin/issues/4449">#4449</a>) (<a href="https://github.com/appleboy"><code>@​appleboy</code></a>)</li> <li>af6e8b70b8261bb0c99ad094fe552ab92991620a: chore(deps): upgrade quic-go to v0.57.1 (<a href="https://github.com/appleboy"><code>@​appleboy</code></a>)</li> <li>db309081bc5c137b2aa15701ef53f7f19788da25: chore(logger): allow skipping query string output (<a href="https://redirect.github.com/gin-gonic/gin/issues/4547">#4547</a>) (<a href="https://github.com/USA-RedDragon"><code>@​USA-RedDragon</code></a>)</li> <li>26c3a628655cad2388380cb8102d6ce7d4875f3b: chore(response): prevent Flush() panic when <code>http.Flusher</code> (<a href="https://redirect.github.com/gin-gonic/gin/issues/4479">#4479</a>) (<a href="https://github.com/Twacqwq"><code>@​Twacqwq</code></a>)</li> <li>5dd833f1f26de0eb30eae47b17e05ced2482dc41: chore: bump minimum Go version to 1.24 and update workflows (<a href="https://redirect.github.com/gin-gonic/gin/issues/4388">#4388</a>) (<a href="https://github.com/appleboy"><code>@​appleboy</code></a>)</li> </ul> <h3>Refactor</h3> <ul> <li>39858a0859c914bd26948fa950477e11bd8d3823: refactor(binding): use maps.Copy for cleaner map handling (<a href="https://redirect.github.com/gin-gonic/gin/issues/4352">#4352</a>) (<a href="https://github.com/russcoss"><code>@​russcoss</code></a>)</li> <li>c0048f645ee945c4db30593afdea10123e2c30a6: refactor(context): omit the return value names (<a href="https://redirect.github.com/gin-gonic/gin/issues/4395">#4395</a>) (<a href="https://github.com/wanghaolong613"><code>@​wanghaolong613</code></a>)</li> <li>915e4c90d28ec4cffc6eb146e208ab5a65eac772: refactor(context): replace hardcoded localhost IPs with constants (<a href="https://redirect.github.com/gin-gonic/gin/issues/4481">#4481</a>) (<a href="https://github.com/pauloappbr"><code>@​pauloappbr</code></a>)</li> <li>414de60574449457f3192a7a1d5528940db2836d: refactor(context): using maps.Clone (<a href="https://redirect.github.com/gin-gonic/gin/issues/4333">#4333</a>) (<a href="https://github.com/cuiweixie"><code>@​cuiweixie</code></a>)</li> <li>59e9d4a794f12c4f9a6c7bed441b9644e5f6d99b: refactor(ginS): use sync.OnceValue to simplify engine function (<a href="https://redirect.github.com/gin-gonic/gin/issues/4314">#4314</a>) (<a href="https://github.com/1911860538"><code>@​1911860538</code></a>)</li> <li>3ab698dc5110af1977d57226e4995c57dd34c233: refactor(recovery): smart error comparison (<a href="https://redirect.github.com/gin-gonic/gin/issues/4142">#4142</a>) (<a href="https://github.com/zeek0x"><code>@​zeek0x</code></a>)</li> <li>d1a15347b1e45a8ee816193d3578a93bfd73b70f: refactor(utils): move util functions to utils.go (<a href="https://redirect.github.com/gin-gonic/gin/issues/4467">#4467</a>) (<a href="https://github.com/zeek0x"><code>@​zeek0x</code></a>)</li> <li>e3118cc378d263454098924ebbde7e8d1dd2e904: refactor: for loop can be modernized using range over int (<a href="https://redirect.github.com/gin-gonic/gin/issues/4392">#4392</a>) (<a href="https://github.com/wanghaolong613"><code>@​wanghaolong613</code></a>)</li> <li>488f8c3ffa579a8d19beb2bae95ff8ef36b3d53f: refactor: replace magic numbers with named constants in bodyAllowedForStatus (<a href="https://redirect.github.com/gin-gonic/gin/issues/4529">#4529</a>) (<a href="https://github.com/veeceey"><code>@​veeceey</code></a>)</li> <li>9968c4bf9d5a99edc3eee2c068a4c9160ece8915: refactor: use b.Loop() to simplify the code and improve performance (<a href="https://redirect.github.com/gin-gonic/gin/issues/4389">#4389</a>) (<a href="https://github.com/reddaisyy"><code>@​reddaisyy</code></a>)</li> <li>a85ef5ce4d0cda8834c59c855068ed48b51192d1: refactor: use b.Loop() to simplify the code and improve performance (<a href="https://redirect.github.com/gin-gonic/gin/issues/4432">#4432</a>) (<a href="https://github.com/efcking"><code>@​efcking</code></a>)</li> </ul> <h3>Build process updates</h3> <ul> <li>61b67de522a189b568aced4c5c16917c558e3387: ci(bot): increase frequency and group updates for dependencies (<a href="https://redirect.github.com/gin-gonic/gin/issues/4367">#4367</a>) (<a href="https://github.com/appleboy"><code>@​appleboy</code></a>)</li> <li>fb27ef26c2fdfe25344b4c039d8a53551f9e912c: ci(lint): refactor test assertions and linter configuration (<a href="https://redirect.github.com/gin-gonic/gin/issues/4436">#4436</a>) (<a href="https://github.com/appleboy"><code>@​appleboy</code></a>)</li> <li>93ff771e6dbf10e432864b30f3719ac5c84a4d4a: ci(sec): improve type safety and server organization in HTTP middleware (<a href="https://redirect.github.com/gin-gonic/gin/issues/4437">#4437</a>) (<a href="https://github.com/appleboy"><code>@​appleboy</code></a>)</li> <li>e88fc8927a52b74f55bec0351604a56ac0aa1c51: ci(sec): schedule Trivy security scans to run daily at midnight UTC (<a href="https://redirect.github.com/gin-gonic/gin/issues/4439">#4439</a>) (<a href="https://github.com/appleboy"><code>@​appleboy</code></a>)</li> <li>5e5ff3ace496a31b138b0820136a146bfb5de0ef: ci: replace vulnerability scanning workflow with Trivy integration (<a href="https://redirect.github.com/gin-gonic/gin/issues/4421">#4421</a>) (<a href="https://github.com/appleboy"><code>@​appleboy</code></a>)</li> <li>00900fb3e1ea9dde33985a0e4f6afec793d5e786: ci: update CI workflows and standardize Trivy config quotes (<a href="https://redirect.github.com/gin-gonic/gin/issues/4531">#4531</a>) (<a href="https://github.com/appleboy"><code>@​appleboy</code></a>)</li> <li>ae3f524974fc4f55d18c9e7fae4614503c015226: ci: update Go version support to 1.25+ across CI and docs (<a href="https://redirect.github.com/gin-gonic/gin/issues/4550">#4550</a>) (<a href="https://github.com/appleboy"><code>@​appleboy</code></a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md">github.com/gin-gonic/gin's changelog</a>.</em></p> <blockquote> <h2>Gin v1.12.0</h2> <h3>Features</h3> <ul> <li>feat(render): add bson protocol (<a href="https://redirect.github.com/gin-gonic/gin/pull/4145">#4145</a>)</li> <li>feat(context): add GetError and GetErrorSlice methods for error retrieval (<a href="https://redirect.github.com/gin-gonic/gin/pull/4502">#4502</a>)</li> <li>feat(binding): add support for encoding.UnmarshalText in uri/query binding (<a href="https://redirect.github.com/gin-gonic/gin/pull/4203">#4203</a>)</li> <li>feat(gin): add option to use escaped path (<a href="https://redirect.github.com/gin-gonic/gin/pull/4420">#4420</a>)</li> <li>feat(context): add Protocol Buffers support to content negotiation (<a href="https://redirect.github.com/gin-gonic/gin/pull/4423">#4423</a>)</li> <li>feat(context): implemented Delete method (<a href="https://github.com/gin-gonic/gin/commit/38e7651">#38e7651</a>)</li> <li>feat(logger): color latency (<a href="https://redirect.github.com/gin-gonic/gin/pull/4146">#4146</a>)</li> </ul> <h3>Enhancements</h3> <ul> <li>perf(tree): reduce allocations in findCaseInsensitivePath (<a href="https://redirect.github.com/gin-gonic/gin/pull/4417">#4417</a>)</li> <li>perf(recovery): optimize line reading in stack function (<a href="https://redirect.github.com/gin-gonic/gin/pull/4466">#4466</a>)</li> <li>perf(path): replace regex with custom functions in redirectTrailingSlash (<a href="https://redirect.github.com/gin-gonic/gin/pull/4414">#4414</a>)</li> <li>perf(tree): optimize path parsing using strings.Count (<a href="https://redirect.github.com/gin-gonic/gin/pull/4246">#4246</a>)</li> <li>chore(logger): allow skipping query string output (<a href="https://redirect.github.com/gin-gonic/gin/pull/4547">#4547</a>)</li> <li>chore(context): always trust xff headers from unix socket (<a href="https://redirect.github.com/gin-gonic/gin/pull/3359">#3359</a>)</li> <li>chore(response): prevent Flush() panic when the underlying ResponseWriter does not implement <code>http.Flusher</code> (<a href="https://redirect.github.com/gin-gonic/gin/pull/4479">#4479</a>)</li> <li>refactor(recovery): smart error comparison (<a href="https://redirect.github.com/gin-gonic/gin/pull/4142">#4142</a>)</li> <li>refactor(context): replace hardcoded localhost IPs with constants (<a href="https://redirect.github.com/gin-gonic/gin/pull/4481">#4481</a>)</li> <li>refactor(utils): move util functions to utils.go (<a href="https://redirect.github.com/gin-gonic/gin/pull/4467">#4467</a>)</li> <li>refactor(binding): use maps.Copy for cleaner map handling (<a href="https://redirect.github.com/gin-gonic/gin/pull/4352">#4352</a>)</li> <li>refactor(context): using maps.Clone (<a href="https://redirect.github.com/gin-gonic/gin/pull/4333">#4333</a>)</li> <li>refactor(ginS): use sync.OnceValue to simplify engine function (<a href="https://redirect.github.com/gin-gonic/gin/pull/4314">#4314</a>)</li> <li>refactor: replace magic numbers with named constants in bodyAllowedForStatus (<a href="https://redirect.github.com/gin-gonic/gin/pull/4529">#4529</a>)</li> <li>refactor: for loop can be modernized using range over int (<a href="https://redirect.github.com/gin-gonic/gin/pull/4392">#4392</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li>fix(tree): panic in findCaseInsensitivePathRec with RedirectFixedPath (<a href="https://redirect.github.com/gin-gonic/gin/pull/4535">#4535</a>)</li> <li>fix(render): write content length in Data.Render (<a href="https://redirect.github.com/gin-gonic/gin/pull/4206">#4206</a>)</li> <li>fix(context): ClientIP handling for multiple X-Forwarded-For header values (<a href="https://redirect.github.com/gin-gonic/gin/pull/4472">#4472</a>)</li> <li>fix(binding): empty value error (<a href="https://redirect.github.com/gin-gonic/gin/pull/2169">#2169</a>)</li> <li>fix(recover): suppress http.ErrAbortHandler in recover (<a href="https://redirect.github.com/gin-gonic/gin/pull/4336">#4336</a>)</li> <li>fix(gin): literal colon routes not working with engine.Handler() (<a href="https://redirect.github.com/gin-gonic/gin/pull/4415">#4415</a>)</li> <li>fix(gin): close os.File in RunFd to prevent resource leak (<a href="https://redirect.github.com/gin-gonic/gin/pull/4422">#4422</a>)</li> <li>fix(response): refine hijack behavior for response lifecycle (<a href="https://redirect.github.com/gin-gonic/gin/pull/4373">#4373</a>)</li> <li>fix(binding): improve empty slice/array handling in form binding (<a href="https://redirect.github.com/gin-gonic/gin/pull/4380">#4380</a>)</li> <li>fix(debug): version mismatch (<a href="https://redirect.github.com/gin-gonic/gin/pull/4403">#4403</a>)</li> <li>fix: correct typos, improve documentation clarity, and remove dead code (<a href="https://redirect.github.com/gin-gonic/gin/pull/4511">#4511</a>)</li> </ul> <h3>Build process updates / CI</h3> <ul> <li>ci: update Go version support to 1.25+ across CI and docs (<a href="https://redirect.github.com/gin-gonic/gin/pull/4550">#4550</a>)</li> <li>chore(binding): upgrade bson dependency to mongo-driver v2 (<a href="https://redirect.github.com/gin-gonic/gin/pull/4549">#4549</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/gin-gonic/gin/commit/73726dc606796a025971fe451f0aa6f1b9b847f6"><code>73726dc</code></a> docs: update documentation to reflect Go version changes (<a href="https://redirect.github.com/gin-gonic/gin/issues/4552">#4552</a>)</li> <li><a href="https://github.com/gin-gonic/gin/commit/e292e5caa777bce70b66fe08c94cbe9cef3e2ec9"><code>e292e5c</code></a> docs: document and finalize Gin v1.12.0 release (<a href="https://redirect.github.com/gin-gonic/gin/issues/4551">#4551</a>)</li> <li><a href="https://github.com/gin-gonic/gin/commit/ae3f524974fc4f55d18c9e7fae4614503c015226"><code>ae3f524</code></a> ci: update Go version support to 1.25+ across CI and docs (<a href="https://redirect.github.com/gin-gonic/gin/issues/4550">#4550</a>)</li> <li><a href="https://github.com/gin-gonic/gin/commit/38534e2bf98a06e1f62d6b24384e90b5f78699bf"><code>38534e2</code></a> chore(deps): bump golang.org/x/net from 0.50.0 to 0.51.0 (<a href="https://redirect.github.com/gin-gonic/gin/issues/4548">#4548</a>)</li> <li><a href="https://github.com/gin-gonic/gin/commit/472d086af2acd924cb4b9d7be0525f7d790f69bc"><code>472d086</code></a> fix(tree): panic in findCaseInsensitivePathRec with RedirectFixedPath (<a href="https://redirect.github.com/gin-gonic/gin/issues/4535">#4535</a>)</li> <li><a href="https://github.com/gin-gonic/gin/commit/fb2583442c4d9bccb75e6d26f1aa6e7c01950db6"><code>fb25834</code></a> test(context): use http.StatusContinue constant instead of magic number 100 (...</li> <li><a href="https://github.com/gin-gonic/gin/commit/6f1d5fe3cdb171a08928c3c9dd3fbcfc9ee1b521"><code>6f1d5fe</code></a> test(render): add comprehensive error handling tests (<a href="https://redirect.github.com/gin-gonic/gin/issues/4541">#4541</a>)</li> <li><a href="https://github.com/gin-gonic/gin/commit/5c00df8afadd06cc5be530dde00fe6d9fa4a2e4a"><code>5c00df8</code></a> fix(render): write content length in Data.Render (<a href="https://redirect.github.com/gin-gonic/gin/issues/4206">#4206</a>)</li> <li><a href="https://github.com/gin-gonic/gin/commit/db309081bc5c137b2aa15701ef53f7f19788da25"><code>db30908</code></a> chore(logger): allow skipping query string output (<a href="https://redirect.github.com/gin-gonic/gin/issues/4547">#4547</a>)</li> <li><a href="https://github.com/gin-gonic/gin/commit/ba093d19477b896ac89a7fc3246af23d290b8e26"><code>ba093d1</code></a> chore(binding): upgrade bson dependency to mongo-driver v2 (<a href="https://redirect.github.com/gin-gonic/gin/issues/4549">#4549</a>)</li> <li>Additional commits viewable in <a href="https://github.com/gin-gonic/gin/compare/v1.11.0...v1.12.0">compare view</a></li> </ul> </details> <br /> Updates `golang.org/x/net` from 0.49.0 to 0.51.0 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/golang/net/commit/60b3f6f8ce12def82ae597aebe9031753198f74d"><code>60b3f6f</code></a> internal/http3: prevent Server handler from writing longer body than declared</li> <li><a href="https://github.com/golang/net/commit/b0ca4561757b944abd31a55aa4dccec65dae1847"><code>b0ca456</code></a> internal/http3: fix Write in Server Handler returning the wrong value</li> <li><a href="https://github.com/golang/net/commit/1558ba78062172d9d1f7854c522b74ae29b35c20"><code>1558ba7</code></a> publicsuffix: update to 2026-02-06</li> <li><a href="https://github.com/golang/net/commit/4e1c745a707af4b9a56e5ae2a6805a99df5da1a6"><code>4e1c745</code></a> internal/http3: make Server response include headers that can be inferred</li> <li><a href="https://github.com/golang/net/commit/19f580fd686a6bb31d4af15febe789827169bc26"><code>19f580f</code></a> http2: fix nil panic in typeFrameParser for unassigned frame types</li> <li><a href="https://github.com/golang/net/commit/818aad7ad4e47b7f3a6b94e4145edb6001460ea2"><code>818aad7</code></a> internal/http3: add server to client trailer header support</li> <li><a href="https://github.com/golang/net/commit/c1bbe1a459794139a79887003b1231d55cf90af7"><code>c1bbe1a</code></a> internal/http3: add client to server trailer header support</li> <li><a href="https://github.com/golang/net/commit/29181b8c03a8e33d784696b8cf368d3d7b576a9e"><code>29181b8</code></a> all: remove go1.25 and older build constraints</li> <li><a href="https://github.com/golang/net/commit/81093053d19331b32808127ca215008e61e79b56"><code>8109305</code></a> all: upgrade go directive to at least 1.25.0 [generated]</li> <li><a href="https://github.com/golang/net/commit/0b37bdfdf0ade471acecbe8410069a34bf3d8fce"><code>0b37bdf</code></a> quic: don't run TestStreamsCreateConcurrency in synctest bubble</li> <li>Additional commits viewable in <a href="https://github.com/golang/net/compare/v0.49.0...v0.51.0">compare view</a></li> </ul> </details> <br /> Updates `golang.org/x/oauth2` from 0.34.0 to 0.35.0 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/golang/oauth2/commit/89ff2e1ac388c1a234a687cb2735341cde3f7122"><code>89ff2e1</code></a> google: add safer credentials JSON loading options.</li> <li>See full diff in <a href="https://github.com/golang/oauth2/compare/v0.34.0...v0.35.0">compare view</a></li> </ul> </details> <br /> 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 </details>
forquare (Migrated from github.com) approved these changes 2026-03-06 08:07:00 +00:00
Sign in to join this conversation.
No description provided.