Bump github.com/gin-gonic/gin from 1.7.7 to 1.8.0 #4

Merged
dependabot[bot] merged 1 commit from dependabot/go_modules/github.com/gin-gonic/gin-1.8.0 into main 2022-05-31 19:05:02 +00:00
dependabot[bot] commented 2022-05-31 04:40:34 +00:00 (Migrated from github.com)

Bumps github.com/gin-gonic/gin from 1.7.7 to 1.8.0.

Release notes

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

v1.8.0

Changelog

BUGFIXES

  • Fixed SetOutput() panics on go 1.17 #2861
  • Fix: wrong when wildcard follows named param #2983
  • Fix: missing sameSite when do context.reset() #3123

ENHANCEMENTS

  • Use Header() instead of deprecated HeaderMap #2694
  • RouterGroup.Handle regular match optimization of http method #2685
  • Add support go-json, another drop-in json replacement #2680
  • Use errors.New to replace fmt.Errorf will much better #2707
  • Use Duration.Truncate for truncating precision #2711
  • Get client IP when using Cloudflare #2723
  • Optimize code adjust #2700
  • Optimize code and reduce code cyclomatic complexity #2737
  • gin.Context with fallback value from gin.Context.Request.Context() #2751
  • Improve sliceValidateError.Error performance #2765
  • Support custom struct tag #2720
  • Improve router group tests #2787
  • Fallback Context.Deadline() Context.Done() Context.Err() to Context.Request.Context() #2769
  • Some codes optimize #2830 #2834 #2838 #2837 #2788 #2848 #2851 #2701
  • TrustedProxies: Add default IPv6 support and refactor #2967
  • Test(route): expose performRequest func #3012
  • Support h2c with prior knowledge #1398
  • Feat attachment filename support utf8 #3071
  • Feat: add StaticFileFS #2749
  • Feat(context): return GIN Context from Value method #2825
  • Feat: automatically SetMode to TestMode when run go test #3139
  • Add TOML bining for gin #3081
  • IPv6 add default trusted proxies #3033

DOCS

  • Add note about nomsgpack tag to the readme #2703
Changelog

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

Gin v1.8.0

BUGFIXES

  • Fixed SetOutput() panics on go 1.17 #2861
  • Fix: wrong when wildcard follows named param #2983
  • Fix: missing sameSite when do context.reset() #3123

ENHANCEMENTS

  • Use Header() instead of deprecated HeaderMap #2694
  • RouterGroup.Handle regular match optimization of http method #2685
  • Add support go-json, another drop-in json replacement #2680
  • Use errors.New to replace fmt.Errorf will much better #2707
  • Use Duration.Truncate for truncating precision #2711
  • Get client IP when using Cloudflare #2723
  • Optimize code adjust #2700
  • Optimize code and reduce code cyclomatic complexity #2737
  • gin.Context with fallback value from gin.Context.Request.Context() #2751
  • Improve sliceValidateError.Error performance #2765
  • Support custom struct tag #2720
  • Improve router group tests #2787
  • Fallback Context.Deadline() Context.Done() Context.Err() to Context.Request.Context() #2769
  • Some codes optimize #2830 #2834 #2838 #2837 #2788 #2848 #2851 #2701
  • TrustedProxies: Add default IPv6 support and refactor #2967
  • Test(route): expose performRequest func #3012
  • Support h2c with prior knowledge #1398
  • Feat attachment filename support utf8 #3071
  • Feat: add StaticFileFS #2749
  • Feat(context): return GIN Context from Value method #2825
  • Feat: automatically SetMode to TestMode when run go test #3139
  • Add TOML bining for gin #3081
  • IPv6 add default trusted proxies #3033

DOCS

  • Add note about nomsgpack tag to the readme #2703
