Skip to content

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 18:39
· 17 commits to main since this release
6e7aa43

Highlights

  • Payload types come from go-jsonschema v0.29.0; v0.10.0 used v0.28.0:
    • an allOf member that schema-packages maps to another package no longer leaves that package imported and unused, which made the generated file fail to build;
    • unevaluatedProperties: false is checked, as additionalProperties: false is: a key that no allOf member declares is rejected.
  • go-jsonschema's warnings are printed to stderr as aapi-codegen: warning: … instead of being discarded, for example when the generated code doesn't check a keyword such as minProperties. The file is still written and the exit status is unchanged. Library callers get them through Config.Warn.
  • The release binaries are built with Go 1.26.11, which fixes GO-2026-6859.
  • Every existing spec in the test suite generates the same code as with v0.10.0.

All changes: v0.10.0...v0.11.0.

Changelog

  • 6e7aa43 Merge pull request #20 from plheide/build/go-jsonschema-v0.29.0
  • 8dd858d build: move to go-jsonschema v0.29.0
  • 14f92b6 ci: build with Go 1.26.11
  • 5441430 feat: print go-jsonschema's warnings instead of discarding them