Releases: ckb-js/ckb-sdk-js
Releases · ckb-js/ckb-sdk-js
v0.25.0-alpha.0
0.25.0-alpha.0 (2019-11-12)
Features
- core: add generateDaoDepositTx method (27a31f6)
- core: add the method of generateDaoWithdrawStartTx (ff2163f)
- core: add the method of generateDaoWithdrawTransaction (a375abd)
- core: add the method to load dao deps (75e5ca7)
- core: allow cell capacity threshold in generateRawTransaction method (ebbe448)
- rpc: add an rpc method of calculateDaoMaximumWithdraw (f4cd7e7)
- utils: add address and address payload validators (d44effb)
- utils: add assertToBeHexStringOrBigint method for validation (6b16507)
- utils: add parseEpoch method (c29aca6)
v0.24.2
v0.24.1
v0.24.0
v0.23.1
v0.23.0
0.23.0 (2019-10-19)
Features
- address: add support to addresses in full version format (a385821)
- core: add transaction builder for signing transactions with multiple private keys (d5d69c0)
- core: remove address module (#369) (e467427)
BREAKING CHANGES
-
core: remove address module and add key pair module
- ci: add codecov config for a tolerant threshold
- feat(utils): add some util methods for getting public keys and addresses from private keys
- add a method of core.utils.privateKeytoPublicKey
- add a method of core.utils.privateKeyToAddress
-
core: KeyPair from the core module
- fix(core): fix the lock script in the sending transactions example
-
address: rename an parameter in bech32Address method from codeHash to codeHashOrCodeHashIndex
v0.22.1
v0.22.0
0.22.0 (2019-10-05)
Features
- address: enable address to load cells and generate signed transactions (2e5803c)
- cli: deprive this repo of the ckb-cli (2befcff)
- core: move the address module into the core module (10dd017)
- rpc: update rpc signatures (201901d)
- rpc: use bigint instead of number in the interfaces of rpc methods (c8d994b)
- type: update the fields of BlockHeader (55de626)
- type: update the result of getCellsByLockHash method (31eb97e)
- type: update the structure of Epoch (76770f4)
- type: update the type of args (09d649a)
- type: update the type of witness (71f53b0)
- utils: update the interface of utils.parseAddress (90feb91)
BREAKING CHANGES
- type: replace difficulty with compactTarget in Epoch
- type:
1. remove unclesCount
2. merge witnessesRoot and transactionRoot
3. replace difficulty with compactTarget - type: change the type of args from string[] to string
- type: change the type of witnes from { data: string[] } to string
- rpc: use bigint instead of number in the interfaces of rpc methods
- utils: remove the prefix from the parameter list of utils.parseAddress
- core: move the address module into the core module
- type: update the result of getCellsByLockHash method
v0.21.1
v0.21.0
0.21.0 (2019-09-21)
Code Refactoring
- address rename public key identifier to publicKeyHash (b33c096)
Features
- rpc: format the outputs of the params formatter (740b403)
- rpc: update the interface of getLiveCell (0280d7f)
- utils: format the outputs of the utils module (a30071c)
BREAKING CHANGES
- rpc: update the interface of getLiveCell
- address rename public key identifier to publicKeyHash
- rpc: hexilize the outputs of the params formatter
- utils: hexilize the outputs of the utils module