This repository has been archived by the owner on Jan 4, 2022. It is now read-only.
Releases: dashevo/js-dpp
Releases · dashevo/js-dpp
Dash Platform Protocol v0.20.0
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. UsedependentRequired
anddependentSchema
insteadadditionalitems
is not supported. Useitems: false
andprefixItems
insteadpatternProperties
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
Dash Platform Protocol v0.20.0-dev.3
chore: bump version to 0.20.0-dev.3 (#319)
Dash Platform Protocol v0.20.0-dev.2
chore: bump version to 0.20.0-dev.2 (#316)
Dash Platform Protocol v0.20.0-dev.1
chore: bump version to 0.20.0-dev.1 (#313) Co-authored-by: Ivan Shumkov <[email protected]>
Dash Platform Protocol v0.19.2
Bug Fixes
- Cbor not decoding buffers properly in browsers (#308)
Dash Platform Protocol v0.19.1
Bug Fixes
topLevelIdentity.getId
is not a function (#306)
Dash Platform Protocol v0.19.0
Features
- add data triggers for feature flags documents (#297, #302)
- ChainLock Asset Lock proof (#296)
- use
verifyInstantLock
instead offetchSMLStore
(#294)
BREAKING CHANGES
AssetLock
class was removed.InstantAssetLockProof
requirestransaction
andoutputIndex
property.IdentityCreateTransition
schema changed.assetLock
property renamed toassetLockProof
and expectInstantAssetLockProof
orChainAssetLockProof
.transaction
andoutputIndex
properties are removed.IdentityTopUpTransition
schema changed.assetLock
property renamed toassetLockProof
and expectInstantAssetLockProof
orChainAssetLockProof
.transaction
andoutputIndex
properties are removed.
Dash Platform Protocol v0.19.0-dev.4
chore(release): bump version to 0.19.0-dev.4
Dash Platform Protocol v0.19.0-dev.3
chore: bump version to 0.19.0-dev.3 (#303)
Dash Platform Protocol v0.19.0-dev.2
chore: bump version to 0.19.0-dev.2 (#301)