v0.21.0
What's Changed
This release introduces a set of important fixes and improvements to subschemas, including:
- adding support for nested ref types
- adding support for properties on allOf/anyOf types
- adding support for subschemas using external refs
- adding support for subschemas when types are across different go packages
- improving required properties in anyOf
Full list of feature and fixes:
- fix: make disabling of map types generation optional, defaulting to pre-v0.19.0's behavior as default by @omissis in #450
- feat: extend 'struct-name-from-title' range of action to title fields in all sub-objects, not just the root one by @omissis in #451
- fix: update anyof codegen as previous impl created wrong code. by @omissis in #479
- chore: get rid of pkg/errors package by @i-sevostyanov in #460
- fix: support for nested ref types by @perher in #458
- pkg/generator: use the qualified ref filename so it can be found by @mgabeler-lee-6rs in #375
- Subschema improvements (part 1) by @perher in #480
- Subschema improvements (part 2) by @perher in #481
Dependencies updates:
- chore(deps): update actions/checkout digest to 08eba0b by @renovate[bot] in #468
- chore(deps): update actions/setup-go action to v6 by @renovate[bot] in #476
- chore(deps): update actions/checkout action to v5 by @renovate[bot] in #469
- fix(deps): update module github.com/stretchr/testify to v1.11.1 by @renovate[bot] in #470
- fix(deps): update module github.com/spf13/cobra to v1.10.2 by @renovate[bot] in #502
- chore(deps): update dependency yq to v4.48.2 by @renovate[bot] in #493
- chore(deps): update actions/checkout digest to 93cb6ef by @renovate[bot] in #494
- chore(deps): update dependency markdownlint-cli2 to v0.20.0 by @renovate[bot] in #492
- chore(deps): update dependency yq to v4.50.1 by @renovate[bot] in #497
- chore(deps): update dependency yamllint to v1.38.0 by @renovate[bot] in #503
- chore(deps): update actions/checkout action to v6 by @renovate[bot] in #496
- chore: update goccy/go-yaml to v1.9.2 by @omissis in #506
- chore: update golangci-lint v2.8.0 by @omissis in #507
- chore(deps): update dependency markdownlint-cli2 to v0.18.1 by @renovate[bot] in #447
New Contributors
- @i-sevostyanov made their first contribution in #460
- @perher made their first contribution in #458
- @mgabeler-lee-6rs made their first contribution in #375
Full Changelog: v0.20.0...v0.21.0