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

Latest commit

 

History

History
366 lines (155 loc) · 12.9 KB

CHANGELOG.md

File metadata and controls

366 lines (155 loc) · 12.9 KB

0.21.2 (2021-10-22)

Features

  • DAPI addresses white list must not be applied in Regtest mode (#289)

0.21.1 (2021-10-21)

Features

  • DAPI addresses white list (#288)

0.21.0 (2021-10-12)

Features

  • improve error handling (#268)
  • convenient response errors (#272, #280, #282, #284, #286)
  • implement getConsensusParams method (#261)
  • support returning of a multiproof (#257)

BREAKING CHANGES

  • getBlockByHash and getBlockByHeight will throw NotFoundError instead of null result

0.20.1 (2021-05-26)

Bug Fixes

  • crash when connecting to an older version of dapi (#252, #253)

0.20.0 (2021-07-09)

Features

  • provide metadata in responses (#243, #246)
  • throw NotFoundError if data is not found (#247)

BREAKING CHANGES

  • platform methods respond with response classes instead of plain data
  • Core method getTransaction responds with response class instead of plain data
  • getTransaction, getDataContract and getIdentity methods throw NotFoundError if no data was found

0.19.3 (2021-05-26)

Bug Fixes

  • update cbor to fix serialization of queries with buffers (178943b)

0.19.2 (2021-05-20)

Chores

  • Update DPP to a 0.19.2 (#237)

0.19.1 (2021-05-04)

Bug Fixes

  • getStatus reponse was returning buffers as Base64 encoded strings (#235)

0.19.0 (2021-05-03)

Features

  • getStatus method handler response updated (#229, #230)

Bug Fixes

  • critical security vulnerability in axios@0.19.2 (#233)

BREAKING CHANGES

  • getStatus method handler response have changed

0.18.0 (2021-03-03)

Bug Fixes

  • BLS was throwing an error inside uncaughtException handler (#226)

Features

  • waitForStateTransitionResult method (#221, (#223)

Chores

  • remove temporary timeout option from broadcastStateTransition (2abdf5)

0.17.2 (2020-12-30)

Bug Fixes

  • broadcastStateTransitions is timing out on testnet (#219)

0.17.1 (2020-12-30)

Bug Fixes

  • merkleRootQuorums from the diff doesn’t match calculated quorum root after diff is applied (#217)

0.17.0 (2020-12-29)

Features

Bug Fixes

  • SML unhandled error on blockchain reorg (#215)

BREAKING CHANGES

  • DAPI client is now connecting to a testnet by default

0.16.0 (2020-10-27)

Features

  • getIdentitiesByPublicKeyHashes and getIdentityIdsByPublicKeyHashes methods (#191, #196, #205)
  • getDataContract, getDocuments, getIdentity accept Buffer (#201)

Documentation

  • fix URLs in README (#193)

BREAKING CHANGES

  • getIdentityByFirstPublicKey and getIdentityIdByFirstPublicKey removed
  • getDataContract, getDocuments, getIdentity accept Buffer or TypedArray

0.15.0 (2020-09-04)

Bug Fixes

  • internal error when submitting fromBlockHeight as 0 to subscribeToTransactionsWithProofs (#174)

Features

  • retry request on UNIMPLEMENTED error (#185)
  • update DAPI gRPC to 0.15 (#179, #186)
  • remove getUTXO and getAddressSummary core methods (#178)
  • rename sendTransaction and applyStateTransition (#175)

BREAKING CHANGES

  • broadcastTransaction and broadcastStatTransition gRPC method names are using instead of sendTransaction and applyStateTransition
  • getUTXO and getAddressSummary core methods are removed
  • see DAPI gRPC breaking changes

0.14.0 (2020-07-23)

We completely rewrote DAPI Client to improve code quality, usability, and testability.

In the new version, you can specify not just seeds to connect but also specific DAPI addresses and even inject own logic to obtain/select nodes. API methods accept the same options as the DAPIClient constructor so you can specify different behavior for each API call.

Previously, faulty nodes were excluded for a specific API call. Now they are banning for a period of time, and this time increments exponentially in the event of repeated faults.

Bug Fixes

  • cannot read property 'getHttpPort' of undefined (#173)
  • internal error when submitting fromBlockHeight as 0 to subscribeToTransactionsWithProofs (#174)
  • ambiguity in addresses option (#170)
  • JSON RPC does not retry on ETIMEDOUT (#156)
  • 2 seconds timeout not enough for some requests (#151)
  • construct DAPIClient with network option didn't work properly (#150)
  • global default timeout applies for streams (#152)

Features

  • add ports to string representation of DAPIAddress (#171) (1f4ffb7)
  • allow to specify network with other connection options (#160) (cfbc5cd)
  • update DAPI gRPC to 0.14.0-dev.1 (#149) (4598def)
  • timeout options for gRPC requests and simplified URL for gRPC client (#146) (35685b9)

Documentation

  • readme standard updates (#167)

Code Refactoring

  • rewrite DAPI Client from scratch (#140)

BREAKING CHANGES

  • DAPI Client options are changed
  • Core and Platform methods moved to specific namespaces (ie. client.platform.getIdentity(), client.core.getStatus())

0.13.6 (2020-06-30)

Features

  • update dapi-client to 0.18.11 (#163)

0.13.5 (2020-06-30)

Features

  • update dashcore-lib to 0.18.10 (#162)

0.13.4 (2020-06-30)

Bug Fixes

  • network is not set to SimplifiedMNListDiff (#161)

0.13.3 (2020-06-18)

Bug Fixes

  • calling method getIp of undefined (#159)

0.13.2 (2020-06-11)

Bug Fixes

  • retries don't work for MN discovery (#157)

0.13.1 (2020-06-11)

Bug Fixes

  • JSON RPC doesn't retry on `ETIMEDOUT (#155)

0.13.0 (2020-06-08)

Bug Fixes

  • missed grpc-common peer dependency caused error (#135)

Features

  • implement transports with retries (#130, #141)
  • get identity by public key endpoints (#133)

Documentation

  • add typing (#143)
  • JSDoc formatting (#132)
  • subscribeToTransactionsWithProofs (#137)

0.12.0 (2020-04-20)

Code Refactoring

  • remove forceJsonRpc option (#126)

BREAKING CHANGES

  • platform methods no longer available through JSON RPC

0.11.0 (2020-03-01)

Bug Fixes

  • return null if get "Not Found" gRPC error (86af3f7)
  • gRPC web connection url should contain protocol (0c7ad1f)

Features

  • introduce generateToAddress endpoint (f8b446b)
  • bring back getAddressSummary endpoint (d6de22c)
  • implement basic Core gRPC endpoints (6fe4d4a)
  • remove obsolete API endpoints and code (982a514)

BREAKING CHANGES

  • Removed unsupported generate endpoint
  • Removed insecure endpoints