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

Dash Platform Protocol v0.15.0

Compare
Choose a tag to compare
@shumkov shumkov released this 04 Sep 07:01
· 139 commits to master since this release

Features

  • protocol versioning (#217)
  • document binary properties (#199, #211, #215, #218, #213)
  • handle unique and alias identities in DPNS data triggers (#201)
  • add data trigger condition to check allowing subdomain rules (#224, #228)
  • reject replace and delete actions for DPNS preorder document (#210)

Bug Fixes

  • empty where conditions were sent during unique indices validation (#222)
  • duplicate key error in case of unique index on optional fields (#230)
  • invalid arguments were submitted to search for parent domain (#226)
  • invalid where clause was sent, invalid query error was not handled by unique index validation method (#220)
  • undefined in data contract schema id (#209)
  • data contract fixture was not isolated properly (#207)
  • schema with key or id already exists (#203)

BREAKING CHANGES

  • protocolVersion property equals to 0 is required for all data structures
  • Document now awaits DataContract as a second argument in constructor
  • DocumentsBatchTransition now awaits DataContract as a second argument in constructor
  • a document compound unique index shouldn't contain both required and optional properties
  • a document with a compound unique index must contain all indexed properties or non of them
  • only second-level DPNS domain owner is allowed to create its subdomains
  • DPNS preorder document is immutable now. Modification and deletion of preorder are restricted.
  • getDocumentsFixture.dataContract is not available anymore
  • DPNS data trigger expect dashUniqueIdentityId and dashAliasIdentityId records, instead of oboslete dashIdentity