gin-gonic/gin
### [`v1.9.0`](https://togithub.com/gin-gonic/gin/blob/HEAD/CHANGELOG.md#Gin-v190)
[Compare Source](https://togithub.com/gin-gonic/gin/compare/v1.8.2...v1.9.0)
##### BREAK CHANGES
- Stop useless panicking in context and render [#2150](https://togithub.com/gin-gonic/gin/pull/2150)
##### BUG FIXES
- fix(router): tree bug where loop index is not decremented. [#3460](https://togithub.com/gin-gonic/gin/pull/3460)
- fix(context): panic on NegotiateFormat - index out of range [#3397](https://togithub.com/gin-gonic/gin/pull/3397)
- Add escape logic for header [#3500](https://togithub.com/gin-gonic/gin/pull/3500) and [#3503](https://togithub.com/gin-gonic/gin/pull/3503)
##### SECURITY
- Fix the GO-2022-0969 and GO-2022-0288 vulnerabilities [#3333](https://togithub.com/gin-gonic/gin/pull/3333)
- fix(security): vulnerability GO-2023-1571 [#3505](https://togithub.com/gin-gonic/gin/pull/3505)
##### ENHANCEMENTS
- feat: add sonic json support [#3184](https://togithub.com/gin-gonic/gin/pull/3184)
- chore(file): Creates a directory named path [#3316](https://togithub.com/gin-gonic/gin/pull/3316)
- fix: modify interface check way [#3327](https://togithub.com/gin-gonic/gin/pull/3327)
- remove deprecated of package io/ioutil [#3395](https://togithub.com/gin-gonic/gin/pull/3395)
- refactor: avoid calling strings.ToLower twice [#3343](https://togithub.com/gin-gonic/gin/pull/3433)
- console logger HTTP status code bug fixed [#3453](https://togithub.com/gin-gonic/gin/pull/3453)
- chore(yaml): upgrade dependency to v3 version [#3456](https://togithub.com/gin-gonic/gin/pull/3456)
- chore(router): match method added to routergroup for multiple HTTP methods supporting [#3464](https://togithub.com/gin-gonic/gin/pull/3464)
- chore(http): add support for go1.20 http.rwUnwrapper to gin.responseWriter [#3489](https://togithub.com/gin-gonic/gin/pull/3489)
##### DOCS
- docs: update markdown format [#3260](https://togithub.com/gin-gonic/gin/pull/3260)
- docs(readme): Add the TOML rendering example [#3400](https://togithub.com/gin-gonic/gin/pull/3400)
- docs(readme): move more example to docs/doc.md [#3449](https://togithub.com/gin-gonic/gin/pull/3449)
- docs: update markdown format [#3446](https://togithub.com/gin-gonic/gin/pull/3446)
### [`v1.8.2`](https://togithub.com/gin-gonic/gin/blob/HEAD/CHANGELOG.md#Gin-v182)
[Compare Source](https://togithub.com/gin-gonic/gin/compare/v1.8.1...v1.8.2)
##### BUG FIXES
- fix(route): redirectSlash bug (https://togithub.com/gin-gonic/gin/pull/3227)ic/gin/pull/3227\)))
- fix(engine): missing route params for CreateTestContext (https://togithub.com/gin-gonic/gin/pull/2778)ic/gin/pull/2778\))) (https://togithub.com/gin-gonic/gin/pull/2803)ic/gin/pull/2803\)))
##### SECURITY
- Fix the GO-2022-1144 vulnerability (https://togithub.com/gin-gonic/gin/pull/3432)ic/gin/pull/3432\)))
### [`v1.8.1`](https://togithub.com/gin-gonic/gin/blob/HEAD/CHANGELOG.md#Gin-v181)
[Compare Source](https://togithub.com/gin-gonic/gin/compare/v1.8.0...v1.8.1)
##### ENHANCEMENTS
- feat(context): add ContextWithFallback feature flag [#3172](https://togithub.com/gin-gonic/gin/pull/3172)
### [`v1.8.0`](https://togithub.com/gin-gonic/gin/blob/HEAD/CHANGELOG.md#Gin-v180)
[Compare Source](https://togithub.com/gin-gonic/gin/compare/v1.7.7...v1.8.0)
##### BREAK CHANGES
- TrustedProxies: Add default IPv6 support and refactor [#2967](https://togithub.com/gin-gonic/gin/pull/2967). Please replace `RemoteIP() (net.IP, bool)` with `RemoteIP() net.IP`
- gin.Context with fallback value from gin.Context.Request.Context() [#2751](https://togithub.com/gin-gonic/gin/pull/2751)
##### BUG FIXES
- Fixed SetOutput() panics on go 1.17 [#2861](https://togithub.com/gin-gonic/gin/pull/2861)
- Fix: wrong when wildcard follows named param [#2983](https://togithub.com/gin-gonic/gin/pull/2983)
- Fix: missing sameSite when do context.reset() [#3123](https://togithub.com/gin-gonic/gin/pull/3123)
##### ENHANCEMENTS
- Use Header() instead of deprecated HeaderMap [#2694](https://togithub.com/gin-gonic/gin/pull/2694)
- RouterGroup.Handle regular match optimization of http method [#2685](https://togithub.com/gin-gonic/gin/pull/2685)
- Add support go-json, another drop-in json replacement [#2680](https://togithub.com/gin-gonic/gin/pull/2680)
- Use errors.New to replace fmt.Errorf will much better [#2707](https://togithub.com/gin-gonic/gin/pull/2707)
- Use Duration.Truncate for truncating precision [#2711](https://togithub.com/gin-gonic/gin/pull/2711)
- Get client IP when using Cloudflare [#2723](https://togithub.com/gin-gonic/gin/pull/2723)
- Optimize code adjust [#2700](https://togithub.com/gin-gonic/gin/pull/2700/files)
- Optimize code and reduce code cyclomatic complexity [#2737](https://togithub.com/gin-gonic/gin/pull/2737)
- Improve sliceValidateError.Error performance [#2765](https://togithub.com/gin-gonic/gin/pull/2765)
- Support custom struct tag [#2720](https://togithub.com/gin-gonic/gin/pull/2720)
- Improve router group tests [#2787](https://togithub.com/gin-gonic/gin/pull/2787)
- Fallback Context.Deadline() Context.Done() Context.Err() to Context.Request.Context() [#2769](https://togithub.com/gin-gonic/gin/pull/2769)
- Some codes optimize [#2830](https://togithub.com/gin-gonic/gin/pull/2830) [#2834](https://togithub.com/gin-gonic/gin/pull/2834) [#2838](https://togithub.com/gin-gonic/gin/pull/2838) [#2837](https://togithub.com/gin-gonic/gin/pull/2837) [#2788](https://togithub.com/gin-gonic/gin/pull/2788) [#2848](https://togithub.com/gin-gonic/gin/pull/2848) [#2851](https://togithub.com/gin-gonic/gin/pull/2851) [#2701](https://togithub.com/gin-gonic/gin/pull/2701)
- TrustedProxies: Add default IPv6 support and refactor [#2967](https://togithub.com/gin-gonic/gin/pull/2967)
- Test(route): expose performRequest func [#3012](https://togithub.com/gin-gonic/gin/pull/3012)
- Support h2c with prior knowledge [#1398](https://togithub.com/gin-gonic/gin/pull/1398)
- Feat attachment filename support utf8 [#3071](https://togithub.com/gin-gonic/gin/pull/3071)
- Feat: add StaticFileFS [#2749](https://togithub.com/gin-gonic/gin/pull/2749)
- Feat(context): return GIN Context from Value method [#2825](https://togithub.com/gin-gonic/gin/pull/2825)
- Feat: automatically SetMode to TestMode when run go test [#3139](https://togithub.com/gin-gonic/gin/pull/3139)
- Add TOML bining for gin [#3081](https://togithub.com/gin-gonic/gin/pull/3081)
- IPv6 add default trusted proxies [#3033](https://togithub.com/gin-gonic/gin/pull/3033)
##### DOCS
- Add note about nomsgpack tag to the readme [#2703](https://togithub.com/gin-gonic/gin/pull/2703)
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.
This PR contains the following updates:
v1.7.7
->v1.9.0
Release Notes
gin-gonic/gin
### [`v1.9.0`](https://togithub.com/gin-gonic/gin/blob/HEAD/CHANGELOG.md#Gin-v190) [Compare Source](https://togithub.com/gin-gonic/gin/compare/v1.8.2...v1.9.0) ##### BREAK CHANGES - Stop useless panicking in context and render [#2150](https://togithub.com/gin-gonic/gin/pull/2150) ##### BUG FIXES - fix(router): tree bug where loop index is not decremented. [#3460](https://togithub.com/gin-gonic/gin/pull/3460) - fix(context): panic on NegotiateFormat - index out of range [#3397](https://togithub.com/gin-gonic/gin/pull/3397) - Add escape logic for header [#3500](https://togithub.com/gin-gonic/gin/pull/3500) and [#3503](https://togithub.com/gin-gonic/gin/pull/3503) ##### SECURITY - Fix the GO-2022-0969 and GO-2022-0288 vulnerabilities [#3333](https://togithub.com/gin-gonic/gin/pull/3333) - fix(security): vulnerability GO-2023-1571 [#3505](https://togithub.com/gin-gonic/gin/pull/3505) ##### ENHANCEMENTS - feat: add sonic json support [#3184](https://togithub.com/gin-gonic/gin/pull/3184) - chore(file): Creates a directory named path [#3316](https://togithub.com/gin-gonic/gin/pull/3316) - fix: modify interface check way [#3327](https://togithub.com/gin-gonic/gin/pull/3327) - remove deprecated of package io/ioutil [#3395](https://togithub.com/gin-gonic/gin/pull/3395) - refactor: avoid calling strings.ToLower twice [#3343](https://togithub.com/gin-gonic/gin/pull/3433) - console logger HTTP status code bug fixed [#3453](https://togithub.com/gin-gonic/gin/pull/3453) - chore(yaml): upgrade dependency to v3 version [#3456](https://togithub.com/gin-gonic/gin/pull/3456) - chore(router): match method added to routergroup for multiple HTTP methods supporting [#3464](https://togithub.com/gin-gonic/gin/pull/3464) - chore(http): add support for go1.20 http.rwUnwrapper to gin.responseWriter [#3489](https://togithub.com/gin-gonic/gin/pull/3489) ##### DOCS - docs: update markdown format [#3260](https://togithub.com/gin-gonic/gin/pull/3260) - docs(readme): Add the TOML rendering example [#3400](https://togithub.com/gin-gonic/gin/pull/3400) - docs(readme): move more example to docs/doc.md [#3449](https://togithub.com/gin-gonic/gin/pull/3449) - docs: update markdown format [#3446](https://togithub.com/gin-gonic/gin/pull/3446) ### [`v1.8.2`](https://togithub.com/gin-gonic/gin/blob/HEAD/CHANGELOG.md#Gin-v182) [Compare Source](https://togithub.com/gin-gonic/gin/compare/v1.8.1...v1.8.2) ##### BUG FIXES - fix(route): redirectSlash bug (https://togithub.com/gin-gonic/gin/pull/3227)ic/gin/pull/3227\))) - fix(engine): missing route params for CreateTestContext (https://togithub.com/gin-gonic/gin/pull/2778)ic/gin/pull/2778\))) (https://togithub.com/gin-gonic/gin/pull/2803)ic/gin/pull/2803\))) ##### SECURITY - Fix the GO-2022-1144 vulnerability (https://togithub.com/gin-gonic/gin/pull/3432)ic/gin/pull/3432\))) ### [`v1.8.1`](https://togithub.com/gin-gonic/gin/blob/HEAD/CHANGELOG.md#Gin-v181) [Compare Source](https://togithub.com/gin-gonic/gin/compare/v1.8.0...v1.8.1) ##### ENHANCEMENTS - feat(context): add ContextWithFallback feature flag [#3172](https://togithub.com/gin-gonic/gin/pull/3172) ### [`v1.8.0`](https://togithub.com/gin-gonic/gin/blob/HEAD/CHANGELOG.md#Gin-v180) [Compare Source](https://togithub.com/gin-gonic/gin/compare/v1.7.7...v1.8.0) ##### BREAK CHANGES - TrustedProxies: Add default IPv6 support and refactor [#2967](https://togithub.com/gin-gonic/gin/pull/2967). Please replace `RemoteIP() (net.IP, bool)` with `RemoteIP() net.IP` - gin.Context with fallback value from gin.Context.Request.Context() [#2751](https://togithub.com/gin-gonic/gin/pull/2751) ##### BUG FIXES - Fixed SetOutput() panics on go 1.17 [#2861](https://togithub.com/gin-gonic/gin/pull/2861) - Fix: wrong when wildcard follows named param [#2983](https://togithub.com/gin-gonic/gin/pull/2983) - Fix: missing sameSite when do context.reset() [#3123](https://togithub.com/gin-gonic/gin/pull/3123) ##### ENHANCEMENTS - Use Header() instead of deprecated HeaderMap [#2694](https://togithub.com/gin-gonic/gin/pull/2694) - RouterGroup.Handle regular match optimization of http method [#2685](https://togithub.com/gin-gonic/gin/pull/2685) - Add support go-json, another drop-in json replacement [#2680](https://togithub.com/gin-gonic/gin/pull/2680) - Use errors.New to replace fmt.Errorf will much better [#2707](https://togithub.com/gin-gonic/gin/pull/2707) - Use Duration.Truncate for truncating precision [#2711](https://togithub.com/gin-gonic/gin/pull/2711) - Get client IP when using Cloudflare [#2723](https://togithub.com/gin-gonic/gin/pull/2723) - Optimize code adjust [#2700](https://togithub.com/gin-gonic/gin/pull/2700/files) - Optimize code and reduce code cyclomatic complexity [#2737](https://togithub.com/gin-gonic/gin/pull/2737) - Improve sliceValidateError.Error performance [#2765](https://togithub.com/gin-gonic/gin/pull/2765) - Support custom struct tag [#2720](https://togithub.com/gin-gonic/gin/pull/2720) - Improve router group tests [#2787](https://togithub.com/gin-gonic/gin/pull/2787) - Fallback Context.Deadline() Context.Done() Context.Err() to Context.Request.Context() [#2769](https://togithub.com/gin-gonic/gin/pull/2769) - Some codes optimize [#2830](https://togithub.com/gin-gonic/gin/pull/2830) [#2834](https://togithub.com/gin-gonic/gin/pull/2834) [#2838](https://togithub.com/gin-gonic/gin/pull/2838) [#2837](https://togithub.com/gin-gonic/gin/pull/2837) [#2788](https://togithub.com/gin-gonic/gin/pull/2788) [#2848](https://togithub.com/gin-gonic/gin/pull/2848) [#2851](https://togithub.com/gin-gonic/gin/pull/2851) [#2701](https://togithub.com/gin-gonic/gin/pull/2701) - TrustedProxies: Add default IPv6 support and refactor [#2967](https://togithub.com/gin-gonic/gin/pull/2967) - Test(route): expose performRequest func [#3012](https://togithub.com/gin-gonic/gin/pull/3012) - Support h2c with prior knowledge [#1398](https://togithub.com/gin-gonic/gin/pull/1398) - Feat attachment filename support utf8 [#3071](https://togithub.com/gin-gonic/gin/pull/3071) - Feat: add StaticFileFS [#2749](https://togithub.com/gin-gonic/gin/pull/2749) - Feat(context): return GIN Context from Value method [#2825](https://togithub.com/gin-gonic/gin/pull/2825) - Feat: automatically SetMode to TestMode when run go test [#3139](https://togithub.com/gin-gonic/gin/pull/3139) - Add TOML bining for gin [#3081](https://togithub.com/gin-gonic/gin/pull/3081) - IPv6 add default trusted proxies [#3033](https://togithub.com/gin-gonic/gin/pull/3033) ##### DOCS - Add note about nomsgpack tag to the readme [#2703](https://togithub.com/gin-gonic/gin/pull/2703)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.
This PR has been generated by Mend Renovate. View repository job log here.