We are excited to announce the release of go-zero v1.8.3-beta, bringing new features, important fixes, and experimental capabilities to enhance your development experience.
π What's Changed
β¨ Features
-
[Experimental] Swagger Enhancements:
- Built-in support for generating Swagger documents in
goctl.- Custom Authentication: Configure custom Swagger authentication.
- Complex Structures: Generate Swagger definitions for complex structures.
- Custom Example Values: Add custom example values in Swagger.
- Custom Response Body Format: Define response body formats.
- Custom Business Error Codes: Enumerate error codes for business logic.
For more details, refer to:
- δΈζζζ‘£ | English
- Built-in support for generating Swagger documents in
-
[Experimental] API Types File Splitting:
- Supports splitting multiple files according to group names in API types.
For more details, refer to: - δΈζζζ‘£ | English
- Supports splitting multiple files according to group names in API types.
π Fixes
- Optional form fields in requests. (#4755)
- Corrected the
requiredparameter in generated Swagger documents. (#4791) - Fixed Swagger separator issue on Windows OS. (#4799)
- Resolved incorrect array schema generation. (#4801)
- Fixed missing security definition and JSON body data error in Swagger. (#4808)
π New Contributors
- @hthuz made their first contribution in #4766
- @dushaoshuai made their first contribution in #4809
π Full Changelog
For a detailed list of changes, refer to the Full Changelog.
Thank you to all the contributors who made this release possible! π