Releases: nervosnetwork/ckb-sdk-ruby
Releases · nervosnetwork/ckb-sdk-ruby
v0.19.0
v0.19.0 (2019-08-27)
Bug Fixes
- dao (06f2b16)
- fix expected_code_hash and add expected_type_hash (bd5af2f)
- update dao code_hash and out_point (3b20b9d)
- using data to calculate capacity (9a9751a)
Features
- add CellDep type (56c1412)
- add compute_script_hash rpc (573c07b)
- add outputs_data to dao (6ade1f8)
- extract data (01b02aa)
- set hash_type manually (07f34f9)
- skip data and type in wallet when get unspent cells (733e692)
- update calculate min capacity (1945c43)
- update OutPoint structure (8698259)
- use dep group (32429fa)
- use type hash (5fa7967)
v0.18.0
v0.17.0
v0.17.0 (2019-07-27)
Features
- add block reward type (32ee77e)
- add dao to block header (1340fb9)
- Add hash type per CKB changes (aa88f93)
- add new apis (75d7a81)
- add new net RPCs:
set_ban
&get_banned_addresses
(3fc160b) - Update address generator as per recent RFC 21 change (2ccf2f4)
- using attr_accessor (8d835e3)
BREAKING CHANGES
- A public key will derive different address from previous implementation.
As the code hash index has been changed from 4 bytes to 1 byte, the first several fixed
characters will become ckt1qyq from ckb1q9gry5zg and be shorter.
v0.16.0
v0.15.0
v0.15.0 (2019-06-29)
Bug Fixes
get_unspent_cells
should return cells of genesis block (a9dee82)
Features
- accept pubkey in
Wallet.new
(c175710) - add alert message and update chain info (d9580e6)
- add indexer RPCs (0fcb2d2)
- add indexer RPCs to API (a868af0)
- add indexer types (fedf9dc)
- add sign_recoverable and use in default (e96a680)
- remove jruby support (f42e369)
- use recoverable signature (bb2838c)
BREAKING CHANGES
- remove jruby support
v0.14.0
v0.13.0
v0.12.2
v0.12.2 (2019-05-21)
Bug Fixes
- update ffi version (b0db2c7)
Features
- allows sending capacity with data (9ffd2f3)
- Take pubkey hash(blake160) instead of pubkey as Address input (3fe2fab)
BREAKING CHANGES
- Address initialize requires blake160 (pubkey hash). Use Address.from_pubkey(pubkey)
to create address for pubkey.
v0.12.1
v0.12.0
0.12.0 (2019-05-18)
Bug Fixes
- fix cell exception (df5a81d)
- fix dao generation bug (91f40ee)
- fix types (aeb03fb)
- fix witnesses_root (fb26eac)
- remove check self in from_h (8758713)
- return if hash.nil? in from_h (28b61cb)
- script test (2838ed8)
Code Refactoring
- rename to system_script_code_hash (036c6bd)
Features
- add
dry_run_transaction
RPC (4501a69) - add
get_epoch_by_number
RPC (51eb43f) - add
get_peers
&tx_pool_info
RPCs (77ec29c) - add
TxPoolInfo
type (0f257a4) - add data setter in
Types::Witness
(4774ead) - add epoch type and add
get_current_epoch
RPC (035d43e) - add peer and address_info types (933da45)
- add state RPCs (2ec5580)
- add types (1347073)
- follow RPCs to set number to string (4891865)
- Generalize OutPoint struct to reference headers (253f96b)
- keep der signature (e54e5d2)
- NervosDAO integration (0f6ec28)
- remove unneeded blake2b hash (fdb1a42)
- Test transaction sign (ab45e04)
- update SDK per lock script changes (29ad6ae)
- update system script cell index to 1 (6c0759f)
- use fixed code_hash and out_point in testnet mode (adb47f4)
- using genesis block first transaction second output as system script (518a124)
- using real tx_hash after sign (373e38a)
BREAKING CHANGES
system_script_cell_hash
=>system_script_code_hash
- trace RPCs are deleted
api.tx_pool_info
returnsTxPoolInfo
instead ofHash
local_node_info
andget_peers
return types instead of HashOutPoint
structure changed