Skip to content

Latest commit

Β 

History

History
381 lines (263 loc) Β· 17.4 KB

CHANGELOG.md

File metadata and controls

381 lines (263 loc) Β· 17.4 KB

2.2.0 (2023-03-26)

What's Changed

  • chore: format code by @shaojunda in #192
  • Fix: last elem in offchancell skipped by @code-monad in #193
  • fix: TransactionWithStatus Marshal/UnMarshal with rejected/unknown tx by @shaojunda in #195
  • fix: consume off chain cell bug by @shaojunda in #196
  • updates for ckb-light-client rpc by @code-monad in #198
  • chore: using mocking to test lightclient by @code-monad in #199
  • feat: adding support for get block rpcs with_cycles and verbosity0 version by @code-monad in #200
  • feat: support indexer search mode in SearchKey by @code-monad in #202

Full Changelog: https://github.com/nervosnetwork/ckb-sdk-go/compare/v2.1.1...v2.2.0

2.1.1 (2023-01-09)

What's Changed

  • Supporting nil target in GetFeeRateStatics by @code-monad in #186
  • chore: format code by @shaojunda in #188
  • chore: update script generation statement on README by @shaojunda in #187
  • Fix indexer search key filter json encode error by @code-monad in #190

Full Changelog: https://github.com/nervosnetwork/ckb-sdk-go/compare/v2.1.0...v2.1.1

2.1.0 (2022-12-26)

What's Changed

Repository change

branch v2 is now default branch, and all developer should use github.com/nervosnetwork/ckb-sdk-go/v2 instead of github.com/nervosnetwork/ckb-sdk-go.

A quick migration command is:

find . -type f -name '*.go' \
       -exec \
       sed -i -e 's,github.com/nervosnetwork/ckb-sdk-go,github.com/nervosnetwork/ckb-sdk-go/v2,g' {} \;

πŸš€ Features

  • feat: refactor SystemScriptCell by @fjchen7 in #156
  • feat: refactor utility function and reorganize package by @fjchen7 in #158
  • feat: support mercury RPC get_balance extra by @fjchen7 in #167
  • feat: support light client RPC by @fjchen7 in #169
  • feat: support omnilock by @fjchen7 in #170
  • Add RPC method EstimateCycles by @fjchen7 in #174
  • feat: Support using OffChain Cell to build tx by @code-monad in #177
  • feat: support RPC: get_fee_rate_statics by @code-monad in #180
  • feat: upgrade get_transaction to be compatible with ckb 0.106 by @code-monad in #181

🧰 Maintenance

  • fix: support indexer RPC in ckb node by @fjchen7 in #163
  • chore: add case for getting rejected tx by @fjchen7 in #176
  • chore: updates doc/examples about CKB-Indexer RPC by @code-monad in #179

New Contributors

  • @code-monad made their first contribution in #177

Full Changelog: https://github.com/nervosnetwork/ckb-sdk-go/compare/v2.0.1...v2.0.3

2.0.1 (2022-09-05)

