Repository navigation
v0.10.0-rc.1
Pre-release
Pre-release
·
26 commits
to main
since this release
Highlights
- Fix: a queue name that uses the channel address's parameters but differs from the address, such as
{tenant}.audit-logon{tenant}.orders.created, was generated as the literal string"{tenant}.audit-log", so the subscriber read from the wrong queue. It's now built from theSubscribearguments, as the routing key is:queueName := tenant + ".audit-log". A typed parameter gets itsstring()conversion. - A queue name that uses a parameter the address doesn't have stops the generator with an error.
- Payload types come from go-jsonschema v0.27.0; v0.9.0 used v0.26.0. Generated code now:
- decodes integers written as
2.0or1e2; - writes a required array or object left nil as
[]or{}, notnull; - checks the values that arrays and maps hold, such as each item's
maxLength, anduniqueItems; - declares a constant for a property's
const, such asOrderPlacedSchemaVersion.
- decodes integers written as
- Three of the test suite's specs change, only in those ways; the others generate byte-identical code to v0.9.0's.