Closed mend-for-github-com[bot] closed 2 years ago
This PR contains the following updates:
v1.5.0
v1.7.7
v1.4.0
📅 Schedule: 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 these updates again.
This PR contains the following updates:
v1.5.0
->v1.7.7
v1.4.0
->v1.7.7
Release Notes
gin-gonic/gin
### [`v1.7.7`](https://togithub.com/gin-gonic/gin/blob/master/CHANGELOG.md#Gin-v177) [Compare Source](https://togithub.com/gin-gonic/gin/compare/v1.7.6...v1.7.7) ##### BUGFIXES - Fixed X-Forwarded-For unsafe handling of CVE-2020-28483 [#2844](https://togithub.com/gin-gonic/gin/pull/2844), closed issue [#2862](https://togithub.com/gin-gonic/gin/issues/2862). - Tree: updated the code logic for `latestNode` [#2897](https://togithub.com/gin-gonic/gin/pull/2897), closed issue [#2894](https://togithub.com/gin-gonic/gin/issues/2894) [#2878](https://togithub.com/gin-gonic/gin/issues/2878). - Tree: fixed the misplacement of adding slashes [#2847](https://togithub.com/gin-gonic/gin/pull/2847), closed issue [#2843](https://togithub.com/gin-gonic/gin/issues/2843). - Tree: fixed tsr with mixed static and wildcard paths [#2924](https://togithub.com/gin-gonic/gin/pull/2924), closed issue [#2918](https://togithub.com/gin-gonic/gin/issues/2918). ##### ENHANCEMENTS - TrustedProxies: make it backward-compatible [#2887](https://togithub.com/gin-gonic/gin/pull/2887), closed issue [#2819](https://togithub.com/gin-gonic/gin/issues/2819). - TrustedPlatform: provide custom options for another CDN services [#2906](https://togithub.com/gin-gonic/gin/pull/2906). ##### DOCS - NoMethod: added usage annotation ([#2832](https://togithub.com/gin-gonic/gin/pull/2832#issuecomment-929954463)). ### [`v1.7.6`](https://togithub.com/gin-gonic/gin/blob/master/CHANGELOG.md#Gin-v176) [Compare Source](https://togithub.com/gin-gonic/gin/compare/v1.7.4...v1.7.6) ##### BUGFIXES - bump new release to fix v1.7.5 release error by using v1.7.4 codes. ### [`v1.7.4`](https://togithub.com/gin-gonic/gin/blob/master/CHANGELOG.md#Gin-v174) [Compare Source](https://togithub.com/gin-gonic/gin/compare/v1.7.3...v1.7.4) ##### BUGFIXES - bump new release to fix checksum mismatch ### [`v1.7.3`](https://togithub.com/gin-gonic/gin/blob/master/CHANGELOG.md#Gin-v173) [Compare Source](https://togithub.com/gin-gonic/gin/compare/v1.7.2...v1.7.3) ##### BUGFIXES - fix level 1 router match [#2767](https://togithub.com/gin-gonic/gin/issues/2767), [#2796](https://togithub.com/gin-gonic/gin/issues/2796) ### [`v1.7.2`](https://togithub.com/gin-gonic/gin/blob/master/CHANGELOG.md#Gin-v172) [Compare Source](https://togithub.com/gin-gonic/gin/compare/v1.7.1...v1.7.2) ##### BUGFIXES - Fix conflict between param and exact path [#2706](https://togithub.com/gin-gonic/gin/issues/2706). Close issue [#2682](https://togithub.com/gin-gonic/gin/issues/2682) [#2696](https://togithub.com/gin-gonic/gin/issues/2696). ### [`v1.7.1`](https://togithub.com/gin-gonic/gin/blob/master/CHANGELOG.md#Gin-v171) [Compare Source](https://togithub.com/gin-gonic/gin/compare/v1.7.0...v1.7.1) ##### BUGFIXES - fix: data race with trustedCIDRs from [#2674](https://togithub.com/gin-gonic/gin/issues/2674)([#2675](https://togithub.com/gin-gonic/gin/pull/2675)) ### [`v1.7.0`](https://togithub.com/gin-gonic/gin/blob/master/CHANGELOG.md#Gin-v170) [Compare Source](https://togithub.com/gin-gonic/gin/compare/v1.6.3...v1.7.0) ##### BUGFIXES - fix compile error from [#2572](https://togithub.com/gin-gonic/gin/pull/2572) ([#2600](https://togithub.com/gin-gonic/gin/pull/2600)) - fix: print headers without Authorization header on broken pipe ([#2528](https://togithub.com/gin-gonic/gin/pull/2528)) - fix(tree): reassign fullpath when register new node ([#2366](https://togithub.com/gin-gonic/gin/pull/2366)) ##### ENHANCEMENTS - Support params and exact routes without creating conflicts ([#2663](https://togithub.com/gin-gonic/gin/pull/2663)) - chore: improve render string performance ([#2365](https://togithub.com/gin-gonic/gin/pull/2365)) - Sync route tree to httprouter latest code ([#2368](https://togithub.com/gin-gonic/gin/pull/2368)) - chore: rename getQueryCache/getFormCache to initQueryCache/initFormCa ([#2375](https://togithub.com/gin-gonic/gin/pull/2375)) - chore(performance): improve countParams ([#2378](https://togithub.com/gin-gonic/gin/pull/2378)) - Remove some functions that have the same effect as the bytes package ([#2387](https://togithub.com/gin-gonic/gin/pull/2387)) - update:SetMode function ([#2321](https://togithub.com/gin-gonic/gin/pull/2321)) - remove a unused type SecureJSONPrefix ([#2391](https://togithub.com/gin-gonic/gin/pull/2391)) - Add a redirect sample for POST method ([#2389](https://togithub.com/gin-gonic/gin/pull/2389)) - Add CustomRecovery builtin middleware ([#2322](https://togithub.com/gin-gonic/gin/pull/2322)) - binding: avoid 2038 problem on 32-bit architectures ([#2450](https://togithub.com/gin-gonic/gin/pull/2450)) - Prevent panic in Context.GetQuery() when there is no Request ([#2412](https://togithub.com/gin-gonic/gin/pull/2412)) - Add GetUint and GetUint64 method on gin.context ([#2487](https://togithub.com/gin-gonic/gin/pull/2487)) - update content-disposition header to MIME-style ([#2512](https://togithub.com/gin-gonic/gin/pull/2512)) - reduce allocs and improve the render `WriteString` ([#2508](https://togithub.com/gin-gonic/gin/pull/2508)) - implement ".Unwrap() error" on Error type ([#2525](https://togithub.com/gin-gonic/gin/pull/2525)) ([#2526](https://togithub.com/gin-gonic/gin/pull/2526)) - Allow bind with a map\[string]string ([#2484](https://togithub.com/gin-gonic/gin/pull/2484)) - chore: update tree ([#2371](https://togithub.com/gin-gonic/gin/pull/2371)) - Support binding for slice/array obj \[Rewrite] ([#2302](https://togithub.com/gin-gonic/gin/pull/2302)) - basic auth: fix timing oracle ([#2609](https://togithub.com/gin-gonic/gin/pull/2609)) - Add mixed param and non-param paths (port of httprouter[#329](https://togithub.com/gin-gonic/gin/pull/329)) ([#2663](https://togithub.com/gin-gonic/gin/pull/2663)) - feat(engine): add trustedproxies and remoteIP ([#2632](https://togithub.com/gin-gonic/gin/pull/2632)) ### [`v1.6.3`](https://togithub.com/gin-gonic/gin/blob/master/CHANGELOG.md#Gin-v163) [Compare Source](https://togithub.com/gin-gonic/gin/compare/v1.6.2...v1.6.3) ##### ENHANCEMENTS - Improve performance: Change `*sync.RWMutex` to `sync.RWMutex` in context. [#2351](https://togithub.com/gin-gonic/gin/pull/2351) ### [`v1.6.2`](https://togithub.com/gin-gonic/gin/blob/master/CHANGELOG.md#Gin-v162) [Compare Source](https://togithub.com/gin-gonic/gin/compare/v1.6.1...v1.6.2) ##### BUGFIXES - fix missing initial sync.RWMutex [#2305](https://togithub.com/gin-gonic/gin/pull/2305) ##### ENHANCEMENTS - Add set samesite in cookie. [#2306](https://togithub.com/gin-gonic/gin/pull/2306) ### [`v1.6.1`](https://togithub.com/gin-gonic/gin/blob/master/CHANGELOG.md#Gin-v161) [Compare Source](https://togithub.com/gin-gonic/gin/compare/v1.6.0...v1.6.1) ##### BUGFIXES - Revert "fix accept incoming network connections" [#2294](https://togithub.com/gin-gonic/gin/pull/2294) ### [`v1.6.0`](https://togithub.com/gin-gonic/gin/blob/master/CHANGELOG.md#Gin-v160) [Compare Source](https://togithub.com/gin-gonic/gin/compare/v1.5.0...v1.6.0) ##### BREAKING - chore(performance): Improve performance for adding RemoveExtraSlash flag [#2159](https://togithub.com/gin-gonic/gin/pull/2159) - drop support govendor [#2148](https://togithub.com/gin-gonic/gin/pull/2148) - Added support for SameSite cookie flag [#1615](https://togithub.com/gin-gonic/gin/pull/1615) ##### FEATURES - add yaml negotiation [#2220](https://togithub.com/gin-gonic/gin/pull/2220) - FileFromFS [#2112](https://togithub.com/gin-gonic/gin/pull/2112) ##### BUGFIXES - Unix Socket Handling [#2280](https://togithub.com/gin-gonic/gin/pull/2280) - Use json marshall in context json to fix breaking new line issue. Fixes [#2209](https://togithub.com/gin-gonic/gin/issues/2209) [#2228](https://togithub.com/gin-gonic/gin/pull/2228) - fix accept incoming network connections [#2216](https://togithub.com/gin-gonic/gin/pull/2216) - Fixed a bug in the calculation of the maximum number of parameters [#2166](https://togithub.com/gin-gonic/gin/pull/2166) - \[FIX] allow empty headers on DataFromReader [#2121](https://togithub.com/gin-gonic/gin/pull/2121) - Add mutex for protect Context.Keys map [#1391](https://togithub.com/gin-gonic/gin/pull/1391) ##### ENHANCEMENTS - Add mitigation for log injection [#2277](https://togithub.com/gin-gonic/gin/pull/2277) - tree: range over nodes values [#2229](https://togithub.com/gin-gonic/gin/pull/2229) - tree: remove duplicate assignment [#2222](https://togithub.com/gin-gonic/gin/pull/2222) - chore: upgrade go-isatty and json-iterator/go [#2215](https://togithub.com/gin-gonic/gin/pull/2215) - path: sync code with httprouter [#2212](https://togithub.com/gin-gonic/gin/pull/2212) - Use zero-copy approach to convert types between string and byte slice [#2206](https://togithub.com/gin-gonic/gin/pull/2206) - Reuse bytes when cleaning the URL paths [#2179](https://togithub.com/gin-gonic/gin/pull/2179) - tree: remove one else statement [#2177](https://togithub.com/gin-gonic/gin/pull/2177) - tree: sync httprouter update ([#2173](https://togithub.com/gin-gonic/gin/issues/2173)) ([#2172](https://togithub.com/gin-gonic/gin/issues/2172)) [#2171](https://togithub.com/gin-gonic/gin/pull/2171) - tree: sync part httprouter codes and reduce if/else [#2163](https://togithub.com/gin-gonic/gin/pull/2163) - use http method constant [#2155](https://togithub.com/gin-gonic/gin/pull/2155) - upgrade go-validator to v10 [#2149](https://togithub.com/gin-gonic/gin/pull/2149) - Refactor redirect request in gin.go [#1970](https://togithub.com/gin-gonic/gin/pull/1970) - Add build tag nomsgpack [#1852](https://togithub.com/gin-gonic/gin/pull/1852) ##### DOCS - docs(path): improve comments [#2223](https://togithub.com/gin-gonic/gin/pull/2223) - Renew README to fit the modification of SetCookie method [#2217](https://togithub.com/gin-gonic/gin/pull/2217) - Fix spelling [#2202](https://togithub.com/gin-gonic/gin/pull/2202) - Remove broken link from README. [#2198](https://togithub.com/gin-gonic/gin/pull/2198) - Update docs on Context.Done(), Context.Deadline() and Context.Err() [#2196](https://togithub.com/gin-gonic/gin/pull/2196) - Update validator to v10 [#2190](https://togithub.com/gin-gonic/gin/pull/2190) - upgrade go-validator to v10 for README [#2189](https://togithub.com/gin-gonic/gin/pull/2189) - Update to currently output [#2188](https://togithub.com/gin-gonic/gin/pull/2188) - Fix "Custom Validators" example [#2186](https://togithub.com/gin-gonic/gin/pull/2186) - Add project to README [#2165](https://togithub.com/gin-gonic/gin/pull/2165) - docs(benchmarks): for gin v1.5 [#2153](https://togithub.com/gin-gonic/gin/pull/2153) - Changed wording for clarity in README.md [#2122](https://togithub.com/gin-gonic/gin/pull/2122) ##### MISC - ci support go1.14 [#2262](https://togithub.com/gin-gonic/gin/pull/2262) - chore: upgrade depend version [#2231](https://togithub.com/gin-gonic/gin/pull/2231) - Drop support go1.10 [#2147](https://togithub.com/gin-gonic/gin/pull/2147) - fix comment in `mode.go` [#2129](https://togithub.com/gin-gonic/gin/pull/2129)Configuration
📅 Schedule: 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 these updates again.