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

Releases: dashevo/js-dpp

Dash Platform Protocol v0.12.0-dev.2

31 Mar 15:57
acc0315
Compare
Choose a tag to compare
Pre-release
feat: applyStateTransition fetches and stores data with StateReposito…

Dash Platform Protocol v0.11.1

17 Mar 19:30
443397d
Compare
Choose a tag to compare

Bug Fixes

  • documents validate against wrong Data Contract (0db6e44)

Dash Platform Protocol v0.11.0

12 Mar 17:29
Compare
Choose a tag to compare

Bug Fixes

  • missing public key during ST signature validation (667402d)
  • add npmignore (c2e5f5d)
  • prevent to update dependencies with major version 0 to minor versions (ea7de93)

Features

  • catch decode errors and rethrow consensus error (892be82)
  • limit data contract schema max depth (f78df33)
  • limit serialized Data Contract size to 15Kb (7c95197)
  • remove Data Contract restriction option (0edd6ff)
  • validate documents JSON Schemas during data contract validation (d88817d)
  • ensure maxItems with uniqueItems for large non-scalar arrays (3364325)
  • ensure maxLength in case of pattern or format (297c754)
  • ensure all arrays items are defined (43d7b8f)
  • ensure all object properties are defined (d9f71df)
  • limit number of allowed indices (5adff5d)
  • validateData method accept raw data too (e72a627)
  • prevent of defining propertyNames (c40663f)
  • prevent of defining remote $ref (34bdb3f)
  • prevent of using default keyword in Data Contract (7629878)
  • throw error if 16Kb reached for payload in encode function (c6aba8b)
  • accept JsonSchemaValidator as an option (ee1bb0f)

BREAKING CHANGES

  • Data Contract schema max depth is now limited by 500
  • Serialized Data Contract size is now limited to 15Kb
  • validate, createFromSerialized, createFromObject methods of Data Contract Factory are now async
  • items and additionalItems are required for arrays
  • properties and additionalProperties are required for objects
  • number of indices limited to 10
  • number of unique indices limited to 3
  • number of properties in an index limited to 10
  • required maxItems with uniqueItems for large non-scalar arrays
  • required maxLength in case of pattern or format
  • propertyNames keyword is restricted in document schema
  • default keyword is restricted in Data Contract
  • encode function throws error if payload is bigger than 16Kb

v0.11.0-dev.6

12 Mar 12:23
ee1bb0f
Compare
Choose a tag to compare
v0.11.0-dev.6 Pre-release
Pre-release
feat: accept `JsonSchemaValidator` as an option

v0.11.0-dev.3: feat: plymorphic validation functions

20 Feb 11:20
e72a627
Compare
Choose a tag to compare
Add option to pass raw transition to `validateData` method

v0.11.0-dev.1: fix: missing public key during ST signature validation

11 Feb 09:37
667402d
Compare
Choose a tag to compare
* Add check that public key exists before trying to get type of it
* Bump the version

v0.10.1: fix: add npmignore

30 Jan 08:20
c2e5f5d
Compare
Choose a tag to compare
* Add .npmignore file to include dist folder to the npm package

v0.10.0-dev.10: fix: update indices schema to allow nested object fields

19 Dec 11:03
940d0e7
Compare
Choose a tag to compare
* feat: update indices schema to allow nested object fields

* chore: bump version to `0.10.0-dev.10`

* fix: property name should not start with a dot