This repository has been archived by the owner on Jan 4, 2022. It is now read-only.
Dash Platform Protocol v0.15.0
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
anddelete
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 to0
is required for all data structuresDocument
now awaitsDataContract
as a second argument in constructorDocumentsBatchTransition
now awaitsDataContract
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
anddashAliasIdentityId
records, instead of obosletedashIdentity