goctl/v1.7.7
- Added support for
go work
(#4344) @ningzio - Added support for custom key prefix in cache generation (#4643) @kesonan
- Fixed duplicate path expression handling under different prefixes (#4626) @youzipi
- Bumped
github.com/spf13/pflag
from 1.0.5 to 1.0.6 (#4615) - Bumped
golang.org/x/text
from 0.21.0 to 0.22.0 (#4620) - Bumped
google.golang.org/protobuf
from 1.36.4 to 1.36.5 (#4628)
We're excited to welcome these new contributors to the project:
- Full Changelog: v1.7.6...v1.7.7
goctl/v1.7.6
- Added support for generating unit test files for API handlers and logic (#4443)
- Implemented as per the request in issue #4442
- Contributed by @studyzy
- Fixed syntax of key expression (#4586)
- Contributed by @kesonan
- Fixed security vulnerability related to arbitrary file access during archive extraction ("Zip Slip") (#4604)
- Addressed code scanning alert no. 57
- Contributed by @kevwan
- Removed default usage of goproxy (#4613)
- goproxy should be set by
go env -w
if needed - Contributed by @kevwan
- goproxy should be set by
- @R1aEnKK made their first contribution in https://github.com/zeromicro/go-zero/pull/4570
- @sauryniu made their first contribution in https://github.com/zeromicro/go-zero/pull/4490
- @Nanosk07 made their first contribution in https://github.com/zeromicro/go-zero/pull/4514
- @studyzy made their first contribution in https://github.com/zeromicro/go-zero/pull/4443
- @wangshiben made their first contribution in https://github.com/zeromicro/go-zero/pull/4397
- @xujb977644703 made their first contribution in https://github.com/zeromicro/go-zero/pull/4559
Full Changelog: https://github.com/zeromicro/go-zero/compare/tools/goctl/v1.7.5...tools/goctl/v1.7.6
v1.8.0
- Added inbound HTTP to outbound HTTP in gateway, previously only inbound HTTP to outbound gRPC
- Introduced automatic config validation
- Added FreeBSD support
- Enhanced logging capabilities with new Debugfn and Infofn functions
- Added SQL metrics functionality
- Added Redis user authentication support
- Support for HTTP to HTTP in gateway
- Automatic configuration validation
- FreeBSD platform support
- New SQL metrics functionality
- Added Debugfn and Infofn to logx/logc
- Redis authentication with new User property in RedisConf
- Improved metrics collection for MySQL
- Resolved etcd discovery mechanism on gRPC with idle manager on latest gRPC versions
- Fixed health check issues, returns OK before server finishing start
- Fixed httpx.ParseJsonBody error with []byte fields
- Fixed empty form values handling in HTTP requests
- Updated Go version
- Multiple dependency updates:
- golang.org/x/time to v0.9.0
- golang.org/x/sys to v0.29.0
- google.golang.org/protobuf to v1.36.4
- golang.org/x/net to v0.34.0
- go.mongodb.org/mongo-driver to v1.17.2
- Optimized error messages for mapping data method
- Enhanced logging system with more tests
Welcome to our new contributors who helped make this release possible:
- @R1aEnKK made their first contribution in https://github.com/zeromicro/go-zero/pull/4570
- @sauryniu made their first contribution in https://github.com/zeromicro/go-zero/pull/4490
- @Nanosk07 made their first contribution in https://github.com/zeromicro/go-zero/pull/4514
- @studyzy made their first contribution in https://github.com/zeromicro/go-zero/pull/4443
- @wangshiben made their first contribution in https://github.com/zeromicro/go-zero/pull/4397
- @xujb977644703 made their first contribution in https://github.com/zeromicro/go-zero/pull/4559
Full Changelog: https://github.com/zeromicro/go-zero/compare/v1.7.6...v1.8.0
goctl/v1.7.5
- fix: goctl compile error on windows by @kevwan in https://github.com/zeromicro/go-zero/pull/4538
Full Changelog: https://github.com/zeromicro/go-zero/compare/tools/goctl/v1.7.4...tools/goctl/v1.7.5
v1.7.6
- fix: compile error on windows by @kevwan in https://github.com/zeromicro/go-zero/pull/4538
Full Changelog: https://github.com/zeromicro/go-zero/compare/v1.7.5...v1.7.6
goctl/v1.7.4
- fix: ts request cli by @metaRobin in https://github.com/zeromicro/go-zero/pull/4461
- fix: go work duplicate prefix get error by @godLei6 in https://github.com/zeromicro/go-zero/pull/4487
- fix: api timeout limited during api generation by @kesonan in https://github.com/zeromicro/go-zero/pull/4513
- fix command
goctl bug
invalid by @kesonan in https://github.com/zeromicro/go-zero/pull/4520 - improve: update docker.tpl by @lascyb in https://github.com/zeromicro/go-zero/pull/4495
- improve: remove string restriction on atserver by @kesonan in https://github.com/zeromicro/go-zero/pull/4499
- chore: format Dockerfile template by @kevwan in https://github.com/zeromicro/go-zero/pull/4496
- @metaRobin made their first contribution in https://github.com/zeromicro/go-zero/pull/4461
- @lascyb made their first contribution in https://github.com/zeromicro/go-zero/pull/4495
- @godLei6 made their first contribution in https://github.com/zeromicro/go-zero/pull/4487
- @wwwangxc made their first contribution in https://github.com/zeromicro/go-zero/pull/4511
- @r27153733 made their first contribution in https://github.com/zeromicro/go-zero/pull/4467
Full Changelog: https://github.com/zeromicro/go-zero/compare/tools/goctl/v1.7.3...tools/goctl/v1.7.4
v1.7.5
- feat: support form array in three notations by @kevwan in https://github.com/zeromicro/go-zero/pull/4498
- feat: add ShutdownConf to make shutdown time configurable by @WqyJh in https://github.com/zeromicro/go-zero/pull/4446
- fix: service group not working well when callback takes long time by @kevwan in https://github.com/zeromicro/go-zero/pull/4531
- fix: go work duplicate prefix get error by @godLei6 in https://github.com/zeromicro/go-zero/pull/4487
- fix: SetSlowThreshold not effective in function
logDetails
by @wwwangxc in https://github.com/zeromicro/go-zero/pull/4511 - fix: DetailedLog format. by @r27153733 in https://github.com/zeromicro/go-zero/pull/4467
- @lascyb made their first contribution in https://github.com/zeromicro/go-zero/pull/4495
- @godLei6 made their first contribution in https://github.com/zeromicro/go-zero/pull/4487
- @wwwangxc made their first contribution in https://github.com/zeromicro/go-zero/pull/4511
- @r27153733 made their first contribution in https://github.com/zeromicro/go-zero/pull/4467
Full Changelog: https://github.com/zeromicro/go-zero/compare/v1.7.4...v1.7.5
v1.7.4
- feat: support query array with httpx.Parse by @kevwan in https://github.com/zeromicro/go-zero/pull/4440
- feat: support using json array directly in HTTP request body with httpx.Parse by @kevwan in https://github.com/zeromicro/go-zero/pull/4444
- @metaRobin made their first contribution in https://github.com/zeromicro/go-zero/pull/4461
Full Changelog: https://github.com/zeromicro/go-zero/compare/v1.7.3...v1.7.4
goctl/v1.7.3
- chore: fix goctl Dockerfile warnings by @kevwan in https://github.com/zeromicro/go-zero/pull/4358
- fix: goctl k8s autoscaling version upgrade by @kevwan in https://github.com/zeromicro/go-zero/pull/4387
- fix the source code directory after the soft link by @yangjinheng in https://github.com/zeromicro/go-zero/pull/4425
- minor improvements and bug fixes
- @fishJack01 made their first contribution in https://github.com/zeromicro/go-zero/pull/4417
Full Changelog: https://github.com/zeromicro/go-zero/compare/tools/goctl/v1.7.2...tools/goctl/v1.7.3
v1.7.3
- feat: new redis method TxPipeline by @fishJack01 in https://github.com/zeromicro/go-zero/pull/4417
- fix: config with multiple layer maps by @MarkJoyMa in https://github.com/zeromicro/go-zero/pull/4407
- minor improvements and bug fixes
- @fishJack01 made their first contribution in https://github.com/zeromicro/go-zero/pull/4417
Full Changelog: https://github.com/zeromicro/go-zero/compare/v1.7.2...v1.7.3