Releases: verystar/gin
Releases · verystar/gin
v1.10.0
Changelog
Features
- c19374c: feat(CodeQL): Discover vulnerabilities across a codebase with CodeQL (gin-gonic#3049) (@appleboy)
- 5f458dd: feat(auth): add proxy-server authentication (gin-gonic#3877) (@EndlessParadox1)
- 7a865dc: feat(bind): ShouldBindBodyWith shortcut and change doc (gin-gonic#3871) (@RedCrazyGhost)
- a182195: feat(binding): Support custom BindUnmarshaler for binding. (gin-gonic#3933) (@dkkb)
- 6ca8ddb: feat(binding): add BindPlain (gin-gonic#3904) (@guonaihong)
- f38c30a: feat(binding): add DisallowUnknownFields() in gin.Context.BindJSON() (gin-gonic#2028) (@kszafran)
- fb7448f: feat(binding): add UseNumber() in gin.Context.BindJSON() (gin-gonic#997) close gin-gonic#368 (@whirosan)
- 26c3f42: feat(binding): add support for custom validator / validation tags (gin-gonic#1068) (@sudo-suhas)
- 690aa2b: feat(binding): support custom struct tag (gin-gonic#2720) (@mtt0)
- fd1faad: feat(binding): support override default binding implement (gin-gonic#3514) (@ssfyn)
- dfb68ce: feat(context): ShouldBind counterparts for Bind methods (gin-gonic#1047) (@sudo-suhas)
- c19aa05: feat(context): add BindQuery func (gin-gonic#1029) (@easonlin404)
- f197a8b: feat(context): add ContextWithFallback feature flag (gin-gonic#3166) (gin-gonic#3172) (@wei840222)
- 93b3a0d: feat(context): add SaveUploadedFile func. (gin-gonic#1022) (@easonlin404)
- 5eea51b: feat(context): add cast helpers to c.Keys (gin-gonic#856) (@javierprovecho)
- 73e5fcd: feat(context): add idiomatic binding functions for clear err managment (@javierprovecho)
- e61cc06: feat(context): return GIN Context from Value method (gin-gonic#2825) (@ifaisalalam)
- ac5e84d: feat(engine): Added
OptionFunc
andWith
(gin-gonic#3572) (@flc1125) - bfc8ca2: feat(engine): add trustedproxies and remoteIP (gin-gonic#2632) (@manucorporat)
- 24d6764: feat(form): add custom string slice for form tag unmarshal (gin-gonic#3970) (gin-gonic#3971) (@bruceNu1l)
- 8791c96: feat(fs): Export, test and document OnlyFilesFS (gin-gonic#3939) (@joeig)
- 3ac729d: feat(gin): support http3 using quic-go/quic-go (gin-gonic#3210) (@thinkerou)
- c6ae2e6: feat(logger): ability to skip logs based on user-defined logic (gin-gonic#3593) (@palvaneh)
- e31cbdf: feat(logger): show query string in logger. (gin-gonic#999) close gin-gonic#988 (@appleboy)
- 4621b7a: feat(router): add literal colon support (gin-gonic#1432) (gin-gonic#2857) (@wssccc)
- 66b47a8: feat(server): Implements RunFd method (gin-gonic#1609) (@yyoshiki41)
- ad2dace: feat: Support get value from request header. (gin-gonic#839) (@appleboy)
- 41316b9: feat: add GetRawData func. (gin-gonic#857) (@appleboy)
- 75ed286: feat: add SecureJSON func to prevent json hijacking (@easonlin404)
- 417b142: feat: add StaticFileFS (gin-gonic#2749) (@thinkgos)
- c9b6039: feat: add badge (@fifsky)
- cec1259: feat: add badge (@fifsky)
- 834a2ec: feat: add go version judge when print debug warning log (gin-gonic#1572) (@thinkerou)
- b8b6831: feat: add multiple service example. (gin-gonic#1119) (@appleboy)
- 8374ed2: feat: add sonic json support (gin-gonic#3184) (@Rainshaw)
- ef687e0: feat: automatically SetMode to TestMode when run go test. (gin-gonic#3139) (@micanzhang)
- 1250832: feat: change json lib to jsoniter (@appleboy)
- 87e40d6: feat: fix lint error (gin-gonic#3050) (@thinkerou)
- 08b52e5: feat: improve get post data. (gin-gonic#1920) (@appleboy)
- 2da1729: feat: listen https. (@appleboy)
- eb867a8: feat: remove third json package (@fifsky)
- 07f1bf0: feat: replace debug log with fmt package. (gin-gonic#1560) (@appleboy)
- 46220b7: feat: support Let's Encrypt tls. (@appleboy)
- 28b18cd: feat: support cygwin for log writer. (gin-gonic#834) (@appleboy)
- 75ccf94: feat: update version constant to v1.10.0 (gin-gonic#3952) (@appleboy)
Bug fixes
- d4e4136: Revert "fix(uri): query binding bug (gin-gonic#3236)" (gin-gonic#3899) (@appleboy)
- 268e307: fix(Makefile): golint to new URL (gin-gonic#1592) (@appleboy)
- 6d913fc: fix(binding): Expose validator engine used by the default Validator (gin-gonic#1277) (@sudo-suhas)
- 3dc1cd6: fix(binding): binding error while not upload file (gin-gonic#3819) (gin-gonic#3820) (@clearcodecn)
- 82bcd6d: fix(binding): dereference pointer to struct (gin-gonic#3199) (@echovl)
- 2fbb971: fix(build): remove unused target. (gin-gonic#1183) (@appleboy)
- 71d3ae4: fix(comment): remove todo (@easonlin404)
- 4f339e6: fix(context): YAML judgment logic in Negotiate (gin-gonic#3966) (@RedCrazyGhost)
- 36b0ded: fix(context): check handler is nil (gin-gonic#3413) (@hktalent)
- 2b1da2b: fix(context): make context Value method adhere to Go standards (gin-gonic#3897) (@FarmerChillax)
- 7cb151b: fix(context): panic on NegotiateFormat - index out of range (gin-gonic#3397) (@adrianiacobghiula)
- 68aa2c3: fix(context): switch deprecated bindwith for mustbindwith (@javierprovecho)
- e0d46de: fix(context): verify URL is Non-nil in initQueryCache() (gin-gonic#3969) (@adrianosela)
- f70dd00: fix(engine): fix unit test (gin-gonic#3878) (@flc1125)
- 55e27f1: fix(engine): missing route params for CreateTestContext (gin-gonic#2778) (gin-gonic#2803) (@RoCry)
- 626d55b: fix(gin): Do not panic when handling method not allowed on empty tree (gin-gonic#4003) (@phsym)
- 7d14792: fix(gin): data race warning for gin mode (gin-gonic#1580) (@kplachkov)
- f1edd2c: fix(ginS): fix undefined ref (gin-gonic#1087) (@vcaesar)
- c677ccc: fix(go): invalid Go toolchain version (gin-gonic#3961) (@thinkerou)
- 86ff4a6: fix(header): Allow header according to RFC 7231 (HTTP 405) (gin-gonic#3759) (@Crocmagnon)
- 9a79e3f: fix(import): switch sse import from gopkg to github (@javierprovecho)
- 8436a9d: fix(render): remove repeated static check. (gin-gonic#998) (@easonlin404)
- 09f8224: fix(route): Add fullPath in context copy (gin-gonic#3784) (@KarthikReddyPuli)
- 8b9c55e: fix(route): redirectSlash bug (gin-gonic#3227) (@thinkerou)
- 9f598a3: fix(router): catch-all conflicting wildcard (gin-gonic#3812) (@FirePing32)
- 8eb5f83: fix(router): tree bug where loop index is not decremented. (gin-gonic#3460) (@kristiansvalland)
- 4a40f8f: fix(sec): upgrade golang.org/x/crypto to 0.17.0 (gin-gonic#3832) (@chncaption)
- fc1c432: fix(security): vulnerability GO-2023-1571 (gin-gonic#3505) (@kevinmichaelchen)
- 4b5ec51: fix(test): only check Location header (gin-gonic#1064) (@easonlin404)
- a8ea89e: fix(test): remove wildcard loadtemplate (@javierprovecho)
- 735748b: fix(tests): TestDebugPrintLoadTemplate use assert.Regep instead of assert.Equal (gin-gonic#973) (@easonlin404)
- 386d244: fix(tree): correctly expand the capacity of params (gin-gonic#3502) (@georgijd-form3)
- a6e8665: fix(tree): reassign fullpath when register new node which the same current node (gin-gonic#2366) (@vinhha96)
- 24a1d2a: fix(typo): spelling
covert
->convert
(gin-gonic#3325) (@jbampton) - 8790d08: fix(uri): query binding bug (gin-gonic#3236) (@illiafox)
- 44d0dd7: fix: Add pointer support for url query params (gin-gonic#3659) (gin-gonic#3666) (@omkar-foss)
- f4dec22: fix: buffer should reset when test logger output (gin-gonic#819) (@cssivision)
- 70d0a4c: fix: build only from Go version 1.7 onward (@appleboy)
- eab47b5: fix: check obj type in protobufBinding (gin-gonic#2851) (@Tevic)
- 03e5e05: fix: data race with trustedCIDRs (gin-gonic#2674) (gin-gonic#2675) (@fifsky)
- ffb3b73: fix: description error (gin-gonic#2961) (@jincheng9)
- bc2417f: fix: description error (gin-gonic#2968) (@jincheng9)
- fb5f045: fix: description error (gin-gonic#2986) (@jincheng9)
- 92a988d: fix: description error (gin-gonic#2988) (@jincheng9)
- 00ff808: fix: example format. (@appleboy)
- 212267d: fix: fix typo in comment (gin-gonic#3371) (@lgbgbl)
- 402ef12: fix: fmt output log to os.Stderr (gin-gonic#157...