Skip to content

v3.21.0

Latest
Compare
Choose a tag to compare
@raphael raphael released this 05 May 00:34
· 4 commits to v3 since this release
14cebf3

New Features

This release adds native support for Server-Sent Events to Goa.

Additionally this release changes how Goa generated OpenAPI specification examples for aliased primitive types.
Previously each attribute using such types would have to redefine examples. Goa now uses the type example
by default for all attributes of that type.

Minor Improvements

  • Goa generated code now satisfies the latest staticcheck rules
  • Better design error message in case of invalid use of the Payload DSL function

Bug Fixes

  • Fixes in how newlines are generated (added missing newlines and removed extra newlines)
  • The HTTP code generated for SkipResponseBodyEncodeDecode does not explicitly write a HTTP status
    code anymore. The behavior should be backwards compatible (the Go stdlib package will generate
    a 200 OK status if none was written) but makes it possible for user code to write any appropriate
    status code.

What's Changed

New Contributors

Full Changelog: v3.20.1...v3.21.0