Skip to content

Releases

v0.4.3

Choose a tag to compare

@jba jba released this 27 Apr 20:22
8c4ab4f

What's Changed

  • improve anyOf errors by @jba in #61
  • fix: infer - support map with non-string key type by @rafaeljusto in #70

Full Changelog: v0.4.2...v0.4.3

v0.4.3

Choose a tag to compare

@baptmont baptmont released this 24 Apr 13:01
8c4ab4f

What's Changed

  • improve anyOf errors by @jba in #61
  • fix: infer - support map with non-string key type by @rafaeljusto in #70

Full Changelog: v0.4.2...0.4.3

v0.4.2

Choose a tag to compare

@jba jba released this 19 Dec 13:33
e5cd592

The only change here is that an empty map in Schema.Properties will result in an empty object in the JSON.

This fixes v0.4.1.

v0.4.0

Choose a tag to compare

@jba jba released this 17 Dec 19:40
eb36139

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

Full Changelog: v0.3.0...v0.4.0

v0.3.0

Choose a tag to compare

@jba jba released this 22 Sep 18:31
2a1c0a4

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

Choose a tag to compare

@findleyr findleyr released this 12 Sep 14:59
bbdc431

What's Changed

  • jsonschema: support applying defaults to interface values; better errors by @findleyr in #21

New Contributors

Full Changelog: v0.2.2...v0.2.3

v0.2.2

Choose a tag to compare

@samthanawalla samthanawalla released this 10 Sep 20:12
c3d0b57

What's Changed

Full Changelog: v0.2.1...v0.2.2

v0.2.1

Choose a tag to compare

@jba jba released this 09 Sep 08:52
7d3a774

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

Choose a tag to compare

@samthanawalla samthanawalla released this 07 Aug 18:26

Breaking Changes

  • This downgrades the go.mod to 1.23.0

v0.1.0

Choose a tag to compare

@samthanawalla samthanawalla released this 07 Aug 18:13
828f7f2

This CL tags v0.1.0 of the jsonschema-go repo.