Releases: Cryptonomic/ConseilJS
Releases · Cryptonomic/ConseilJS
ConseilJS 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.
ConseilJS 0.4.1
Breaking Changes
TezosNodeWriter.testContractInvocationOperation
no longer has thederivationPath
argument.TezosConseilClient.getBlockByLevel
now returns a single item, not an array.TCFBakerRegistryHelper.getFees
was renamed togetSimpleStorage
to match other contract interfaces.
New Features
- added
TezosConseilClient.getBigMapData
that allows quick big_map queries against Conseil. - added mempool support with
TezosNodeReader.getMempoolOperation
andTezosNodeReader.getMempoolOperationsForAccount
. - added
CryptonomicNameServiceHelper
. - support for complex bigmap keys.
TezosConseilClient.getBlock
now supports 'head' as ahash
value.
Fixes
- ConseilJS 250
- ConseilJS 256
- Updated documentation.
- Updated dependencies.
Prior releases
Several of the previous releases din't get tagged at the time, see the following references for a list of changes in them. Keep in mind that ConseilJS is a project in progress. While we take steps to make it as consistent as possible, sometimes there are breaking changes between releases. Generally speaking only the most-recent version is supported.
ConseilJS 0.3.4-beta
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.
Sample Code
//babylonnet contract KT1DT9YwHdSbZuVuZDjd1SMUcfXm57R5bE9v
const key = TezosMessageUtils.encodeBigMapKey(Buffer.from(TezosMessageUtils.writePackedData('tz1bwsEWCwSEXdRvnJxvegQZKeX5dj6oKEys', 'address'), 'hex'))
const result = await TezosNodeReader.getValueForBigMapKey(tezosServer, 22, key);
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 containsderivationPath
, in a subsequent release, functions that accept aKeyStore
parameter and aderivationPath
parameter will be modified to take only the former.
ConseilJS 0.3.3-beta
ConseilJS 0.3.3-beta release notes
This release adds a way to estimate contract execution cost and includes a bug fix from a community member!
Breaking Changes
TezosNodeWriter.applyOperation
was renamed toTezosNodeWriter.preapplyOperation
TezosNodeWriter.testOperation
was renamed toTezosNodeWriter.testContractInvocationOperation
and now estimates cost of contract invocationTezosConseilClient.getBlock
now returns a single item, not an arrayTezosConseilClient.getAccount
now returns a single item, not an arrayTezosConseilClient.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 containsderivationPath
, in a subsequent release, functions that accept aKeyStore
parameter and aderivationPath
parameter will be modified to take only the former.