Commits
  • 38eb5ac add v1.8.0 changelog (#3160)
  • 60e24d5 chore(CI/CD): add go version release flow (#3159)
  • 4b68a5f chore: update go.mod and remove space from copyright (#3158)
  • ed03102 [GIN-001] - Add TOML bining for gin (#3081)
  • aa60021 Fix intercepting headers in middlewares (#1271)
  • 87811a9 fix: the trusted proxies should support ipv6 address by default (#3033)
  • f1e9428 chore(deps): bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 (#3150)
  • ef687e0 feat: automatically SetMode to TestMode when run go test. (#3139)
  • 90e7073 chore(deps): bump github/codeql-action from 1 to 2 (#3132)
  • c131704 chore(deps): bump github.com/goccy/go-json from 0.9.6 to 0.9.7 (#3131)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.7.7 to 1.8.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.8.0</h2> <h2>Changelog</h2> <h3>BUGFIXES</h3> <ul> <li>Fixed SetOutput() panics on go 1.17 <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2861">#2861</a></li> <li>Fix: wrong when wildcard follows named param <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2983">#2983</a></li> <li>Fix: missing sameSite when do context.reset() <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/3123">#3123</a></li> </ul> <h3>ENHANCEMENTS</h3> <ul> <li>Use Header() instead of deprecated HeaderMap <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2694">#2694</a></li> <li>RouterGroup.Handle regular match optimization of http method <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2685">#2685</a></li> <li>Add support go-json, another drop-in json replacement <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2680">#2680</a></li> <li>Use errors.New to replace fmt.Errorf will much better <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2707">#2707</a></li> <li>Use Duration.Truncate for truncating precision <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2711">#2711</a></li> <li>Get client IP when using Cloudflare <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2723">#2723</a></li> <li>Optimize code adjust <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2700/files">#2700</a></li> <li>Optimize code and reduce code cyclomatic complexity <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2737">#2737</a></li> <li>gin.Context with fallback value from gin.Context.Request.Context() <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2751">#2751</a></li> <li>Improve sliceValidateError.Error performance <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2765">#2765</a></li> <li>Support custom struct tag <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2720">#2720</a></li> <li>Improve router group tests <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2787">#2787</a></li> <li>Fallback Context.Deadline() Context.Done() Context.Err() to Context.Request.Context() <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2769">#2769</a></li> <li>Some codes optimize <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2830">#2830</a> <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2834">#2834</a> <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2838">#2838</a> <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2837">#2837</a> <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2788">#2788</a> <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2848">#2848</a> <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2851">#2851</a> <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2701">#2701</a></li> <li>TrustedProxies: Add default IPv6 support and refactor <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2967">#2967</a></li> <li>Test(route): expose performRequest func <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/3012">#3012</a></li> <li>Support h2c with prior knowledge <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/1398">#1398</a></li> <li>Feat attachment filename support utf8 <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/3071">#3071</a></li> <li>Feat: add StaticFileFS <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2749">#2749</a></li> <li>Feat(context): return GIN Context from Value method <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2825">#2825</a></li> <li>Feat: automatically SetMode to TestMode when run go test <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/3139">#3139</a></li> <li>Add TOML bining for gin <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/3081">#3081</a></li> <li>IPv6 add default trusted proxies <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/3033">#3033</a></li> </ul> <h3>DOCS</h3> <ul> <li>Add note about nomsgpack tag to the readme <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2703">#2703</a></li> </ul> </blockquote> </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.8.0</h2> <h3>BUGFIXES</h3> <ul> <li>Fixed SetOutput() panics on go 1.17 <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2861">#2861</a></li> <li>Fix: wrong when wildcard follows named param <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2983">#2983</a></li> <li>Fix: missing sameSite when do context.reset() <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/3123">#3123</a></li> </ul> <h3>ENHANCEMENTS</h3> <ul> <li>Use Header() instead of deprecated HeaderMap <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2694">#2694</a></li> <li>RouterGroup.Handle regular match optimization of http method <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2685">#2685</a></li> <li>Add support go-json, another drop-in json replacement <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2680">#2680</a></li> <li>Use errors.New to replace fmt.Errorf will much better <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2707">#2707</a></li> <li>Use Duration.Truncate for truncating precision <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2711">#2711</a></li> <li>Get client IP when using Cloudflare <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2723">#2723</a></li> <li>Optimize code adjust <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2700/files">#2700</a></li> <li>Optimize code and reduce code cyclomatic complexity <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2737">#2737</a></li> <li>gin.Context with fallback value from gin.Context.Request.Context() <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2751">#2751</a></li> <li>Improve sliceValidateError.Error performance <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2765">#2765</a></li> <li>Support custom struct tag <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2720">#2720</a></li> <li>Improve router group tests <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2787">#2787</a></li> <li>Fallback Context.Deadline() Context.Done() Context.Err() to Context.Request.Context() <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2769">#2769</a></li> <li>Some codes optimize <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2830">#2830</a> <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2834">#2834</a> <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2838">#2838</a> <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2837">#2837</a> <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2788">#2788</a> <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2848">#2848</a> <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2851">#2851</a> <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2701">#2701</a></li> <li>TrustedProxies: Add default IPv6 support and refactor <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2967">#2967</a></li> <li>Test(route): expose performRequest func <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/3012">#3012</a></li> <li>Support h2c with prior knowledge <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/1398">#1398</a></li> <li>Feat attachment filename support utf8 <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/3071">#3071</a></li> <li>Feat: add StaticFileFS <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2749">#2749</a></li> <li>Feat(context): return GIN Context from Value method <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2825">#2825</a></li> <li>Feat: automatically SetMode to TestMode when run go test <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/3139">#3139</a></li> <li>Add TOML bining for gin <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/3081">#3081</a></li> <li>IPv6 add default trusted proxies <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/3033">#3033</a></li> </ul> <h3>DOCS</h3> <ul> <li>Add note about nomsgpack tag to the readme <a href="https://github-redirect.dependabot.com/gin-gonic/gin/pull/2703">#2703</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/gin-gonic/gin/commit/38eb5acc6b07eea5bf455e8d188bf79fa897c7c3"><code>38eb5ac</code></a> add v1.8.0 changelog (<a href="https://github-redirect.dependabot.com/gin-gonic/gin/issues/3160">#3160</a>)</li> <li><a href="https://github.com/gin-gonic/gin/commit/60e24d5690296e583c1ad67579b1f016da76df3d"><code>60e24d5</code></a> chore(CI/CD): add go version release flow (<a href="https://github-redirect.dependabot.com/gin-gonic/gin/issues/3159">#3159</a>)</li> <li><a href="https://github.com/gin-gonic/gin/commit/4b68a5f12af4d6d2be83e1895f783d5dd5d5a148"><code>4b68a5f</code></a> chore: update go.mod and remove space from copyright (<a href="https://github-redirect.dependabot.com/gin-gonic/gin/issues/3158">#3158</a>)</li> <li><a href="https://github.com/gin-gonic/gin/commit/ed03102ef0b08c552bc3d0a73fbd98307461abcc"><code>ed03102</code></a> [GIN-001] - Add TOML bining for gin (<a href="https://github-redirect.dependabot.com/gin-gonic/gin/issues/3081">#3081</a>)</li> <li><a href="https://github.com/gin-gonic/gin/commit/aa6002134e97efefd879b6819c1bfce114b05f42"><code>aa60021</code></a> Fix intercepting headers in middlewares (<a href="https://github-redirect.dependabot.com/gin-gonic/gin/issues/1271">#1271</a>)</li> <li><a href="https://github.com/gin-gonic/gin/commit/87811a97bddbe552ddd7f5ae2fa7bb949e787862"><code>87811a9</code></a> fix: the trusted proxies should support ipv6 address by default (<a href="https://github-redirect.dependabot.com/gin-gonic/gin/issues/3033">#3033</a>)</li> <li><a href="https://github.com/gin-gonic/gin/commit/f1e942889abdab773538f215ec6aa242f994c6d0"><code>f1e9428</code></a> chore(deps): bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 (<a href="https://github-redirect.dependabot.com/gin-gonic/gin/issues/3150">#3150</a>)</li> <li><a href="https://github.com/gin-gonic/gin/commit/ef687e0db2947ddae312cb21bc2cdb8925611714"><code>ef687e0</code></a> feat: automatically SetMode to TestMode when run go test. (<a href="https://github-redirect.dependabot.com/gin-gonic/gin/issues/3139">#3139</a>)</li> <li><a href="https://github.com/gin-gonic/gin/commit/90e7073d56c0d2d8dc74f2325adc5c14527947db"><code>90e7073</code></a> chore(deps): bump github/codeql-action from 1 to 2 (<a href="https://github-redirect.dependabot.com/gin-gonic/gin/issues/3132">#3132</a>)</li> <li><a href="https://github.com/gin-gonic/gin/commit/c131704fd6f31500f65f4b82073ef58dc4fc2fd9"><code>c131704</code></a> chore(deps): bump github.com/goccy/go-json from 0.9.6 to 0.9.7 (<a href="https://github-redirect.dependabot.com/gin-gonic/gin/issues/3131">#3131</a>)</li> <li>Additional commits viewable in <a href="https://github.com/gin-gonic/gin/compare/v1.7.7...v1.8.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/gin-gonic/gin&package-manager=go_modules&previous-version=1.7.7&new-version=1.8.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
MCWertGaming (Migrated from github.com) reviewed 2022-05-31 04:40:34 +00:00
Commenting is not possible because the repository is archived.
No description provided.