docs(readme): release v1.9.0 version (#3474)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by thinkerou · committed by GitHub · parent 4cee78f · Browse files · 4 files·+73 added−24 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
4 files+73 added−24 removed
- other:+73 added−24 removed
Provenance
- Commit
ea03e10- Tree
6f69147- Author
thinkerou <thinkerou@gmail.com>- Committer
GitHub <noreply@github.com>- Parent
4cee78f
4 files changed+73 added−24 removed
modified:CHANGELOG.md+65 added-14 removed
1 # Gin ChangeLog2 3+## Gin v1.9.04+5+### BREAK CHANGES6+7+* Stop useless panicking in context and render [#2150](https://github.com/gin-gonic/gin/pull/2150)8+9+### BUG FIXES10+11+* fix(router): tree bug where loop index is not decremented. [#3460](https://github.com/gin-gonic/gin/pull/3460)12+* fix(context): panic on NegotiateFormat - index out of range [#3397](https://github.com/gin-gonic/gin/pull/3397)13+* Add escape logic for header [#3500](https://github.com/gin-gonic/gin/pull/3500) and [#3503](https://github.com/gin-gonic/gin/pull/3503)14+15+### SECURITY16+17+* Fix the GO-2022-0969 and GO-2022-0288 vulnerabilities [#3333](https://github.com/gin-gonic/gin/pull/3333)18+* fix(security): vulnerability GO-2023-1571 [#3505](https://github.com/gin-gonic/gin/pull/3505)19+20+### ENHANCEMENTS21+22+* feat: add sonic json support [#3184](https://github.com/gin-gonic/gin/pull/3184)23+* chore(file): Creates a directory named path [#3316](https://github.com/gin-gonic/gin/pull/3316)24+* fix: modify interface check way [#3327](https://github.com/gin-gonic/gin/pull/3327)25+* remove deprecated of package io/ioutil [#3395](https://github.com/gin-gonic/gin/pull/3395)26+* refactor: avoid calling strings.ToLower twice [#3343](https://github.com/gin-gonic/gin/pull/3433)27+* console logger HTTP status code bug fixed [#3453](https://github.com/gin-gonic/gin/pull/3453)28+* chore(yaml): upgrade dependency to v3 version [#3456](https://github.com/gin-gonic/gin/pull/3456)29+* chore(router): match method added to routergroup for multiple HTTP methods supporting [#3464](https://github.com/gin-gonic/gin/pull/3464)30+* chore(http): add support for go1.20 http.rwUnwrapper to gin.responseWriter [#3489](https://github.com/gin-gonic/gin/pull/3489)31+32+### DOCS33+34+* docs: update markdown format [#3260](https://github.com/gin-gonic/gin/pull/3260)35+* docs(readme): Add the TOML rendering example [#3400](https://github.com/gin-gonic/gin/pull/3400)36+* docs(readme): move more example to docs/doc.md [#3449](https://github.com/gin-gonic/gin/pull/3449)37+* docs: update markdown format [#3446](https://github.com/gin-gonic/gin/pull/3446)38+39 ## Gin v1.8.240 5-### Bugs41+### BUG FIXES42 43 * fix(route): redirectSlash bug ([#3227]((https://github.com/gin-gonic/gin/pull/3227)))44 * fix(engine): missing route params for CreateTestContext ([#2778]((https://github.com/gin-gonic/gin/pull/2778))) ([#2803]((https://github.com/gin-gonic/gin/pull/2803)))45 10-### Security46+### SECURITY47 48 * Fix the GO-2022-1144 vulnerability ([#3432]((https://github.com/gin-gonic/gin/pull/3432)))49 50 ## Gin v1.8.13 unmodified lines54 * feat(context): add ContextWithFallback feature flag [#3172](https://github.com/gin-gonic/gin/pull/3172)55 56 ## Gin v1.8.057 22-## Break Changes58+### BREAK CHANGES59 60 * TrustedProxies: Add default IPv6 support and refactor [#2967](https://github.com/gin-gonic/gin/pull/2967). Please replace `RemoteIP() (net.IP, bool)` with `RemoteIP() net.IP`61 * gin.Context with fallback value from gin.Context.Request.Context() [#2751](https://github.com/gin-gonic/gin/pull/2751)62 27-### BUGFIXES63+### BUG FIXES64 65 * Fixed SetOutput() panics on go 1.17 [#2861](https://github.com/gin-gonic/gin/pull/2861)66 * Fix: wrong when wildcard follows named param [#2983](https://github.com/gin-gonic/gin/pull/2983)67 * Fix: missing sameSite when do context.reset() [#3123](https://github.com/gin-gonic/gin/pull/3123)28 unmodified lines96 * Add note about nomsgpack tag to the readme [#2703](https://github.com/gin-gonic/gin/pull/2703)97 98 ## Gin v1.7.799 64-### BUGFIXES100+### BUG FIXES101 102 * Fixed X-Forwarded-For unsafe handling of CVE-2020-28483 [#2844](https://github.com/gin-gonic/gin/pull/2844), closed issue [#2862](https://github.com/gin-gonic/gin/issues/2862).103 * Tree: updated the code logic for `latestNode` [#2897](https://github.com/gin-gonic/gin/pull/2897), closed issue [#2894](https://github.com/gin-gonic/gin/issues/2894) [#2878](https://github.com/gin-gonic/gin/issues/2878).104 * Tree: fixed the misplacement of adding slashes [#2847](https://github.com/gin-gonic/gin/pull/2847), closed issue [#2843](https://github.com/gin-gonic/gin/issues/2843).9 unmodified lines114 * NoMethod: added usage annotation ([#2832](https://github.com/gin-gonic/gin/pull/2832#issuecomment-929954463)).115 116 ## Gin v1.7.6117 82-### BUGFIXES118+### BUG FIXES119 120 * bump new release to fix v1.7.5 release error by using v1.7.4 codes.121 122 ## Gin v1.7.4123 88-### BUGFIXES124+### BUG FIXES125 126 * bump new release to fix checksum mismatch127 128 ## Gin v1.7.3129 94-### BUGFIXES130+### BUG FIXES131 132 * fix level 1 router match [#2767](https://github.com/gin-gonic/gin/issues/2767), [#2796](https://github.com/gin-gonic/gin/issues/2796)133 134 ## Gin v1.7.2135 100-### BUGFIXES136+### BUG FIXES137 138 * Fix conflict between param and exact path [#2706](https://github.com/gin-gonic/gin/issues/2706). Close issue [#2682](https://github.com/gin-gonic/gin/issues/2682) [#2696](https://github.com/gin-gonic/gin/issues/2696).139 140 ## Gin v1.7.1141 106-### BUGFIXES142+### BUG FIXES143 144 * fix: data race with trustedCIDRs from [#2674](https://github.com/gin-gonic/gin/issues/2674)([#2675](https://github.com/gin-gonic/gin/pull/2675))145 146 ## Gin v1.7.0147 112-### BUGFIXES148+### BUG FIXES149 150 * fix compile error from [#2572](https://github.com/gin-gonic/gin/pull/2572) ([#2600](https://github.com/gin-gonic/gin/pull/2600))151 * fix: print headers without Authorization header on broken pipe ([#2528](https://github.com/gin-gonic/gin/pull/2528))152 * fix(tree): reassign fullpath when register new node ([#2366](https://github.com/gin-gonic/gin/pull/2366))30 unmodified lines183 * Improve performance: Change `*sync.RWMutex` to `sync.RWMutex` in context. [#2351](https://github.com/gin-gonic/gin/pull/2351)184 185 ## Gin v1.6.2186 151-### BUGFIXES187+### BUG FIXES188+189 * fix missing initial sync.RWMutex [#2305](https://github.com/gin-gonic/gin/pull/2305)190+191 ### ENHANCEMENTS192+193 * Add set samesite in cookie. [#2306](https://github.com/gin-gonic/gin/pull/2306)194 195 ## Gin v1.6.1196 158-### BUGFIXES197+### BUG FIXES198+199 * Revert "fix accept incoming network connections" [#2294](https://github.com/gin-gonic/gin/pull/2294)200 201 ## Gin v1.6.0202 203 ### BREAKING204+205 * chore(performance): Improve performance for adding RemoveExtraSlash flag [#2159](https://github.com/gin-gonic/gin/pull/2159)206 * drop support govendor [#2148](https://github.com/gin-gonic/gin/pull/2148)207 * Added support for SameSite cookie flag [#1615](https://github.com/gin-gonic/gin/pull/1615)208+209 ### FEATURES210+211 * add yaml negotiation [#2220](https://github.com/gin-gonic/gin/pull/2220)212 * FileFromFS [#2112](https://github.com/gin-gonic/gin/pull/2112)213+170-### BUGFIXES214+### BUG FIXES215+216 * Unix Socket Handling [#2280](https://github.com/gin-gonic/gin/pull/2280)217 * Use json marshall in context json to fix breaking new line issue. Fixes #2209 [#2228](https://github.com/gin-gonic/gin/pull/2228)218 * fix accept incoming network connections [#2216](https://github.com/gin-gonic/gin/pull/2216)219 * Fixed a bug in the calculation of the maximum number of parameters [#2166](https://github.com/gin-gonic/gin/pull/2166)220 * [FIX] allow empty headers on DataFromReader [#2121](https://github.com/gin-gonic/gin/pull/2121)221 * Add mutex for protect Context.Keys map [#1391](https://github.com/gin-gonic/gin/pull/1391)222+223 ### ENHANCEMENTS224+225 * Add mitigation for log injection [#2277](https://github.com/gin-gonic/gin/pull/2277)226 * tree: range over nodes values [#2229](https://github.com/gin-gonic/gin/pull/2229)227 * tree: remove duplicate assignment [#2222](https://github.com/gin-gonic/gin/pull/2222)228 * chore: upgrade go-isatty and json-iterator/go [#2215](https://github.com/gin-gonic/gin/pull/2215)6 unmodified lines235 * use http method constant [#2155](https://github.com/gin-gonic/gin/pull/2155)236 * upgrade go-validator to v10 [#2149](https://github.com/gin-gonic/gin/pull/2149)237 * Refactor redirect request in gin.go [#1970](https://github.com/gin-gonic/gin/pull/1970)238 * Add build tag nomsgpack [#1852](https://github.com/gin-gonic/gin/pull/1852)239+240 ### DOCS241+242 * docs(path): improve comments [#2223](https://github.com/gin-gonic/gin/pull/2223)243 * Renew README to fit the modification of SetCookie method [#2217](https://github.com/gin-gonic/gin/pull/2217)244 * Fix spelling [#2202](https://github.com/gin-gonic/gin/pull/2202)245 * Remove broken link from README. [#2198](https://github.com/gin-gonic/gin/pull/2198)4 unmodified lines250 * Fix "Custom Validators" example [#2186](https://github.com/gin-gonic/gin/pull/2186)251 * Add project to README [#2165](https://github.com/gin-gonic/gin/pull/2165)252 * docs(benchmarks): for gin v1.5 [#2153](https://github.com/gin-gonic/gin/pull/2153)253 * Changed wording for clarity in README.md [#2122](https://github.com/gin-gonic/gin/pull/2122)254+255 ### MISC256+257 * ci support go1.14 [#2262](https://github.com/gin-gonic/gin/pull/2262)258 * chore: upgrade depend version [#2231](https://github.com/gin-gonic/gin/pull/2231)259 * Drop support go1.10 [#2147](https://github.com/gin-gonic/gin/pull/2147)260 * fix comment in `mode.go` [#2129](https://github.com/gin-gonic/gin/pull/2129)304 unmodified linesmodified:go.mod+3 added-3 removed
1 unmodified line2 3 go 1.184 5 require (6- github.com/bytedance/sonic v1.7.16+ github.com/bytedance/sonic v1.8.07 github.com/gin-contrib/sse v0.1.08 github.com/go-playground/validator/v10 v10.11.29 github.com/goccy/go-json v0.10.010 github.com/json-iterator/go v1.1.1210 unmodified lines21 github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect22 github.com/davecgh/go-spew v1.1.1 // indirect23 github.com/go-playground/locales v0.14.1 // indirect24 github.com/go-playground/universal-translator v0.18.1 // indirect25- github.com/klauspost/cpuid/v2 v2.0.14 // indirect25+ github.com/klauspost/cpuid/v2 v2.0.9 // indirect26 github.com/kr/text v0.2.0 // indirect27 github.com/leodido/go-urn v1.2.1 // indirect28 github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect29 github.com/modern-go/reflect2 v1.0.2 // indirect30 github.com/pmezard/go-difflib v1.0.0 // indirect31 github.com/twitchyliquid64/golang-asm v0.15.1 // indirect32- golang.org/x/arch v0.0.0-20220412001346-fc48f9fe4c15 // indirect32+ golang.org/x/arch v0.0.0-20210923205945-b76863e36670 // indirect33 golang.org/x/crypto v0.5.0 // indirect34 golang.org/x/sys v0.5.0 // indirect35 golang.org/x/text v0.7.0 // indirect36 )modified:go.sum+4 added-6 removed
1 github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM=2-github.com/bytedance/sonic v1.7.1 h1:UYWEKUHQDye89c2U6zvrvuxWdGCI/wCrZITFQmKGtGc=3-github.com/bytedance/sonic v1.7.1/go.mod h1:i736AoUSYt75HyZLoJW9ERYxcy6eaN6h4BZXU064P/U=2+github.com/bytedance/sonic v1.8.0 h1:ea0Xadu+sHlu7x5O3gKhRpQ1IKiMrSiHttPF0ybECuA=3+github.com/bytedance/sonic v1.8.0/go.mod h1:i736AoUSYt75HyZLoJW9ERYxcy6eaN6h4BZXU064P/U=4 github.com/chenzhuoyu/base64x v0.0.0-20211019084208-fb5309c8db06/go.mod h1:DH46F32mSOjUmXrMHnKwZdA8wcEefY7UVqBKYGjpdQY=5 github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 h1:qSGYFH7+jGhDF8vLC+iwCD4WpbV1EBDSzWkJODFLams=6 github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311/go.mod h1:b583jCggY9gE99b6G5LEC39OIiVsWj+R97kbl5odCEk=7 github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=16 unmodified lines24 github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=25 github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=26 github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=27 github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=28+github.com/klauspost/cpuid/v2 v2.0.9 h1:lgaqFMSdTdQYdZ04uHyN2d/eKdOMyi2YLSvlQIBFYa4=29 github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=29-github.com/klauspost/cpuid/v2 v2.0.14 h1:QRqdp6bb9M9S5yyKeYteXKuoKE4p0tGlra81fKOpWH8=30-github.com/klauspost/cpuid/v2 v2.0.14/go.mod h1:g2LTdtYhdyuGPqyWyv7qRAmj1WBqxuObKfj5c0PQa7c=30 github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0=31 github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=32 github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=33 github.com/leodido/go-urn v1.2.1 h1:BqpAaACuzVSgi/VLzGZIobT2z4v53pjosyNd9Yv6n/w=22 unmodified lines56 github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI=57 github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08=58 github.com/ugorji/go/codec v1.2.9 h1:rmenucSohSTiyL09Y+l2OCk+FrMxGMzho2+tjr5ticU=59 github.com/ugorji/go/codec v1.2.9/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg=60+golang.org/x/arch v0.0.0-20210923205945-b76863e36670 h1:18EFjUmQOcUvxNYSkA6jO9VAiXCnxFY6NyDX0bHDmkU=61 golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=62-golang.org/x/arch v0.0.0-20220412001346-fc48f9fe4c15 h1:GVfVkciLYxn5mY5EncwAe0SXUn9Rm81rRkZ0TTmn/cU=63-golang.org/x/arch v0.0.0-20220412001346-fc48f9fe4c15/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=62 golang.org/x/crypto v0.5.0 h1:U/0M97KRkSFvyD/3FSmdP5W5swImpNgle/EHFhOsQPE=63 golang.org/x/crypto v0.5.0/go.mod h1:NK/OQwhpMQP3MwtdjgLlYHnH9ebylxKWv3e0fK+mkQU=64 golang.org/x/net v0.7.0 h1:rJrUqqhjsgNp7KqAIc25s9pZnjU7TUcSY7HcVZjdn1g=65 golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=16 unmodified linesmodified:version.go+1 added-1 removed
3 unmodified lines4 5 package gin6 7 // Version is the current gin framework's version.8-const Version = "v1.8.2"8+const Version = "v1.9.0"