From aaa22d568434ea35221d71b0a86be61dcf25f381 Mon Sep 17 00:00:00 2001 From: Liu Chuankai Date: Fri, 16 Sep 2022 17:58:38 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20bump=20up=20to=20v2.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 10 ++++++++++ Cargo.toml | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7463db83..7d4453a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +# 2.1.0 +* Support omni-lock supply mode +* Use anyhow::Error to replace Box +* **breaking change**: Use hash instead pubkey directly when create `Identity` and `OmniLockConfig`: + - From `Identity::new_pubkey_hash(pubkey: &Pubkey)` to `Identity::new_pubkey_hash(pubkey_hash: H160)` + - From `Identity::new_ethereum(pubkey: &Pubkey)` to `Identity::new_ethereum(pubkey_hash: H160)` + - From `OmniLockConfig::new_pubkey_hash(pubkey: &Pubkey)` to `OmniLockConfig::new_pubkey_hash(lock_arg: H160)` + - Remove `OmniLockConfig::new_pubkey_hash_with_lockarg(lock_arg: H160)` + - From `OmniLockConfig::new_ethereum(pubkey: &Pubkey)` to `new_ethereum(pubkey_hash: H160)` + # 2.0.0 * Add omni-lock support diff --git a/Cargo.toml b/Cargo.toml index 93194c02..2c33c5c5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ckb-sdk" -version = "2.0.0" +version = "2.1.0" authors = ["Linfeng Qian ", "Nervos Core Dev "] edition = "2018" license = "MIT"