Skip to content

Releases: goadesign/goa

v3.21.1

23 May 01:11
cee0800
Compare
Choose a tag to compare

What's Changed

  • Update Speakeasy sponsor URL by @ndimares in #3707
    This update refreshes the sponsor URL for Speakeasy, ensuring that links to this Goa framework sponsor point to the correct location.

  • Fix duplicate security schemes in generated code by @disintegrator in #3690
    This fix resolves a code generation bug that occurred when API designs used multiple security schemes of the same type. Previously, this would cause the generated Auther interface and endpoint initialization methods to contain duplicate code, breaking the build. Now, security schemes are properly deduplicated by type during code generation.

  • Clean up CI to match Go 1.23+ requirement by @tchssk in #3711
    This change removes CI builds for older Go versions that are no longer supported. Since Goa already requires Go 1.23 or newer, this update ensures the continuous integration pipeline only tests against supported Go versions, streamlining the build process.

  • Fix streaming support for aliased array types by @raphael in #3712
    This bug fix addresses an issue with streaming endpoints that use aliased array types, particularly when those types are defined with custom package paths. The fix ensures that streaming functionality works correctly with these type definitions.

New Contributors

Full Changelog: v3.21.0...v3.21.1

v3.21.0

05 May 00:34
14cebf3
Compare
Choose a tag to compare

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

v3.20.1

26 Mar 21:02
c1976d3
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.20.0...v3.20.1

v3.20.0

22 Feb 00:32
a50bd56
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.19.1...v3.20.0

v3.19.1

23 Sep 02:19
ad7557e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.19.0...v3.19.1

v3.19.0

10 Sep 18:10
4c72084
Compare
Choose a tag to compare

What's Changed

  • Add typed nil validation to dsl.Security by @tchssk in #3574
  • Write response headers with SkipEncodeDecodeResponseBody using a custom writer by @raphael in #3578
  • Add "openapi:typename" meta to user types by @raphael in #3572
  • Add TooFewArgError to dsl.OneOf by @tchssk in #3577
  • Add nil validation of reference type to dsl.Body by @tchssk in #3579
  • Generate validation code for required attributes in inline struct http bodies by @tchssk in #3580
  • Exit after usage() is shown. Fixes #3583 by @loafoe in #3584
  • Refactor file server implementation by @raphael in #3588

New Contributors

Full Changelog: v3.18.2...v3.19.0

v3.18.2

02 Aug 00:00
bd1569e
Compare
Choose a tag to compare

What's Changed

  • Generate view types for embedded user types by @raphael in #3569

Full Changelog: v3.18.1...v3.18.2

v3.18.1

31 Jul 19:44
e82ddc8
Compare
Choose a tag to compare

What's Changed

  • Remove generation of unnecessary view types. by @raphael in #3568

Full Changelog: v3.18.0...v3.18.1

v3.18.0

28 Jul 19:05
080e895
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.17.2...v3.18.0

v3.17.2

08 Jul 22:54
1b21c5a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.17.1...v3.17.2