Releases: google/jsonschema-go
Releases · google/jsonschema-go
v0.4.2
v0.4.0
This release adds Draft 07 support and the PropertyOrder feature.
It also fixes various minor bugs.
What's Changed
- Add range limits to inferred Schemas of int types. by @baptmont in #30
- jsonschema: handle embedding of custom schemas by @jba in #32
- feat: add nested subschema defaults application by @thefishhat in #38
- Fix for Issue #44 by @naivary in #45
- fix: infer - missing nullable type for non Go types by @rafaeljusto in #42
- Add Draft 07 support by @baptmont in #50
- doc omitzero for inference by @jba in #55
- remove struct from validate doc by @jba in #54
- fix: infer - arrays should always accept null by @rafaeljusto in #49
- jsonschema: use value receiver for Schema.MarshalJSON by @zyfxgo in #52
- do not support ApplyDefaults on structs by @jba in #57
- Add PropertyOrder by @baptmont in #51
New Contributors
- @baptmont made their first contribution in #30
- @thefishhat made their first contribution in #38
- @karolpiotrowicz made their first contribution in #43
- @naivary made their first contribution in #45
- @rafaeljusto made their first contribution in #42
- @zyfxgo made their first contribution in #52
Full Changelog: v0.3.0...v0.4.0
v0.3.0
Breaking Changes
The key of ForOptions.TypeSchemas is now reflect.Type instead of any, because some types can't be map keys.
Validating structs directly cannot be done in general, so the ability to do so has been removed. See #23.
What's Changed
- jsonschema: faster checks for the false schema by @findleyr in #25
- make struct validation fail by @jba in #28
- jsonschema: change TypeSchemas key to reflect.Type by @jba in #29
Full Changelog: v0.2.3...v0.3.0
v0.2.3
v0.2.2
What's Changed
- infer: flatten embedded structs by @samthanawalla in #14
Full Changelog: v0.2.1...v0.2.2
v0.2.1
This point release has one bug fix and some minor doc changes.
What's Changed
- improve docs by @jba in #7
- LICENSE: update authors to JSON Schema Go Project Authors by @samthanawalla in #8
- don't record schemas in map during inference by @jba in #9
- Update README.md to call Go Go, rather than GO by @yurivish in #11
New Contributors
Full Changelog: v0.2.0...v0.2.1
v0.2.0
Breaking Changes
- This downgrades the go.mod to 1.23.0
v0.1.0
This CL tags v0.1.0 of the jsonschema-go repo.