v1.4.1
版本发布时间: 2022-09-17 22:43:09
zeromicro/go-zero最新发布版本:v1.7.2(2024-09-03 09:09:07)
Framework
- Support disabling sql logs and sql slow logs respectively
- Make gRPC builtin health check optional, configure it in config files
- Add ZaddFloat & ZaddFloatCtx for redis
- Collect CPU usages if necessary
- Add Range method in safemap
- Support baggage propagation in httpc
- Add opentelemetry grpc exporter
- Support mysql and redis metrics
- Fix the CORS problem when JWT expires
- More accurate panic message on mapreduce
- Handle the scenarios that content-length is invalid
- Minor improvements and bug fixes
What's Changed
- chore: release action for goctl by @kevwan in https://github.com/zeromicro/go-zero/pull/2239
- chore(deps): bump github.com/fullstorydev/grpcurl from 1.8.6 to 1.8.7 by @dependabot in https://github.com/zeromicro/go-zero/pull/2245
- chore(deps): bump github.com/prometheus/client_golang from 1.12.2 to 1.13.0 by @dependabot in https://github.com/zeromicro/go-zero/pull/2244
- fix: time repr wrapper by @kevwan in https://github.com/zeromicro/go-zero/pull/2255
- fix: test failure, due to go 1.19 compatibility by @kevwan in https://github.com/zeromicro/go-zero/pull/2256
- fix: unsignedTypeMap type error by @fyyang in https://github.com/zeromicro/go-zero/pull/2246
- test: add more tests by @kevwan in https://github.com/zeromicro/go-zero/pull/2261
- chore(deps): bump github.com/alicebob/miniredis/v2 from 2.22.0 to 2.23.0 by @dependabot in https://github.com/zeromicro/go-zero/pull/2260
- chore: refactor logx by @kevwan in https://github.com/zeromicro/go-zero/pull/2262
- fix #2240 by @kevwan in https://github.com/zeromicro/go-zero/pull/2263
- chore(deps): bump github.com/pelletier/go-toml/v2 from 2.0.2 to 2.0.3 by @dependabot in https://github.com/zeromicro/go-zero/pull/2267
- fix #2240 by @kevwan in https://github.com/zeromicro/go-zero/pull/2271
- chore: Update readme by @anqiansong in https://github.com/zeromicro/go-zero/pull/2280
- feat: rpc add health check function configuration optional by @MarkJoyMa in https://github.com/zeromicro/go-zero/pull/2288
- doc(readme): add star history by @chenquan in https://github.com/zeromicro/go-zero/pull/2275
- fix(logx): display garbled characters in windows(DOS, Powershell) by @chenquan in https://github.com/zeromicro/go-zero/pull/2232
- fix: place cors middleware in the front of other middlewares. by @kevwan in https://github.com/zeromicro/go-zero/pull/2283
- feat(redis): add ZaddFloat & ZaddFloatCtx by @chenquan in https://github.com/zeromicro/go-zero/pull/2291
- chore(deps): bump google.golang.org/grpc from 1.48.0 to 1.49.0 by @dependabot in https://github.com/zeromicro/go-zero/pull/2297
- Initialize CPU stat only if used by @joshq00 in https://github.com/zeromicro/go-zero/pull/2020
- chore: refactor stat by @kevwan in https://github.com/zeromicro/go-zero/pull/2299
- fix resource manager dead lock by @sado0823 in https://github.com/zeromicro/go-zero/pull/2302
- chore(deps): bump github.com/pelletier/go-toml/v2 from 2.0.3 to 2.0.5 by @dependabot in https://github.com/zeromicro/go-zero/pull/2305
- chore: refactor gateway by @kevwan in https://github.com/zeromicro/go-zero/pull/2303
- fix:duplicate copy MD by @wsx864321 in https://github.com/zeromicro/go-zero/pull/2304
- Fix: delete duplicate copy of metadata in server interceptor. by @wsx864321 in https://github.com/zeromicro/go-zero/pull/2309
- fix: logx disable not working in some cases by @kevwan in https://github.com/zeromicro/go-zero/pull/2306
- fix #2301,package conflict generated by ddl by @yiGmMk in https://github.com/zeromicro/go-zero/pull/2307
- fix: more accurate panic message on mapreduce by @kevwan in https://github.com/zeromicro/go-zero/pull/2311
- chore: remove unused packages by @kevwan in https://github.com/zeromicro/go-zero/pull/2312
- fix: handle the scenarios that content-length is invalid by @kevwan in https://github.com/zeromicro/go-zero/pull/2313
- safemap add Range method by @lppgo in https://github.com/zeromicro/go-zero/pull/2314
- refactor: sequential range over safemap by @kevwan in https://github.com/zeromicro/go-zero/pull/2316
- improve: number range compare left and righ value by @lowang-bh in https://github.com/zeromicro/go-zero/pull/2315
- fix: range validation on mapping by @kevwan in https://github.com/zeromicro/go-zero/pull/2317
- feat: Add strict flag by @anqiansong in https://github.com/zeromicro/go-zero/pull/2248
- generates nested types in doc by @zlx362211854 in https://github.com/zeromicro/go-zero/pull/2201
- make logx#getWriter concurrency-safe by @anyoptional in https://github.com/zeromicro/go-zero/pull/2233
- fix: thread-safe in getWriter of logx by @kevwan in https://github.com/zeromicro/go-zero/pull/2319
- fix:etcd get&watch not atomic by @wsx864321 in https://github.com/zeromicro/go-zero/pull/2321
- feat: Hidden java by @anqiansong in https://github.com/zeromicro/go-zero/pull/2333
- correct test case by @anyoptional in https://github.com/zeromicro/go-zero/pull/2340
- fix:trace graceful stop,pre loss trace by @wsx864321 in https://github.com/zeromicro/go-zero/pull/2358
- chore: refactor by @kevwan in https://github.com/zeromicro/go-zero/pull/2365
- chore(deps): bump go.mongodb.org/mongo-driver from 1.10.1 to 1.10.2 by @dependabot in https://github.com/zeromicro/go-zero/pull/2370
- chore(deps): bump go.uber.org/goleak from 1.1.12 to 1.2.0 by @dependabot in https://github.com/zeromicro/go-zero/pull/2371
- feat: support baggage propagation in httpc by @kevwan in https://github.com/zeromicro/go-zero/pull/2375
- chore(deps): bump github.com/lib/pq from 1.10.6 to 1.10.7 by @dependabot in https://github.com/zeromicro/go-zero/pull/2373
- fix: issue #2359 by @anqiansong in https://github.com/zeromicro/go-zero/pull/2368
- fix #2364 by @kevwan in https://github.com/zeromicro/go-zero/pull/2377
- feat: support targetPort option in goctl kube by @kevwan in https://github.com/zeromicro/go-zero/pull/2378
- chore(deps): bump go.opentelemetry.io/otel/sdk from 1.9.0 to 1.10.0 by @dependabot in https://github.com/zeromicro/go-zero/pull/2383
- feat: add grpc trace exporter by @genewoo in https://github.com/zeromicro/go-zero/pull/2379
- chore(deps): bump go.opentelemetry.io/otel/exporters/zipkin from 1.9.0 to 1.10.0 by @dependabot in https://github.com/zeromicro/go-zero/pull/2385
- chore: refactor by @kevwan in https://github.com/zeromicro/go-zero/pull/2388
- chore(deps): bump go.opentelemetry.io/otel/exporters/jaeger from 1.9.0 to 1.10.0 by @dependabot in https://github.com/zeromicro/go-zero/pull/2389
- chore(deps): bump github.com/jhump/protoreflect from 1.12.0 to 1.13.0 by @dependabot in https://github.com/zeromicro/go-zero/pull/2393
- chore(deps): bump go.etcd.io/etcd/api/v3 from 3.5.4 to 3.5.5 by @dependabot in https://github.com/zeromicro/go-zero/pull/2394
- chore(deps): bump go.etcd.io/etcd/client/v3 from 3.5.4 to 3.5.5 by @dependabot in https://github.com/zeromicro/go-zero/pull/2395
- chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.9.0 to 1.10.0 by @dependabot in https://github.com/zeromicro/go-zero/pull/2402
- feat: mysql and redis metric support by @zhoushuguang in https://github.com/zeromicro/go-zero/pull/2355
- chore: refactor the imports by @kevwan in https://github.com/zeromicro/go-zero/pull/2406
New Contributors
- @fyyang made their first contribution in https://github.com/zeromicro/go-zero/pull/2246
- @joshq00 made their first contribution in https://github.com/zeromicro/go-zero/pull/2020
- @sado0823 made their first contribution in https://github.com/zeromicro/go-zero/pull/2302
- @wsx864321 made their first contribution in https://github.com/zeromicro/go-zero/pull/2304
- @yiGmMk made their first contribution in https://github.com/zeromicro/go-zero/pull/2307
- @lppgo made their first contribution in https://github.com/zeromicro/go-zero/pull/2314
- @lowang-bh made their first contribution in https://github.com/zeromicro/go-zero/pull/2315
- @zlx362211854 made their first contribution in https://github.com/zeromicro/go-zero/pull/2201
- @anyoptional made their first contribution in https://github.com/zeromicro/go-zero/pull/2233
- @genewoo made their first contribution in https://github.com/zeromicro/go-zero/pull/2379
Full Changelog: https://github.com/zeromicro/go-zero/compare/v1.4.0...v1.4.1