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

Latest commit

 

History

History
444 lines (248 loc) · 16.3 KB

CHANGELOG.md

File metadata and controls

444 lines (248 loc) · 16.3 KB

7.21.0 (2021-10-21)

Features

  • provide plugin dependencies sorting (#281)
  • Keychain: getHardenedDIP15AccountKey, getDIP15ExtendedPrivateKey (#282)
  • overridable coinbase maturity value (#322)
  • retry policy of unconfirmed transaction from stream (#304), closes #303
  • implement transaction metadata handling (#291, #303)
  • transaction history (#295), closes #303
  • TransactionSyncWorker: improve stream response handling (#323, #339, #338, #336)
  • prevent broadcast and throw error on transaction below min relay fee (#305)
  • provide watch-only mode for public key and address based wallet (#290)

Bug Fixes

  • logger doesn't work in the browser (#330)
  • typings fix for waitForInstantLock (#289)
  • correct logging of identity fetched (#310)
  • correctly announced when a plugin is initialized (#321)
  • stream.cancel were causing double-free and segfault (#328, #329)
  • grpc-web doesn't throw cancel error (#332)

Refactoring

  • Keychain: proper naming for BIP44 and DIP9 get keys methods (#288)

BREAKING CHANGES

  • getHardenedBIP44Path renamed to getHardenedBIP44HDKey
  • getHardenedDIP9FeaturePath renamed to getHardenedDIP9FeatureHDKey

7.20.1 (2021-07-28)

Bug Fixes

  • InvalidResponse error when connecting to older networks with newer client (#284)

7.20.0 (2021-07-09)

Features

  • add waitForInstantLockTimeout Wallet Option (#270)

Bug Fixes

  • waitForInstantLock timeouts stuck in event loop (#272)

7.19.2 (2021-05-28)

Bugfixes

  • platform queries with binary fields not serialized properly (#264)

7.19.1 (2021-05-20)

Chores

  • update dpp and dapi-client to 0.19.2 (#258)

7.19.0 (2021-05-03)

Features

  • update dpp with verifyInstantLock method (#234)

BREAKING CHANGES

  • Account#fetchStatus response format is changed and not compatible with the previous version
  • Transport#getStatus responded format is changed and not compatible with the previous version

7.18.1 (2021-04-28)

Bug Fixes

  • transaction.isConbase is not a function (#246)

7.18.0 (2021-03-03)

Bug Fixes

  • UTXO being mixed up with multiple account in parallel (#233)

Features

  • workers and plugins error handling using events (#221)
  • aligning identityIndex as defined in DIP13 as hardened (#222)
  • add skipSynchronizationBeforeHeight unsafe option (#217)

Refactoring

  • Identities class (#227)

BREAKING CHANGES

  • to access identities from account use account.identities property
  • previous identity created with DashJS / Wallet-lib would not be resolvable anymore

7.17.2 (2020-12-30)

Bug Fixes

  • broadcastStateTransition is timing out on testnet (#214)

7.17.1 (2020-12-30)

Bug Fixes

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

7.17.0 (2020-12-29)

Features

  • connect to testnet by default (#210)
  • update dpp, dapi-client, dashcore-lib (#202)
  • handle instant locks (#206)

BREAKING CHANGES

  • wallet is now connecting to a testnet by default

7.16.1 (2020-10-28)

Bug Fixes

  • buggy version of protobufjs is used (#200)

7.16.0 (2020-10-27)

Bug Fixes

  • transaction sign and OP_RETURN + import (#188)

Chore

  • update to DAPI Client 0.16 (#196, #197)

BREAKING CHANGES

  • replaced Transport#getIdentityIdByFirstPublicKey(string): string with Transport#getIdentityIdsByPublicKeyHashes(Buffer[]): Buffer[]

7.15.1 (2020-09-11)

Bug Fixes

  • false positive merkle blocks shouldn't be imported into the storage (#185)

7.15.0 (2020-09-04)

Bug Fixes

  • confirmation might come before broadcast ACK (#183)
  • outdated create transaction typing (#180)

Code Refactoring

  • switch from getUTXO to subscribeToTransactions (#119)

BREAKING CHANGES

  • removed subscribeToAddressesTransactions, getUTXO and getAddressSummary from the transport
  • removed Account#fetchAddressInfo method

7.14.0 (2020-07-23)

Bug Fixes

  • merge conflict artefact issue (#170)
  • outdated network option values (#167)

Features

  • run tests against mn-bootstrap instead of devnet (#168)
  • update to DAPI Client 0.14 and refactor transport layer (#163)

Documentation

  • readme standard updates (#165)
  • update documentation and definitions files (#154)

BREAKING CHANGES

  • transporter option is replaced with transport that accepts DAPI Client options or a Transport instance.

7.13.4 (2020-07-01)

Bug Fixes

  • simple transaction do not have any 4 inputs limitation (#158) (11d8d01)
  • account: forward all storage events (#159) (e5c807e)

Features

7.13.4 (2020-07-01)

Bug Fixes

  • simple transaction do not have any 4 inputs limitation (#158)
  • account: forward all storage events (#159)

Features

  • update dashcore-lib and DAPI Client (#161)

7.13.3 (2020-06-16)

  • Fixes:

    • fix!: createTransaction should be checking for 'recipient' instead of 'address' in 'txOpts.recipients' (#152)
    • fix: transaction hash not present on address (#151)
  • Breaking changes:

    • Previously, the documentation stated a usage on createTransaction() with multiples recipients as such: recipients:[{recipient,satoshis}]. However, the code where still referring and expecting recipients recipients:[{address,satoshis}]. This version fixes that inconsistency.

7.13.2 (2020-06-15)

  • Features:

    • feature: Worker will now have ability to return a value on onStart and onExecute (#149)
  • Fixes:

    • fix: comportement on new address with existing transaction in store (#147)
    • fix: SyncUp plugin not awaiting long enough (#149)

7.13.1 (2020-06-15)

  • Fixes:
    • fix(Storage): identityIds being restate to empty array (#143)

7.13.0 (2020-06-13)

  • Feat:

    • sync of identities associated with wallet (#142)
  • Breaking changes:

    • Account#getIdentityHDKey is removed in favor of Account#getIdentityHDKeyByIndex(identityIndex, keyIndex)
    • debug option temporary disabled

7.1.4 (2020-06-11)

  • Builds, Tests:
    • test: create a new wallet in functional tests (#140)
    • build: simplify distributive and Travis CI builds (#139)

7.1.3 (2020-06-10)

  • Chore:
    • chore: Update dashcore-lib version (#138)

7.1.2 (2020-06-10)

  • Feat:
    • feat: TransactionOrderer (#136)

7.1.1 (2020-06-03)

  • Fixes:
    • fix: broadcastTransaction not throwing an error when a transaction wasn't broadcasted (#133)
    • fix: internal UTXO on Output format and getUTXO returning UnspentOutput + refactor initial sync up (#135)

7.1.0 (2020-06-03)

  • Fixes:
    • fix: unavailable previous transactions history (#131)
    • fix: transporter.resolve to extend passed options (#130)

7.0.0 (2020-06-01)

  • Impr:

    • impr!: removed eventemitter2 (#128)
  • Fixes:

    • fix!: handling errors on account init (#127)
  • Chore, Docs & Tests:

    • tests: replace browser.js to wallet.js in karma.conf (#126)

6.1.2 (2020-05-22)

  • Fixes:

    • fix: update evonet seeds (#120)
  • Chore, Docs & Tests:

    • tests: added karma and functional browser test (#121)
    • style: removed logger.error & improved error message (#118)

6.1.1 (2020-05-22)

  • Fixes:
    • fix: update evonet seeds (#120)

6.1.0 (2020-04-23)

  • Features:

    • Feat(Transporter): added .getBestBlock / .getBestBlockHeader (#110 )
  • Fixes:

    • Fix : Support for DAPIClient.getUTXO with more than 1000 utxos (#111 )
    • Fix: Empty confirmed balance (#109)
    • Refact: Removed Identity Types + dpp (#114)
    • Fix: Removed palinka, updated seeds (#117)
  • Chore, Docs & Tests:

    • Doc: fixed link and duplicates (#113)
    • Tests: refactorate + fakenet (#115)

6.0.0 (2020-03-10)

  • breaking:

    • Wallet:
      • Wallet({transport}) is now Wallet({transporter}) (#102)
    • Account:
      • account.transport is now account.transporter (#102)
      • account.transport.transport is now account.transporter.client (#102)
      • fetchTransactionInfo() is removed. Use getTransaction() instead. (#102)
      • .getTransactionHistory() removed (#102, 01d5b31)
    • Transporter:
      • new Transporter() is now invalid, use Transporters.resolve(arg) instead. (#102)
    • Storage:
      • Storage cannot be assigned an events anymore (storage.parentEvents now). (#102)
      • ChainWorker:
      • ChainWorker became a ChainPlugin using subscribeToBlock() (#102)
    • misc:
      • all events payload will now be returned under form {type, payload} (#102)
      • all events are now accessed via .on() instead of .events.on() (#102)
      • all events are to be emmited using .emit() instead of .events.emit() (#102)
      • format of transactions internally has changed (returns a proper Dashcore Transaction object) (#102)
      • internal reference to blockheight changed to blockHeight (#102)
      • format of blocks internally has changed (returns a proper Dashcore Block object) (#102)
      • format of utxo internally has changed (returns a proper Dashcore UTXO object) (#102)
  • Feat:

    • Wallet:
      • Sweep paper wallet (#83)
      • Allow to generate a new privateKey (4e120f6)
    • Account:
      • added debug parameters (#102)
      • Added account.getBlockHeader(identifier) method (#102)
      • account.cacheBlockHeaders is now a available option (def: true)
    • Storage:
      • added Storage.importBlockHeader (#102)
      • added Storage.getBlockHeader (#102)
      • added Storage.searchBlockHeader (#102)
    • Transporter:
      • Transporter arg can take devnetName when type is DAPI (connects to palinka instead of evonet). (#102)
      • subscribeToAddressesTransaction() (#102)
      • subscribeToBlocks() (#102)
      • subscribeToBlockHeaders() - temporary for BloomFilters (#102)
    • Workers:
      • Workers support onStart() method. (#102)
    • Plugins:
      • Plugins support onStart() method and send a PLUGIN/pluginName/STARTED event. (#102)
  • Impr:

    • moved from('event') to EventEmitter2 + wildcard support (5241ce1, 4db66d6, d20df76)
  • Fix:

    • KeyChain:
      • .getKeyForPath when SINGLE_ADDRESS mode is now returned as PrivateKey (#102)
    • Account:
      • sequential account index + transporter missing method reporting #103
  • Perf:

    • removed localforage from default adapter. #104
  • Test:

    • Sweep wallet test + integration (ebbd0f8, 6bd24a3)
    • FakeDevnet class (db46b05)

5.0.3 (2020-02-01)

  • Feat:
    • Account:
      • getIdentityHDKey (#99)
  • Fix:
    • typos (#98)