Skip to content
This repository has been archived by the owner on Jan 4, 2022. It is now read-only.

Dash Platform Protocol v0.20.0

Compare
Choose a tag to compare
@jawid-h jawid-h released this 09 Jul 09:09
2f3a937

Features

  • add metadata to document, data contract and identity (#318)
  • prevent possible ReDoS attacks for Data Contracts (#311, #317, #315)
  • strcit data contract JSON schema validation (#310, #312)

BREAKING CHANGES

  • dependencies is not supported. Use dependentRequired and dependentSchema instead
  • additionalitems is not supported. Use items: false and prefixItems instead
  • patternProperties is prohibited for Data Contract
  • error messages and properties are changed according to the new JSON Schema spec
  • pattern keyword accept only RE2 compatible regular expressions
  • Document type and properties minimum length is 3 chars
  • definitions is now defined using $defs keyword
  • JSON Schema strict validation is enabled . Previous contract schemas invalid in case they are not respecting strict mode constraints (reference this link for more information)
  • usage of if, then, else, allOf, anyOf, oneOf not in document root properties is prohibited