Skip to content

v0.8.0-rc.4

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 18 Oct 05:38
· 42 commits to main since this release
990939c

Highlights

  • Payload types come from go-jsonschema v0.25.0-rc.8; rc.3 used rc.5.
  • format: int32 and format: int64 still give int32 and int64: go-jsonschema made that mapping opt-in, and aapi-codegen turns it on.
  • For every spec in the test suite, the generated code is byte-identical to rc.3's.
  • Other specs can change, so regenerate and review the diff:
    • an inline oneOf of an object and null is a pointer to a struct, not interface{};
    • a nullable enum is a typed enum, such as type Status string, not a struct holding interface{};
    • a components schema of type: array checks its own minItems and maxItems when decoding;
    • a default on an object property compiles; rc.3 wrote plain values into its pointer fields;
    • an anyOf no longer declares unused branch types such as OrderPlacedLines_0.
  • A oneOf of a components $ref and null is still interface{}.

Changelog

  • 4c3c349 ci(deps): bump goreleaser/goreleaser-action
  • 6a2a453 build: move to go-jsonschema v0.25.0-rc.8, keeping sized integer formats
  • f273560 Merge pull request #11 from plheide/dependabot/github_actions/github-actions-d5b5847ff0
  • c69631a Merge pull request #12 from plheide/build/go-jsonschema-rc.8
  • 45d7cd8 chore: point the install docs and download script at v0.8.0-rc.4
  • 990939c Merge pull request #13 from plheide/chore/release-v0.8.0-rc.4