Skip to content
Myr

CHANGELOG.md

This file

Path

CHANGELOG.md

796 lines · 49.6 KiB · Markdown

Last changed by

docs: update documentation to reflect Go version changes (#4552)Bo-Yi Wubefore adoption73726dc

History of this file

Take it

The walk stopped after 200 commits: lines older than cf32d2d point at it.

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 1–2why, one step back
1# Gin ChangeLog
2

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 3–51why, one step back
3## Gin v1.12.0
45### Features67- feat(render): add bson protocol ([#4145](https://github.com/gin-gonic/gin/pull/4145))8- feat(context): add GetError and GetErrorSlice methods for error retrieval ([#4502](https://github.com/gin-gonic/gin/pull/4502))9- feat(binding): add support for encoding.UnmarshalText in uri/query binding ([#4203](https://github.com/gin-gonic/gin/pull/4203))10- feat(gin): add option to use escaped path ([#4420](https://github.com/gin-gonic/gin/pull/4420))11- feat(context): add Protocol Buffers support to content negotiation ([#4423](https://github.com/gin-gonic/gin/pull/4423))12- feat(context): implemented Delete method ([#38e7651](https://github.com/gin-gonic/gin/commit/38e7651))13- feat(logger): color latency ([#4146](https://github.com/gin-gonic/gin/pull/4146))1415### Enhancements1617- perf(tree): reduce allocations in findCaseInsensitivePath ([#4417](https://github.com/gin-gonic/gin/pull/4417))18- perf(recovery): optimize line reading in stack function ([#4466](https://github.com/gin-gonic/gin/pull/4466))19- perf(path): replace regex with custom functions in redirectTrailingSlash ([#4414](https://github.com/gin-gonic/gin/pull/4414))20- perf(tree): optimize path parsing using strings.Count ([#4246](https://github.com/gin-gonic/gin/pull/4246))21- chore(logger): allow skipping query string output ([#4547](https://github.com/gin-gonic/gin/pull/4547))22- chore(context): always trust xff headers from unix socket ([#3359](https://github.com/gin-gonic/gin/pull/3359))23- chore(response): prevent Flush() panic when the underlying ResponseWriter does not implement `http.Flusher` ([#4479](https://github.com/gin-gonic/gin/pull/4479))24- refactor(recovery): smart error comparison ([#4142](https://github.com/gin-gonic/gin/pull/4142))25- refactor(context): replace hardcoded localhost IPs with constants ([#4481](https://github.com/gin-gonic/gin/pull/4481))26- refactor(utils): move util functions to utils.go ([#4467](https://github.com/gin-gonic/gin/pull/4467))27- refactor(binding): use maps.Copy for cleaner map handling ([#4352](https://github.com/gin-gonic/gin/pull/4352))28- refactor(context): using maps.Clone ([#4333](https://github.com/gin-gonic/gin/pull/4333))29- refactor(ginS): use sync.OnceValue to simplify engine function ([#4314](https://github.com/gin-gonic/gin/pull/4314))30- refactor: replace magic numbers with named constants in bodyAllowedForStatus ([#4529](https://github.com/gin-gonic/gin/pull/4529))31- refactor: for loop can be modernized using range over int ([#4392](https://github.com/gin-gonic/gin/pull/4392))3233### Bug Fixes3435- fix(tree): panic in findCaseInsensitivePathRec with RedirectFixedPath ([#4535](https://github.com/gin-gonic/gin/pull/4535))36- fix(render): write content length in Data.Render ([#4206](https://github.com/gin-gonic/gin/pull/4206))37- fix(context): ClientIP handling for multiple X-Forwarded-For header values ([#4472](https://github.com/gin-gonic/gin/pull/4472))38- fix(binding): empty value error ([#2169](https://github.com/gin-gonic/gin/pull/2169))39- fix(recover): suppress http.ErrAbortHandler in recover ([#4336](https://github.com/gin-gonic/gin/pull/4336))40- fix(gin): literal colon routes not working with engine.Handler() ([#4415](https://github.com/gin-gonic/gin/pull/4415))41- fix(gin): close os.File in RunFd to prevent resource leak ([#4422](https://github.com/gin-gonic/gin/pull/4422))42- fix(response): refine hijack behavior for response lifecycle ([#4373](https://github.com/gin-gonic/gin/pull/4373))43- fix(binding): improve empty slice/array handling in form binding ([#4380](https://github.com/gin-gonic/gin/pull/4380))44- fix(debug): version mismatch ([#4403](https://github.com/gin-gonic/gin/pull/4403))45- fix: correct typos, improve documentation clarity, and remove dead code ([#4511](https://github.com/gin-gonic/gin/pull/4511))4647### Build process updates / CI4849- ci: update Go version support to 1.25+ across CI and docs ([#4550](https://github.com/gin-gonic/gin/pull/4550))50- chore(binding): upgrade bson dependency to mongo-driver v2 ([#4549](https://github.com/gin-gonic/gin/pull/4549))51

docs(changelog): upgrade Gin to v1.11.0 and add release notes (#4361)Bo-Yi Wubefore adoption6ad6205

lines 52–55why, one step back
52## Gin v1.11.0
5354### Features55

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 56–62why, one step back
56- feat(gin): Experimental support for HTTP/3 using quic-go/quic-go ([#3210](https://github.com/gin-gonic/gin/pull/3210))
57- feat(form): add array collection format in form binding ([#3986](https://github.com/gin-gonic/gin/pull/3986)), add custom string slice for form tag unmarshal ([#3970](https://github.com/gin-gonic/gin/pull/3970))58- feat(binding): add BindPlain ([#3904](https://github.com/gin-gonic/gin/pull/3904))59- feat(fs): Export, test and document OnlyFilesFS ([#3939](https://github.com/gin-gonic/gin/pull/3939))60- feat(binding): add support for unixMilli and unixMicro ([#4190](https://github.com/gin-gonic/gin/pull/4190))61- feat(form): Support default values for collections in form binding ([#4048](https://github.com/gin-gonic/gin/pull/4048))62- feat(context): GetXxx added support for more go native types ([#3633](https://github.com/gin-gonic/gin/pull/3633))

docs(changelog): upgrade Gin to v1.11.0 and add release notes (#4361)Bo-Yi Wubefore adoption6ad6205

lines 63–65why, one step back
63
64### Enhancements65

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 66–78why, one step back
66- perf(context): optimize getMapFromFormData performance ([#4339](https://github.com/gin-gonic/gin/pull/4339))
67- refactor(tree): replace string(/) with "/" in node.insertChild ([#4354](https://github.com/gin-gonic/gin/pull/4354))68- refactor(render): remove headers parameter from writeHeader ([#4353](https://github.com/gin-gonic/gin/pull/4353))69- refactor(context): simplify "GetType()" functions ([#4080](https://github.com/gin-gonic/gin/pull/4080))70- refactor(slice): simplify SliceValidationError Error method ([#3910](https://github.com/gin-gonic/gin/pull/3910))71- refactor(context):Avoid using filepath.Dir twice in SaveUploadedFile ([#4181](https://github.com/gin-gonic/gin/pull/4181))72- refactor(context): refactor context handling and improve test robustness ([#4066](https://github.com/gin-gonic/gin/pull/4066))73- refactor(binding): use strings.Cut to replace strings.Index ([#3522](https://github.com/gin-gonic/gin/pull/3522))74- refactor(context): add an optional permission parameter to SaveUploadedFile ([#4068](https://github.com/gin-gonic/gin/pull/4068))75- refactor(context): verify URL is Non-nil in initQueryCache() ([#3969](https://github.com/gin-gonic/gin/pull/3969))76- refactor(context): YAML judgment logic in Negotiate ([#3966](https://github.com/gin-gonic/gin/pull/3966))77- tree: replace the self-defined 'min' to official one ([#3975](https://github.com/gin-gonic/gin/pull/3975))78- context: Remove redundant filepath.Dir usage ([#4181](https://github.com/gin-gonic/gin/pull/4181))

docs(changelog): upgrade Gin to v1.11.0 and add release notes (#4361)Bo-Yi Wubefore adoption6ad6205

lines 79–81why, one step back
79
80### Bug Fixes81

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 82–90why, one step back
82- fix: prevent middleware re-entry issue in HandleContext ([#3987](https://github.com/gin-gonic/gin/pull/3987))
83- fix(binding): prevent duplicate decoding and add validation in decodeToml ([#4193](https://github.com/gin-gonic/gin/pull/4193))84- fix(gin): Do not panic when handling method not allowed on empty tree ([#4003](https://github.com/gin-gonic/gin/pull/4003))85- fix(gin): data race warning for gin mode ([#1580](https://github.com/gin-gonic/gin/pull/1580))86- fix(context): verify URL is Non-nil in initQueryCache() ([#3969](https://github.com/gin-gonic/gin/pull/3969))87- fix(context): YAML judgment logic in Negotiate ([#3966](https://github.com/gin-gonic/gin/pull/3966))88- fix(context): check handler is nil ([#3413](https://github.com/gin-gonic/gin/pull/3413))89- fix(readme): fix broken link to English documentation ([#4222](https://github.com/gin-gonic/gin/pull/4222))90- fix(tree): Keep panic infos consistent when wildcard type build faild ([#4077](https://github.com/gin-gonic/gin/pull/4077))

docs(changelog): upgrade Gin to v1.11.0 and add release notes (#4361)Bo-Yi Wubefore adoption6ad6205

lines 91–93why, one step back
91
92### Build process updates / CI93

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 94–100why, one step back
94- ci: integrate Trivy vulnerability scanning into CI workflow ([#4359](https://github.com/gin-gonic/gin/pull/4359))
95- ci: support Go 1.25 in CI/CD ([#4341](https://github.com/gin-gonic/gin/pull/4341))96- build(deps): upgrade github.com/bytedance/sonic from v1.13.2 to v1.14.0 ([#4342](https://github.com/gin-gonic/gin/pull/4342))97- ci: add Go version 1.24 to GitHub Actions ([#4154](https://github.com/gin-gonic/gin/pull/4154))98- build: update Gin minimum Go version to 1.21 ([#3960](https://github.com/gin-gonic/gin/pull/3960))99- ci(lint): enable new linters (testifylint, usestdlibvars, perfsprint, etc.) ([#4010](https://github.com/gin-gonic/gin/pull/4010), [#4091](https://github.com/gin-gonic/gin/pull/4091), [#4090](https://github.com/gin-gonic/gin/pull/4090))100- ci(lint): update workflows and improve test request consistency ([#4126](https://github.com/gin-gonic/gin/pull/4126))

docs(changelog): upgrade Gin to v1.11.0 and add release notes (#4361)Bo-Yi Wubefore adoption6ad6205

lines 101–103why, one step back
101
102### Dependency updates103

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 104–109why, one step back
104- chore(deps): bump google.golang.org/protobuf from 1.36.6 to 1.36.9 ([#4346](https://github.com/gin-gonic/gin/pull/4346), [#4356](https://github.com/gin-gonic/gin/pull/4356))
105- chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1 ([#4347](https://github.com/gin-gonic/gin/pull/4347))106- chore(deps): bump actions/setup-go from 5 to 6 ([#4351](https://github.com/gin-gonic/gin/pull/4351))107- chore(deps): bump github.com/quic-go/quic-go from 0.53.0 to 0.54.0 ([#4328](https://github.com/gin-gonic/gin/pull/4328))108- chore(deps): bump golang.org/x/net from 0.33.0 to 0.38.0 ([#4178](https://github.com/gin-gonic/gin/pull/4178), [#4221](https://github.com/gin-gonic/gin/pull/4221))109- chore(deps): bump github.com/go-playground/validator/v10 from 10.20.0 to 10.22.1 ([#4052](https://github.com/gin-gonic/gin/pull/4052))

docs(changelog): upgrade Gin to v1.11.0 and add release notes (#4361)Bo-Yi Wubefore adoption6ad6205

lines 110–112why, one step back
110
111### Documentation updates112

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 113–120why, one step back
113- docs(changelog): update release notes for Gin v1.10.1 ([#4360](https://github.com/gin-gonic/gin/pull/4360))
114- docs: Fixing English grammar mistakes and awkward sentence structure in doc/doc.md ([#4207](https://github.com/gin-gonic/gin/pull/4207))115- docs: update documentation and release notes for Gin v1.10.0 ([#3953](https://github.com/gin-gonic/gin/pull/3953))116- docs: fix typo in Gin Quick Start ([#3997](https://github.com/gin-gonic/gin/pull/3997))117- docs: fix comment and link issues ([#4205](https://github.com/gin-gonic/gin/pull/4205), [#3938](https://github.com/gin-gonic/gin/pull/3938))118- docs: fix route group example code ([#4020](https://github.com/gin-gonic/gin/pull/4020))119- docs(readme): add Portuguese documentation ([#4078](https://github.com/gin-gonic/gin/pull/4078))120- docs(context): fix some function names in comment ([#4079](https://github.com/gin-gonic/gin/pull/4079))

docs(changelog): upgrade Gin to v1.11.0 and add release notes (#4361)Bo-Yi Wubefore adoption6ad6205

lines 121–123why, one step back
121
122---123

docs(changelog): update release notes for Gin v1.10.1 (#4360)Bo-Yi Wubefore adoption7858527

lines 124–127why, one step back
124## Gin v1.10.1
125126### Features127

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 128–129why, one step back
128- refactor: strengthen HTTPS security and improve code organization
129- feat(binding): Support custom BindUnmarshaler for binding. (#3933)

docs(changelog): update release notes for Gin v1.10.1 (#4360)Bo-Yi Wubefore adoption7858527

lines 130–132why, one step back
130
131### Enhancements132

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 133–139why, one step back
133- chore(deps): bump github.com/bytedance/sonic from 1.11.3 to 1.11.6 (#3940)
134- chore(deps): bump golangci/golangci-lint-action from 4 to 5 (#3941)135- chore: update external dependencies to latest versions (#3950)136- chore: update various Go dependencies to latest versions (#3901)137- chore: refactor configuration files for better readability (#3951)138- chore: update changelog categories and improve documentation (#3917)139- feat: update version constant to v1.10.0 (#3952)

docs(changelog): update release notes for Gin v1.10.1 (#4360)Bo-Yi Wubefore adoption7858527

lines 140–142why, one step back
140
141### Build process updates142

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 143–144why, one step back
143- ci(release): refactor changelog regex patterns and exclusions (#3914)
144- ci(Makefile): vet command add .PHONY (#3915)

docs(changelog): update release notes for Gin v1.10.1 (#4360)Bo-Yi Wubefore adoption7858527

line 145why, one step back
145

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 146–149why, one step back
146## Gin v1.10.0
147148### Features149

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 150–155why, one step back
150- feat(auth): add proxy-server authentication (#3877) (@EndlessParadox1)
151- feat(bind): ShouldBindBodyWith shortcut and change doc (#3871) (@RedCrazyGhost)152- feat(binding): Support custom BindUnmarshaler for binding. (#3933) (@dkkb)153- feat(binding): support override default binding implement (#3514) (@ssfyn)154- feat(engine): Added `OptionFunc` and `With` (#3572) (@flc1125)155- feat(logger): ability to skip logs based on user-defined logic (#3593) (@palvaneh)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 156–158why, one step back
156
157### Bug fixes158

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 159–171why, one step back
159- Revert "fix(uri): query binding bug (#3236)" (#3899) (@appleboy)
160- fix(binding): binding error while not upload file (#3819) (#3820) (@clearcodecn)161- fix(binding): dereference pointer to struct (#3199) (@echovl)162- fix(context): make context Value method adhere to Go standards (#3897) (@FarmerChillax)163- fix(engine): fix unit test (#3878) (@flc1125)164- fix(header): Allow header according to RFC 7231 (HTTP 405) (#3759) (@Crocmagnon)165- fix(route): Add fullPath in context copy (#3784) (@KarthikReddyPuli)166- fix(router): catch-all conflicting wildcard (#3812) (@FirePing32)167- fix(sec): upgrade golang.org/x/crypto to 0.17.0 (#3832) (@chncaption)168- fix(tree): correctly expand the capacity of params (#3502) (@georgijd-form3)169- fix(uri): query binding bug (#3236) (@illiafox)170- fix: Add pointer support for url query params (#3659) (#3666) (@omkar-foss)171- fix: protect Context.Keys map when call Copy method (#3873) (@kingcanfish)

docs(changelog): update release notes for Gin v1.10.1 (#4360)Bo-Yi Wubefore adoption7858527

line 172why, one step back
172

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 173–174why, one step back
173### Enhancements
174

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 175–192why, one step back
175- chore(CI): update release args (#3595) (@qloog)
176- chore(IP): add TrustedPlatform constant for Fly.io. (#3839) (@ab)177- chore(debug): add ability to override the debugPrint statement (#2337) (@josegonzalez)178- chore(deps): update dependencies to latest versions (#3835) (@appleboy)179- chore(header): Add support for RFC 9512: application/yaml (#3851) (@vincentbernat)180- chore(http): use white color for HTTP 1XX (#3741) (@viralparmarme)181- chore(optimize): the ShouldBindUri method of the Context struct (#3911) (@1911860538)182- chore(perf): Optimize the Copy method of the Context struct (#3859) (@1911860538)183- chore(refactor): modify interface check way (#3855) (@demoManito)184- chore(request): check reader if it's nil before reading (#3419) (@noahyao1024)185- chore(security): upgrade Protobuf for CVE-2024-24786 (#3893) (@Fotkurz)186- chore: refactor CI and update dependencies (#3848) (@appleboy)187- chore: refactor configuration files for better readability (#3951) (@appleboy)188- chore: update GitHub Actions configuration (#3792) (@appleboy)189- chore: update changelog categories and improve documentation (#3917) (@appleboy)190- chore: update dependencies to latest versions (#3694) (@appleboy)191- chore: update external dependencies to latest versions (#3950) (@appleboy)192- chore: update various Go dependencies to latest versions (#3901) (@appleboy)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 193–195why, one step back
193
194### Build process updates195

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 196–200why, one step back
196- build(codecov): Added a codecov configuration (#3891) (@flc1125)
197- ci(Makefile): vet command add .PHONY (#3915) (@imalasong)198- ci(lint): update tooling and workflows for consistency (#3834) (@appleboy)199- ci(release): refactor changelog regex patterns and exclusions (#3914) (@appleboy)200- ci(testing): add go1.22 version (#3842) (@appleboy)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 201–203why, one step back
201
202### Documentation updates203

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 204–210why, one step back
204- docs(context): Added deprecation comments to BindWith (#3880) (@flc1125)
205- docs(middleware): comments to function `BasicAuthForProxy` (#3881) (@EndlessParadox1)206- docs: Add document to constant `AuthProxyUserKey` and `BasicAuthForProxy`. (#3887) (@EndlessParadox1)207- docs: fix typo in comment (#3868) (@testwill)208- docs: fix typo in function documentation (#3872) (@TotomiEcio)209- docs: remove redundant comments (#3765) (@WeiTheShinobi)210- feat: update version constant to v1.10.0 (#3952) (@appleboy)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 211–213why, one step back
211
212### Others213

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 214–218why, one step back
214- Upgrade golang.org/x/net -> v0.13.0 (#3684) (@cpcf)
215- test(git): gitignore add develop tools (#3370) (@demoManito)216- test(http): use constant instead of numeric literal (#3863) (@testwill)217- test(path): Optimize unit test execution results (#3883) (@flc1125)218- test(render): increased unit tests coverage (#3691) (@araujo88)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 219–223why, one step back
219
220## Gin v1.9.1221222### BUG FIXES223

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

line 224why, one step back
224- fix Request.Context() checks [#3512](https://github.com/gin-gonic/gin/pull/3512)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 225–227why, one step back
225
226### SECURITY227

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

line 228why, one step back
228- fix lack of escaping of filename in Content-Disposition [#3556](https://github.com/gin-gonic/gin/pull/3556)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 229–231why, one step back
229
230### ENHANCEMENTS231

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 232–234why, one step back
232- refactor: use bytes.ReplaceAll directly [#3455](https://github.com/gin-gonic/gin/pull/3455)
233- convert strings and slices using the officially recommended way [#3344](https://github.com/gin-gonic/gin/pull/3344)234- improve render code coverage [#3525](https://github.com/gin-gonic/gin/pull/3525)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 235–237why, one step back
235
236### DOCS237

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 238–239why, one step back
238- docs: changed documentation link for trusted proxies [#3575](https://github.com/gin-gonic/gin/pull/3575)
239- chore: improve linting, testing, and GitHub Actions setup [#3583](https://github.com/gin-gonic/gin/pull/3583)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 240–244why, one step back
240
241## Gin v1.9.0242243### BREAK CHANGES244

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

line 245why, one step back
245- Stop useless panicking in context and render [#2150](https://github.com/gin-gonic/gin/pull/2150)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 246–248why, one step back
246
247### BUG FIXES248

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 249–251why, one step back
249- fix(router): tree bug where loop index is not decremented. [#3460](https://github.com/gin-gonic/gin/pull/3460)
250- fix(context): panic on NegotiateFormat - index out of range [#3397](https://github.com/gin-gonic/gin/pull/3397)251- Add escape logic for header [#3500](https://github.com/gin-gonic/gin/pull/3500) and [#3503](https://github.com/gin-gonic/gin/pull/3503)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 252–254why, one step back
252
253### SECURITY254

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 255–256why, one step back
255- Fix the GO-2022-0969 and GO-2022-0288 vulnerabilities [#3333](https://github.com/gin-gonic/gin/pull/3333)
256- fix(security): vulnerability GO-2023-1571 [#3505](https://github.com/gin-gonic/gin/pull/3505)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 257–259why, one step back
257
258### ENHANCEMENTS259

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 260–268why, one step back
260- feat: add sonic json support [#3184](https://github.com/gin-gonic/gin/pull/3184)
261- chore(file): Creates a directory named path [#3316](https://github.com/gin-gonic/gin/pull/3316)262- fix: modify interface check way [#3327](https://github.com/gin-gonic/gin/pull/3327)263- remove deprecated of package io/ioutil [#3395](https://github.com/gin-gonic/gin/pull/3395)264- refactor: avoid calling strings.ToLower twice [#3343](https://github.com/gin-gonic/gin/pull/3433)265- console logger HTTP status code bug fixed [#3453](https://github.com/gin-gonic/gin/pull/3453)266- chore(yaml): upgrade dependency to v3 version [#3456](https://github.com/gin-gonic/gin/pull/3456)267- chore(router): match method added to routergroup for multiple HTTP methods supporting [#3464](https://github.com/gin-gonic/gin/pull/3464)268- chore(http): add support for go1.20 http.rwUnwrapper to gin.responseWriter [#3489](https://github.com/gin-gonic/gin/pull/3489)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 269–271why, one step back
269
270### DOCS271

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 272–275why, one step back
272- docs: update markdown format [#3260](https://github.com/gin-gonic/gin/pull/3260)
273- docs(readme): Add the TOML rendering example [#3400](https://github.com/gin-gonic/gin/pull/3400)274- docs(readme): move more example to docs/doc.md [#3449](https://github.com/gin-gonic/gin/pull/3449)275- docs: update markdown format [#3446](https://github.com/gin-gonic/gin/pull/3446)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 276–280why, one step back
276
277## Gin v1.8.2278279### BUG FIXES280

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 281–282why, one step back
281- fix(route): redirectSlash bug ([#3227](<(https://github.com/gin-gonic/gin/pull/3227)>))
282- 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)>))

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 283–285why, one step back
283
284### SECURITY285

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

line 286why, one step back
286- Fix the GO-2022-1144 vulnerability ([#3432](<(https://github.com/gin-gonic/gin/pull/3432)>))

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 287–291why, one step back
287
288## Gin v1.8.1289290### ENHANCEMENTS291

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

line 292why, one step back
292- feat(context): add ContextWithFallback feature flag [#3172](https://github.com/gin-gonic/gin/pull/3172)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 293–297why, one step back
293
294## Gin v1.8.0295296### BREAK CHANGES297

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 298–299why, one step back
298- 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`
299- gin.Context with fallback value from gin.Context.Request.Context() [#2751](https://github.com/gin-gonic/gin/pull/2751)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 300–302why, one step back
300
301### BUG FIXES302

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 303–305why, one step back
303- Fixed SetOutput() panics on go 1.17 [#2861](https://github.com/gin-gonic/gin/pull/2861)
304- Fix: wrong when wildcard follows named param [#2983](https://github.com/gin-gonic/gin/pull/2983)305- Fix: missing sameSite when do context.reset() [#3123](https://github.com/gin-gonic/gin/pull/3123)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 306–308why, one step back
306
307### ENHANCEMENTS308

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 309–330why, one step back
309- Use Header() instead of deprecated HeaderMap [#2694](https://github.com/gin-gonic/gin/pull/2694)
310- RouterGroup.Handle regular match optimization of http method [#2685](https://github.com/gin-gonic/gin/pull/2685)311- Add support go-json, another drop-in json replacement [#2680](https://github.com/gin-gonic/gin/pull/2680)312- Use errors.New to replace fmt.Errorf will much better [#2707](https://github.com/gin-gonic/gin/pull/2707)313- Use Duration.Truncate for truncating precision [#2711](https://github.com/gin-gonic/gin/pull/2711)314- Get client IP when using Cloudflare [#2723](https://github.com/gin-gonic/gin/pull/2723)315- Optimize code adjust [#2700](https://github.com/gin-gonic/gin/pull/2700/files)316- Optimize code and reduce code cyclomatic complexity [#2737](https://github.com/gin-gonic/gin/pull/2737)317- Improve sliceValidateError.Error performance [#2765](https://github.com/gin-gonic/gin/pull/2765)318- Support custom struct tag [#2720](https://github.com/gin-gonic/gin/pull/2720)319- Improve router group tests [#2787](https://github.com/gin-gonic/gin/pull/2787)320- Fallback Context.Deadline() Context.Done() Context.Err() to Context.Request.Context() [#2769](https://github.com/gin-gonic/gin/pull/2769)321- Some codes optimize [#2830](https://github.com/gin-gonic/gin/pull/2830) [#2834](https://github.com/gin-gonic/gin/pull/2834) [#2838](https://github.com/gin-gonic/gin/pull/2838) [#2837](https://github.com/gin-gonic/gin/pull/2837) [#2788](https://github.com/gin-gonic/gin/pull/2788) [#2848](https://github.com/gin-gonic/gin/pull/2848) [#2851](https://github.com/gin-gonic/gin/pull/2851) [#2701](https://github.com/gin-gonic/gin/pull/2701)322- TrustedProxies: Add default IPv6 support and refactor [#2967](https://github.com/gin-gonic/gin/pull/2967)323- Test(route): expose performRequest func [#3012](https://github.com/gin-gonic/gin/pull/3012)324- Support h2c with prior knowledge [#1398](https://github.com/gin-gonic/gin/pull/1398)325- Feat attachment filename support utf8 [#3071](https://github.com/gin-gonic/gin/pull/3071)326- Feat: add StaticFileFS [#2749](https://github.com/gin-gonic/gin/pull/2749)327- Feat(context): return GIN Context from Value method [#2825](https://github.com/gin-gonic/gin/pull/2825)328- Feat: automatically SetMode to TestMode when run go test [#3139](https://github.com/gin-gonic/gin/pull/3139)329- Add TOML bining for gin [#3081](https://github.com/gin-gonic/gin/pull/3081)330- IPv6 add default trusted proxies [#3033](https://github.com/gin-gonic/gin/pull/3033)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 331–333why, one step back
331
332### DOCS333

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

line 334why, one step back
334- Add note about nomsgpack tag to the readme [#2703](https://github.com/gin-gonic/gin/pull/2703)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 335–339why, one step back
335
336## Gin v1.7.7337338### BUG FIXES339

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 340–343why, one step back
340- 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).
341- 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).342- 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).343- Tree: fixed tsr with mixed static and wildcard paths [#2924](https://github.com/gin-gonic/gin/pull/2924), closed issue [#2918](https://github.com/gin-gonic/gin/issues/2918).

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 344–346why, one step back
344
345### ENHANCEMENTS346

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 347–348why, one step back
347- TrustedProxies: make it backward-compatible [#2887](https://github.com/gin-gonic/gin/pull/2887), closed issue [#2819](https://github.com/gin-gonic/gin/issues/2819).
348- TrustedPlatform: provide custom options for another CDN services [#2906](https://github.com/gin-gonic/gin/pull/2906).

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 349–351why, one step back
349
350### DOCS351

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

line 352why, one step back
352- NoMethod: added usage annotation ([#2832](https://github.com/gin-gonic/gin/pull/2832#issuecomment-929954463)).

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 353–357why, one step back
353
354## Gin v1.7.6355356### BUG FIXES357

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

line 358why, one step back
358- bump new release to fix v1.7.5 release error by using v1.7.4 codes.

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 359–363why, one step back
359
360## Gin v1.7.4361362### BUG FIXES363

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

line 364why, one step back
364- bump new release to fix checksum mismatch

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 365–369why, one step back
365
366## Gin v1.7.3367368### BUG FIXES369

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

line 370why, one step back
370- fix level 1 router match [#2767](https://github.com/gin-gonic/gin/issues/2767), [#2796](https://github.com/gin-gonic/gin/issues/2796)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 371–375why, one step back
371
372## Gin v1.7.2373374### BUG FIXES375

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

line 376why, one step back
376- 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).

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 377–381why, one step back
377
378## Gin v1.7.1379380### BUG FIXES381

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

line 382why, one step back
382- fix: data race with trustedCIDRs from [#2674](https://github.com/gin-gonic/gin/issues/2674)([#2675](https://github.com/gin-gonic/gin/pull/2675))

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 383–387why, one step back
383
384## Gin v1.7.0385386### BUG FIXES387

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 388–390why, one step back
388- fix compile error from [#2572](https://github.com/gin-gonic/gin/pull/2572) ([#2600](https://github.com/gin-gonic/gin/pull/2600))
389- fix: print headers without Authorization header on broken pipe ([#2528](https://github.com/gin-gonic/gin/pull/2528))390- fix(tree): reassign fullpath when register new node ([#2366](https://github.com/gin-gonic/gin/pull/2366))

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 391–393why, one step back
391
392### ENHANCEMENTS393

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 394–415why, one step back
394- Support params and exact routes without creating conflicts ([#2663](https://github.com/gin-gonic/gin/pull/2663))
395- chore: improve render string performance ([#2365](https://github.com/gin-gonic/gin/pull/2365))396- Sync route tree to httprouter latest code ([#2368](https://github.com/gin-gonic/gin/pull/2368))397- chore: rename getQueryCache/getFormCache to initQueryCache/initFormCa ([#2375](https://github.com/gin-gonic/gin/pull/2375))398- chore(performance): improve countParams ([#2378](https://github.com/gin-gonic/gin/pull/2378))399- Remove some functions that have the same effect as the bytes package ([#2387](https://github.com/gin-gonic/gin/pull/2387))400- update:SetMode function ([#2321](https://github.com/gin-gonic/gin/pull/2321))401- remove an unused type SecureJSONPrefix ([#2391](https://github.com/gin-gonic/gin/pull/2391))402- Add a redirect sample for POST method ([#2389](https://github.com/gin-gonic/gin/pull/2389))403- Add CustomRecovery builtin middleware ([#2322](https://github.com/gin-gonic/gin/pull/2322))404- binding: avoid 2038 problem on 32-bit architectures ([#2450](https://github.com/gin-gonic/gin/pull/2450))405- Prevent panic in Context.GetQuery() when there is no Request ([#2412](https://github.com/gin-gonic/gin/pull/2412))406- Add GetUint and GetUint64 method on gin.context ([#2487](https://github.com/gin-gonic/gin/pull/2487))407- update content-disposition header to MIME-style ([#2512](https://github.com/gin-gonic/gin/pull/2512))408- reduce allocs and improve the render `WriteString` ([#2508](https://github.com/gin-gonic/gin/pull/2508))409- implement ".Unwrap() error" on Error type ([#2525](https://github.com/gin-gonic/gin/pull/2525)) ([#2526](https://github.com/gin-gonic/gin/pull/2526))410- Allow bind with a map[string]string ([#2484](https://github.com/gin-gonic/gin/pull/2484))411- chore: update tree ([#2371](https://github.com/gin-gonic/gin/pull/2371))412- Support binding for slice/array obj [Rewrite] ([#2302](https://github.com/gin-gonic/gin/pull/2302))413- basic auth: fix timing oracle ([#2609](https://github.com/gin-gonic/gin/pull/2609))414- Add mixed param and non-param paths (port of httprouter[#329](https://github.com/gin-gonic/gin/pull/329)) ([#2663](https://github.com/gin-gonic/gin/pull/2663))415- feat(engine): add trustedproxies and remoteIP ([#2632](https://github.com/gin-gonic/gin/pull/2632))

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 416–420why, one step back
416
417## Gin v1.6.3418419### ENHANCEMENTS420

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

line 421why, one step back
421- Improve performance: Change `*sync.RWMutex` to `sync.RWMutex` in context. [#2351](https://github.com/gin-gonic/gin/pull/2351)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 422–426why, one step back
422
423## Gin v1.6.2424425### BUG FIXES426

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

line 427why, one step back
427- fix missing initial sync.RWMutex [#2305](https://github.com/gin-gonic/gin/pull/2305)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 428–430why, one step back
428
429### ENHANCEMENTS430

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

line 431why, one step back
431- Add set samesite in cookie. [#2306](https://github.com/gin-gonic/gin/pull/2306)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 432–436why, one step back
432
433## Gin v1.6.1434435### BUG FIXES436

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

line 437why, one step back
437- Revert "fix accept incoming network connections" [#2294](https://github.com/gin-gonic/gin/pull/2294)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 438–442why, one step back
438
439## Gin v1.6.0440441### BREAKING442

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 443–445why, one step back
443- chore(performance): Improve performance for adding RemoveExtraSlash flag [#2159](https://github.com/gin-gonic/gin/pull/2159)
444- drop support govendor [#2148](https://github.com/gin-gonic/gin/pull/2148)445- Added support for SameSite cookie flag [#1615](https://github.com/gin-gonic/gin/pull/1615)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 446–448why, one step back
446
447### FEATURES448

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 449–450why, one step back
449- add yaml negotiation [#2220](https://github.com/gin-gonic/gin/pull/2220)
450- FileFromFS [#2112](https://github.com/gin-gonic/gin/pull/2112)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 451–453why, one step back
451
452### BUG FIXES453

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 454–459why, one step back
454- Unix Socket Handling [#2280](https://github.com/gin-gonic/gin/pull/2280)
455- Use json marshall in context json to fix breaking new line issue. Fixes #2209 [#2228](https://github.com/gin-gonic/gin/pull/2228)456- fix accept incoming network connections [#2216](https://github.com/gin-gonic/gin/pull/2216)457- Fixed a bug in the calculation of the maximum number of parameters [#2166](https://github.com/gin-gonic/gin/pull/2166)458- [FIX] allow empty headers on DataFromReader [#2121](https://github.com/gin-gonic/gin/pull/2121)459- Add mutex for protect Context.Keys map [#1391](https://github.com/gin-gonic/gin/pull/1391)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 460–462why, one step back
460
461### ENHANCEMENTS462

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 463–476why, one step back
463- Add mitigation for log injection [#2277](https://github.com/gin-gonic/gin/pull/2277)
464- tree: range over nodes values [#2229](https://github.com/gin-gonic/gin/pull/2229)465- tree: remove duplicate assignment [#2222](https://github.com/gin-gonic/gin/pull/2222)466- chore: upgrade go-isatty and json-iterator/go [#2215](https://github.com/gin-gonic/gin/pull/2215)467- path: sync code with httprouter [#2212](https://github.com/gin-gonic/gin/pull/2212)468- Use zero-copy approach to convert types between string and byte slice [#2206](https://github.com/gin-gonic/gin/pull/2206)469- Reuse bytes when cleaning the URL paths [#2179](https://github.com/gin-gonic/gin/pull/2179)470- tree: remove one else statement [#2177](https://github.com/gin-gonic/gin/pull/2177)471- tree: sync httprouter update (#2173) (#2172) [#2171](https://github.com/gin-gonic/gin/pull/2171)472- tree: sync part httprouter codes and reduce if/else [#2163](https://github.com/gin-gonic/gin/pull/2163)473- use http method constant [#2155](https://github.com/gin-gonic/gin/pull/2155)474- upgrade go-validator to v10 [#2149](https://github.com/gin-gonic/gin/pull/2149)475- Refactor redirect request in gin.go [#1970](https://github.com/gin-gonic/gin/pull/1970)476- Add build tag nomsgpack [#1852](https://github.com/gin-gonic/gin/pull/1852)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 477–479why, one step back
477
478### DOCS479

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 480–491why, one step back
480- docs(path): improve comments [#2223](https://github.com/gin-gonic/gin/pull/2223)
481- Renew README to fit the modification of SetCookie method [#2217](https://github.com/gin-gonic/gin/pull/2217)482- Fix spelling [#2202](https://github.com/gin-gonic/gin/pull/2202)483- Remove broken link from README. [#2198](https://github.com/gin-gonic/gin/pull/2198)484- Update docs on Context.Done(), Context.Deadline() and Context.Err() [#2196](https://github.com/gin-gonic/gin/pull/2196)485- Update validator to v10 [#2190](https://github.com/gin-gonic/gin/pull/2190)486- upgrade go-validator to v10 for README [#2189](https://github.com/gin-gonic/gin/pull/2189)487- Update to currently output [#2188](https://github.com/gin-gonic/gin/pull/2188)488- Fix "Custom Validators" example [#2186](https://github.com/gin-gonic/gin/pull/2186)489- Add project to README [#2165](https://github.com/gin-gonic/gin/pull/2165)490- docs(benchmarks): for gin v1.5 [#2153](https://github.com/gin-gonic/gin/pull/2153)491- Changed wording for clarity in README.md [#2122](https://github.com/gin-gonic/gin/pull/2122)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 492–494why, one step back
492
493### MISC494

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

lines 495–498why, one step back
495- ci support go1.14 [#2262](https://github.com/gin-gonic/gin/pull/2262)
496- chore: upgrade depend version [#2231](https://github.com/gin-gonic/gin/pull/2231)497- Drop support go1.10 [#2147](https://github.com/gin-gonic/gin/pull/2147)498- fix comment in `mode.go` [#2129](https://github.com/gin-gonic/gin/pull/2129)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 499–536why, one step back
499
500## Gin v1.5.0501502- [FIX] Use DefaultWriter and DefaultErrorWriter for debug messages [#1891](https://github.com/gin-gonic/gin/pull/1891)503- [NEW] Now you can parse the inline lowercase start structure [#1893](https://github.com/gin-gonic/gin/pull/1893)504- [FIX] Some code improvements [#1909](https://github.com/gin-gonic/gin/pull/1909)505- [FIX] Use encode replace json marshal increase json encoder speed [#1546](https://github.com/gin-gonic/gin/pull/1546)506- [NEW] Hold matched route full path in the Context [#1826](https://github.com/gin-gonic/gin/pull/1826)507- [FIX] Fix context.Params race condition on Copy() [#1841](https://github.com/gin-gonic/gin/pull/1841)508- [NEW] Add context param query cache [#1450](https://github.com/gin-gonic/gin/pull/1450)509- [FIX] Improve GetQueryMap performance [#1918](https://github.com/gin-gonic/gin/pull/1918)510- [FIX] Improve get post data [#1920](https://github.com/gin-gonic/gin/pull/1920)511- [FIX] Use context instead of x/net/context [#1922](https://github.com/gin-gonic/gin/pull/1922)512- [FIX] Attempt to fix PostForm cache bug [#1931](https://github.com/gin-gonic/gin/pull/1931)513- [NEW] Add support of multipart multi files [#1949](https://github.com/gin-gonic/gin/pull/1949)514- [NEW] Support bind http header param [#1957](https://github.com/gin-gonic/gin/pull/1957)515- [FIX] Drop support for go1.8 and go1.9 [#1933](https://github.com/gin-gonic/gin/pull/1933)516- [FIX] Bugfix for the FullPath feature [#1919](https://github.com/gin-gonic/gin/pull/1919)517- [FIX] Gin1.5 bytes.Buffer to strings.Builder [#1939](https://github.com/gin-gonic/gin/pull/1939)518- [FIX] Upgrade github.com/ugorji/go/codec [#1969](https://github.com/gin-gonic/gin/pull/1969)519- [NEW] Support bind unix time [#1980](https://github.com/gin-gonic/gin/pull/1980)520- [FIX] Simplify code [#2004](https://github.com/gin-gonic/gin/pull/2004)521- [NEW] Support negative Content-Length in DataFromReader [#1981](https://github.com/gin-gonic/gin/pull/1981)522- [FIX] Identify terminal on a RISC-V architecture for auto-colored logs [#2019](https://github.com/gin-gonic/gin/pull/2019)523- [BREAKING] `Context.JSONP()` now expects a semicolon (`;`) at the end [#2007](https://github.com/gin-gonic/gin/pull/2007)524- [BREAKING] Upgrade default `binding.Validator` to v9 (see [its changelog](https://github.com/go-playground/validator/releases/tag/v9.0.0)) [#1015](https://github.com/gin-gonic/gin/pull/1015)525- [NEW] Add `DisallowUnknownFields()` in `Context.BindJSON()` [#2028](https://github.com/gin-gonic/gin/pull/2028)526- [NEW] Use specific `net.Listener` with `Engine.RunListener()` [#2023](https://github.com/gin-gonic/gin/pull/2023)527- [FIX] Fix some typo [#2079](https://github.com/gin-gonic/gin/pull/2079) [#2080](https://github.com/gin-gonic/gin/pull/2080)528- [FIX] Relocate binding body tests [#2086](https://github.com/gin-gonic/gin/pull/2086)529- [FIX] Use Writer in Context.Status [#1606](https://github.com/gin-gonic/gin/pull/1606)530- [FIX] `Engine.RunUnix()` now returns the error if it can't change the file mode [#2093](https://github.com/gin-gonic/gin/pull/2093)531- [FIX] `RouterGroup.StaticFS()` leaked files. Now it closes them. [#2118](https://github.com/gin-gonic/gin/pull/2118)532- [FIX] `Context.Request.FormFile` leaked file. Now it closes it. [#2114](https://github.com/gin-gonic/gin/pull/2114)533- [FIX] Ignore walking on `form:"-"` mapping [#1943](https://github.com/gin-gonic/gin/pull/1943)534535### Gin v1.4.0536

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

line 537why, one step back
537- [NEW] Support for [Go Modules](https://github.com/golang/go/wiki/Modules) [#1569](https://github.com/gin-gonic/gin/pull/1569)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 538–543why, one step back
538- [NEW] Refactor of form mapping multipart request [#1829](https://github.com/gin-gonic/gin/pull/1829)
539- [FIX] Truncate Latency precision in long running request [#1830](https://github.com/gin-gonic/gin/pull/1830)540- [FIX] IsTerm flag should not be affected by DisableConsoleColor method. [#1802](https://github.com/gin-gonic/gin/pull/1802)541- [NEW] Supporting file binding [#1264](https://github.com/gin-gonic/gin/pull/1264)542- [NEW] Add support for mapping arrays [#1797](https://github.com/gin-gonic/gin/pull/1797)543- [FIX] Readme updates [#1793](https://github.com/gin-gonic/gin/pull/1793) [#1788](https://github.com/gin-gonic/gin/pull/1788) [1789](https://github.com/gin-gonic/gin/pull/1789)

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

line 544why, one step back
544- [FIX] StaticFS: Fixed Logging two log lines on 404. [#1805](https://github.com/gin-gonic/gin/pull/1805), [#1804](https://github.com/gin-gonic/gin/pull/1804)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 545–575why, one step back
545- [NEW] Make context.Keys available as LogFormatterParams [#1779](https://github.com/gin-gonic/gin/pull/1779)
546- [NEW] Use internal/json for Marshal/Unmarshal [#1791](https://github.com/gin-gonic/gin/pull/1791)547- [NEW] Support mapping time.Duration [#1794](https://github.com/gin-gonic/gin/pull/1794)548- [NEW] Refactor form mappings [#1749](https://github.com/gin-gonic/gin/pull/1749)549- [NEW] Added flag to context.Stream indicates if client disconnected in middle of stream [#1252](https://github.com/gin-gonic/gin/pull/1252)550- [FIX] Moved [examples](https://github.com/gin-gonic/examples) to stand alone Repo [#1775](https://github.com/gin-gonic/gin/pull/1775)551- [NEW] Extend context.File to allow for the content-disposition attachments via a new method context.Attachment [#1260](https://github.com/gin-gonic/gin/pull/1260)552- [FIX] Support HTTP content negotiation wildcards [#1112](https://github.com/gin-gonic/gin/pull/1112)553- [NEW] Add prefix from X-Forwarded-Prefix in redirectTrailingSlash [#1238](https://github.com/gin-gonic/gin/pull/1238)554- [FIX] context.Copy() race condition [#1020](https://github.com/gin-gonic/gin/pull/1020)555- [NEW] Add context.HandlerNames() [#1729](https://github.com/gin-gonic/gin/pull/1729)556- [FIX] Change color methods to public in the defaultLogger. [#1771](https://github.com/gin-gonic/gin/pull/1771)557- [FIX] Update writeHeaders method to use http.Header.Set [#1722](https://github.com/gin-gonic/gin/pull/1722)558- [NEW] Add response size to LogFormatterParams [#1752](https://github.com/gin-gonic/gin/pull/1752)559- [NEW] Allow ignoring field on form mapping [#1733](https://github.com/gin-gonic/gin/pull/1733)560- [NEW] Add a function to force color in console output. [#1724](https://github.com/gin-gonic/gin/pull/1724)561- [FIX] Context.Next() - recheck len of handlers on every iteration. [#1745](https://github.com/gin-gonic/gin/pull/1745)562- [FIX] Fix all errcheck warnings [#1739](https://github.com/gin-gonic/gin/pull/1739) [#1653](https://github.com/gin-gonic/gin/pull/1653)563- [NEW] context: inherits context cancellation and deadline from http.Request context for Go>=1.7 [#1690](https://github.com/gin-gonic/gin/pull/1690)564- [NEW] Binding for URL Params [#1694](https://github.com/gin-gonic/gin/pull/1694)565- [NEW] Add LoggerWithFormatter method [#1677](https://github.com/gin-gonic/gin/pull/1677)566- [FIX] CI testing updates [#1671](https://github.com/gin-gonic/gin/pull/1671) [#1670](https://github.com/gin-gonic/gin/pull/1670) [#1682](https://github.com/gin-gonic/gin/pull/1682) [#1669](https://github.com/gin-gonic/gin/pull/1669)567- [FIX] StaticFS(): Send 404 when path does not exist [#1663](https://github.com/gin-gonic/gin/pull/1663)568- [FIX] Handle nil body for JSON binding [#1638](https://github.com/gin-gonic/gin/pull/1638)569- [FIX] Support bind uri param [#1612](https://github.com/gin-gonic/gin/pull/1612)570- [FIX] recovery: fix issue with syscall import on google app engine [#1640](https://github.com/gin-gonic/gin/pull/1640)571- [FIX] Make sure the debug log contains line breaks [#1650](https://github.com/gin-gonic/gin/pull/1650)572- [FIX] Panic stack trace being printed during recovery of broken pipe [#1089](https://github.com/gin-gonic/gin/pull/1089) [#1259](https://github.com/gin-gonic/gin/pull/1259)573- [NEW] RunFd method to run http.Server through a file descriptor [#1609](https://github.com/gin-gonic/gin/pull/1609)574- [NEW] Yaml binding support [#1618](https://github.com/gin-gonic/gin/pull/1618)575- [FIX] Pass MaxMultipartMemory when FormFile is called [#1600](https://github.com/gin-gonic/gin/pull/1600)

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

line 576why, one step back
576- [FIX] LoadHTML\* tests [#1559](https://github.com/gin-gonic/gin/pull/1559)

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 577–771why, one step back
577- [FIX] Removed use of sync.pool from HandleContext [#1565](https://github.com/gin-gonic/gin/pull/1565)
578- [FIX] Format output log to os.Stderr [#1571](https://github.com/gin-gonic/gin/pull/1571)579- [FIX] Make logger use a yellow background and a darkgray text for legibility [#1570](https://github.com/gin-gonic/gin/pull/1570)580- [FIX] Remove sensitive request information from panic log. [#1370](https://github.com/gin-gonic/gin/pull/1370)581- [FIX] log.Println() does not print timestamp [#829](https://github.com/gin-gonic/gin/pull/829) [#1560](https://github.com/gin-gonic/gin/pull/1560)582- [NEW] Add PureJSON renderer [#694](https://github.com/gin-gonic/gin/pull/694)583- [FIX] Add missing copyright and update if/else [#1497](https://github.com/gin-gonic/gin/pull/1497)584- [FIX] Update msgpack usage [#1498](https://github.com/gin-gonic/gin/pull/1498)585- [FIX] Use protobuf on render [#1496](https://github.com/gin-gonic/gin/pull/1496)586- [FIX] Add support for Protobuf format response [#1479](https://github.com/gin-gonic/gin/pull/1479)587- [NEW] Set default time format in form binding [#1487](https://github.com/gin-gonic/gin/pull/1487)588- [FIX] Add BindXML and ShouldBindXML [#1485](https://github.com/gin-gonic/gin/pull/1485)589- [NEW] Upgrade dependency libraries [#1491](https://github.com/gin-gonic/gin/pull/1491)590591## Gin v1.3.0592593- [NEW] Add [`func (*Context) QueryMap`](https://godoc.org/github.com/gin-gonic/gin#Context.QueryMap), [`func (*Context) GetQueryMap`](https://godoc.org/github.com/gin-gonic/gin#Context.GetQueryMap), [`func (*Context) PostFormMap`](https://godoc.org/github.com/gin-gonic/gin#Context.PostFormMap) and [`func (*Context) GetPostFormMap`](https://godoc.org/github.com/gin-gonic/gin#Context.GetPostFormMap) to support `type map[string]string` as query string or form parameters, see [#1383](https://github.com/gin-gonic/gin/pull/1383)594- [NEW] Add [`func (*Context) AsciiJSON`](https://godoc.org/github.com/gin-gonic/gin#Context.AsciiJSON), see [#1358](https://github.com/gin-gonic/gin/pull/1358)595- [NEW] Add `Pusher()` in [`type ResponseWriter`](https://godoc.org/github.com/gin-gonic/gin#ResponseWriter) for supporting http2 push, see [#1273](https://github.com/gin-gonic/gin/pull/1273)596- [NEW] Add [`func (*Context) DataFromReader`](https://godoc.org/github.com/gin-gonic/gin#Context.DataFromReader) for serving dynamic data, see [#1304](https://github.com/gin-gonic/gin/pull/1304)597- [NEW] Add [`func (*Context) ShouldBindBodyWith`](https://godoc.org/github.com/gin-gonic/gin#Context.ShouldBindBodyWith) allowing to call binding multiple times, see [#1341](https://github.com/gin-gonic/gin/pull/1341)598- [NEW] Support pointers in form binding, see [#1336](https://github.com/gin-gonic/gin/pull/1336)599- [NEW] Add [`func (*Context) JSONP`](https://godoc.org/github.com/gin-gonic/gin#Context.JSONP), see [#1333](https://github.com/gin-gonic/gin/pull/1333)600- [NEW] Support default value in form binding, see [#1138](https://github.com/gin-gonic/gin/pull/1138)601- [NEW] Expose validator engine in [`type StructValidator`](https://godoc.org/github.com/gin-gonic/gin/binding#StructValidator), see [#1277](https://github.com/gin-gonic/gin/pull/1277)602- [NEW] Add [`func (*Context) ShouldBind`](https://godoc.org/github.com/gin-gonic/gin#Context.ShouldBind), [`func (*Context) ShouldBindQuery`](https://godoc.org/github.com/gin-gonic/gin#Context.ShouldBindQuery) and [`func (*Context) ShouldBindJSON`](https://godoc.org/github.com/gin-gonic/gin#Context.ShouldBindJSON), see [#1047](https://github.com/gin-gonic/gin/pull/1047)603- [NEW] Add support for `time.Time` location in form binding, see [#1117](https://github.com/gin-gonic/gin/pull/1117)604- [NEW] Add [`func (*Context) BindQuery`](https://godoc.org/github.com/gin-gonic/gin#Context.BindQuery), see [#1029](https://github.com/gin-gonic/gin/pull/1029)605- [NEW] Make [jsonite](https://github.com/json-iterator/go) optional with build tags, see [#1026](https://github.com/gin-gonic/gin/pull/1026)606- [NEW] Show query string in logger, see [#999](https://github.com/gin-gonic/gin/pull/999)607- [NEW] Add [`func (*Context) SecureJSON`](https://godoc.org/github.com/gin-gonic/gin#Context.SecureJSON), see [#987](https://github.com/gin-gonic/gin/pull/987) and [#993](https://github.com/gin-gonic/gin/pull/993)608- [DEPRECATE] `func (*Context) GetCookie` for [`func (*Context) Cookie`](https://godoc.org/github.com/gin-gonic/gin#Context.Cookie)609- [FIX] Don't display color tags if [`func DisableConsoleColor`](https://godoc.org/github.com/gin-gonic/gin#DisableConsoleColor) called, see [#1072](https://github.com/gin-gonic/gin/pull/1072)610- [FIX] Gin Mode `""` when calling [`func Mode`](https://godoc.org/github.com/gin-gonic/gin#Mode) now returns `const DebugMode`, see [#1250](https://github.com/gin-gonic/gin/pull/1250)611- [FIX] `Flush()` now doesn't overwrite `responseWriter` status code, see [#1460](https://github.com/gin-gonic/gin/pull/1460)612613## Gin 1.2.0614615- [NEW] Switch from godeps to govendor616- [NEW] Add support for Let's Encrypt via gin-gonic/autotls617- [NEW] Improve README examples and add extra at examples folder618- [NEW] Improved support with App Engine619- [NEW] Add custom template delimiters, see #860620- [NEW] Add Template Func Maps, see #962621- [NEW] Add \*context.Handler(), see #928622- [NEW] Add \*context.GetRawData()623- [NEW] Add \*context.GetHeader() (request)624- [NEW] Add \*context.AbortWithStatusJSON() (JSON content type)625- [NEW] Add \*context.Keys type cast helpers626- [NEW] Add \*context.ShouldBindWith()627- [NEW] Add \*context.MustBindWith()628- [NEW] Add \*engine.SetFuncMap()629- [DEPRECATE] On next release: \*context.BindWith(), see #855630- [FIX] Refactor render631- [FIX] Reworked tests632- [FIX] logger now supports cygwin633- [FIX] Use X-Forwarded-For before X-Real-IP634- [FIX] time.Time binding (#904)635636## Gin 1.1.4637638- [NEW] Support google appengine for IsTerminal func639640## Gin 1.1.3641642- [FIX] Reverted Logger: skip ANSI color commands643644## Gin 1.1645646- [NEW] Implement QueryArray and PostArray methods647- [NEW] Refactor GetQuery and GetPostForm648- [NEW] Add contribution guide649- [FIX] Corrected typos in README650- [FIX] Removed additional Iota651- [FIX] Changed imports to gopkg instead of github in README (#733)652- [FIX] Logger: skip ANSI color commands if output is not a tty653654## Gin 1.0rc2 (...)655656- [PERFORMANCE] Fast path for writing Content-Type.657- [PERFORMANCE] Much faster 404 routing658- [PERFORMANCE] Allocation optimizations659- [PERFORMANCE] Faster root tree lookup660- [PERFORMANCE] Zero overhead, String() and JSON() rendering.661- [PERFORMANCE] Faster ClientIP parsing662- [PERFORMANCE] Much faster SSE implementation663- [NEW] Benchmarks suite664- [NEW] Bind validation can be disabled and replaced with custom validators.665- [NEW] More flexible HTML render666- [NEW] Multipart and PostForm bindings667- [NEW] Adds method to return all the registered routes668- [NEW] Context.HandlerName() returns the main handler's name669- [NEW] Adds Error.IsType() helper670- [FIX] Binding multipart form671- [FIX] Integration tests672- [FIX] Crash when binding non struct object in Context.673- [FIX] RunTLS() implementation674- [FIX] Logger() unit tests675- [FIX] Adds SetHTMLTemplate() warning676- [FIX] Context.IsAborted()677- [FIX] More unit tests678- [FIX] JSON, XML, HTML renders accept custom content-types679- [FIX] gin.AbortIndex is unexported680- [FIX] Better approach to avoid directory listing in StaticFS()681- [FIX] Context.ClientIP() always returns the IP with trimmed spaces.682- [FIX] Better warning when running in debug mode.683- [FIX] Google App Engine integration. debugPrint does not use os.Stdout684- [FIX] Fixes integer overflow in error type685- [FIX] Error implements the json.Marshaller interface686- [FIX] MIT license in every file687688## Gin 1.0rc1 (May 22, 2015)689690- [PERFORMANCE] Zero allocation router691- [PERFORMANCE] Faster JSON, XML and text rendering692- [PERFORMANCE] Custom hand optimized HttpRouter for Gin693- [PERFORMANCE] Misc code optimizations. Inlining, tail call optimizations694- [NEW] Built-in support for golang.org/x/net/context695- [NEW] Any(path, handler). Create a route that matches any path696- [NEW] Refactored rendering pipeline (faster and static typed)697- [NEW] Refactored errors API698- [NEW] IndentedJSON() prints pretty JSON699- [NEW] Added gin.DefaultWriter700- [NEW] UNIX socket support701- [NEW] RouterGroup.BasePath is exposed702- [NEW] JSON validation using go-validate-yourself (very powerful options)703- [NEW] Completed suite of unit tests704- [NEW] HTTP streaming with c.Stream()705- [NEW] StaticFile() creates a router for serving just one file.706- [NEW] StaticFS() has an option to disable directory listing.707- [NEW] StaticFS() for serving static files through virtual filesystems708- [NEW] Server-Sent Events native support709- [NEW] WrapF() and WrapH() helpers for wrapping http.HandlerFunc and http.Handler710- [NEW] Added LoggerWithWriter() middleware711- [NEW] Added RecoveryWithWriter() middleware712- [NEW] Added DefaultPostFormValue()713- [NEW] Added DefaultFormValue()714- [NEW] Added DefaultParamValue()715- [FIX] BasicAuth() when using custom realm716- [FIX] Bug when serving static files in nested routing group717- [FIX] Redirect using built-in http.Redirect()718- [FIX] Logger when printing the requested path719- [FIX] Documentation typos720- [FIX] Context.Engine renamed to Context.engine721- [FIX] Better debugging messages722- [FIX] ErrorLogger723- [FIX] Debug HTTP render724- [FIX] Refactored binding and render modules725- [FIX] Refactored Context initialization726- [FIX] Refactored BasicAuth()727- [FIX] NoMethod/NoRoute handlers728- [FIX] Hijacking http729- [FIX] Better support for Google App Engine (using log instead of fmt)730731## Gin 0.6 (Mar 9, 2015)732733- [NEW] Support multipart/form-data734- [NEW] NoMethod handler735- [NEW] Validate sub structures736- [NEW] Support for HTTP Realm Auth737- [FIX] Unsigned integers in binding738- [FIX] Improve color logger739740## Gin 0.5 (Feb 7, 2015)741742- [NEW] Content Negotiation743- [FIX] Solved security bug that allow a client to spoof ip744- [FIX] Fix unexported/ignored fields in binding745746## Gin 0.4 (Aug 21, 2014)747748- [NEW] Development mode749- [NEW] Unit tests750- [NEW] Add Content.Redirect()751- [FIX] Deferring WriteHeader()752- [FIX] Improved documentation for model binding753754## Gin 0.3 (Jul 18, 2014)755756- [PERFORMANCE] Normal log and error log are printed in the same call.757- [PERFORMANCE] Improve performance of NoRouter()758- [PERFORMANCE] Improve context's memory locality, reduce CPU cache faults.759- [NEW] Flexible rendering API760- [NEW] Add Context.File()761- [NEW] Add shortcut RunTLS() for http.ListenAndServeTLS762- [FIX] Rename NotFound404() to NoRoute()763- [FIX] Errors in context are purged764- [FIX] Adds HEAD method in Static file serving765- [FIX] Refactors Static() file serving766- [FIX] Using keyed initialization to fix app-engine integration767- [FIX] Can't unmarshal JSON array, #63768- [FIX] Renaming Context.Req to Context.Request769- [FIX] Check application/x-www-form-urlencoded when parsing form770771## Gin 0.2b (Jul 08, 2014)

docs: document and finalize Gin v1.12.0 release (#4551)Bo-Yi Wubefore adoptione292e5c

line 772why, one step back
772

chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d

lines 773–796why, one step back
773- [PERFORMANCE] Using sync.Pool to allocatio/gc overhead
774- [NEW] Travis CI integration775- [NEW] Completely new logger776- [NEW] New API for serving static files. gin.Static()777- [NEW] gin.H() can be serialized into XML778- [NEW] Typed errors. Errors can be typed. Internet/external/custom.779- [NEW] Support for Godeps780- [NEW] Travis/Godocs badges in README781- [NEW] New Bind() and BindWith() methods for parsing request body.782- [NEW] Add Content.Copy()783- [NEW] Add context.LastError()784- [NEW] Add shortcut for OPTIONS HTTP method785- [FIX] Tons of README fixes786- [FIX] Header is written before body787- [FIX] BasicAuth() and changes API a little bit788- [FIX] Recovery() middleware only prints panics789- [FIX] Context.Get() does not panic anymore. Use MustGet() instead.790- [FIX] Multiple http.WriteHeader() in NotFound handlers791- [FIX] Engine.Run() panics if http server can't be set up792- [FIX] Crash when route path doesn't start with '/'793- [FIX] Do not update header when status code is negative794- [FIX] Setting response headers before calling WriteHeader in context.String()795- [FIX] Add MIT license796- [FIX] Changes behaviour of ErrorLogger() and Logger()