Update module github.com/gin-gonic/gin to v1.8.2

This MR contains the following updates:

Package Type Update Change
github.com/gin-gonic/gin require minor v1.5.0 -> v1.8.2

Release Notes

gin-gonic/gin

v1.8.2

Compare Source

Bugs
  • fix(route): redirectSlash bug (#​3227)
  • fix(engine): missing route params for CreateTestContext (#​2778) (#​2803)
Security
  • Fix the GO-2022-1144 vulnerability (#​3432)

v1.8.1

Compare Source

ENHANCEMENTS
  • feat(context): add ContextWithFallback feature flag #​3172

v1.8.0

Compare Source

v1.7.7

Compare Source

BUGFIXES
ENHANCEMENTS
  • TrustedProxies: make it backward-compatible #​2887, closed issue #​2819.
  • TrustedPlatform: provide custom options for another CDN services #​2906.
DOCS
  • NoMethod: added usage annotation (#​2832).

v1.7.6

BUGFIXES
  • bump new release to fix v1.7.5 release error by using v1.7.4 codes.

v1.7.4

Compare Source

BUGFIXES
  • bump new release to fix checksum mismatch

v1.7.3

Compare Source

BUGFIXES

v1.7.2

Compare Source

BUGFIXES

v1.7.1

Compare Source

BUGFIXES

v1.7.0

Compare Source

BUGFIXES
  • fix compile error from #​2572 (#​2600)
  • fix: print headers without Authorization header on broken pipe (#​2528)
  • fix(tree): reassign fullpath when register new node (#​2366)
ENHANCEMENTS
  • Support params and exact routes without creating conflicts (#​2663)
  • chore: improve render string performance (#​2365)
  • Sync route tree to httprouter latest code (#​2368)
  • chore: rename getQueryCache/getFormCache to initQueryCache/initFormCa (#​2375)
  • chore(performance): improve countParams (#​2378)
  • Remove some functions that have the same effect as the bytes package (#​2387)
  • update:SetMode function (#​2321)
  • remove an unused type SecureJSONPrefix (#​2391)
  • Add a redirect sample for POST method (#​2389)
  • Add CustomRecovery builtin middleware (#​2322)
  • binding: avoid 2038 problem on 32-bit architectures (#​2450)
  • Prevent panic in Context.GetQuery() when there is no Request (#​2412)
  • Add GetUint and GetUint64 method on gin.context (#​2487)
  • update content-disposition header to MIME-style (#​2512)
  • reduce allocs and improve the render WriteString (#​2508)
  • implement ".Unwrap() error" on Error type (#​2525) (#​2526)
  • Allow bind with a map[string]string (#​2484)
  • chore: update tree (#​2371)
  • Support binding for slice/array obj [Rewrite] (#​2302)
  • basic auth: fix timing oracle (#​2609)
  • Add mixed param and non-param paths (port of httprouter#​329) (#​2663)
  • feat(engine): add trustedproxies and remoteIP (#​2632)

v1.6.3

Compare Source

ENHANCEMENTS
  • Improve performance: Change *sync.RWMutex to sync.RWMutex in context. #​2351

v1.6.2

Compare Source

BUGFIXES
  • fix missing initial sync.RWMutex #​2305
ENHANCEMENTS

v1.6.1

Compare Source

BUGFIXES
  • Revert "fix accept incoming network connections" #​2294

v1.6.0

Compare Source

BREAKING
  • chore(performance): Improve performance for adding RemoveExtraSlash flag #​2159
  • drop support govendor #​2148
  • Added support for SameSite cookie flag #​1615
FEATURES
BUGFIXES
  • Unix Socket Handling #​2280
  • Use json marshall in context json to fix breaking new line issue. Fixes #​2209 #​2228
  • fix accept incoming network connections #​2216
  • Fixed a bug in the calculation of the maximum number of parameters #​2166
  • [FIX] allow empty headers on DataFromReader #​2121
  • Add mutex for protect Context.Keys map #​1391
ENHANCEMENTS
  • Add mitigation for log injection #​2277
  • tree: range over nodes values #​2229
  • tree: remove duplicate assignment #​2222
  • chore: upgrade go-isatty and json-iterator/go #​2215
  • path: sync code with httprouter #​2212
  • Use zero-copy approach to convert types between string and byte slice #​2206
  • Reuse bytes when cleaning the URL paths #​2179
  • tree: remove one else statement #​2177
  • tree: sync httprouter update (#​2173) (#​2172) #​2171
  • tree: sync part httprouter codes and reduce if/else #​2163
  • use http method constant #​2155
  • upgrade go-validator to v10 #​2149
  • Refactor redirect request in gin.go #​1970
  • Add build tag nomsgpack #​1852
DOCS
  • docs(path): improve comments #​2223
  • Renew README to fit the modification of SetCookie method #​2217
  • Fix spelling #​2202
  • Remove broken link from README. #​2198
  • Update docs on Context.Done(), Context.Deadline() and Context.Err() #​2196
  • Update validator to v10 #​2190
  • upgrade go-validator to v10 for README #​2189
  • Update to currently output #​2188
  • Fix "Custom Validators" example #​2186
  • Add project to README #​2165
  • docs(benchmarks): for gin v1.5 #​2153
  • Changed wording for clarity in README.md #​2122
MISC

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 MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports

Loading