Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update module github.com/gin-gonic/gin to v1.9.1 #7

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 19, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/gin-gonic/gin v1.6.3 -> v1.9.1 age adoption passing confidence

Release Notes

gin-gonic/gin (github.com/gin-gonic/gin)

v1.9.1

Compare Source

BUG FIXES
SECURITY
  • fix lack of escaping of filename in Content-Disposition #​3556
ENHANCEMENTS
  • refactor: use bytes.ReplaceAll directly #​3455
  • convert strings and slices using the officially recommended way #​3344
  • improve render code coverage #​3525
DOCS
  • docs: changed documentation link for trusted proxies #​3575
  • chore: improve linting, testing, and GitHub Actions setup #​3583

v1.9.0

Compare Source

BREAK CHANGES
  • Stop useless panicking in context and render #​2150
BUG FIXES
  • fix(router): tree bug where loop index is not decremented. #​3460
  • fix(context): panic on NegotiateFormat - index out of range #​3397
  • Add escape logic for header #​3500 and #​3503
SECURITY
  • Fix the GO-2022-0969 and GO-2022-0288 vulnerabilities #​3333
  • fix(security): vulnerability GO-2023-1571 #​3505
ENHANCEMENTS
  • feat: add sonic json support #​3184
  • chore(file): Creates a directory named path #​3316
  • fix: modify interface check way #​3327
  • remove deprecated of package io/ioutil #​3395
  • refactor: avoid calling strings.ToLower twice #​3343
  • console logger HTTP status code bug fixed #​3453
  • chore(yaml): upgrade dependency to v3 version #​3456
  • chore(router): match method added to routergroup for multiple HTTP methods supporting #​3464
  • chore(http): add support for go1.20 http.rwUnwrapper to gin.responseWriter #​3489
DOCS
  • docs: update markdown format #​3260
  • docs(readme): Add the TOML rendering example #​3400
  • docs(readme): move more example to docs/doc.md #​3449
  • docs: update markdown format #​3446

v1.8.2

Compare Source

BUG FIXES
SECURITY

v1.8.1

Compare Source

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

v1.8.0

Compare Source

BREAK CHANGES
  • TrustedProxies: Add default IPv6 support and refactor #​2967. Please replace RemoteIP() (net.IP, bool) with RemoteIP() net.IP
  • gin.Context with fallback value from gin.Context.Request.Context() #​2751
BUG FIXES
  • 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
  • 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

v1.7.7

Compare Source

BUG FIXES
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

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

v1.7.4

Compare Source

BUG FIXES
  • bump new release to fix checksum mismatch

v1.7.3

Compare Source

BUG FIXES

v1.7.2

Compare Source

BUG FIXES

v1.7.1

Compare Source

BUG FIXES

v1.7.0

Compare Source

BUG FIXES
  • 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)

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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/github.com-gin-gonic-gin-1.x branch from 11cb2e1 to dc7f52a Compare April 19, 2024 13:25
@udaya2899 udaya2899 merged commit 23880da into master Apr 19, 2024
2 checks passed
@udaya2899 udaya2899 deleted the renovate/github.com-gin-gonic-gin-1.x branch April 19, 2024 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant