Skip to content

First jsonschema release!

Compare
Choose a tag to compare
@ramfox ramfox released this 03 Jun 17:00
· 24 commits to master since this release
b244d4b

(2019-05-23)

This is the first proper release of jsonschema. In preparation for go 1.13, in which go.mod files and go modules are the primary way to handle go dependencies, we are going to do an official release of all our modules. This will be version v0.1.0 of jsonschema.

Bug Fixes

  • jsonschema: Handle empty url fragment "#", add unit tests. (ca0e82f)
  • An issue where if $id starts with # caused a slice bounds out of range panic while Unmarshaling (9f6179a)
  • $comment: add support for $comment keyword, add $comment to testschema_test ExampleBasic() (#33) (3313399)
  • const error: error reports what const must equal instead of supplied value (9b9427b), closes #34

Features

  • IfThenElse: implement If/Then/Else, cleanup (bef9c1e)
  • json.Marshaler: marshal schemas back to json properly. (f7d8215)
  • jsonschema: Change to TopLevelType function, more general. (4a66928)
  • jsonschema: Cleanup mistakes, test for unknown schema type. (9ab452b)
  • jsonschema: Field to tell if RootSchema is an array or object. (8bd68f0)
  • jsonschema format: added iri, iri-ref, regex format validators (06217c5)
  • jsonschema format: added iri, iri-ref, regex format validators (4e5183a)
  • jsonschema format: added jsonpointer, reljsonpointer validators (6205399)
  • refs: first signs of life on refs working properly (435c766)
  • ValError: overhaul and upgrade error collection & reporting (66b03e6)
  • added format validators for datetime, date, email, ipv4/6 and some others (3394369)
  • added format validators for datetime, date, email, ipv4/6 and some others (5bf895c)
  • added Must func for easier schema declaration in Go. (2874aff)
  • jsonschema format: added jsonpointer, reljsonpointer validators (d787e78)
  • first pass of draft7 test suite passing (263a72d)
  • initial commit (b620f19)
  • initial support for local references (a99baf2)
  • return multiple errors on validation call. (00b42a8), closes #15