Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2025-05-03 | 2.1 kB | |
v3.21.0 source code.tar.gz | 2025-05-03 | 1.1 MB | |
v3.21.0 source code.zip | 2025-05-03 | 1.4 MB | |
Totals: 3 Items | 2.5 MB | 1 |
New Features
This release adds native support for Server-Sent Events to Goa. * Read the initial proposal * Run the monitor example
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
- Fix warning QF1004 of staticcheck by @mamo3gr in https://github.com/goadesign/goa/pull/3684
- Properly propagate alias types user examples by @raphael in https://github.com/goadesign/goa/pull/3685
- Use eval.InvalidArgError() to dsl.Payload() by @tchssk in https://github.com/goadesign/goa/pull/3689
- Always end template files in a newline by @MichaelUrman in https://github.com/goadesign/goa/pull/3687
- Update linter configuration and fix linting issues by @raphael in https://github.com/goadesign/goa/pull/3694
- Do not write HTTP headers with SkipResponseBodyEncodeDecode by @raphael in https://github.com/goadesign/goa/pull/3695
- SSE Support by @raphael in https://github.com/goadesign/goa/pull/3697
New Contributors
- @mamo3gr made their first contribution in https://github.com/goadesign/goa/pull/3684
Full Changelog: https://github.com/goadesign/goa/compare/v3.20.1...v3.21.0