Skip to content

Latest commit

 

History

History
169 lines (112 loc) · 6.58 KB

CHANGELOG.md

File metadata and controls

169 lines (112 loc) · 6.58 KB

ConseilJS Change Log

5.0.0-beta

The purpose of this release is to split ConseilJS into several parts to minimize the number of direct dependencies. ConseilJS is packaged as three components: ConseilJS-core, ConseilJS-softsigner and ConseilJS-ledgersigner.

Breaking Changes

  • New interfaceces were introduced to support external signing and key storage: KeyStore, Signer.
  • Any function that previously took a required KeyStore-type parameter now also requires a Signer. This includes many changes in TezosNodeWriter, TezosOperationQueue, and the contract wrappers in src/chain/tezos/contracts/.
  • CryptoUtils has moved to ConseilJS-softsigner. This removes dependencies on crypto, libsodium and others.
  • What used to be in src/identity/tezos/ is not split between the ConseilJS-softsigner and ConseilJS-ledgersigner packages.
  • CryptoUtils.simpleHash was moved to TezosMessageUtil.simpleHash, smae with twoByteHex, fromByteHex

New Features

  • added TZIP 0012 (FA2) single-asset token contract interface chain/tezos/contracts/Tzip12ReferenceTokenHelper.

Fixes

  • Michelson parser has several updates that should reduce memory footprint.

0.4.3

New Features

  • Improved operation cost estimation for nested operations, thank you @keefertaylor!
  • Added contract deployment cost estimation, thank you @keefertaylor!

Fixes

  • TezosNodeReader.getMempoolOperationsForAccount no longer throws a JSON parse error.
  • DUP n is now parsed correctly.
  • Ported Map parameter parsing from ConseilJS 5.0.x.

0.4.2

New Features

  • Support for the StakerDao token.
  • Support for the tzBTC token.
  • Added various functions in TezosWalletUtil & CryptoUtils for signing of and verifying signatures on arbitrary text.
  • Added preliminary support for the murbard multi-sig contract.
  • Added TezosConseilClient.getOperation().

Fixes

  • ConseilJS 265
  • ConseilJS 269
  • ConseilJS 270
  • WrapperWrapper.salt & WrapperWrapper.nonce were not loading libsodium correctly.
  • Fixed Michelson parser map, list and bytes handling.
  • Improved entry point parsing.
  • Improved data coming back from TezosNodeReader.getMempoolOperationsForAccount
  • Improved error reporting for account activation.
  • Increased test coverage.

0.4.1

Breaking Changes

  • TezosNodeWriter.testContractInvocationOperation no longer has the derivationPath argument.
  • TezosConseilClient.getBlockByLevel now returns a single item, not an array.
  • TCFBakerRegistryHelper.getFees was renamed to getSimpleStorage to match other contract interfaces.

New Features

  • added TezosConseilClient.getBigMapData that allows quick big_map queries against Conseil.
  • added mempool support with TezosNodeReader.getMempoolOperation and TezosNodeReader.getMempoolOperationsForAccount.
  • added CryptonomicNameServiceHelper.
  • support for complex bigmap keys.
  • TezosConseilClient.getBlock now supports 'head' as a hash value.

Fixes

0.4.0-beta

Breaking Changes

  • Moved chain/tezos/TezosProtocolHelper.ts to /chain/tezos/contracts/BabylonDelegationHelper.
  • TezosConseilClient.getBlockByLevel, TezosConseilClient.getAccount, TezosConseilClient.getOperationGroup now return single items, not arrays of 1.
  • EntryPoint.generateInvocationPair() now returns a tuple with entrypoint and parameters keys.
  • TezosConseilClient.awaitOperationConfirmation now returns a single item, not an array.
  • Removed CryptoUtils.getPasswordStrength() and the related zxcvbn dependency. This functionality should be added by the implementing application.
  • TezosNodeWriter.preapplyOperation(), testContractInvocationOperation() and injectOperation() now parse and report errors.
  • nodejs 12.14 is now a base requirement.

New Features

  • added Tezos Commons Baker Registry interface chain/tezos/contracts/TCFBakerRegistryHelper.
  • added TZIP 0007 (FA1.2) token contract interface chain/tezos/contracts/Tzip7ReferenceTokenHelper.
  • TezosMessageUtil can now pack key_hash value.

Fixes

  • Improved TezosNodeReader.getAccountManagerForBlock.
  • TezosNodeReader.isImplicitAndEmpty and TezosNodeReader.isManagerKeyRevealedForAccount now default to head by reference instead of query.
  • Added TezosNodeReader.getContractStorage.
  • Michelson parser support for D\[UI\]G n, D\[UI\]P n, DROP n.
  • Generally improved Michelson contract parser.
  • Improved TezosContractIntrospector parser.
  • Updated documentation.
  • Reduced and updated dependencies.

0.3.8-beta

  • updated various dependencies, importantly for Ledger device communication

0.3.7

Fixes

  • big_int encoding

0.3.6

Fixes

  • integer encoding issue introduced in 0.3.5-beta

0.3.5-beta

Breaking Changes

  • EntryPoint.generateParameter became EntryPoint.generateInvocationString.

Fixes

  • Improved entry point parser, this functionality is still experimental.
  • Added EntryPoint.generateInvocationPair to produce Protocol 005 style invocation parameters.
  • ConseilPredicate gained a group attribute for or queries.
  • removed base-n dependency.

0.3.4-beta

Fixes

  • basic big_map query support.
  • nodejs 10.17.x is now the minimum requirement.
  • all dependencies are now referenced with explicit versions.

0.3.3-beta

Breaking Changes

  • TezosNodeWriter.applyOperation was renamed to TezosNodeWriter.preapplyOperation
  • TezosNodeWriter.testOperation was renamed to TezosNodeWriter.testContractInvocationOperation and now estimates cost of contract invocation
  • TezosConseilClient.getBlock now returns a single item, not an array
  • TezosConseilClient.getAccount now returns a single item, not an array
  • TezosConseilClient.getOperationGroup now returns a single item, not an array

Fixes

  • custom entry point hex encoding, thanks to @elkesrio

Known issues

  • Michelson lambda parameter encoding is not yet supported
  • Michelson DIG, DUG, EMPTY_BIG_MAP, APPLY, CHAIN_ID operations are not supported

Future Breaking Changes

  • KeyStore now contains derivationPath, in a subsequent release, functions that accept a KeyStore parameter and a derivationPath parameter will be modified to take only the former.