Skip to content

Releases: survivorbat/go-scheyaml

v1.1.0

16 Jan 10:19
ac0fb24
Compare
Choose a tag to compare
  • Improved support for pattern properties and overriding values
  • Added opt-out validation for incoming overrides (breaking behaviour, but acceptable to prevent silent errors)

v1.0.0

18 Dec 09:36
Compare
Choose a tag to compare
  • Add handling of patternProperties in a schema
  • Change signatures to always have an error return argument, which might be returned on broken regular expressions

v0.1.0

01 Nov 15:31
4734647
Compare
Choose a tag to compare

Removed the JSONSchema struct in favor of using an existing library, changed interfaces as well.

v0.0.6

15 Oct 18:40
b65be8f
Compare
Choose a tag to compare
  • Fix override values of nil getting output as <nil> instead of null
  • Add support for local $ref statements, but not remote urls

v0.0.5

02 Oct 14:24
3d3a659
Compare
Choose a tag to compare
  • Add line limit to description docstrings
  • Rename Minimal to RequiredOnly

v0.0.4

02 Oct 09:29
16013e8
Compare
Choose a tag to compare

Add Minimal() that limits the output to required property that lack a default value.

v0.0.3

19 Sep 12:57
Compare
Choose a tag to compare

Create a special type for the Type property of the JSONSchema object.

Improve handling of unspecified default values for these types:

var typeDefaultValues = map[PropType]string{
	TypeString:  "",
	TypeInteger: "0",
	TypeNumber:  "0",
	TypeBoolean: "false",
}

v0.0.2

13 Sep 19:15
Compare
Choose a tag to compare
  • Export JSONSchema object
  • Export Config object
  • Add WithTODOComment and WithOverrideValues to allow output customisation
  • Add NewConfig method
  • Make JSONSchema safely (un)marshallable

v0.0.1

12 Sep 11:59
Compare
Choose a tag to compare

Add lower-level SchemaToNode method

v0.0.0

11 Sep 17:40
Compare
Choose a tag to compare

Initial release