Releases: PHPDevsr/gin-forked
Releases · PHPDevsr/gin-forked
Release list
v1.0.12
What's Changed
- chore(deps): bump github.com/gin-contrib/sse from 1.1.0 to 1.1.1 by @dependabot[bot] in #67
- chore: update coverage mode in test command by @ddevsr in #68
- chore: update Codecov flags and name in gin.yml by @ddevsr in #69
- test: implement tests for LoadHTMLGlob, LoadHTMLFiles, and LoadHTMLFS by @ddevsr in #70
- chore: codecov configuration by @ddevsr in #71
- perf: improve performance routing by @ddevsr in #72
- chore(deps): bump github.com/go-playground/validator/v10 from 10.30.1 to 10.30.2 by @dependabot[bot] in #74
- chore(deps): bump benchmark-action/github-action-benchmark from 1.21.0 to 1.22.0 in the actions group across 1 directory by @dependabot[bot] in #75
- chore(deps): bump golang.org/x/net from 0.52.0 to 0.53.0 by @dependabot[bot] in #77
- chore(deps): bump github.com/mattn/go-isatty from 0.0.20 to 0.0.21 by @dependabot[bot] in #76
- chore(deps): bump go.mongodb.org/mongo-driver/v2 from 2.5.0 to 2.5.1 by @dependabot[bot] in #78
- chore(deps): bump aquasecurity/trivy-action from 0.35.0 to 0.36.0 in the actions group by @dependabot[bot] in #79
- chore(deps): bump github.com/mattn/go-isatty from 0.0.21 to 0.0.22 by @dependabot[bot] in #81
- chore(deps): bump github.com/bytedance/sonic from 1.15.0 to 1.15.1 by @dependabot[bot] in #80
- chore(deps): bump go.mongodb.org/mongo-driver/v2 from 2.5.1 to 2.6.0 by @dependabot[bot] in #82
- chore(deps): bump benchmark-action/github-action-benchmark from 1.22.0 to 1.22.1 in the actions group by @dependabot[bot] in #84
- chore(deps): bump github.com/pelletier/go-toml/v2 from 2.3.0 to 2.3.1 by @dependabot[bot] in #83
- chore(deps): bump golang.org/x/net from 0.53.0 to 0.54.0 by @dependabot[bot] in #86
- chore(deps): bump github.com/quic-go/quic-go from 0.59.0 to 0.59.1 by @dependabot[bot] in #85
- perf(logger): use io.WriteString for log output by @ddevsr in #87
Full Changelog: https://github.com/PHPDevsr/gin-forked/commits/v1.0.12
v1.0.11
Changelog
Features
- c19374c: feat(CodeQL): Discover vulnerabilities across a codebase with CodeQL (gin-gonic#3049) (Bo-Yi Wu appleboy.tw@gmail.com)
- 5f458dd: feat(auth): add proxy-server authentication (gin-gonic#3877) (Endless Paradox 129645532+EndlessParadox1@users.noreply.github.com)
- 7a865dc: feat(bind): ShouldBindBodyWith shortcut and change doc (gin-gonic#3871) (RedCrazyGhost 49381700+RedCrazyGhost@users.noreply.github.com)
- a182195: feat(binding): Support custom BindUnmarshaler for binding. (gin-gonic#3933) (dkkb 82504881+dkkb@users.noreply.github.com)
- 6ca8ddb: feat(binding): add BindPlain (gin-gonic#3904) (guonaihong guonaihong@qq.com)
- f38c30a: feat(binding): add DisallowUnknownFields() in gin.Context.BindJSON() (gin-gonic#2028) (Krzysztof Szafrański k.p.szafranski@gmail.com)
- fb7448f: feat(binding): add UseNumber() in gin.Context.BindJSON() (gin-gonic#997) close gin-gonic#368 (whirosan whirosan@users.noreply.github.com)
- 26c3f42: feat(binding): add support for custom validator / validation tags (gin-gonic#1068) (Suhas Karanth sudo-suhas@users.noreply.github.com)
- 4ccfa7c: feat(binding): add support for unixMilli and unixMicro (gin-gonic#4190) (takanuva15 6986426+takanuva15@users.noreply.github.com)
- 690aa2b: feat(binding): support custom struct tag (gin-gonic#2720) (voidman retmain@foxmail.com)
- fd1faad: feat(binding): support override default binding implement (gin-gonic#3514) (ssfyn a@fyn.pw)
- 9d7c0e9: feat(context): GetXxx added support for more go native types (gin-gonic#3633) (CC11001100 CC11001100@qq.com)
- dfb68ce: feat(context): ShouldBind counterparts for Bind methods (gin-gonic#1047) (Suhas Karanth sudo-suhas@users.noreply.github.com)
- c19aa05: feat(context): add BindQuery func (gin-gonic#1029) (Eason Lin easonlin404@gmail.com)
- f197a8b: feat(context): add ContextWithFallback feature flag (gin-gonic#3166) (gin-gonic#3172) (wei wei840222@gmail.com)
- acc55e0: feat(context): add Protocol Buffers support to content negotiation (gin-gonic#4423) (Name 1911860538@qq.com)
- 93b3a0d: feat(context): add SaveUploadedFile func. (gin-gonic#1022) (Eason Lin easonlin404@gmail.com)
- fb09c82: feat(context): add SetCookieData (gin-gonic#4240) (NARITA 58836324+Narita-1095305@users.noreply.github.com)
- 5eea51b: feat(context): add cast helpers to c.Keys (gin-gonic#856) (Javier Provecho Fernandez javiertitan@gmail.com)
- 73e5fcd: feat(context): add idiomatic binding functions for clear err managment (Javier Provecho javiertitan@gmail.com)
- 38e7651: feat(context): implemented Delete method (Spyder01 45194214+Spyder01@users.noreply.github.com)
- e61cc06: feat(context): return GIN Context from Value method (gin-gonic#2825) (Faisal Alam ifaisalalam@gmail.com)
- ac5e84d: feat(engine): Added
OptionFuncandWith(gin-gonic#3572) (Flc゛ four_leaf_clover@foxmail.com) - bfc8ca2: feat(engine): add trustedproxies and remoteIP (gin-gonic#2632) (Manu MA manu.mtza@gmail.com)
- f05f966: feat(form): Support default values for collections in form binding (gin-gonic#4048) (takanuva15 6986426+takanuva15@users.noreply.github.com)
- 3cb3067: feat(form): add array collection format in form binding (gin-gonic#3986) (Jo YoHan 37216082+slowhigh@users.noreply.github.com)
- 24d6764: feat(form): add custom string slice for form tag unmarshal (gin-gonic#3970) (gin-gonic#3971) (bruceNu1l 144002160+bruceNu1l@users.noreply.github.com)
- 8791c96: feat(fs): Export, test and document OnlyFilesFS (gin-gonic#3939) (Johannes Eiglsperger je@eigsys.de)
- 71496ab: feat(fs): Implement loading HTML from http.FileSystem (gin-gonic#4053) (sunshineplan sunshineplan@users.noreply.github.com)
- 771dcc6: feat(gin): add option to use escaped path (gin-gonic#4420) (Aeddis Desauw 89919264+ldesauw@users.noreply.github.com)
- 3ac729d: feat(gin): support http3 using quic-go/quic-go (gin-gonic#3210) (thinkerou thinkerou@gmail.com)
- c6ae2e6: feat(logger): ability to skip logs based on user-defined logic (gin-gonic#3593) (Ghobad ghobad.vm@gmail.com)
- 4dec17a: feat(logger): color latency (gin-gonic#4146) (ljz 641390597@qq.com)
- e31cbdf: feat(logger): show query string in logger. (gin-gonic#999) close gin-gonic#988 (Bo-Yi Wu appleboy.tw@gmail.com)
- 2421966: feat(route): add an option to allow trailing slash insensitive matching (Denny Septian Panggabean xamidimura@gmail.com)
- 4621b7a: feat(router): add literal colon support (gin-gonic#1432) (gin-gonic#2857) (wssccc wssccc@qq.com)
- 66b47a8: feat(server): Implements RunFd method (gin-gonic#1609) (Yoshiki Nakagawa yyoshiki41@gmail.com)
- ad2dace: feat: Support get value from request header. (gin-gonic#839) (Bo-Yi Wu appleboy.tw@gmail.com)
- 41316b9: feat: add GetRawData func. (gin-gonic#857) (Bo-Yi Wu appleboy.tw@gmail.com)
- 75ed286: feat: add SecureJSON func to prevent json hijacking (Eason Lin easonlin404@gmail.com)
- 417b142: feat: add StaticFileFS (gin-gonic#2749) (thinkgo 49174849+thinkgos@users.noreply.github.com)
- 834a2ec: feat: add go version judge when print debug warning log (gin-gonic#1572) (田欧 thinkerou@gmail.com)
- b8b6831: feat: add multiple service example. (gin-gonic#1119) (Bo-Yi Wu appleboy.tw@gmail.com)
- 8374ed2: feat: add sonic json support (gin-gonic#3184) (Rainshaw rxg@live.com)
- dbd8a25: feat: added
AbortWithStatusPureJSON()inContext(gin-gonic#4290) (Denny Septian Panggabean 97607754+ddevsr@users.noreply.github.com) - ef687e0: feat: automatically SetMode to TestMode when run go test. (gin-gonic#3139) (micanzhang micanzhang@gmail.com)
- 1250832: feat: change json lib to jsoniter (Bo-Yi Wu appleboy.tw@gmail.com)
- 87e40d6: feat: fix lint error (gin-gonic#3050) (thinkerou thinkerou@gmail.com)
- 08b52e5: feat: improve get post data. (gin-gonic#1920) (Bo-Yi Wu appleboy.tw@gmail.com)
- 2da1729: feat: listen https. (Bo-Yi Wu appleboy.tw@gmail.com)
- 07f1bf0: feat: replace debug log with fmt package. (gin-gonic#1560) (Bo-Yi Wu appleboy.tw@gmail.com)
- 46220b7: feat: support Let's Encrypt tls. (Bo-Yi Wu appleboy.tw@gmail.com)
- 688a429: feat: support custom json codec at runtime (gin-gonic#3391) (Tim xuchonglei@126.com)
- 28b18cd: feat: support cygwin for log writer. (gin-gonic#834) (Bo-Yi Wu appleboy.tw@gmail.com)
- 75ccf94: feat: update version constant to v1.10.0 (gin-gonic#3952) (Bo-Yi Wu appleboy.tw@gmail.com)
Bug fixes
- 8fb3136: Revert "fix(time): binding time with empty value (gin-gonic#4103)" (gin-gonic#4245) (Bo-Yi Wu appleboy.tw@gmail.com)
- d4e4136: Revert "fix(uri): query binding bug (gin-gonic#3236)" (gin-gonic#3899) (Bo-Yi Wu appleboy.tw@gmail.com)
- 268e307: fix(Makefile): golint to new URL (gin-gonic#1592) (Bo-Yi Wu appleboy.tw@gmail.com)
- 6d913fc: fix(binding): Expose validator engine used by the default Validator (gin-gonic#1277) (Suhas Karanth sudo-suhas@users.noreply.github.com)
- 3dc1cd6: fix(binding): binding error while not upload file (gin-gonic#3819) (gin-gonic#3820) (clearcode 34591322+clearcodecn@users.noreply.github.com)
- 82bcd6d: fix(binding): dereference pointer to struct (gin-gonic#3199) (Alonso Villegas alonsovillegas816@gmail.com)
- b917b14: fix(binding): empty value error (gin-gonic#2169) (guonaihong guonaihong@qq.com)
- c3d1092: fix(binding): improve empty slice/array handling in form binding (gin-gonic#4380) (Name 1911860538@qq.com)
- e737e3e: fix(binding): prevent duplicate decoding and add validation in decodeToml (gin-gonic#4193) (revevide 158151416+revevide@users.noreply.github.com)
- 2fbb971: fix(build): remove unused target. (gin-gonic#1183) (Bo-Yi Wu appleboy.tw@gmail.com)
- 71d3ae4: fix(comment): remove todo (Eason Lin easonlin404@gmail.com)
- 9914178: fix(context): ClientIP handling for multiple X-Forwarded-For header values (gin-gonic#4472) (Nurysso 152021471+Nurysso@users.noreply.github.com)
- 4f339e6: fix(context): YAML judgment logic in Negotiate (gin-gonic#3966) (RedCrazyGhost 49381700+RedCrazyGhost@users.noreply.github.com)
- 36b0ded: fix(context): check handler is nil (gin-gonic#3413) (51pwn 18223385+hktalent@users.noreply.github.com)
- 2b1da2b: fix(context): make context Value method adhere to Go standards (gin-gonic#3897) (Farmer.Chillax 48387781+FarmerChillax@users.noreply.github.com)
- 7cb151b...
v1.0.10
Changelog
Features
- c19374c: feat(CodeQL): Discover vulnerabilities across a codebase with CodeQL (gin-gonic#3049) (Bo-Yi Wu appleboy.tw@gmail.com)
- 5f458dd: feat(auth): add proxy-server authentication (gin-gonic#3877) (Endless Paradox 129645532+EndlessParadox1@users.noreply.github.com)
- 7a865dc: feat(bind): ShouldBindBodyWith shortcut and change doc (gin-gonic#3871) (RedCrazyGhost 49381700+RedCrazyGhost@users.noreply.github.com)
- a182195: feat(binding): Support custom BindUnmarshaler for binding. (gin-gonic#3933) (dkkb 82504881+dkkb@users.noreply.github.com)
- 6ca8ddb: feat(binding): add BindPlain (gin-gonic#3904) (guonaihong guonaihong@qq.com)
- f38c30a: feat(binding): add DisallowUnknownFields() in gin.Context.BindJSON() (gin-gonic#2028) (Krzysztof Szafrański k.p.szafranski@gmail.com)
- fb7448f: feat(binding): add UseNumber() in gin.Context.BindJSON() (gin-gonic#997) close gin-gonic#368 (whirosan whirosan@users.noreply.github.com)
- 26c3f42: feat(binding): add support for custom validator / validation tags (gin-gonic#1068) (Suhas Karanth sudo-suhas@users.noreply.github.com)
- 4ccfa7c: feat(binding): add support for unixMilli and unixMicro (gin-gonic#4190) (takanuva15 6986426+takanuva15@users.noreply.github.com)
- 690aa2b: feat(binding): support custom struct tag (gin-gonic#2720) (voidman retmain@foxmail.com)
- fd1faad: feat(binding): support override default binding implement (gin-gonic#3514) (ssfyn a@fyn.pw)
- 9d7c0e9: feat(context): GetXxx added support for more go native types (gin-gonic#3633) (CC11001100 CC11001100@qq.com)
- dfb68ce: feat(context): ShouldBind counterparts for Bind methods (gin-gonic#1047) (Suhas Karanth sudo-suhas@users.noreply.github.com)
- c19aa05: feat(context): add BindQuery func (gin-gonic#1029) (Eason Lin easonlin404@gmail.com)
- f197a8b: feat(context): add ContextWithFallback feature flag (gin-gonic#3166) (gin-gonic#3172) (wei wei840222@gmail.com)
- acc55e0: feat(context): add Protocol Buffers support to content negotiation (gin-gonic#4423) (Name 1911860538@qq.com)
- 93b3a0d: feat(context): add SaveUploadedFile func. (gin-gonic#1022) (Eason Lin easonlin404@gmail.com)
- fb09c82: feat(context): add SetCookieData (gin-gonic#4240) (NARITA 58836324+Narita-1095305@users.noreply.github.com)
- 5eea51b: feat(context): add cast helpers to c.Keys (gin-gonic#856) (Javier Provecho Fernandez javiertitan@gmail.com)
- 73e5fcd: feat(context): add idiomatic binding functions for clear err managment (Javier Provecho javiertitan@gmail.com)
- 38e7651: feat(context): implemented Delete method (Spyder01 45194214+Spyder01@users.noreply.github.com)
- e61cc06: feat(context): return GIN Context from Value method (gin-gonic#2825) (Faisal Alam ifaisalalam@gmail.com)
- ac5e84d: feat(engine): Added
OptionFuncandWith(gin-gonic#3572) (Flc゛ four_leaf_clover@foxmail.com) - bfc8ca2: feat(engine): add trustedproxies and remoteIP (gin-gonic#2632) (Manu MA manu.mtza@gmail.com)
- f05f966: feat(form): Support default values for collections in form binding (gin-gonic#4048) (takanuva15 6986426+takanuva15@users.noreply.github.com)
- 3cb3067: feat(form): add array collection format in form binding (gin-gonic#3986) (Jo YoHan 37216082+slowhigh@users.noreply.github.com)
- 24d6764: feat(form): add custom string slice for form tag unmarshal (gin-gonic#3970) (gin-gonic#3971) (bruceNu1l 144002160+bruceNu1l@users.noreply.github.com)
- 8791c96: feat(fs): Export, test and document OnlyFilesFS (gin-gonic#3939) (Johannes Eiglsperger je@eigsys.de)
- 71496ab: feat(fs): Implement loading HTML from http.FileSystem (gin-gonic#4053) (sunshineplan sunshineplan@users.noreply.github.com)
- 3ac729d: feat(gin): support http3 using quic-go/quic-go (gin-gonic#3210) (thinkerou thinkerou@gmail.com)
- c6ae2e6: feat(logger): ability to skip logs based on user-defined logic (gin-gonic#3593) (Ghobad ghobad.vm@gmail.com)
- 4dec17a: feat(logger): color latency (gin-gonic#4146) (ljz 641390597@qq.com)
- e31cbdf: feat(logger): show query string in logger. (gin-gonic#999) close gin-gonic#988 (Bo-Yi Wu appleboy.tw@gmail.com)
- 7d73bc0: feat(route): add an option to allow trailing slash insensitive matching (Denny Septian Panggabean xamidimura@gmail.com)
- 4621b7a: feat(router): add literal colon support (gin-gonic#1432) (gin-gonic#2857) (wssccc wssccc@qq.com)
- 66b47a8: feat(server): Implements RunFd method (gin-gonic#1609) (Yoshiki Nakagawa yyoshiki41@gmail.com)
- ad2dace: feat: Support get value from request header. (gin-gonic#839) (Bo-Yi Wu appleboy.tw@gmail.com)
- 41316b9: feat: add GetRawData func. (gin-gonic#857) (Bo-Yi Wu appleboy.tw@gmail.com)
- 75ed286: feat: add SecureJSON func to prevent json hijacking (Eason Lin easonlin404@gmail.com)
- 417b142: feat: add StaticFileFS (gin-gonic#2749) (thinkgo 49174849+thinkgos@users.noreply.github.com)
- 834a2ec: feat: add go version judge when print debug warning log (gin-gonic#1572) (田欧 thinkerou@gmail.com)
- b8b6831: feat: add multiple service example. (gin-gonic#1119) (Bo-Yi Wu appleboy.tw@gmail.com)
- 8374ed2: feat: add sonic json support (gin-gonic#3184) (Rainshaw rxg@live.com)
- dbd8a25: feat: added
AbortWithStatusPureJSON()inContext(gin-gonic#4290) (Denny Septian Panggabean 97607754+ddevsr@users.noreply.github.com) - ef687e0: feat: automatically SetMode to TestMode when run go test. (gin-gonic#3139) (micanzhang micanzhang@gmail.com)
- 1250832: feat: change json lib to jsoniter (Bo-Yi Wu appleboy.tw@gmail.com)
- 87e40d6: feat: fix lint error (gin-gonic#3050) (thinkerou thinkerou@gmail.com)
- 08b52e5: feat: improve get post data. (gin-gonic#1920) (Bo-Yi Wu appleboy.tw@gmail.com)
- 2da1729: feat: listen https. (Bo-Yi Wu appleboy.tw@gmail.com)
- 07f1bf0: feat: replace debug log with fmt package. (gin-gonic#1560) (Bo-Yi Wu appleboy.tw@gmail.com)
- 46220b7: feat: support Let's Encrypt tls. (Bo-Yi Wu appleboy.tw@gmail.com)
- 688a429: feat: support custom json codec at runtime (gin-gonic#3391) (Tim xuchonglei@126.com)
- 28b18cd: feat: support cygwin for log writer. (gin-gonic#834) (Bo-Yi Wu appleboy.tw@gmail.com)
- 75ccf94: feat: update version constant to v1.10.0 (gin-gonic#3952) (Bo-Yi Wu appleboy.tw@gmail.com)
Bug fixes
- 8fb3136: Revert "fix(time): binding time with empty value (gin-gonic#4103)" (gin-gonic#4245) (Bo-Yi Wu appleboy.tw@gmail.com)
- d4e4136: Revert "fix(uri): query binding bug (gin-gonic#3236)" (gin-gonic#3899) (Bo-Yi Wu appleboy.tw@gmail.com)
- 268e307: fix(Makefile): golint to new URL (gin-gonic#1592) (Bo-Yi Wu appleboy.tw@gmail.com)
- 6d913fc: fix(binding): Expose validator engine used by the default Validator (gin-gonic#1277) (Suhas Karanth sudo-suhas@users.noreply.github.com)
- 3dc1cd6: fix(binding): binding error while not upload file (gin-gonic#3819) (gin-gonic#3820) (clearcode 34591322+clearcodecn@users.noreply.github.com)
- 82bcd6d: fix(binding): dereference pointer to struct (gin-gonic#3199) (Alonso Villegas alonsovillegas816@gmail.com)
- c3d1092: fix(binding): improve empty slice/array handling in form binding (gin-gonic#4380) (Name 1911860538@qq.com)
- e737e3e: fix(binding): prevent duplicate decoding and add validation in decodeToml (gin-gonic#4193) (revevide 158151416+revevide@users.noreply.github.com)
- 2fbb971: fix(build): remove unused target. (gin-gonic#1183) (Bo-Yi Wu appleboy.tw@gmail.com)
- 71d3ae4: fix(comment): remove todo (Eason Lin easonlin404@gmail.com)
- 4f339e6: fix(context): YAML judgment logic in Negotiate (gin-gonic#3966) (RedCrazyGhost 49381700+RedCrazyGhost@users.noreply.github.com)
- 36b0ded: fix(context): check handler is nil (gin-gonic#3413) (51pwn 18223385+hktalent@users.noreply.github.com)
- 2b1da2b: fix(context): make context Value method adhere to Go standards (gin-gonic#3897) (Farmer.Chillax 48387781+FarmerChillax@users.noreply.github.com)
- 7cb151b: fix(context): panic on NegotiateFormat - index out of range (gin-gonic#3397) (adrianiacobghiula 2491756+adrianiacobghiula@users.noreply.github.com)
- 68aa2c3: fix(context): switch deprecated bindwith for mustbindwith (Javier Provecho Fernandez javiertitan@gmail.com)
- e0d46de: fix(context): verify URL is Non-nil in initQueryCache() (gin-gonic#3969) (Adriano Sela Aviles <adriano.selaviles@...
v1.0.9
Changelog
Features
- c19374c: feat(CodeQL): Discover vulnerabilities across a codebase with CodeQL (gin-gonic#3049) (Bo-Yi Wu appleboy.tw@gmail.com)
- 5f458dd: feat(auth): add proxy-server authentication (gin-gonic#3877) (Endless Paradox 129645532+EndlessParadox1@users.noreply.github.com)
- 7a865dc: feat(bind): ShouldBindBodyWith shortcut and change doc (gin-gonic#3871) (RedCrazyGhost 49381700+RedCrazyGhost@users.noreply.github.com)
- a182195: feat(binding): Support custom BindUnmarshaler for binding. (gin-gonic#3933) (dkkb 82504881+dkkb@users.noreply.github.com)
- 6ca8ddb: feat(binding): add BindPlain (gin-gonic#3904) (guonaihong guonaihong@qq.com)
- f38c30a: feat(binding): add DisallowUnknownFields() in gin.Context.BindJSON() (gin-gonic#2028) (Krzysztof Szafrański k.p.szafranski@gmail.com)
- fb7448f: feat(binding): add UseNumber() in gin.Context.BindJSON() (gin-gonic#997) close gin-gonic#368 (whirosan whirosan@users.noreply.github.com)
- 26c3f42: feat(binding): add support for custom validator / validation tags (gin-gonic#1068) (Suhas Karanth sudo-suhas@users.noreply.github.com)
- 4ccfa7c: feat(binding): add support for unixMilli and unixMicro (gin-gonic#4190) (takanuva15 6986426+takanuva15@users.noreply.github.com)
- 690aa2b: feat(binding): support custom struct tag (gin-gonic#2720) (voidman retmain@foxmail.com)
- fd1faad: feat(binding): support override default binding implement (gin-gonic#3514) (ssfyn a@fyn.pw)
- 9d7c0e9: feat(context): GetXxx added support for more go native types (gin-gonic#3633) (CC11001100 CC11001100@qq.com)
- dfb68ce: feat(context): ShouldBind counterparts for Bind methods (gin-gonic#1047) (Suhas Karanth sudo-suhas@users.noreply.github.com)
- c19aa05: feat(context): add BindQuery func (gin-gonic#1029) (Eason Lin easonlin404@gmail.com)
- f197a8b: feat(context): add ContextWithFallback feature flag (gin-gonic#3166) (gin-gonic#3172) (wei wei840222@gmail.com)
- 93b3a0d: feat(context): add SaveUploadedFile func. (gin-gonic#1022) (Eason Lin easonlin404@gmail.com)
- fb09c82: feat(context): add SetCookieData (gin-gonic#4240) (NARITA 58836324+Narita-1095305@users.noreply.github.com)
- 5eea51b: feat(context): add cast helpers to c.Keys (gin-gonic#856) (Javier Provecho Fernandez javiertitan@gmail.com)
- 73e5fcd: feat(context): add idiomatic binding functions for clear err managment (Javier Provecho javiertitan@gmail.com)
- 38e7651: feat(context): implemented Delete method (Spyder01 45194214+Spyder01@users.noreply.github.com)
- e61cc06: feat(context): return GIN Context from Value method (gin-gonic#2825) (Faisal Alam ifaisalalam@gmail.com)
- ac5e84d: feat(engine): Added
OptionFuncandWith(gin-gonic#3572) (Flc゛ four_leaf_clover@foxmail.com) - bfc8ca2: feat(engine): add trustedproxies and remoteIP (gin-gonic#2632) (Manu MA manu.mtza@gmail.com)
- f05f966: feat(form): Support default values for collections in form binding (gin-gonic#4048) (takanuva15 6986426+takanuva15@users.noreply.github.com)
- 3cb3067: feat(form): add array collection format in form binding (gin-gonic#3986) (Jo YoHan 37216082+slowhigh@users.noreply.github.com)
- 24d6764: feat(form): add custom string slice for form tag unmarshal (gin-gonic#3970) (gin-gonic#3971) (bruceNu1l 144002160+bruceNu1l@users.noreply.github.com)
- 8791c96: feat(fs): Export, test and document OnlyFilesFS (gin-gonic#3939) (Johannes Eiglsperger je@eigsys.de)
- 71496ab: feat(fs): Implement loading HTML from http.FileSystem (gin-gonic#4053) (sunshineplan sunshineplan@users.noreply.github.com)
- 3ac729d: feat(gin): support http3 using quic-go/quic-go (gin-gonic#3210) (thinkerou thinkerou@gmail.com)
- c6ae2e6: feat(logger): ability to skip logs based on user-defined logic (gin-gonic#3593) (Ghobad ghobad.vm@gmail.com)
- 4dec17a: feat(logger): color latency (gin-gonic#4146) (ljz 641390597@qq.com)
- e31cbdf: feat(logger): show query string in logger. (gin-gonic#999) close gin-gonic#988 (Bo-Yi Wu appleboy.tw@gmail.com)
- 659ed96: feat(route): add an option to allow trailing slash insensitive matching (Denny Septian Panggabean xamidimura@gmail.com)
- 4621b7a: feat(router): add literal colon support (gin-gonic#1432) (gin-gonic#2857) (wssccc wssccc@qq.com)
- 66b47a8: feat(server): Implements RunFd method (gin-gonic#1609) (Yoshiki Nakagawa yyoshiki41@gmail.com)
- ad2dace: feat: Support get value from request header. (gin-gonic#839) (Bo-Yi Wu appleboy.tw@gmail.com)
- 41316b9: feat: add GetRawData func. (gin-gonic#857) (Bo-Yi Wu appleboy.tw@gmail.com)
- 75ed286: feat: add SecureJSON func to prevent json hijacking (Eason Lin easonlin404@gmail.com)
- 417b142: feat: add StaticFileFS (gin-gonic#2749) (thinkgo 49174849+thinkgos@users.noreply.github.com)
- 834a2ec: feat: add go version judge when print debug warning log (gin-gonic#1572) (田欧 thinkerou@gmail.com)
- b8b6831: feat: add multiple service example. (gin-gonic#1119) (Bo-Yi Wu appleboy.tw@gmail.com)
- 8374ed2: feat: add sonic json support (gin-gonic#3184) (Rainshaw rxg@live.com)
- dbd8a25: feat: added
AbortWithStatusPureJSON()inContext(gin-gonic#4290) (Denny Septian Panggabean 97607754+ddevsr@users.noreply.github.com) - ef687e0: feat: automatically SetMode to TestMode when run go test. (gin-gonic#3139) (micanzhang micanzhang@gmail.com)
- 1250832: feat: change json lib to jsoniter (Bo-Yi Wu appleboy.tw@gmail.com)
- 87e40d6: feat: fix lint error (gin-gonic#3050) (thinkerou thinkerou@gmail.com)
- 08b52e5: feat: improve get post data. (gin-gonic#1920) (Bo-Yi Wu appleboy.tw@gmail.com)
- 2da1729: feat: listen https. (Bo-Yi Wu appleboy.tw@gmail.com)
- 07f1bf0: feat: replace debug log with fmt package. (gin-gonic#1560) (Bo-Yi Wu appleboy.tw@gmail.com)
- 46220b7: feat: support Let's Encrypt tls. (Bo-Yi Wu appleboy.tw@gmail.com)
- 688a429: feat: support custom json codec at runtime (gin-gonic#3391) (Tim xuchonglei@126.com)
- 28b18cd: feat: support cygwin for log writer. (gin-gonic#834) (Bo-Yi Wu appleboy.tw@gmail.com)
- 75ccf94: feat: update version constant to v1.10.0 (gin-gonic#3952) (Bo-Yi Wu appleboy.tw@gmail.com)
Bug fixes
- 8fb3136: Revert "fix(time): binding time with empty value (gin-gonic#4103)" (gin-gonic#4245) (Bo-Yi Wu appleboy.tw@gmail.com)
- d4e4136: Revert "fix(uri): query binding bug (gin-gonic#3236)" (gin-gonic#3899) (Bo-Yi Wu appleboy.tw@gmail.com)
- 268e307: fix(Makefile): golint to new URL (gin-gonic#1592) (Bo-Yi Wu appleboy.tw@gmail.com)
- 6d913fc: fix(binding): Expose validator engine used by the default Validator (gin-gonic#1277) (Suhas Karanth sudo-suhas@users.noreply.github.com)
- 3dc1cd6: fix(binding): binding error while not upload file (gin-gonic#3819) (gin-gonic#3820) (clearcode 34591322+clearcodecn@users.noreply.github.com)
- 82bcd6d: fix(binding): dereference pointer to struct (gin-gonic#3199) (Alonso Villegas alonsovillegas816@gmail.com)
- c3d1092: fix(binding): improve empty slice/array handling in form binding (gin-gonic#4380) (Name 1911860538@qq.com)
- e737e3e: fix(binding): prevent duplicate decoding and add validation in decodeToml (gin-gonic#4193) (revevide 158151416+revevide@users.noreply.github.com)
- 2fbb971: fix(build): remove unused target. (gin-gonic#1183) (Bo-Yi Wu appleboy.tw@gmail.com)
- 71d3ae4: fix(comment): remove todo (Eason Lin easonlin404@gmail.com)
- 4f339e6: fix(context): YAML judgment logic in Negotiate (gin-gonic#3966) (RedCrazyGhost 49381700+RedCrazyGhost@users.noreply.github.com)
- 36b0ded: fix(context): check handler is nil (gin-gonic#3413) (51pwn 18223385+hktalent@users.noreply.github.com)
- 2b1da2b: fix(context): make context Value method adhere to Go standards (gin-gonic#3897) (Farmer.Chillax 48387781+FarmerChillax@users.noreply.github.com)
- 7cb151b: fix(context): panic on NegotiateFormat - index out of range (gin-gonic#3397) (adrianiacobghiula 2491756+adrianiacobghiula@users.noreply.github.com)
- 68aa2c3: fix(context): switch deprecated bindwith for mustbindwith (Javier Provecho Fernandez javiertitan@gmail.com)
- e0d46de: fix(context): verify URL is Non-nil in initQueryCache() (gin-gonic#3969) (Adriano Sela Aviles adriano.selaviles@gmail.com)
- dd33ff7: fix(docs): missing go markdown codeblock (gin-gonic#4266) (Victor Dusart <43795504+vdusart@users.no...
v1.0.8
Changelog
Enhancements
- c693eac: chore(deps): bump actions/setup-go from 5 to 6 (@dependabot[bot])
- 52cc2cb: chore(deps): bump benchmark-action/github-action-benchmark (@dependabot[bot])
- 2f37ebc: chore(deps): bump github.com/bytedance/sonic from 1.14.0 to 1.14.1 (@dependabot[bot])
- 08db620: chore(deps): bump github.com/stretchr/testify from 1.11.0 to 1.11.1 (@dependabot[bot])
- abd0deb: chore: contain matrix go version 1.25.x in go_json (@ddevsr)
- 56ced7d: chore: release with minimum v1.24.5 (@ddevsr)
Refactor
Others
v1.0.7
Changelog
Features
- c19374c: feat(CodeQL): Discover vulnerabilities across a codebase with CodeQL (gin-gonic#3049) (Bo-Yi Wu appleboy.tw@gmail.com)
- 5f458dd: feat(auth): add proxy-server authentication (gin-gonic#3877) (Endless Paradox 129645532+EndlessParadox1@users.noreply.github.com)
- 7a865dc: feat(bind): ShouldBindBodyWith shortcut and change doc (gin-gonic#3871) (RedCrazyGhost 49381700+RedCrazyGhost@users.noreply.github.com)
- a182195: feat(binding): Support custom BindUnmarshaler for binding. (gin-gonic#3933) (dkkb 82504881+dkkb@users.noreply.github.com)
- 6ca8ddb: feat(binding): add BindPlain (gin-gonic#3904) (guonaihong guonaihong@qq.com)
- f38c30a: feat(binding): add DisallowUnknownFields() in gin.Context.BindJSON() (gin-gonic#2028) (Krzysztof Szafrański k.p.szafranski@gmail.com)
- fb7448f: feat(binding): add UseNumber() in gin.Context.BindJSON() (gin-gonic#997) close gin-gonic#368 (whirosan whirosan@users.noreply.github.com)
- 26c3f42: feat(binding): add support for custom validator / validation tags (gin-gonic#1068) (Suhas Karanth sudo-suhas@users.noreply.github.com)
- 4ccfa7c: feat(binding): add support for unixMilli and unixMicro (gin-gonic#4190) (takanuva15 6986426+takanuva15@users.noreply.github.com)
- 690aa2b: feat(binding): support custom struct tag (gin-gonic#2720) (voidman retmain@foxmail.com)
- fd1faad: feat(binding): support override default binding implement (gin-gonic#3514) (ssfyn a@fyn.pw)
- 9d7c0e9: feat(context): GetXxx added support for more go native types (gin-gonic#3633) (CC11001100 CC11001100@qq.com)
- dfb68ce: feat(context): ShouldBind counterparts for Bind methods (gin-gonic#1047) (Suhas Karanth sudo-suhas@users.noreply.github.com)
- c19aa05: feat(context): add BindQuery func (gin-gonic#1029) (Eason Lin easonlin404@gmail.com)
- f197a8b: feat(context): add ContextWithFallback feature flag (gin-gonic#3166) (gin-gonic#3172) (wei wei840222@gmail.com)
- 93b3a0d: feat(context): add SaveUploadedFile func. (gin-gonic#1022) (Eason Lin easonlin404@gmail.com)
- fb09c82: feat(context): add SetCookieData (gin-gonic#4240) (NARITA 58836324+Narita-1095305@users.noreply.github.com)
- 5eea51b: feat(context): add cast helpers to c.Keys (gin-gonic#856) (Javier Provecho Fernandez javiertitan@gmail.com)
- 73e5fcd: feat(context): add idiomatic binding functions for clear err managment (Javier Provecho javiertitan@gmail.com)
- e61cc06: feat(context): return GIN Context from Value method (gin-gonic#2825) (Faisal Alam ifaisalalam@gmail.com)
- ac5e84d: feat(engine): Added
OptionFuncandWith(gin-gonic#3572) (Flc゛ four_leaf_clover@foxmail.com) - bfc8ca2: feat(engine): add trustedproxies and remoteIP (gin-gonic#2632) (Manu MA manu.mtza@gmail.com)
- f05f966: feat(form): Support default values for collections in form binding (gin-gonic#4048) (takanuva15 6986426+takanuva15@users.noreply.github.com)
- 3cb3067: feat(form): add array collection format in form binding (gin-gonic#3986) (Jo YoHan 37216082+slowhigh@users.noreply.github.com)
- 24d6764: feat(form): add custom string slice for form tag unmarshal (gin-gonic#3970) (gin-gonic#3971) (bruceNu1l 144002160+bruceNu1l@users.noreply.github.com)
- 8791c96: feat(fs): Export, test and document OnlyFilesFS (gin-gonic#3939) (Johannes Eiglsperger je@eigsys.de)
- 71496ab: feat(fs): Implement loading HTML from http.FileSystem (gin-gonic#4053) (sunshineplan sunshineplan@users.noreply.github.com)
- 3ac729d: feat(gin): support http3 using quic-go/quic-go (gin-gonic#3210) (thinkerou thinkerou@gmail.com)
- c6ae2e6: feat(logger): ability to skip logs based on user-defined logic (gin-gonic#3593) (Ghobad ghobad.vm@gmail.com)
- e31cbdf: feat(logger): show query string in logger. (gin-gonic#999) close gin-gonic#988 (Bo-Yi Wu appleboy.tw@gmail.com)
- 3b99184: feat(route): add an option to allow trailing slash insensitive matching (Denny Septian Panggabean xamidimura@gmail.com)
- 4621b7a: feat(router): add literal colon support (gin-gonic#1432) (gin-gonic#2857) (wssccc wssccc@qq.com)
- 66b47a8: feat(server): Implements RunFd method (gin-gonic#1609) (Yoshiki Nakagawa yyoshiki41@gmail.com)
- ad2dace: feat: Support get value from request header. (gin-gonic#839) (Bo-Yi Wu appleboy.tw@gmail.com)
- 41316b9: feat: add GetRawData func. (gin-gonic#857) (Bo-Yi Wu appleboy.tw@gmail.com)
- 75ed286: feat: add SecureJSON func to prevent json hijacking (Eason Lin easonlin404@gmail.com)
- 417b142: feat: add StaticFileFS (gin-gonic#2749) (thinkgo 49174849+thinkgos@users.noreply.github.com)
- 834a2ec: feat: add go version judge when print debug warning log (gin-gonic#1572) (田欧 thinkerou@gmail.com)
- b8b6831: feat: add multiple service example. (gin-gonic#1119) (Bo-Yi Wu appleboy.tw@gmail.com)
- 8374ed2: feat: add sonic json support (gin-gonic#3184) (Rainshaw rxg@live.com)
- dbd8a25: feat: added
AbortWithStatusPureJSON()inContext(gin-gonic#4290) (Denny Septian Panggabean 97607754+ddevsr@users.noreply.github.com) - d9c5f39: feat: added newest version 1.25.x (Denny Septian Panggabean xamidimura@gmail.com)
- ef687e0: feat: automatically SetMode to TestMode when run go test. (gin-gonic#3139) (micanzhang micanzhang@gmail.com)
- 1250832: feat: change json lib to jsoniter (Bo-Yi Wu appleboy.tw@gmail.com)
- 87e40d6: feat: fix lint error (gin-gonic#3050) (thinkerou thinkerou@gmail.com)
- 08b52e5: feat: improve get post data. (gin-gonic#1920) (Bo-Yi Wu appleboy.tw@gmail.com)
- 2da1729: feat: listen https. (Bo-Yi Wu appleboy.tw@gmail.com)
- 07f1bf0: feat: replace debug log with fmt package. (gin-gonic#1560) (Bo-Yi Wu appleboy.tw@gmail.com)
- 46220b7: feat: support Let's Encrypt tls. (Bo-Yi Wu appleboy.tw@gmail.com)
- 688a429: feat: support custom json codec at runtime (gin-gonic#3391) (Tim xuchonglei@126.com)
- 28b18cd: feat: support cygwin for log writer. (gin-gonic#834) (Bo-Yi Wu appleboy.tw@gmail.com)
- 75ccf94: feat: update version constant to v1.10.0 (gin-gonic#3952) (Bo-Yi Wu appleboy.tw@gmail.com)
Bug fixes
- 8fb3136: Revert "fix(time): binding time with empty value (gin-gonic#4103)" (gin-gonic#4245) (Bo-Yi Wu appleboy.tw@gmail.com)
- d4e4136: Revert "fix(uri): query binding bug (gin-gonic#3236)" (gin-gonic#3899) (Bo-Yi Wu appleboy.tw@gmail.com)
- 268e307: fix(Makefile): golint to new URL (gin-gonic#1592) (Bo-Yi Wu appleboy.tw@gmail.com)
- 6d913fc: fix(binding): Expose validator engine used by the default Validator (gin-gonic#1277) (Suhas Karanth sudo-suhas@users.noreply.github.com)
- 3dc1cd6: fix(binding): binding error while not upload file (gin-gonic#3819) (gin-gonic#3820) (clearcode 34591322+clearcodecn@users.noreply.github.com)
- 82bcd6d: fix(binding): dereference pointer to struct (gin-gonic#3199) (Alonso Villegas alonsovillegas816@gmail.com)
- e737e3e: fix(binding): prevent duplicate decoding and add validation in decodeToml (gin-gonic#4193) (revevide 158151416+revevide@users.noreply.github.com)
- 2fbb971: fix(build): remove unused target. (gin-gonic#1183) (Bo-Yi Wu appleboy.tw@gmail.com)
- 71d3ae4: fix(comment): remove todo (Eason Lin easonlin404@gmail.com)
- 4f339e6: fix(context): YAML judgment logic in Negotiate (gin-gonic#3966) (RedCrazyGhost 49381700+RedCrazyGhost@users.noreply.github.com)
- 36b0ded: fix(context): check handler is nil (gin-gonic#3413) (51pwn 18223385+hktalent@users.noreply.github.com)
- 2b1da2b: fix(context): make context Value method adhere to Go standards (gin-gonic#3897) (Farmer.Chillax 48387781+FarmerChillax@users.noreply.github.com)
- 7cb151b: fix(context): panic on NegotiateFormat - index out of range (gin-gonic#3397) (adrianiacobghiula 2491756+adrianiacobghiula@users.noreply.github.com)
- 68aa2c3: fix(context): switch deprecated bindwith for mustbindwith (Javier Provecho Fernandez javiertitan@gmail.com)
- e0d46de: fix(context): verify URL is Non-nil in initQueryCache() (gin-gonic#3969) (Adriano Sela Aviles adriano.selaviles@gmail.com)
- dd33ff7: fix(docs): missing go markdown codeblock (gin-gonic#4266) (Victor Dusart 43795504+vdusart@users.noreply.github.com)
- f70dd00: fix(engine): fix unit test (gin-gonic#3878) (Flc゛ four_leaf_clover@foxmail.com)
- 55e27f1: fix(engine): missing route params for CreateTestContext (gin-gonic#2778) (gin-gonic#2803) (RoCry <cr...
v1.0.6
Changelog
Features
- c19374c: feat(CodeQL): Discover vulnerabilities across a codebase with CodeQL (gin-gonic#3049) (Bo-Yi Wu appleboy.tw@gmail.com)
- 5f458dd: feat(auth): add proxy-server authentication (gin-gonic#3877) (Endless Paradox 129645532+EndlessParadox1@users.noreply.github.com)
- 7a865dc: feat(bind): ShouldBindBodyWith shortcut and change doc (gin-gonic#3871) (RedCrazyGhost 49381700+RedCrazyGhost@users.noreply.github.com)
- a182195: feat(binding): Support custom BindUnmarshaler for binding. (gin-gonic#3933) (dkkb 82504881+dkkb@users.noreply.github.com)
- 6ca8ddb: feat(binding): add BindPlain (gin-gonic#3904) (guonaihong guonaihong@qq.com)
- f38c30a: feat(binding): add DisallowUnknownFields() in gin.Context.BindJSON() (gin-gonic#2028) (Krzysztof Szafrański k.p.szafranski@gmail.com)
- fb7448f: feat(binding): add UseNumber() in gin.Context.BindJSON() (gin-gonic#997) close gin-gonic#368 (whirosan whirosan@users.noreply.github.com)
- 26c3f42: feat(binding): add support for custom validator / validation tags (gin-gonic#1068) (Suhas Karanth sudo-suhas@users.noreply.github.com)
- 4ccfa7c: feat(binding): add support for unixMilli and unixMicro (gin-gonic#4190) (takanuva15 6986426+takanuva15@users.noreply.github.com)
- 690aa2b: feat(binding): support custom struct tag (gin-gonic#2720) (voidman retmain@foxmail.com)
- fd1faad: feat(binding): support override default binding implement (gin-gonic#3514) (ssfyn a@fyn.pw)
- 9d7c0e9: feat(context): GetXxx added support for more go native types (gin-gonic#3633) (CC11001100 CC11001100@qq.com)
- dfb68ce: feat(context): ShouldBind counterparts for Bind methods (gin-gonic#1047) (Suhas Karanth sudo-suhas@users.noreply.github.com)
- c19aa05: feat(context): add BindQuery func (gin-gonic#1029) (Eason Lin easonlin404@gmail.com)
- f197a8b: feat(context): add ContextWithFallback feature flag (gin-gonic#3166) (gin-gonic#3172) (wei wei840222@gmail.com)
- 93b3a0d: feat(context): add SaveUploadedFile func. (gin-gonic#1022) (Eason Lin easonlin404@gmail.com)
- fb09c82: feat(context): add SetCookieData (gin-gonic#4240) (NARITA 58836324+Narita-1095305@users.noreply.github.com)
- 5eea51b: feat(context): add cast helpers to c.Keys (gin-gonic#856) (Javier Provecho Fernandez javiertitan@gmail.com)
- 73e5fcd: feat(context): add idiomatic binding functions for clear err managment (Javier Provecho javiertitan@gmail.com)
- e61cc06: feat(context): return GIN Context from Value method (gin-gonic#2825) (Faisal Alam ifaisalalam@gmail.com)
- ac5e84d: feat(engine): Added
OptionFuncandWith(gin-gonic#3572) (Flc゛ four_leaf_clover@foxmail.com) - bfc8ca2: feat(engine): add trustedproxies and remoteIP (gin-gonic#2632) (Manu MA manu.mtza@gmail.com)
- f05f966: feat(form): Support default values for collections in form binding (gin-gonic#4048) (takanuva15 6986426+takanuva15@users.noreply.github.com)
- 3cb3067: feat(form): add array collection format in form binding (gin-gonic#3986) (Jo YoHan 37216082+slowhigh@users.noreply.github.com)
- 24d6764: feat(form): add custom string slice for form tag unmarshal (gin-gonic#3970) (gin-gonic#3971) (bruceNu1l 144002160+bruceNu1l@users.noreply.github.com)
- 8791c96: feat(fs): Export, test and document OnlyFilesFS (gin-gonic#3939) (Johannes Eiglsperger je@eigsys.de)
- 71496ab: feat(fs): Implement loading HTML from http.FileSystem (gin-gonic#4053) (sunshineplan sunshineplan@users.noreply.github.com)
- 3ac729d: feat(gin): support http3 using quic-go/quic-go (gin-gonic#3210) (thinkerou thinkerou@gmail.com)
- c6ae2e6: feat(logger): ability to skip logs based on user-defined logic (gin-gonic#3593) (Ghobad ghobad.vm@gmail.com)
- e31cbdf: feat(logger): show query string in logger. (gin-gonic#999) close gin-gonic#988 (Bo-Yi Wu appleboy.tw@gmail.com)
- e737018: feat(route): add an option to allow trailing slash insensitive matching (Denny Septian Panggabean xamidimura@gmail.com)
- 4621b7a: feat(router): add literal colon support (gin-gonic#1432) (gin-gonic#2857) (wssccc wssccc@qq.com)
- 66b47a8: feat(server): Implements RunFd method (gin-gonic#1609) (Yoshiki Nakagawa yyoshiki41@gmail.com)
- ad2dace: feat: Support get value from request header. (gin-gonic#839) (Bo-Yi Wu appleboy.tw@gmail.com)
- 41316b9: feat: add GetRawData func. (gin-gonic#857) (Bo-Yi Wu appleboy.tw@gmail.com)
- 75ed286: feat: add SecureJSON func to prevent json hijacking (Eason Lin easonlin404@gmail.com)
- 417b142: feat: add StaticFileFS (gin-gonic#2749) (thinkgo 49174849+thinkgos@users.noreply.github.com)
- 834a2ec: feat: add go version judge when print debug warning log (gin-gonic#1572) (田欧 thinkerou@gmail.com)
- b8b6831: feat: add multiple service example. (gin-gonic#1119) (Bo-Yi Wu appleboy.tw@gmail.com)
- 8374ed2: feat: add sonic json support (gin-gonic#3184) (Rainshaw rxg@live.com)
- dbd8a25: feat: added
AbortWithStatusPureJSON()inContext(gin-gonic#4290) (Denny Septian Panggabean 97607754+ddevsr@users.noreply.github.com) - ef687e0: feat: automatically SetMode to TestMode when run go test. (gin-gonic#3139) (micanzhang micanzhang@gmail.com)
- 1250832: feat: change json lib to jsoniter (Bo-Yi Wu appleboy.tw@gmail.com)
- 87e40d6: feat: fix lint error (gin-gonic#3050) (thinkerou thinkerou@gmail.com)
- 08b52e5: feat: improve get post data. (gin-gonic#1920) (Bo-Yi Wu appleboy.tw@gmail.com)
- 2da1729: feat: listen https. (Bo-Yi Wu appleboy.tw@gmail.com)
- 07f1bf0: feat: replace debug log with fmt package. (gin-gonic#1560) (Bo-Yi Wu appleboy.tw@gmail.com)
- 46220b7: feat: support Let's Encrypt tls. (Bo-Yi Wu appleboy.tw@gmail.com)
- 688a429: feat: support custom json codec at runtime (gin-gonic#3391) (Tim xuchonglei@126.com)
- 28b18cd: feat: support cygwin for log writer. (gin-gonic#834) (Bo-Yi Wu appleboy.tw@gmail.com)
- 75ccf94: feat: update version constant to v1.10.0 (gin-gonic#3952) (Bo-Yi Wu appleboy.tw@gmail.com)
Bug fixes
- 8fb3136: Revert "fix(time): binding time with empty value (gin-gonic#4103)" (gin-gonic#4245) (Bo-Yi Wu appleboy.tw@gmail.com)
- d4e4136: Revert "fix(uri): query binding bug (gin-gonic#3236)" (gin-gonic#3899) (Bo-Yi Wu appleboy.tw@gmail.com)
- 268e307: fix(Makefile): golint to new URL (gin-gonic#1592) (Bo-Yi Wu appleboy.tw@gmail.com)
- 6d913fc: fix(binding): Expose validator engine used by the default Validator (gin-gonic#1277) (Suhas Karanth sudo-suhas@users.noreply.github.com)
- 3dc1cd6: fix(binding): binding error while not upload file (gin-gonic#3819) (gin-gonic#3820) (clearcode 34591322+clearcodecn@users.noreply.github.com)
- 82bcd6d: fix(binding): dereference pointer to struct (gin-gonic#3199) (Alonso Villegas alonsovillegas816@gmail.com)
- e737e3e: fix(binding): prevent duplicate decoding and add validation in decodeToml (gin-gonic#4193) (revevide 158151416+revevide@users.noreply.github.com)
- 2fbb971: fix(build): remove unused target. (gin-gonic#1183) (Bo-Yi Wu appleboy.tw@gmail.com)
- 71d3ae4: fix(comment): remove todo (Eason Lin easonlin404@gmail.com)
- 4f339e6: fix(context): YAML judgment logic in Negotiate (gin-gonic#3966) (RedCrazyGhost 49381700+RedCrazyGhost@users.noreply.github.com)
- 36b0ded: fix(context): check handler is nil (gin-gonic#3413) (51pwn 18223385+hktalent@users.noreply.github.com)
- 2b1da2b: fix(context): make context Value method adhere to Go standards (gin-gonic#3897) (Farmer.Chillax 48387781+FarmerChillax@users.noreply.github.com)
- 7cb151b: fix(context): panic on NegotiateFormat - index out of range (gin-gonic#3397) (adrianiacobghiula 2491756+adrianiacobghiula@users.noreply.github.com)
- 68aa2c3: fix(context): switch deprecated bindwith for mustbindwith (Javier Provecho Fernandez javiertitan@gmail.com)
- e0d46de: fix(context): verify URL is Non-nil in initQueryCache() (gin-gonic#3969) (Adriano Sela Aviles adriano.selaviles@gmail.com)
- dd33ff7: fix(docs): missing go markdown codeblock (gin-gonic#4266) (Victor Dusart 43795504+vdusart@users.noreply.github.com)
- f70dd00: fix(engine): fix unit test (gin-gonic#3878) (Flc゛ four_leaf_clover@foxmail.com)
- 55e27f1: fix(engine): missing route params for CreateTestContext (gin-gonic#2778) (gin-gonic#2803) (RoCry crysheen@gmail.com)
- b38c59d: fix(errors): change Unwrap method receiver to value type (gin-gonic#4232) ...
v1.0.5
v1.0.4
Changelog
Features
- c19374c: feat(CodeQL): Discover vulnerabilities across a codebase with CodeQL (gin-gonic#3049) (Bo-Yi Wu appleboy.tw@gmail.com)
- 5f458dd: feat(auth): add proxy-server authentication (gin-gonic#3877) (Endless Paradox 129645532+EndlessParadox1@users.noreply.github.com)
- 7a865dc: feat(bind): ShouldBindBodyWith shortcut and change doc (gin-gonic#3871) (RedCrazyGhost 49381700+RedCrazyGhost@users.noreply.github.com)
- a182195: feat(binding): Support custom BindUnmarshaler for binding. (gin-gonic#3933) (dkkb 82504881+dkkb@users.noreply.github.com)
- 6ca8ddb: feat(binding): add BindPlain (gin-gonic#3904) (guonaihong guonaihong@qq.com)
- f38c30a: feat(binding): add DisallowUnknownFields() in gin.Context.BindJSON() (gin-gonic#2028) (Krzysztof Szafrański k.p.szafranski@gmail.com)
- fb7448f: feat(binding): add UseNumber() in gin.Context.BindJSON() (gin-gonic#997) close gin-gonic#368 (whirosan whirosan@users.noreply.github.com)
- 26c3f42: feat(binding): add support for custom validator / validation tags (gin-gonic#1068) (Suhas Karanth sudo-suhas@users.noreply.github.com)
- 4ccfa7c: feat(binding): add support for unixMilli and unixMicro (gin-gonic#4190) (takanuva15 6986426+takanuva15@users.noreply.github.com)
- 690aa2b: feat(binding): support custom struct tag (gin-gonic#2720) (voidman retmain@foxmail.com)
- fd1faad: feat(binding): support override default binding implement (gin-gonic#3514) (ssfyn a@fyn.pw)
- 9d7c0e9: feat(context): GetXxx added support for more go native types (gin-gonic#3633) (CC11001100 CC11001100@qq.com)
- dfb68ce: feat(context): ShouldBind counterparts for Bind methods (gin-gonic#1047) (Suhas Karanth sudo-suhas@users.noreply.github.com)
- c19aa05: feat(context): add BindQuery func (gin-gonic#1029) (Eason Lin easonlin404@gmail.com)
- f197a8b: feat(context): add ContextWithFallback feature flag (gin-gonic#3166) (gin-gonic#3172) (wei wei840222@gmail.com)
- 93b3a0d: feat(context): add SaveUploadedFile func. (gin-gonic#1022) (Eason Lin easonlin404@gmail.com)
- fb09c82: feat(context): add SetCookieData (gin-gonic#4240) (NARITA 58836324+Narita-1095305@users.noreply.github.com)
- 5eea51b: feat(context): add cast helpers to c.Keys (gin-gonic#856) (Javier Provecho Fernandez javiertitan@gmail.com)
- 73e5fcd: feat(context): add idiomatic binding functions for clear err managment (Javier Provecho javiertitan@gmail.com)
- e61cc06: feat(context): return GIN Context from Value method (gin-gonic#2825) (Faisal Alam ifaisalalam@gmail.com)
- ac5e84d: feat(engine): Added
OptionFuncandWith(gin-gonic#3572) (Flc゛ four_leaf_clover@foxmail.com) - bfc8ca2: feat(engine): add trustedproxies and remoteIP (gin-gonic#2632) (Manu MA manu.mtza@gmail.com)
- f05f966: feat(form): Support default values for collections in form binding (gin-gonic#4048) (takanuva15 6986426+takanuva15@users.noreply.github.com)
- 3cb3067: feat(form): add array collection format in form binding (gin-gonic#3986) (Jo YoHan 37216082+slowhigh@users.noreply.github.com)
- 24d6764: feat(form): add custom string slice for form tag unmarshal (gin-gonic#3970) (gin-gonic#3971) (bruceNu1l 144002160+bruceNu1l@users.noreply.github.com)
- 8791c96: feat(fs): Export, test and document OnlyFilesFS (gin-gonic#3939) (Johannes Eiglsperger je@eigsys.de)
- 71496ab: feat(fs): Implement loading HTML from http.FileSystem (gin-gonic#4053) (sunshineplan sunshineplan@users.noreply.github.com)
- 3ac729d: feat(gin): support http3 using quic-go/quic-go (gin-gonic#3210) (thinkerou thinkerou@gmail.com)
- c6ae2e6: feat(logger): ability to skip logs based on user-defined logic (gin-gonic#3593) (Ghobad ghobad.vm@gmail.com)
- e31cbdf: feat(logger): show query string in logger. (gin-gonic#999) close gin-gonic#988 (Bo-Yi Wu appleboy.tw@gmail.com)
- 4621b7a: feat(router): add literal colon support (gin-gonic#1432) (gin-gonic#2857) (wssccc wssccc@qq.com)
- 66b47a8: feat(server): Implements RunFd method (gin-gonic#1609) (Yoshiki Nakagawa yyoshiki41@gmail.com)
- ad2dace: feat: Support get value from request header. (gin-gonic#839) (Bo-Yi Wu appleboy.tw@gmail.com)
- 41316b9: feat: add GetRawData func. (gin-gonic#857) (Bo-Yi Wu appleboy.tw@gmail.com)
- 75ed286: feat: add SecureJSON func to prevent json hijacking (Eason Lin easonlin404@gmail.com)
- 417b142: feat: add StaticFileFS (gin-gonic#2749) (thinkgo 49174849+thinkgos@users.noreply.github.com)
- 834a2ec: feat: add go version judge when print debug warning log (gin-gonic#1572) (田欧 thinkerou@gmail.com)
- b8b6831: feat: add multiple service example. (gin-gonic#1119) (Bo-Yi Wu appleboy.tw@gmail.com)
- 8374ed2: feat: add sonic json support (gin-gonic#3184) (Rainshaw rxg@live.com)
- dbd8a25: feat: added
AbortWithStatusPureJSON()inContext(gin-gonic#4290) (Denny Septian Panggabean 97607754+ddevsr@users.noreply.github.com) - ef687e0: feat: automatically SetMode to TestMode when run go test. (gin-gonic#3139) (micanzhang micanzhang@gmail.com)
- 1250832: feat: change json lib to jsoniter (Bo-Yi Wu appleboy.tw@gmail.com)
- 87e40d6: feat: fix lint error (gin-gonic#3050) (thinkerou thinkerou@gmail.com)
- 08b52e5: feat: improve get post data. (gin-gonic#1920) (Bo-Yi Wu appleboy.tw@gmail.com)
- 2da1729: feat: listen https. (Bo-Yi Wu appleboy.tw@gmail.com)
- ebd5fc3: feat: reindex releaser (Denny Septian Panggabean xamidimura@gmail.com)
- 07f1bf0: feat: replace debug log with fmt package. (gin-gonic#1560) (Bo-Yi Wu appleboy.tw@gmail.com)
- 46220b7: feat: support Let's Encrypt tls. (Bo-Yi Wu appleboy.tw@gmail.com)
- 688a429: feat: support custom json codec at runtime (gin-gonic#3391) (Tim xuchonglei@126.com)
- 28b18cd: feat: support cygwin for log writer. (gin-gonic#834) (Bo-Yi Wu appleboy.tw@gmail.com)
- 75ccf94: feat: update version constant to v1.10.0 (gin-gonic#3952) (Bo-Yi Wu appleboy.tw@gmail.com)
Bug fixes
- 8fb3136: Revert "fix(time): binding time with empty value (gin-gonic#4103)" (gin-gonic#4245) (Bo-Yi Wu appleboy.tw@gmail.com)
- d4e4136: Revert "fix(uri): query binding bug (gin-gonic#3236)" (gin-gonic#3899) (Bo-Yi Wu appleboy.tw@gmail.com)
- 268e307: fix(Makefile): golint to new URL (gin-gonic#1592) (Bo-Yi Wu appleboy.tw@gmail.com)
- 6d913fc: fix(binding): Expose validator engine used by the default Validator (gin-gonic#1277) (Suhas Karanth sudo-suhas@users.noreply.github.com)
- 3dc1cd6: fix(binding): binding error while not upload file (gin-gonic#3819) (gin-gonic#3820) (clearcode 34591322+clearcodecn@users.noreply.github.com)
- 82bcd6d: fix(binding): dereference pointer to struct (gin-gonic#3199) (Alonso Villegas alonsovillegas816@gmail.com)
- e737e3e: fix(binding): prevent duplicate decoding and add validation in decodeToml (gin-gonic#4193) (revevide 158151416+revevide@users.noreply.github.com)
- 2fbb971: fix(build): remove unused target. (gin-gonic#1183) (Bo-Yi Wu appleboy.tw@gmail.com)
- 71d3ae4: fix(comment): remove todo (Eason Lin easonlin404@gmail.com)
- 4f339e6: fix(context): YAML judgment logic in Negotiate (gin-gonic#3966) (RedCrazyGhost 49381700+RedCrazyGhost@users.noreply.github.com)
- 36b0ded: fix(context): check handler is nil (gin-gonic#3413) (51pwn 18223385+hktalent@users.noreply.github.com)
- 2b1da2b: fix(context): make context Value method adhere to Go standards (gin-gonic#3897) (Farmer.Chillax 48387781+FarmerChillax@users.noreply.github.com)
- 7cb151b: fix(context): panic on NegotiateFormat - index out of range (gin-gonic#3397) (adrianiacobghiula 2491756+adrianiacobghiula@users.noreply.github.com)
- 68aa2c3: fix(context): switch deprecated bindwith for mustbindwith (Javier Provecho Fernandez javiertitan@gmail.com)
- e0d46de: fix(context): verify URL is Non-nil in initQueryCache() (gin-gonic#3969) (Adriano Sela Aviles adriano.selaviles@gmail.com)
- dd33ff7: fix(docs): missing go markdown codeblock (gin-gonic#4266) (Victor Dusart 43795504+vdusart@users.noreply.github.com)
- f70dd00: fix(engine): fix unit test (gin-gonic#3878) (Flc゛ four_leaf_clover@foxmail.com)
- 55e27f1: fix(engine): missing route params for CreateTestContext (gin-gonic#2778) (gin-gonic#2803) (RoCry crysheen@gmail.com)
- b38c59d: fix(errors): change Unwrap method receiver to value type (gin-gonic#4232) (Orkhan Alikhanov Orkhan.Alikhanov@gmail.com)
*...
v1.0.3
Changelog
Features
- c19374c: feat(CodeQL): Discover vulnerabilities across a codebase with CodeQL (gin-gonic#3049) (Bo-Yi Wu appleboy.tw@gmail.com)
- 5f458dd: feat(auth): add proxy-server authentication (gin-gonic#3877) (Endless Paradox 129645532+EndlessParadox1@users.noreply.github.com)
- 7a865dc: feat(bind): ShouldBindBodyWith shortcut and change doc (gin-gonic#3871) (RedCrazyGhost 49381700+RedCrazyGhost@users.noreply.github.com)
- a182195: feat(binding): Support custom BindUnmarshaler for binding. (gin-gonic#3933) (dkkb 82504881+dkkb@users.noreply.github.com)
- 6ca8ddb: feat(binding): add BindPlain (gin-gonic#3904) (guonaihong guonaihong@qq.com)
- f38c30a: feat(binding): add DisallowUnknownFields() in gin.Context.BindJSON() (gin-gonic#2028) (Krzysztof Szafrański k.p.szafranski@gmail.com)
- fb7448f: feat(binding): add UseNumber() in gin.Context.BindJSON() (gin-gonic#997) close gin-gonic#368 (whirosan whirosan@users.noreply.github.com)
- 26c3f42: feat(binding): add support for custom validator / validation tags (gin-gonic#1068) (Suhas Karanth sudo-suhas@users.noreply.github.com)
- 4ccfa7c: feat(binding): add support for unixMilli and unixMicro (gin-gonic#4190) (takanuva15 6986426+takanuva15@users.noreply.github.com)
- 690aa2b: feat(binding): support custom struct tag (gin-gonic#2720) (voidman retmain@foxmail.com)
- fd1faad: feat(binding): support override default binding implement (gin-gonic#3514) (ssfyn a@fyn.pw)
- 9d7c0e9: feat(context): GetXxx added support for more go native types (gin-gonic#3633) (CC11001100 CC11001100@qq.com)
- dfb68ce: feat(context): ShouldBind counterparts for Bind methods (gin-gonic#1047) (Suhas Karanth sudo-suhas@users.noreply.github.com)
- c19aa05: feat(context): add BindQuery func (gin-gonic#1029) (Eason Lin easonlin404@gmail.com)
- f197a8b: feat(context): add ContextWithFallback feature flag (gin-gonic#3166) (gin-gonic#3172) (wei wei840222@gmail.com)
- 93b3a0d: feat(context): add SaveUploadedFile func. (gin-gonic#1022) (Eason Lin easonlin404@gmail.com)
- fb09c82: feat(context): add SetCookieData (gin-gonic#4240) (NARITA 58836324+Narita-1095305@users.noreply.github.com)
- 5eea51b: feat(context): add cast helpers to c.Keys (gin-gonic#856) (Javier Provecho Fernandez javiertitan@gmail.com)
- 73e5fcd: feat(context): add idiomatic binding functions for clear err managment (Javier Provecho javiertitan@gmail.com)
- e61cc06: feat(context): return GIN Context from Value method (gin-gonic#2825) (Faisal Alam ifaisalalam@gmail.com)
- ac5e84d: feat(engine): Added
OptionFuncandWith(gin-gonic#3572) (Flc゛ four_leaf_clover@foxmail.com) - bfc8ca2: feat(engine): add trustedproxies and remoteIP (gin-gonic#2632) (Manu MA manu.mtza@gmail.com)
- f05f966: feat(form): Support default values for collections in form binding (gin-gonic#4048) (takanuva15 6986426+takanuva15@users.noreply.github.com)
- 3cb3067: feat(form): add array collection format in form binding (gin-gonic#3986) (Jo YoHan 37216082+slowhigh@users.noreply.github.com)
- 24d6764: feat(form): add custom string slice for form tag unmarshal (gin-gonic#3970) (gin-gonic#3971) (bruceNu1l 144002160+bruceNu1l@users.noreply.github.com)
- 8791c96: feat(fs): Export, test and document OnlyFilesFS (gin-gonic#3939) (Johannes Eiglsperger je@eigsys.de)
- 71496ab: feat(fs): Implement loading HTML from http.FileSystem (gin-gonic#4053) (sunshineplan sunshineplan@users.noreply.github.com)
- 3ac729d: feat(gin): support http3 using quic-go/quic-go (gin-gonic#3210) (thinkerou thinkerou@gmail.com)
- c6ae2e6: feat(logger): ability to skip logs based on user-defined logic (gin-gonic#3593) (Ghobad ghobad.vm@gmail.com)
- e31cbdf: feat(logger): show query string in logger. (gin-gonic#999) close gin-gonic#988 (Bo-Yi Wu appleboy.tw@gmail.com)
- 4621b7a: feat(router): add literal colon support (gin-gonic#1432) (gin-gonic#2857) (wssccc wssccc@qq.com)
- 66b47a8: feat(server): Implements RunFd method (gin-gonic#1609) (Yoshiki Nakagawa yyoshiki41@gmail.com)
- ad2dace: feat: Support get value from request header. (gin-gonic#839) (Bo-Yi Wu appleboy.tw@gmail.com)
- 41316b9: feat: add GetRawData func. (gin-gonic#857) (Bo-Yi Wu appleboy.tw@gmail.com)
- 75ed286: feat: add SecureJSON func to prevent json hijacking (Eason Lin easonlin404@gmail.com)
- 417b142: feat: add StaticFileFS (gin-gonic#2749) (thinkgo 49174849+thinkgos@users.noreply.github.com)
- 834a2ec: feat: add go version judge when print debug warning log (gin-gonic#1572) (田欧 thinkerou@gmail.com)
- b8b6831: feat: add multiple service example. (gin-gonic#1119) (Bo-Yi Wu appleboy.tw@gmail.com)
- 8374ed2: feat: add sonic json support (gin-gonic#3184) (Rainshaw rxg@live.com)
- dbd8a25: feat: added
AbortWithStatusPureJSON()inContext(gin-gonic#4290) (Denny Septian Panggabean 97607754+ddevsr@users.noreply.github.com) - ef687e0: feat: automatically SetMode to TestMode when run go test. (gin-gonic#3139) (micanzhang micanzhang@gmail.com)
- 1250832: feat: change json lib to jsoniter (Bo-Yi Wu appleboy.tw@gmail.com)
- 87e40d6: feat: fix lint error (gin-gonic#3050) (thinkerou thinkerou@gmail.com)
- 08b52e5: feat: improve get post data. (gin-gonic#1920) (Bo-Yi Wu appleboy.tw@gmail.com)
- 2da1729: feat: listen https. (Bo-Yi Wu appleboy.tw@gmail.com)
- 07f1bf0: feat: replace debug log with fmt package. (gin-gonic#1560) (Bo-Yi Wu appleboy.tw@gmail.com)
- 46220b7: feat: support Let's Encrypt tls. (Bo-Yi Wu appleboy.tw@gmail.com)
- 688a429: feat: support custom json codec at runtime (gin-gonic#3391) (Tim xuchonglei@126.com)
- 28b18cd: feat: support cygwin for log writer. (gin-gonic#834) (Bo-Yi Wu appleboy.tw@gmail.com)
- 75ccf94: feat: update version constant to v1.10.0 (gin-gonic#3952) (Bo-Yi Wu appleboy.tw@gmail.com)
Bug fixes
- 8fb3136: Revert "fix(time): binding time with empty value (gin-gonic#4103)" (gin-gonic#4245) (Bo-Yi Wu appleboy.tw@gmail.com)
- d4e4136: Revert "fix(uri): query binding bug (gin-gonic#3236)" (gin-gonic#3899) (Bo-Yi Wu appleboy.tw@gmail.com)
- 268e307: fix(Makefile): golint to new URL (gin-gonic#1592) (Bo-Yi Wu appleboy.tw@gmail.com)
- 6d913fc: fix(binding): Expose validator engine used by the default Validator (gin-gonic#1277) (Suhas Karanth sudo-suhas@users.noreply.github.com)
- 3dc1cd6: fix(binding): binding error while not upload file (gin-gonic#3819) (gin-gonic#3820) (clearcode 34591322+clearcodecn@users.noreply.github.com)
- 82bcd6d: fix(binding): dereference pointer to struct (gin-gonic#3199) (Alonso Villegas alonsovillegas816@gmail.com)
- e737e3e: fix(binding): prevent duplicate decoding and add validation in decodeToml (gin-gonic#4193) (revevide 158151416+revevide@users.noreply.github.com)
- 2fbb971: fix(build): remove unused target. (gin-gonic#1183) (Bo-Yi Wu appleboy.tw@gmail.com)
- 71d3ae4: fix(comment): remove todo (Eason Lin easonlin404@gmail.com)
- 4f339e6: fix(context): YAML judgment logic in Negotiate (gin-gonic#3966) (RedCrazyGhost 49381700+RedCrazyGhost@users.noreply.github.com)
- 36b0ded: fix(context): check handler is nil (gin-gonic#3413) (51pwn 18223385+hktalent@users.noreply.github.com)
- 2b1da2b: fix(context): make context Value method adhere to Go standards (gin-gonic#3897) (Farmer.Chillax 48387781+FarmerChillax@users.noreply.github.com)
- 7cb151b: fix(context): panic on NegotiateFormat - index out of range (gin-gonic#3397) (adrianiacobghiula 2491756+adrianiacobghiula@users.noreply.github.com)
- 68aa2c3: fix(context): switch deprecated bindwith for mustbindwith (Javier Provecho Fernandez javiertitan@gmail.com)
- e0d46de: fix(context): verify URL is Non-nil in initQueryCache() (gin-gonic#3969) (Adriano Sela Aviles adriano.selaviles@gmail.com)
- dd33ff7: fix(docs): missing go markdown codeblock (gin-gonic#4266) (Victor Dusart 43795504+vdusart@users.noreply.github.com)
- f70dd00: fix(engine): fix unit test (gin-gonic#3878) (Flc゛ four_leaf_clover@foxmail.com)
- 55e27f1: fix(engine): missing route params for CreateTestContext (gin-gonic#2778) (gin-gonic#2803) (RoCry crysheen@gmail.com)
- b38c59d: fix(errors): change Unwrap method receiver to value type (gin-gonic#4232) (Orkhan Alikhanov Orkhan.Alikhanov@gmail.com)
- 28e57f5: fix(form): Set default value for form fields (gin-gonic#4047) (Ahmad Saeed Goda <ah...