github zeromicro/go-zero tools/goctl/v1.8.3-beta
goctl/v1.8.3-beta

latest releases: v1.9.3, tools/goctl/v1.9.2, v1.9.2...
7 months ago

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
  • [Experimental] API Types File Splitting:

πŸ›  Fixes

  • Optional form fields in requests. (#4755)
  • Corrected the required parameter 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

πŸ“œ Full Changelog

For a detailed list of changes, refer to the Full Changelog.


Thank you to all the contributors who made this release possible! πŸŽ‰

Don't miss a new go-zero release

NewReleases is sending notifications on new releases.