πŸš€ Features

  • feat: implement transaction builder and script handlers mechanism (#149)
  • feat: adopt molecule generator (#150)

🧰 Maintenance

  • fix: update indexer missing fields (#147)
  • chore: clean deprecated payment example (#151)
  • chore: add RPC test (#152)

2.0.0 (2022-07-18)

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

Breaking changes related to 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.
  • Clean some utils classes and unused classes.

For migration from earlier release please refer to migration doc.

Related PRs

1.0.4

πŸš€ Features

  • feat: check address strictly (#133)
  • feat: Change GenerateSecp256k1MultisigScript parameter (#134)

🧰 Maintenance

  • chore: run test on PR (#135)

1.0.3

πŸš€ Features

  • Update Golang to 1.17 (#128)
  • feat: append outer witness for multisig (#129)

1.0.2

πŸš€ Features

  • feat: add type FullBech32m for parsedAddress (#126)

1.0.1

Breaking Changes

  • feat: change method signature (#121)
  • feat: refactor method to create old full address (#123)

0.101.6

πŸ› Bug Fixes

  • fix: support variable lock script length (#117)

πŸš€ Features

  • feat: support dao compensation calculation (#116)

0.101.5

πŸš€ Features

  • Support new mode and get_account_info RPC (#114)

0.101.4

πŸš€ Features

  • feat: support mercury get_sync_state RPC API (#111)
  • feat: Support pw lock signature (#112)

0.101.3

πŸ› Bug Fixes

  • fix: fix unmarshall error in (#109)

v0.101.2 (2021-12-04)

Fix

  • generate default address with bech32m format (#106)
  • Remove uncessary print in address parsing (#103)

v0.101.1 (2021-12-01)

πŸš€ Features

  • feat: adopt full address by default (#98, #106)
  • feat: add enum Freeze in extraFilter (#95)
  • feat(mercury): support build_sudt_issue_transaction (#97)
  • feat: Add method to convert public key to address (#100)

πŸ“ Document

  • docs: update README for default address (#101)

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

Feature

  • Add timestamp in RPC response (#90)

Breaking Changes

  • Rename build_smart_transfer_transction to build_simple_transfer_transaction (#89)
  • Change RPC response structure (#92)

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

Breaking Changes

  • Adapt new signature data structure (#85)
  • dao APIS rename (#86)
  • Change type of epochNumber (#87)

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 (#82)

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.1 (2021-09-27)

Features

  • Add get_db_info api (#64)
  • Add get_mercury_info api (#65)
  • Add get_spent_transaction support (#68)
  • Add dao support (#74)

Breaking Changes

  • Adjusting build_smart_transfer_transaction api (#75)
  • Adjusting query_transactions api (#70 #73 #77)
  • Adjusting build_transfer_transaction api (#72)
  • Adjusting build_adjust_account_transaction api (#78)
  • Adjusting get_block_info api(#67)
  • Adjusting get_transaction_info api (#66)
  • Adjusting balance api (#63)
  • remove build_asset_collection_transaction api

v0.43.2 (2021-09-10)

Features

  • Add build_smart_transfer_transaction api (9ad61d3)

BreakingChanges

  • The uniform unit is shannon (c1492d4)

  • Adjusting the build_asset_account_creation_transaction interface (de4be38)

  • Adjusting the get_generic_transaction interface (91ba601)

  • Adjusting the get_generic_block interface (3c4ffbc)

  • Adjusting the get_balance interface (361e7f0)

v0.43.2-rc.1 (2021-08-06)

Bug Fixes

  • Fix capacity overflow on payment (98aff7e)

v0.43.1 (2021-08-01)

Features

v0.43.0 (2021-07-25)

Features

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

v0.42.0 (2021-06-25)

BreakingChanges

  • Remove get_cellbase_output_capacity_details rpc

Bug Fixes

  • Fix the locked field of the Balance struct to Locked

v0.41.0 (2021-06-21)

Features

  • Implement Mercury SDK (2b29782)
  • SDK version follows CKB version

v0.3.0 (2021-03-11)

Bug Fixes

Features

  • add cheque cell args generation function (a4d6f63)
  • add claim cheque payment (5579e55)
  • add claim cheques unsigned tx builder (065848d)
  • add GetBlockEconomicState (0edae6a)
  • add IsChequeCell function (8af982e)
  • add IssuingChequeUnsignedTxBuilder (76c964d)
  • add OutputsCapacity method to transaction (5702cd0)
  • add ReceiverInfo (d99b073)
  • add searchLimit const (03398d7)
  • add sign issue cheque tx method (0ccf34c)
  • add since generator (69a83c4)
  • add sudt payment (4938ff8)
  • add udt live cell collector (73b7898)
  • add UnsignedTxBuilder interface (1c5588e)
  • add ValidateChequeAddress function (a8621ff)
  • add withdraw cheque payment (611b7d3)
  • hash witnesses which do not in any input group (e3a293f)
  • implement generate unsigned issuing cheque tx (d2d09d7)
  • more set function on SystemScript (129dec1)
  • remove get_cells_by_lock_hash RPC and RPCs under indexer module (fc920d4)
  • support custom SystemScripts (f851553)
  • support filter on ckb-indexer searchKey (aebf2f7)

BREAKING CHANGES

  • Remove RPCs under indexer module
  • need send a SystemScripts to GenerateTx method manually

v0.2.1 (2020-11-25)

Features

  • #13: expose GenerateFullPayloadAddress function

v0.2.0 (2020-11-25)

Bug Fixes

  • #5: fix nil pointer dereference on toCellWithStatus function
  • #7: fix tx fee calculation bug

Features

  • #6: support ckb indexer
  • #8: support ckb indexer on payment
  • #9: add OccupiedCapacity function
  • #10: support generate and parse short acp address