Skip to content

Latest commit

 

History

History
290 lines (148 loc) · 11.7 KB

CHANGELOG.md

File metadata and controls

290 lines (148 loc) · 11.7 KB

0.21.0 (2021-10-14)

Features

BREAKING CHANGES

  • DAPI responds with new error codes

0.20.0 (2021-07-22)

Features

  • add more information to proofs (#373)
  • strict data contract schema validation (#372)

Bug Fixes

  • prove options was set as a string (#387)
  • EAI_AGAIN error code was not handled (#381)
  • subscribeToNewTransactionsWithProofs doesn't emit transactions and instant lock in some cases (#384, #375)

BREAKING CHANGES

  • data will be null in case proof is requested from platform endpoints
  • not compatible with contracts created using dpp older than v0.20

0.19.0 (2021-05-05)

Features

Bug Fixes

  • error loading shared library libzmq.so.5 (51e66f7)

BREAKING CHANGES

  • getStatus response format is changed and is not compatible with older version

0.18.1 (2021-03-08)

Chores

  • update dependencies to stable versions (cb9070)

0.18.0 (2021-03-03)

Features

  • handle Unavailable ABCI error (#337)
  • waitForStateTransitionResult endpoint (#331, #338, #340, #341)
  • replace broadcast_tx_commit with broadcast_tx_sync (#330)

BREAKING CHANGES

  • broadcastStateTransition doesn't wait for state transition commit. Use waitForStateTransitionResult to get ST acknowledgment.

0.17.1 (2021-01-19)

Bug Fixes

  • core: timeOffset from Insight expected to be uint32 (#332)

0.17.0 (2020-12-30)

Bug Fixes

  • internal error if state transaction was broadcasted twice (#328)

Features

  • provide state tree proofs (#323)
  • add instant send locks to the transaction stream (#318, #327)
  • use new drive response format (#316)
  • update dashcore-lib to 0.19.5 (#312)

0.16.2 (2020-12-21)

Bug Fixes

  • crash in dapi-tx-filter-stream "can't read property trim() of undefined"

0.16.1 (2020-11-16)

Bug Fixes

  • count too big being thrown in subscribeToTransactionsWithProofsHandler (#315)

0.16.0 (2020-10-27)

Features

  • getIdentitiesByPublicKeyHashes and getIdentityIdsByPublicKeyHashes endpoints (#304, #307)
  • debug mode to respond internal error with message and stack (#302)
  • use Drive 0.16 endpoints (#308, #309)

BREAKING CHANGES

  • getIdentityByFirstPublicKey and getIdentityIdByFirstPublicKey removed

0.15.0 (2020-09-04)

Features

  • update to DAPI gRPC 0.15 (#298)
  • remove getUTXO & getAddressSummary rpc methods (#292, #293)
  • rename sendTransaction and applyStateTransition to broadcast (#287)

BREAKING CHANGES

  • broadcastTransaction and broadcastStatTransition gRPC method names are using instead of sendTransaction and applyStateTransition
  • TxFilterStream subscribeToTransactionsWithProofs endpoint uses Core gRPC service
  • see DAPI gRPC breaking changes

0.14.0 (2020-07-23)

Bug Fixes

  • internal error when fromBlockHeight submitted as 0 to subscribeToTransactionsWithProofs (#285)

Features

  • update dependencies (dpp to 0.14.0, dashcore-lib to 0.18.11) (#283)
  • reduce artifical slowdown of the transaction stream (#275)
  • use test-suite to run functional tests (#276, #280)

0.13.0 (2020-06-08)

Bug Fixes

  • invalid JSON RPC internal error code (#271)
  • incorrect behaviour on undefined data in handleAbciResponseError (#265)

Features

  • get identity by public key endpoints (#263, #266)

Tests

  • identity topup functional test (#268)
  • functional for validating public key uniqueness (#269)

Code Refactoring

  • actualize drive env variables (#270)

BREAKING CHANGES

  • previously internal errors were respond with wrong error code -32602 (invalid argument). The error code is changed to -32603 (internal error).
  • see DPP breaking changes

0.12.0 (2020-04-18)

Bug Fixes

  • in case of Timed out waiting for tx to be included in a block DAPI responds with Internal error (#258)

Code Refactoring

  • remove Platform JSON RPC endpoints (#256)
  • rename TENDERMINT_CORE_... envs to TENDERMINT_RPC_... (98c6ad0)
  • remove rate limiter errors (#254)

Features

  • handle insufficient funds ABCI error (#257)
  • update deploy script to tag image for every Semver segment (#260)
  • update according to merge of Drive and Machine (#255, #259)

BREAKING CHANGES

  • fetchDocuments, fetchDataContract, fetchIdentity, applyStateTransition JSON RPC endpoints are removed. Use gRPC analogues.
  • rename TENDERMINT_CORE_... envs to TENDERMINT_RPC_...
  • see DPP breaking changes

0.11.1 (2020-03-17)

Bug Fixes

  • throw correct JSON RPC error on invalid Insight params (#252, 52b1276)

0.11.0 (2020-03-09)

Bug Fixes

  • Core gRPC service is not initialized (86dff35)
  • load .env at correct time for tx-filter-stream (7b091e0)
  • prevent to update dependencies with major version 0 to minor versions (ea7de93)
  • handle errors in getTransaction endpoints (e0d36ae)
  • handle errors in sendTransaction endpoint (cd2e6c8)
  • handle errors in getBlock endpoint (6d474b4)
  • handle rate, time and resource limit ABCI errors (4c979a3)
  • handle Tendermint errors in applyStateTransition (f8764e9)
  • "not found" instead of "invalid argument" in gRPC endpoints (126c929)

Features

  • remove insecure API endpoints and code (11b3df3)
  • introduce generateToAddress endpoint (3a2f497)
  • upgrade DPP to 0.11 (3b36078)

Tests

  • functional test for getStatus endpoint (3f3ec06)
  • forced json rpc client tests (5259535)

BREAKING CHANGES

  • A ton of insecure endpoints were removed so it's easier to list what left.
    • JSON RPC (deprecated)
      • generateToAddress
      • getAddressSummary
      • getBestBlockHash
      • getBlockHash
      • getMnListDiff
      • getUTXO
    • Core gRPC
      • subscribeToTransactionsWithProofs
      • getBlock
      • getStatus
      • getTransaction
      • sendTransaction
    • Platform gRPC
      • applyStateTransition
      • getDataContract
      • getDocuments
      • getIdentity
  • see DPP breaking changes