Skip to content

Goa v3.25.3

Latest

Choose a tag to compare

@raphael raphael released this 19 Feb 01:58
57351f1

Highlights

  • Fixes a code generation regression where HTTP request decoders for primitive payloads (e.g. string, bool, numeric types) could emit invalid early returns (return nil, err) on validation/decode errors.
  • Prevents downstream build failures such as cannot use nil as string value in return statement for designs using primitive payloads with validations (e.g. Format(FormatIP) on path params).
  • Adds regression coverage, including a golden-backed case for Format(FormatIP) validation on a primitive path payload.

What's Changed

  • Fix HTTP request decoder returns for primitive payloads by @raphael in #3901

Full Changelog

v3.25.2...v3.25.3