Skip to content

Latest commit

 

History

History
1022 lines (681 loc) · 43.6 KB

CHANGELOG.md

File metadata and controls

1022 lines (681 loc) · 43.6 KB

2.1.1 (2023-03-23)

  • feat: support with_cycles for get_block and get_block_by_number rpc (#623)
  • feat: support packed rpcs (#624)
  • feat: support indexer exact search mod (#627)

🚀 Features

2.1.0 (2022-12-26)

🚀 Features

  • feat: support omnilock script (#590)
  • feat: support building transaction in dev chain (#591)
  • feat: support indexer RPC in ckb (#601)
  • feat: support light client RPC (#602)
  • feat: support offchain cell (#603, 606)
  • feat: support field extra in mercury RPC get_balance (#605)
  • feat: support RPC method estimate_cycles (#608)
  • feat:support rpc method get fee rate statics (#611)
  • feat: guitar Make ckb-indexer can configure which api url to use (#613)

2.0.3 (2022-07-13)

🐛 Bug Fixes

  • fix: fix signer test fixture (#575)
  • fix: fix incorrect index at method encodeFullBech32 (#576)

2.0.2 (2022-06-24)

🚀 Features

  • feat: enhance mercury builder (#570)

2.0.1 (2022-06-16)

🚀 Features

  • feat: make mercury enum public (#566)
  • feat: add more easy-use mercury tool methods (#565)

2.0.0 (2022-06-14)

2.0.0 is a refactored ckb-java-sdk release and brings plenty of BREAKING CHANGES compared with v1.0.* and the earlier releases.

Breaking changes related with user interfaces

  • Type or name change of quite a few fields in RPC type representation.
  • Unified address representation and operation.
  • Transaction signing mechanism by ScriptGroup, ScriptSigner, and TransactionSigner.
  • TransactionBuilder and ScriptHandler for transaction construction by manual.
  • Operation support for most common scripts.
  • Clean some utils classes and unused classes.

Underlying breaking changes that less likely need users' changes

  • Molecule serialization in a code-generated way.
  • Unify type adapter for Gson serialization.
  • More robust test.

Check migration-guide.md for more details.

1.0.0 (2022-03-17)

Breaking Changes

  • feat: Replace Record Id with Outpoint (#534)

0.101.3 (2022-01-21)

🚀 Features

  • feat: support pw lock signature (#525)
  • feat: support mercury get_sync_state RPC API (#522)

0.101.2 (2021-12-16)

🚀 Features

  • feat: add method for legacy address conversion (#514) @fjchen7

🐛 Bug Fixes

  • fix: improve address validation (#515) @fjchen7
  • fix: fix PR labler not permission (#516) @fjchen7

🧰 Maintenance

  • chore: fix release github action (#513) @fjchen7

0.101.1 (2021-12-01)

🚀 Features

  • feat: adopt full address by default (#506) @fjchen7
  • feat: add enum Freeze in extraFilter (#508) @fjchen7
  • feat(mercury): support build_sudt_issue_transaction (#501) @handsome0hell
  • feat(mercury): add build_sudt_issue_transaction test (#502) @rev-chaos

🐛 Bug Fixes

  • fix: replace short address with bech32m full address in test (#511) @fjchen7

🧰 Maintenance

  • chore: label PR based on title (#507) @fjchen7
  • chore: add CICD github actions (#505) @fjchen7

📝 Document

  • docs: update README for default address (#510) @fjchen7

v0.101.1 (2021-12-01)

Feature

  • Support build_sudt_issue_transaction (#501)
  • Add enum Freeze for extra (#508)
  • Adopt full address by default (#501, #511)

Chore

  • Label PR based on title (#508)

v0.101.0-beta.2 (2021-11-17)

Feature

  • Enhance README.md (#490, #494, #497)
  • Add address generation methods (#494, #496)
  • Add timestamp in RPC response (#489)
  • Make ckb-indexer interface compatible (#491)

Breaking Changes

  • Rename build_smart_transfer_transction (#488)
  • Change RPC response structure (#492, #493, #495, #497)

Bugfix

  • Fix key invalidation error (#487)

v0.101.0-beta.1 (2021-11-01)

Features

  • Add new rpc build_dao_claim_transaction, impl by following the RFC withdraw-phase-2 (#483)

Breaking Changes

  • Rename rpc build_deposit_transaction to build_dao_deposit_transaction (#483)
  • Rename rpc build_withdraw_transaction to build_dao_withdraw_transaction (#483)
  • Building tx output support witnesses filling and new signature actions (#481 , #482)
  • When sending a transaction, use passthrough as the default parameter (#479)

v0.100.0-beta.2 (2021-10-13)

Bug Fixes

  • Fix the case that script type data1 is not taken into account during bech32m serialization and deserialization (#473)

v0.100.0-beta.1 (2021-10-10)

Features

  • The field hash_type has a new allowed value data1 but it is only valid after hard fork activation
  • Add support for Bech32m

Breaking Changes

  • The field uncles_hash in header will be renamed to extra_hash for all JSON RPC methods

v0.43.3-beta.4 (2021-10-13)

Bugfix

  • Fix a serialization error in GetTransactionInfoResponse (#474)

v0.43.3-beta.2 (2021-09-27)

Refactor

Bugfix

  • Fix register_address url error (4eba9b2)
  • Fix serialization error in get_spent_transaction(ca4599a)
  • Fix ExtraFilter structure definition problem (f4cc990)
  • Fix Record structure definition problem (532d17)

v0.43.3-beta.1 (2021-09-22)

Features

Breaking Changes

Adjusting build_smart_transfer_transaction (4f2683d)

  • Adjusting query_transactions interface (9d15fed)
  • Adjusting build_transfer_transaction interface (0ce8890)
  • Adjusting build_adjust_account_transaction interface (aa89d7a ca7efe5)
  • Adjusting get_block_info interface(09c3e38)
  • Adjusting get_transaction_info interface (ef6ece4)
  • Adjusting balance interface (ee1f367)
  • remove build_asset_collection_transaction interface (aa89d7a

v0.43.2 (2021-09-03)

Features

BreakingChanges

v0.43.1 (2021-08-01)

Features

  • Relay ckb rpc request through mercury (1504473)
  • Add get_fork_block api (0755910)
  • Add get_block_median_time api (83ca4a9)

Bugfix

Fix the return value of the interface verify_transaction_proof (751f07b)

v0.43.0 (2021-07-25)

Features

  • #415 Support Mercury version 0.1.0-rc2
  • Support CKB version 0.43.0
  • #415 Support ckb-indexer version 0.2.1

v0.42.0 (2021-06-25)

BreakingChanges

  • Remove get_peers_state rpc
  • Remove get_cellbase_output_capacity_details rpc

v0.41.1 (2021-06-12)

Bugfix

  • Fix JDK version 15 to 8

v0.41.0 (2021-06-12)

Feature

v0.40.0 (2021-03-08)

Feature

  • Remove indexer module rpc and disable getcellbase_output_capacity_details rpc(0872f27)

BreakingChanges

  • Remove indexer module rpc
  • Add @Deprecated to get_cellbase_output_capacity_details rpc

v0.39.1 (2021-01-30)

Feature

  • Add sudt example with ckb-indexer(176bfa1)
  • Add acp example with ckb-indexer(c4a2502)

Bugfix

  • Fix WitnessArgs serialization size(bb73a39)

v0.39.0 (2021-01-12)

Feature

v0.38.1 (2020-12-16)

Feature

  • Add anyone_can_pay short address(5585ad1)
  • Add note of indexer rpc deprecated(e6f91a9)

BugFix

  • Update interface RpcCallback public(b3f6b61)

v0.38.0 (2020-11-23)

Bump version to v0.38.0

v0.37.1 (2020-11-10)

Feature

  • Lock bouncycastle version to 1.65 (79b870d)

v0.37.0 (2020-10-29)

Feature

  • Add new rpc (ping_peers, clear_banned_addresses, get_transaction_proof , verify_transaction_proof) (ad83ea7)

Refactor

  • Remove get_cells_by_lock_hash and indexer examples (d70522f)

BreakingChanges

  • Remove get_cells_by_lock_hash rpc
  • Remove indexer and udt examples and new sudt examples will be added in the next release

v0.36.1 (2020-09-22)

BugFix

  • Package ckb-sdk.jar with jdk8

v0.36.0 (2020-09-22)

Feature

  • Add @Deprecated to indexer rpc requests (ef26730)

v0.35.1 (2020-8-26)

Feature

  • Add a ckb-indexer example (0f4eeda)

BugFix

  • Fix transaction fee calculating bug (6bb687e)
  • Fix witnesses updating bug (7873fe4)

v0.35.0 (2020-8-25)

Feature

  • Add sync_state rpc (202fda9)
  • Add tipHash to txPoolInfo(af8c54f)
  • Add set_network_active rpc (bcd2c2b)
  • Add add_node and remove_node rpc (7cd8b9b)
  • Add more fields to node_info and peer (bba542e)
  • Set get_peers_state as deprecated rpc request (d2c4baf)

v0.34.0 (2020-7-21)

Feature

  • Add batch rpc request (e5eef53)
  • Add clearTxPool rpc request(64819d9)
  • Remove estimateFeeRate rpc request (054bd01)
  • Set computeScriptHash and computeTransactionHash as deprecated rpc request (fec42ec)

BugFix

  • Check full address payload length (02a425a)
  • Fix address parse method bug (cf3997b)

BreakingChanges

  • Remove estimateFeeRate rpc request (054bd01)

v0.33.0 (2020-6-22)

Bump version to v0.33.0

v0.32.0 (2020-5-26)

Feature

v0.31.0 (2020-4-17)

Refactor

  • Update cell collector error information (1468d85)

BugFix

  • Update output size calculating method (3e7f6d8)

v0.30.0 (2020-3-23)

Feature

  • Add min_tx_fee to tx_pool_info rpc (d9203d4)
  • Add get_block_economic_state rpc (542dc26)

Refactor

  • Replace test private key with dev chain private key (ad94180)
  • Add fromBlockNumber to collectInputs method (3a66ab5)
  • Refactor epoch parser class and method name (ca45791)

BugFix

v0.29.0 (2020-2-28)

Refactor

  • Remove useless code (a858559)
  • Update transaction fee calculating (004c6e3)

v0.28.0 (2020-2-7)

Bump version to v0.28.0

v0.27.1 (2020-2-3)

Feature

  • Add outputsValidator as parameter to sendTransaction rpc (d6d715e)

BreakingChanges

Add outputsValidator as parameter to sendTransaction rpc which is used to validate the transaction outputs before entering the tx-pool, an optional string parameter (enum: default | passthrough ), null means using default validator, passthrough means skipping outputs validation

v0.27.0 (2020-1-10)

Refactor

  • Reactor cell collector with iterator (a677b92)
  • Adapt examples for new cell collector with iterator (41cc1a8)

v0.26.1 (2020-1-2)

Features

  • Add get_capacity_by_lock_hash rpc (69aea7b)

Docs

  • Add example readme document (2a5bfd3)

BugFix

  • Update transaction builder (20eac75)

v0.26.0 (2019-12-14)

Refactor

v0.26.0-rc2 (2019-12-8)

Feature

  • Implement Nervos DAO deposit (8cedeca)
  • Implement Nervos DAO withdraw (8f330ff)
  • Refactor collectInputs of CellCollector (1c74a03)
  • Add fields of get_cells_by_lock_hash (b44c40a)
  • Add fields of get_live_cells_by_lock_hash (2229dbe)

BugFix

  • Update set_ban params and estimate fee test case (b776c59)

v0.25.0 (2019-11-16)

BugFix

  • Update ckb-sdk build.gradle for packing (d0824ee)

v0.24.9 (2019-11-13)

Feature

  • Impl indexer to collect cells and send transaction (cdbe0a0)

v0.24.8 (2019-11-13)

BugFix

  • Update occupiedCapacity method to convert ckb to shannon(bd00da8)

v0.24.7 (2019-11-12)

Feature

  • Update cell output and script size calculating(b19d201)
  • Update multisig transaction estimating fee(4a084fa)

BugFix

  • Remove useless min capacity(2709d57)

v0.24.6 (2019-11-09)

BugFix

  • Update witnesses signature and update witness initial value(78b2600)
  • Update transaction fee calculating(400a763)

v0.24.5 (2019-11-08)

BugFix

  • Update address parse args length exception(dbf4fe5)

v0.24.2 (2019-11-07)

Feature

  • Add AddressGenerator and AddressParser(dbf4fe5)
  • Update address generator and parser for example(7cdf948)

v0.24.1 (2019-11-06)

Feature

  • Refactor module names(rename core to ckb and add example module)(02ba44a)
  • Split transaction building and signature(cc4fc63)
  • Refactor multisig example to split transaction building and signature(48ac5c5)
  • Update cell collector for transaction fee calculating(b4c720b)

Breaking Change

  • Rename core module to ckb
  • Rename console module to ckb-sdk
  • Create new example module
  • Refactor examples for splitting transaction building and signature
  • Reactor cell collector for transaction fee calculating

v0.24.0 (2019-11-02)

Feature

  • Add estimate_fee_rate rpc(4e633ec)
  • Update transaction example with estimating tx fee(43fe747)
  • Update single sig transaction with new witness(48ac5c5)
  • Impl multi sig address and transaction(9696651)

Breaking Change

Sending transaction with single sig address will be changed because of new witness data structure and new signature logic.

v0.23.2 (2019-10-22)

Bugfix

  • Fix witnesses count error(2163a03)

v0.23.1 (2019-10-22)

Feature

  • Add transaction fee to sendCapacity example(60f2faf)
  • Move exceptions to outside application(52b85e5)
  • Add maven config to build.gradle(61f08ae)

v0.23.0 (2019-10-19)

Feature

  • Impl transaction size and transaction fee calculating(c7285d3)

v0.22.0 (2019-10-05)

Feature

  • Refactor rpc service module(ef7a809)
  • Update script args and witnesses data type(af1f3ae)
  • Update epoch and header structure(2e8a6af)

BREAKING CHANGES

  • header and epoch structures are changed.
  • script args and witnesses are changed.

v0.21.1 (2019-09-25)

Feature

  • Add blockHash and constructor for CellOutputWithOutPoint(fe3a929)
  • Support multiply private keys to sign transaction(1ae3cc6)
  • Support multiply private keys to sign transaction(4efd32c)
  • Update readme about capacity transfer(d09587a)

v0.21.0 (2019-09-21)

Feature

  • Add getBalance method and example usage(a915e66)
  • Update header and nodeinfo data type to string(3f38f1)
  • Update transaction parameter to hex string(1847c7d)
  • Update integer to hex string for jsonrpc(f93b5bd)
  • Update transaction generator and serializer data type to integer(96709a5)
  • Remove hash for sendTransaction(9718b79)
  • Update get_live_cell request parameters and response(25227d9)
  • Update get_live_cell request parameters and response(d88ded8)

Bugfix

  • Fix gradle config of junit5(603dab7)
  • Fix some test cases can't be executed(1c8c32c)

v0.20.0 (2019-09-07)

This version SDK supports computing script hash and transaction hash offline through script and transaction serialization.

Feature

  • Move wallet to core module(1bd1050)
  • Implement serialization schema (195a234)
  • Implement serialization schema (2d55ea0)
  • Implement serialization schema (384d555)
  • Implement serialization schema (9433c56)
  • Add serialization for script and transaction (2aaa141)
  • Refactor secp256k1 sign and key method (f8d48c2)

v0.19.1 (2019-09-02)

Bugfix

v0.19.0 (2019-08-28)

Feature

  • Update transaction related data type(e36173d)
  • Update transaction related data type(e5bbf46)
  • Update transaction related data type(1087071)
  • Remove epoch_reward of Epoch(ce2cdbb)
  • Update genesis block system cell and code hash(4a81810)
  • Update genesis block system cell and code hash(3cb10bb)
  • Add compute lock hash rpc(3cb10bb)

Bugfix

  • Fix transaction witness bug(77b7f67)

Test

  • Refactor wallet and sendCapacity test cases(05428e0)

Breaking Changes

  • Remove header seal and add nonce to header
  • Update script hash generator
  • Update genesis block system cell and code hash
  • Remove cell_output data and add outputs_data to transaction
  • Remove epoch_reward of epoch
  • Update cell dep(cell_dep and header_dep)

v0.18.0 (2019-08-10)

  • Update to support CKB v0.18.0.

v0.17.0 (2019-07-27)

Feature

  • Add hash_type to Script (6c84642)
  • Update address format generator according recent RFC (cd93318)
  • Add get_cellbase_output_capacity_details rpc (4d15c22)
  • Add get_header and get_header_by_number rpcs (52663f0)
  • Add set_ban and get_banned_address rpcs (ea424e5)

Bugfix

  • Fix bech32 covertBits with any length parameter (217897f)

v0.16.0 (2019-07-13)

  • Update to support CKB v0.16.0.

v0.15.0 (2019-06-29)

Features

  • Add index related rpc (b77194c)
  • Update get_blockchain_info rpc (80dbfe2)
  • Use signRecoverable method to sign transaction (e004f98)

v0.14.0 (2019-06-15)

Features

  • Add sign method for transaction (8b66b05)
  • Remove args from CellInput (ce55fc3)

v0.13.0 (2019-06-01)

Features

  • Update tx_pool_info response data type (beb4488)

BugFix

  • Add non-parameter constructor to witness (6da731e)

v0.12.0 (2019-05-18)

Features

  • Add example of sending capacity (8f25ae7)

  • Generalize OutPoint struct to reference headers (3bc8146)

  • Implement get_current_epoch RPC method (a74ad7d)

  • Implement get_epoch_by_number RPC method (88723c3)

  • Implement get_peers RPC method (2583cb8)

  • Implement State RPC methods (e461a3f)

  • Secp256k1: Implement ECDSA sign (d41b683)

  • Remove always success script (f39a106)

  • Implement tx_pool_info RPC method (fee7130)

  • Implement dry_run_transaction RPC method (b8b48f6)

  • Implement compute_transaction_hash RPC method (3edcb9c)

  • Rename proposalsRoot to proposalsHash (4e55ef9)

  • Update the parameter of OutPoint (7eeebad)

  • Remove trace RPC methods (be29cac)

  • Add Prerequisites and Installation and Usage for README (931f1af)

Bug Fixes

  • Update transaction version data type to string

BREAKING CHANGES

  • Trace RPC methods are removed.

v0.11.0 (2019-05-14)

Features

  • Implement get_block_by_number rpc and add more rpc test cases
  • Update transaction data structure
  • Update CellInput data structure

Bug Fixes

  • Update proposals to string list
  • Update CellOutputWithOutPoint lock string to script

Document

  • Add development to README

v0.10.0 (2019-05-06)

Bug Fixes

  • Change capacity in RPC interface data type to string (88723c3)
  • Add valid since to cell input (b4758e1)

v0.9.0 (2019-4-22)

Features

BREAKING CHANGES

  • Update Cell and Script data type (005b181)
  • Delete cellbase and cellbase_id fileds (378b58e)
  • Delete signature and wallet logic (fe2cc84)

v0.8.0 (2019-4-8)

Features

  • Adapt CKB v0.8.0

v0.7.0 (2019-03-25)

Features

  • rpc: implement trace rpc trace_transaction and get_transaction_trace (dc56e9)

BREAKING CHANGES

  • Repalce SHA3 with Blake2b.
  • Remove bitcoin_unblock.rb.

v0.6.0 (2019-02-25)

Refactor

  • rename PRC request localNodeInfo (9ae422)
  • rename RPC response model CellInput and CellOutput (080378)

Features

  • support asw account and transfer (46b1ca)

v0.5.0 (2019-02-11)

Refactor

  • update response model to ckb prefix (316313e)

Features

  • add script model and calculate type hash (c3ddb81)