Requires Go 1.25 or later (previously Go 1.24).
Highlights
- RPC: add
goctl rpc protoc --client-onlyto generate protobuf files and RPC clients without a server skeleton. Supports multiple services, imports, and streaming; incompatible with--client=false. - API parsing: support hyphen-only path segments and trailing slashes in
@serverprefixes; make imported API group ordering deterministic; correct line tracking in block comments. - Java generation: map API
int16fields to Javaint. - Dependencies: update go-zero to
v1.11.0and refresh CLI dependencies.
New Contributors
@Icarus9913, @racequite, @loveulvu, @dhy-ui, @waterWang, @guoshengfei, @kediyalua, @TastyHeadphones, @reheptin, @littfed, @lowgame, @SulimanAbdulrazzaq, @leehainuo, @fzlzjerry, @prostomarkeloff, @failsafesecurity, @amirzre, @kevin9327, @hainuoli — thank you for your first contributions! 🎉
Full Changelog: tools/goctl/v1.10.2...tools/goctl/v1.11.0