| 
1 | 1 | # Gin ChangeLog  | 
2 | 2 | 
 
  | 
 | 3 | +## Gin v1.9.0  | 
 | 4 | + | 
 | 5 | +### BREAK CHANGES  | 
 | 6 | + | 
 | 7 | +* Stop useless panicking in context and render [#2150](https://github.com/gin-gonic/gin/pull/2150)  | 
 | 8 | + | 
 | 9 | +### BUG FIXES  | 
 | 10 | + | 
 | 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 | +### SECURITY  | 
 | 16 | + | 
 | 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 | +### ENHANCEMENTS  | 
 | 21 | + | 
 | 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 | +### DOCS  | 
 | 33 | + | 
 | 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 | + | 
3 | 39 | ## Gin v1.8.2  | 
4 | 40 | 
 
  | 
5 |  | -### Bugs  | 
 | 41 | +### BUG FIXES  | 
6 | 42 | 
 
  | 
7 | 43 | * fix(route): redirectSlash bug ([#3227]((https://github.com/gin-gonic/gin/pull/3227)))  | 
8 | 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)))  | 
9 | 45 | 
 
  | 
10 |  | -### Security  | 
 | 46 | +### SECURITY  | 
11 | 47 | 
 
  | 
12 | 48 | * Fix the GO-2022-1144 vulnerability ([#3432]((https://github.com/gin-gonic/gin/pull/3432)))  | 
13 | 49 | 
 
  | 
 | 
19 | 55 | 
 
  | 
20 | 56 | ## Gin v1.8.0  | 
21 | 57 | 
 
  | 
22 |  | -## Break Changes  | 
 | 58 | +### BREAK CHANGES  | 
23 | 59 | 
 
  | 
24 | 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`  | 
25 | 61 | * gin.Context with fallback value from gin.Context.Request.Context() [#2751](https://github.com/gin-gonic/gin/pull/2751)  | 
26 | 62 | 
 
  | 
27 |  | -### BUGFIXES  | 
 | 63 | +### BUG FIXES  | 
28 | 64 | 
 
  | 
29 | 65 | * Fixed SetOutput() panics on go 1.17 [#2861](https://github.com/gin-gonic/gin/pull/2861)  | 
30 | 66 | * Fix: wrong when wildcard follows named param [#2983](https://github.com/gin-gonic/gin/pull/2983)  | 
 | 
61 | 97 | 
 
  | 
62 | 98 | ## Gin v1.7.7  | 
63 | 99 | 
 
  | 
64 |  | -### BUGFIXES  | 
 | 100 | +### BUG FIXES  | 
65 | 101 | 
 
  | 
66 | 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).  | 
67 | 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).  | 
 | 
79 | 115 | 
 
  | 
80 | 116 | ## Gin v1.7.6  | 
81 | 117 | 
 
  | 
82 |  | -### BUGFIXES  | 
 | 118 | +### BUG FIXES  | 
83 | 119 | 
 
  | 
84 | 120 | * bump new release to fix v1.7.5 release error by using v1.7.4 codes.  | 
85 | 121 | 
 
  | 
86 | 122 | ## Gin v1.7.4  | 
87 | 123 | 
 
  | 
88 |  | -### BUGFIXES  | 
 | 124 | +### BUG FIXES  | 
89 | 125 | 
 
  | 
90 | 126 | * bump new release to fix checksum mismatch  | 
91 | 127 | 
 
  | 
92 | 128 | ## Gin v1.7.3  | 
93 | 129 | 
 
  | 
94 |  | -### BUGFIXES  | 
 | 130 | +### BUG FIXES  | 
95 | 131 | 
 
  | 
96 | 132 | * fix level 1 router match [#2767](https://github.com/gin-gonic/gin/issues/2767), [#2796](https://github.com/gin-gonic/gin/issues/2796)  | 
97 | 133 | 
 
  | 
98 | 134 | ## Gin v1.7.2  | 
99 | 135 | 
 
  | 
100 |  | -### BUGFIXES  | 
 | 136 | +### BUG FIXES  | 
101 | 137 | 
 
  | 
102 | 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).  | 
103 | 139 | 
 
  | 
104 | 140 | ## Gin v1.7.1  | 
105 | 141 | 
 
  | 
106 |  | -### BUGFIXES  | 
 | 142 | +### BUG FIXES  | 
107 | 143 | 
 
  | 
108 | 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))  | 
109 | 145 | 
 
  | 
110 | 146 | ## Gin v1.7.0  | 
111 | 147 | 
 
  | 
112 |  | -### BUGFIXES  | 
 | 148 | +### BUG FIXES  | 
113 | 149 | 
 
  | 
114 | 150 | * fix compile error from [#2572](https://github.com/gin-gonic/gin/pull/2572) ([#2600](https://github.com/gin-gonic/gin/pull/2600))  | 
115 | 151 | * fix: print headers without Authorization header on broken pipe ([#2528](https://github.com/gin-gonic/gin/pull/2528))  | 
 | 
148 | 184 | 
 
  | 
149 | 185 | ## Gin v1.6.2  | 
150 | 186 | 
 
  | 
151 |  | -### BUGFIXES  | 
 | 187 | +### BUG FIXES  | 
 | 188 | + | 
152 | 189 |   * fix missing initial sync.RWMutex [#2305](https://github.com/gin-gonic/gin/pull/2305)  | 
 | 190 | + | 
153 | 191 | ### ENHANCEMENTS  | 
 | 192 | + | 
154 | 193 |   * Add set samesite in cookie. [#2306](https://github.com/gin-gonic/gin/pull/2306)  | 
155 | 194 | 
 
  | 
156 | 195 | ## Gin v1.6.1  | 
157 | 196 | 
 
  | 
158 |  | -### BUGFIXES  | 
 | 197 | +### BUG FIXES  | 
 | 198 | + | 
159 | 199 |   * Revert "fix accept incoming network connections" [#2294](https://github.com/gin-gonic/gin/pull/2294)  | 
160 | 200 | 
 
  | 
161 | 201 | ## Gin v1.6.0  | 
162 | 202 | 
 
  | 
163 | 203 | ### BREAKING  | 
 | 204 | + | 
164 | 205 |   * chore(performance): Improve performance for adding RemoveExtraSlash flag [#2159](https://github.com/gin-gonic/gin/pull/2159)  | 
165 | 206 |   * drop support govendor [#2148](https://github.com/gin-gonic/gin/pull/2148)  | 
166 | 207 |   * Added support for SameSite cookie flag [#1615](https://github.com/gin-gonic/gin/pull/1615)  | 
 | 208 | + | 
167 | 209 | ### FEATURES  | 
 | 210 | + | 
168 | 211 |   * add yaml negotiation [#2220](https://github.com/gin-gonic/gin/pull/2220)  | 
169 | 212 |   * FileFromFS [#2112](https://github.com/gin-gonic/gin/pull/2112)  | 
170 |  | -### BUGFIXES  | 
 | 213 | + | 
 | 214 | +### BUG FIXES  | 
 | 215 | + | 
171 | 216 |   * Unix Socket Handling [#2280](https://github.com/gin-gonic/gin/pull/2280)  | 
172 | 217 |   * Use json marshall in context json to fix breaking new line issue. Fixes #2209 [#2228](https://github.com/gin-gonic/gin/pull/2228)  | 
173 | 218 |   * fix accept incoming network connections [#2216](https://github.com/gin-gonic/gin/pull/2216)  | 
174 | 219 |   * Fixed a bug in the calculation of the maximum number of parameters [#2166](https://github.com/gin-gonic/gin/pull/2166)  | 
175 | 220 |   * [FIX] allow empty headers on DataFromReader [#2121](https://github.com/gin-gonic/gin/pull/2121)  | 
176 | 221 |   * Add mutex for protect Context.Keys map [#1391](https://github.com/gin-gonic/gin/pull/1391)  | 
 | 222 | + | 
177 | 223 | ### ENHANCEMENTS  | 
 | 224 | + | 
178 | 225 |   * Add mitigation for log injection [#2277](https://github.com/gin-gonic/gin/pull/2277)  | 
179 | 226 |   * tree: range over nodes values [#2229](https://github.com/gin-gonic/gin/pull/2229)  | 
180 | 227 |   * tree: remove duplicate assignment [#2222](https://github.com/gin-gonic/gin/pull/2222)  | 
 | 
189 | 236 |   * upgrade go-validator to v10 [#2149](https://github.com/gin-gonic/gin/pull/2149)  | 
190 | 237 |   * Refactor redirect request in gin.go [#1970](https://github.com/gin-gonic/gin/pull/1970)  | 
191 | 238 |   * Add build tag nomsgpack [#1852](https://github.com/gin-gonic/gin/pull/1852)  | 
 | 239 | + | 
192 | 240 | ### DOCS  | 
 | 241 | + | 
193 | 242 |   * docs(path): improve comments [#2223](https://github.com/gin-gonic/gin/pull/2223)  | 
194 | 243 |   * Renew README to fit the modification of SetCookie method [#2217](https://github.com/gin-gonic/gin/pull/2217)  | 
195 | 244 |   * Fix spelling [#2202](https://github.com/gin-gonic/gin/pull/2202)  | 
 | 
202 | 251 |   * Add project to README [#2165](https://github.com/gin-gonic/gin/pull/2165)  | 
203 | 252 |   * docs(benchmarks): for gin v1.5 [#2153](https://github.com/gin-gonic/gin/pull/2153)  | 
204 | 253 |   * Changed wording for clarity in README.md [#2122](https://github.com/gin-gonic/gin/pull/2122)  | 
 | 254 | + | 
205 | 255 | ### MISC  | 
 | 256 | + | 
206 | 257 |   * ci support go1.14 [#2262](https://github.com/gin-gonic/gin/pull/2262)  | 
207 | 258 |   * chore: upgrade depend version [#2231](https://github.com/gin-gonic/gin/pull/2231)  | 
208 | 259 |   * Drop support go1.10 [#2147](https://github.com/gin-gonic/gin/pull/2147)  | 
 | 
0 commit comments