Skip to content

Releases: sagold/json-schema-library

v9.2.1

25 Mar 12:11
c8417d7
Compare
Choose a tag to compare
  • add: getTemplate option extendDefaults to prevent modifying default values for arrays and objects
  • fix: merge getTemplate options with default options
  • fix: replace getTemplate local default options by global settings options

v9.1.1

17 Sep 18:49
Compare
Choose a tag to compare
  • fix issue in allOf wrongly merging sub-schemas

Full Changelog: v9.1.0...v9.1.1

9.1.0

17 Sep 10:44
Compare
Choose a tag to compare
  • added validation of format "idn-email"

Full Changelog: v9.0.3...v9.1.0

v9.0.2

24 Aug 06:10
Compare
Choose a tag to compare

What's Changed

  • format validation for email, date, date-time and time are now valid if string is empty

Full Changelog: v9.0.1...v9.0.2

v9.0.1

15 Aug 15:38
Compare
Choose a tag to compare

Fixes floating point issue in multipleOf validation

Full Changelog: v9.0.0...v9.0.1

v9.0.0

03 Aug 15:38
Compare
Choose a tag to compare

What's Changed

  • [Breaking] Update JsonError to always contain pointer, schema and value on its data-property
  • [Breaking] getSchema arguments changed to an options-object
  • [Add] option withSchemaWarning for getSchema to always return an error for undefined schema

Read more

Full Changelog: v8.0.0...v9.0.0

v8.0.0

04 Jul 09:45
Compare
Choose a tag to compare

What's Changed

  • [Breaking] renamed JSON types and variables to Json
  • [Breaking] remove oneOfSchema helper property in favor of getOneOfOrigin() non-enumerable function
  • [Breaking] getTemplate will add only required properties per default. Use addOptionalProps:true to change this behaviour
  • [Breaking] change unique-items-error to point to error for duplicated item.
  • [add] introduce mergeSchema, reduceSchema and resolveDynamicSchema
  • [refactor] move dynamic resolvers anyOf, allOf, oneOf, dependencies and if to features modules
  • Update README.md by @Zearin in #26
  • build(deps): bump json5 from 2.2.1 to 2.2.3 by @dependabot in #27
  • fix typo in url validation function by @felixebertsz in #34
  • fix: oneOf step loses compiled reference resolution by @Carl-Foster in #35

New Contributors

Full Changelog: v7.4.4...v8.0.0