From 27568c247b8cf57feae461025de5a6dd01b4cf25 Mon Sep 17 00:00:00 2001 From: thesimplekid Date: Thu, 11 Jul 2024 13:35:40 +0100 Subject: [PATCH] release: 0.2.0 --- CHANGELOG.md | 9 +++++++-- Cargo.toml | 8 ++++---- bindings/cdk-js/Cargo.toml | 2 +- crates/cdk-cli/Cargo.toml | 2 +- crates/cdk-redb/Cargo.toml | 2 +- crates/cdk-rexie/Cargo.toml | 2 +- crates/cdk-sqlite/Cargo.toml | 2 +- crates/cdk/Cargo.toml | 2 +- 8 files changed, 17 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ca341b358..a679ab821 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,9 +21,14 @@ --> -## [Unreleased] +## [v0.2.0] ### Summary +This release introduces TokenV4, which uses CBOR encoding as the default token format. It also includes fee support for both wallet and mint operations. + +When sending, the sender can choose to include the necessary fee to ensure that the receiver can redeem the full sent amount. If this is not done, the receiver will be responsible for the fee. + +Additionally, this release introduces a Mint binary cdk-mintd that uses the cdk-axum crate as a web server to create a full Cashu mint. When paired with a Lightning backend, currently implemented as Core Lightning, it is included in this release as cdk-cln. ### Changed cdk(wallet): `wallet:receive` will not claim `proofs` from a mint other then the wallet's mint ([thesimplekid]). @@ -52,7 +57,7 @@ cdk: NUT06 deseralize `MintInfo` ([thesimplekid]). ### Summary ### Changed -cdk(wallet): `wallet::total_pending_balance` does not include reserced proofs ([thesimplekid]). +cdk(wallet): `wallet::total_pending_balance` does not include reserved proofs ([thesimplekid]). ### Added diff --git a/Cargo.toml b/Cargo.toml index 279a8d46d..68ed58d22 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,10 +25,10 @@ async-trait = "0.1.74" anyhow = "1" bitcoin = { version = "0.30", default-features = false } # lightning-invoice uses v0.30 bip39 = "2.0" -cdk = { version = "0.1", path = "./crates/cdk", default-features = false } -cdk-rexie = { version = "0.1", path = "./crates/cdk-rexie", default-features = false } -cdk-sqlite = { version = "0.1", path = "./crates/cdk-sqlite", default-features = false } -cdk-redb = { version = "0.1", path = "./crates/cdk-redb", default-features = false } +cdk = { version = "0.2", path = "./crates/cdk", default-features = false } +cdk-rexie = { version = "0.2", path = "./crates/cdk-rexie", default-features = false } +cdk-sqlite = { version = "0.2", path = "./crates/cdk-sqlite", default-features = false } +cdk-redb = { version = "0.2", path = "./crates/cdk-redb", default-features = false } cdk-cln = { version = "0.1", path = "./crates/cdk-cln", default-features = false } cdk-axum = { version = "0.1", path = "./crates/cdk-axum", default-features = false } tokio = { version = "1", default-features = false } diff --git a/bindings/cdk-js/Cargo.toml b/bindings/cdk-js/Cargo.toml index 8490ac86c..416225ad0 100644 --- a/bindings/cdk-js/Cargo.toml +++ b/bindings/cdk-js/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-js" -version = "0.1.0" +version = "0.2.0" edition = "2021" license.workspace = true homepage.workspace = true diff --git a/crates/cdk-cli/Cargo.toml b/crates/cdk-cli/Cargo.toml index eb8d5b7cf..e217888f0 100644 --- a/crates/cdk-cli/Cargo.toml +++ b/crates/cdk-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-cli" -version = "0.1.1" +version = "0.2.0" edition = "2021" authors = ["CDK Developers"] description = "Cashu cli wallet built on CDK" diff --git a/crates/cdk-redb/Cargo.toml b/crates/cdk-redb/Cargo.toml index 9ecbe3006..053294d41 100644 --- a/crates/cdk-redb/Cargo.toml +++ b/crates/cdk-redb/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-redb" -version = "0.1.0" +version = "0.2.0" edition = "2021" authors = ["CDK Developers"] description = "Redb storage backend for CDK" diff --git a/crates/cdk-rexie/Cargo.toml b/crates/cdk-rexie/Cargo.toml index 3d0bd22f1..b1b41dc73 100644 --- a/crates/cdk-rexie/Cargo.toml +++ b/crates/cdk-rexie/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-rexie" -version = "0.1.0" +version = "0.2.0" edition = "2021" authors = ["CDK Developers"] description = "Indexdb storage backend for CDK in the browser" diff --git a/crates/cdk-sqlite/Cargo.toml b/crates/cdk-sqlite/Cargo.toml index bc4b6bf42..51c56c543 100644 --- a/crates/cdk-sqlite/Cargo.toml +++ b/crates/cdk-sqlite/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-sqlite" -version = "0.1.0" +version = "0.2.0" edition = "2021" authors = ["CDK Developers"] description = "Sqlite storage backend for CDK" diff --git a/crates/cdk/Cargo.toml b/crates/cdk/Cargo.toml index e2be5160c..e539eae30 100644 --- a/crates/cdk/Cargo.toml +++ b/crates/cdk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk" -version = "0.1.1" +version = "0.2.0" edition = "2021" authors = ["CDK Developers"] description = "Core Cashu Development Kit library implementing the Cashu protocol"