v1.3.5
版本发布时间: 2022-07-09 18:03:22
zeromicro/go-zero最新发布版本:v1.7.2(2024-09-03 09:09:07)
Features and Updates:
- add
svr.PrintRoutes()
to print registered routes in rest servers - convert grpc errors to http status codes automatically
- support to disable builtin middlewares and use self-defined ones in rest
- add trace-id, span-id in httpc
- add
TakeCtx
in PeriodLimit - minor improvements and bug fixes
What's Changed
- chore: update dependencies by @kevwan in https://github.com/zeromicro/go-zero/pull/1963
- feat: print routes by @kevwan in https://github.com/zeromicro/go-zero/pull/1964
- chore: better mongo logs by @kevwan in https://github.com/zeromicro/go-zero/pull/1965
- chore: make print pretty by @kevwan in https://github.com/zeromicro/go-zero/pull/1967
- fix: The validation of tag "options" is not working with int/uint type by @taobig in https://github.com/zeromicro/go-zero/pull/1969
- chore: make methods consistent in signatures by @kevwan in https://github.com/zeromicro/go-zero/pull/1971
- chore: update dependencies by @kevwan in https://github.com/zeromicro/go-zero/pull/1985
- periodlimit new function TakeWithContext by @showurl in https://github.com/zeromicro/go-zero/pull/1983
- feat: convert grpc errors to http status codes by @kevwan in https://github.com/zeromicro/go-zero/pull/1997
- fix: not showing the size of the received bytes in tracing of zrpc clients. by @AtlanCI in https://github.com/zeromicro/go-zero/pull/2003
- feat: add trace in httpc by @chenquan in https://github.com/zeromicro/go-zero/pull/2011
- add user middleware chain function by @magickeha in https://github.com/zeromicro/go-zero/pull/1913
- chore: refactor to simplify disabling builtin middlewares by @kevwan in https://github.com/zeromicro/go-zero/pull/2031
- feat: rest.WithChain to replace builtin middlewares by @kevwan in https://github.com/zeromicro/go-zero/pull/2033
- fix:
\u003cnil\u003e
log output when http server shutdown. by @brickzzhang in https://github.com/zeromicro/go-zero/pull/2055 - feat: CompareAndSwapInt32 may be better than AddInt32 by @wxc421 in https://github.com/zeromicro/go-zero/pull/2077
- Remove legacy code by @taobig in https://github.com/zeromicro/go-zero/pull/2084
- fix concurrent map read and map write by @wangzeping722 in https://github.com/zeromicro/go-zero/pull/2079
- fix: type matching supports string to int by @cjf8134 in https://github.com/zeromicro/go-zero/pull/2038
- Remove legacy code by @taobig in https://github.com/zeromicro/go-zero/pull/2086
- feat: add method to jsonx by @vfmh in https://github.com/zeromicro/go-zero/pull/2049
- refactor:remove duplicate codes by @shssen in https://github.com/zeromicro/go-zero/pull/2101
- fix #2109 by @kevwan in https://github.com/zeromicro/go-zero/pull/2116
New Contributors
- @kevin0527 made their first contribution in https://github.com/zeromicro/go-zero/pull/1916
- @taobig made their first contribution in https://github.com/zeromicro/go-zero/pull/1969
- @swliao425 made their first contribution in https://github.com/zeromicro/go-zero/pull/1996
- @gaffeyQiu made their first contribution in https://github.com/zeromicro/go-zero/pull/1992
- @showurl made their first contribution in https://github.com/zeromicro/go-zero/pull/1983
- @AtlanCI made their first contribution in https://github.com/zeromicro/go-zero/pull/2003
- @magickeha made their first contribution in https://github.com/zeromicro/go-zero/pull/1913
- @lord63 made their first contribution in https://github.com/zeromicro/go-zero/pull/2047
- @czyt made their first contribution in https://github.com/zeromicro/go-zero/pull/2061
- @brickzzhang made their first contribution in https://github.com/zeromicro/go-zero/pull/2055
- @dependabot made their first contribution in https://github.com/zeromicro/go-zero/pull/2064
- @wxc421 made their first contribution in https://github.com/zeromicro/go-zero/pull/2077
- @vfmh made their first contribution in https://github.com/zeromicro/go-zero/pull/2049
- @shssen made their first contribution in https://github.com/zeromicro/go-zero/pull/2101
Full Changelog: https://github.com/zeromicro/go-zero/compare/v1.3.4...v1.3.5