Releases: ckb-js/ckb-sdk-js
Releases · ckb-js/ckb-sdk-js
v0.36.2
v0.36.1
v0.36.0
0.36.0 (2020-09-21)
Code Refactoring
- utils: remove redundant default options in the address module (d74caac)
Features
- core: parse scripts from addresses on generating transactions (#488) (9536f08)
- utils: add system scripts (567f15a)
- utils: add the utils#addressToScript (a78340a)
BREAKING CHANGES
- utils: Remove the utils#defaultAddressOptions
v0.35.0
0.35.0 (2020-08-24)
Bug Fixes
- rpc: fix init parameter type of batch request (2b80f59)
Features
- rpc: remove an RPC (98eb935)
- rpc: update RPCs (#477)
- separate basic RPC by group
- update teh API of rpc#localNodeInfo, rpc#txPoolInfo, and rpc#getPeers
- add new RPCs: rpc#syncState, rpc#clearTxPool, rpc#setNetworkActive, rpc#addNode and rpc#removeNode
- utils: add epoch module (8d6478a)
- utils: set the default address prefix 'ckb' (3134eda)
- utils: use strict validation on address (bb23ce9)
- utils: utils#calculateSerializedTxSizeInBlock is renamed to utils#getTransactionSize (8fbc43a)
- utils: remove utils#toHexInLittleEndian which is deprecated (a028887)
- utils: remove methods related to utf8 string (f9cf9cc)
BREAKING CHANGES
- rpc: remove rpc#getPeersState
- rpc: rpc#getPeers returns connectedDuration, lastPingDuration, protocols, syncState
- rpc: rpc#localNodeInfo returns active, connections, protocols
- utils: utils#calculateSerializedTxSizeInBlock is renamed to utils#getTransactionSize
- utils: Set the default address prefix 'ckb' instead of 'ckt'
- utils: The arg field in params of utils#fullPayloadToAddress is renamed to args
- utils: Remove utils#toHexInLittleEndian which is deprecated
- utils: Remove methods related to utf8 string
v0.34.0
0.34.0 (2020-07-21)
Bug Fixes
- utils: rename the
arg
field in params ofutils#fullPayloadToAddress
toargs
(08dcc0d)
Features
- core: combine
core#loadSecp256k1Dep
andcore#loadDaoDep
intocore#loadDep
(762441e) - core: enhance
ckb#loadCells
to load cells from lumos collector (3152a3c) - core: remove experimental rpc (32c7a0c)
- rpc: enable batch request (#449) (9517cae)
- rpc: remove the
estimateFeeRate
RPC method (819d33f) - utils: add epoch module (8d6478a)
- utils: set the default address prefix
ckb
(3134eda) - utils: use strict validation on address (bb23ce9)
- utils:
utils#calculateSerializedTxSizeInBlock
is renamed toutils#getTransactionSize
(8fbc43a)
BREAKING CHANGES
- rpc: Remove the
estimateFeeRate
RPC method - utils:
utils#calculateSerializedTxSizeInBlock
is renamed toutils#getTransactionSize
- utils: Set the default address prefix
ckb
instead ofckt
- core:
core#loadSecp256k1Dep
andcore#loadDaoDep
are removed, usecore#loadDeps
instead - core:
computeTransactionHash
andcomputeScriptHash
are removed from the rpc list - utils: The
arg
field in params ofutils#fullPayloadToAddress
is renamed toargs