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 https://github.com/google/jsonschema-go/pull/30
- jsonschema: handle embedding of custom schemas by @jba in https://github.com/google/jsonschema-go/pull/32
- feat: add nested subschema defaults application by @thefishhat in https://github.com/google/jsonschema-go/pull/38
- Fix for Issue #44 by @naivary in https://github.com/google/jsonschema-go/pull/45
- fix: infer - missing nullable type for non Go types by @rafaeljusto in https://github.com/google/jsonschema-go/pull/42
- Add Draft 07 support by @baptmont in https://github.com/google/jsonschema-go/pull/50
- doc omitzero for inference by @jba in https://github.com/google/jsonschema-go/pull/55
- remove struct from validate doc by @jba in https://github.com/google/jsonschema-go/pull/54
- fix: infer - arrays should always accept null by @rafaeljusto in https://github.com/google/jsonschema-go/pull/49
- jsonschema: use value receiver for Schema.MarshalJSON by @zyfxgo in https://github.com/google/jsonschema-go/pull/52
- do not support ApplyDefaults on structs by @jba in https://github.com/google/jsonschema-go/pull/57
- Add PropertyOrder by @baptmont in https://github.com/google/jsonschema-go/pull/51
New Contributors
- @baptmont made their first contribution in https://github.com/google/jsonschema-go/pull/30
- @thefishhat made their first contribution in https://github.com/google/jsonschema-go/pull/38
- @karolpiotrowicz made their first contribution in https://github.com/google/jsonschema-go/pull/43
- @naivary made their first contribution in https://github.com/google/jsonschema-go/pull/45
- @rafaeljusto made their first contribution in https://github.com/google/jsonschema-go/pull/42
- @zyfxgo made their first contribution in https://github.com/google/jsonschema-go/pull/52
Full Changelog: https://github.com/google/jsonschema-go/compare/v0.3.0...v0.4.0