From 7b7def17ee440699d26b0b2c04b066be44b338b3 Mon Sep 17 00:00:00 2001 From: thesimplekid Date: Thu, 13 Feb 2025 10:44:06 +0000 Subject: [PATCH] chore: release v0.7.1 --- CHANGELOG.md | 13 +++++++++++++ crates/cashu/Cargo.toml | 2 +- crates/cdk-axum/Cargo.toml | 4 ++-- crates/cdk-cli/Cargo.toml | 8 ++++---- crates/cdk-cln/Cargo.toml | 4 ++-- crates/cdk-common/Cargo.toml | 4 ++-- crates/cdk-fake-wallet/Cargo.toml | 4 ++-- crates/cdk-lnbits/Cargo.toml | 4 ++-- crates/cdk-lnd/Cargo.toml | 4 ++-- crates/cdk-mint-rpc/Cargo.toml | 4 ++-- crates/cdk-mintd/Cargo.toml | 24 ++++++++++++------------ crates/cdk-phoenixd/Cargo.toml | 4 ++-- crates/cdk-redb/Cargo.toml | 4 ++-- crates/cdk-rexie/Cargo.toml | 4 ++-- crates/cdk-sqlite/Cargo.toml | 4 ++-- crates/cdk-strike/Cargo.toml | 4 ++-- crates/cdk/Cargo.toml | 4 ++-- 17 files changed, 56 insertions(+), 43 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 91218738..d532b360 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,19 @@ #[Unrelased] +#[v0.7.1] +### Changed +- cdk: Debug print of `Id` is hex ([thesimplekid]). +- cdk: Debug print of mint secret is the hash [(thesimplekid)]. +- cdk: Use check_incoming payment on attempted mint or check mint qutoe ([thesimplekid]). + +### Added +- cdk: Mint builder add ability to set custom derivation paths [(thesimplekid)]. + +### Fixed +- cdk-cln: return error on stream error [(thesimplekid)]. + + #[v0.7.0] ### Changed * Moved db traits to `cdk-common` ([crodas]). diff --git a/crates/cashu/Cargo.toml b/crates/cashu/Cargo.toml index 13bbe135..be491cb9 100644 --- a/crates/cashu/Cargo.toml +++ b/crates/cashu/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cashu" -version = "0.7.0" +version = "0.7.1" edition = "2021" authors = ["CDK Developers"] description = "Cashu shared types and crypto utilities, used as the foundation for the CDK and their crates" diff --git a/crates/cdk-axum/Cargo.toml b/crates/cdk-axum/Cargo.toml index 516ed527..0240bafe 100644 --- a/crates/cdk-axum/Cargo.toml +++ b/crates/cdk-axum/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-axum" -version = "0.7.0" +version = "0.7.1" edition = "2021" license = "MIT" homepage = "https://github.com/cashubtc/cdk" @@ -12,7 +12,7 @@ description = "Cashu CDK axum webserver" anyhow = "1" async-trait = "0.1.83" axum = { version = "0.6.20", features = ["ws"] } -cdk = { path = "../cdk", version = "0.7.0", default-features = false, features = [ +cdk = { path = "../cdk", version = "0.7.1", default-features = false, features = [ "mint", ] } tokio = { version = "1", default-features = false, features = ["io-util"] } diff --git a/crates/cdk-cli/Cargo.toml b/crates/cdk-cli/Cargo.toml index 2b3f2e4e..e3d649b8 100644 --- a/crates/cdk-cli/Cargo.toml +++ b/crates/cdk-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-cli" -version = "0.7.0" +version = "0.7.1" edition = "2021" authors = ["CDK Developers"] description = "Cashu cli wallet built on CDK" @@ -14,9 +14,9 @@ rust-version = "1.63.0" # MSRV [dependencies] anyhow = "1" bip39 = { version = "2.0", features = ["rand"] } -cdk = { path = "../cdk", version = "0.7.0", default-features = false, features = ["wallet"]} -cdk-redb = { path = "../cdk-redb", version = "0.7.0", default-features = false, features = ["wallet"] } -cdk-sqlite = { path = "../cdk-sqlite", version = "0.7.0", default-features = false, features = ["wallet"] } +cdk = { path = "../cdk", version = "0.7.1", default-features = false, features = ["wallet"]} +cdk-redb = { path = "../cdk-redb", version = "0.7.1", default-features = false, features = ["wallet"] } +cdk-sqlite = { path = "../cdk-sqlite", version = "0.7.1", default-features = false, features = ["wallet"] } clap = { version = "~4.0.32", features = ["derive"] } serde = { version = "1", default-features = false, features = ["derive"] } serde_json = "1" diff --git a/crates/cdk-cln/Cargo.toml b/crates/cdk-cln/Cargo.toml index 76b0d75f..99574973 100644 --- a/crates/cdk-cln/Cargo.toml +++ b/crates/cdk-cln/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-cln" -version = "0.7.0" +version = "0.7.1" edition = "2021" authors = ["CDK Developers"] license = "MIT" @@ -12,7 +12,7 @@ description = "CDK ln backend for cln" [dependencies] async-trait = "0.1" bitcoin = { version = "0.32.2", default-features = false } -cdk = { path = "../cdk", version = "0.7.0", default-features = false, features = ["mint"] } +cdk = { path = "../cdk", version = "0.7.1", default-features = false, features = ["mint"] } cln-rpc = "0.3.0" futures = { version = "0.3.28", default-features = false } tokio = { version = "1", default-features = false } diff --git a/crates/cdk-common/Cargo.toml b/crates/cdk-common/Cargo.toml index 5f70199b..8d797214 100644 --- a/crates/cdk-common/Cargo.toml +++ b/crates/cdk-common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-common" -version = "0.7.0" +version = "0.7.1" edition = "2021" authors = ["CDK Developers"] description = "CDK common types and traits" @@ -24,7 +24,7 @@ bitcoin = { version = "0.32.2", features = [ "rand", "rand-std", ] } -cashu = { path = "../cashu", default-features = false, version = "0.7.0" } +cashu = { path = "../cashu", default-features = false, version = "0.7.1" } cbor-diag = "0.1.12" ciborium = { version = "0.2.2", default-features = false, features = ["std"] } serde = { version = "1", features = ["derive"] } diff --git a/crates/cdk-fake-wallet/Cargo.toml b/crates/cdk-fake-wallet/Cargo.toml index 823dd524..884d39e5 100644 --- a/crates/cdk-fake-wallet/Cargo.toml +++ b/crates/cdk-fake-wallet/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-fake-wallet" -version = "0.7.0" +version = "0.7.1" edition = "2021" authors = ["CDK Developers"] license = "MIT" @@ -12,7 +12,7 @@ description = "CDK fake ln backend" [dependencies] async-trait = "0.1.74" bitcoin = { version = "0.32.2", default-features = false } -cdk = { path = "../cdk", version = "0.7.0", default-features = false, features = ["mint"] } +cdk = { path = "../cdk", version = "0.7.1", default-features = false, features = ["mint"] } futures = { version = "0.3.28", default-features = false } tokio = { version = "1", default-features = false } tokio-util = { version = "0.7.11", default-features = false } diff --git a/crates/cdk-lnbits/Cargo.toml b/crates/cdk-lnbits/Cargo.toml index 817d3029..e482e34a 100644 --- a/crates/cdk-lnbits/Cargo.toml +++ b/crates/cdk-lnbits/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-lnbits" -version = "0.7.0" +version = "0.7.1" edition = "2021" authors = ["CDK Developers"] license = "MIT" @@ -14,7 +14,7 @@ async-trait = "0.1" anyhow = "1" axum = "0.6.20" bitcoin = { version = "0.32.2", default-features = false } -cdk = { path = "../cdk", version = "0.7.0", default-features = false, features = ["mint"] } +cdk = { path = "../cdk", version = "0.7.1", default-features = false, features = ["mint"] } futures = { version = "0.3.28", default-features = false } tokio = { version = "1", default-features = false } tokio-util = { version = "0.7.11", default-features = false } diff --git a/crates/cdk-lnd/Cargo.toml b/crates/cdk-lnd/Cargo.toml index 969e6225..67899e31 100644 --- a/crates/cdk-lnd/Cargo.toml +++ b/crates/cdk-lnd/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-lnd" -version = "0.7.0" +version = "0.7.1" edition = "2021" authors = ["CDK Developers"] license = "MIT" @@ -11,7 +11,7 @@ description = "CDK ln backend for lnd" [dependencies] async-trait = "0.1" anyhow = "1" -cdk = { path = "../cdk", version= "0.7.0", default-features = false, features = ["mint"] } +cdk = { path = "../cdk", version= "0.7.1", default-features = false, features = ["mint"] } fedimint-tonic-lnd = "0.2.0" futures = { version = "0.3.28", default-features = false } tokio = { version = "1", default-features = false } diff --git a/crates/cdk-mint-rpc/Cargo.toml b/crates/cdk-mint-rpc/Cargo.toml index 18e87caf..db9f07f3 100644 --- a/crates/cdk-mint-rpc/Cargo.toml +++ b/crates/cdk-mint-rpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-mint-rpc" -version = "0.7.0" +version = "0.7.1" edition = "2021" authors = ["CDK Developers"] description = "CDK mintd mint managment RPC client and server" @@ -15,7 +15,7 @@ path = "src/bin/mint_rpc_cli.rs" [dependencies] anyhow = "1" -cdk = { path = "../cdk", version = "0.7.0", default-features = false, features = [ +cdk = { path = "../cdk", version = "0.7.1", default-features = false, features = [ "mint", ] } clap = { version = "~4.0.32", features = ["derive"] } diff --git a/crates/cdk-mintd/Cargo.toml b/crates/cdk-mintd/Cargo.toml index f3718b8f..a438e4c2 100644 --- a/crates/cdk-mintd/Cargo.toml +++ b/crates/cdk-mintd/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-mintd" -version = "0.7.0" +version = "0.7.1" edition = "2021" authors = ["CDK Developers"] license = "MIT" @@ -17,23 +17,23 @@ management-rpc = ["cdk-mint-rpc"] [dependencies] anyhow = "1" axum = "0.6.20" -cdk = { path = "../cdk", version = "0.7.0", default-features = false, features = [ +cdk = { path = "../cdk", version = "0.7.1", default-features = false, features = [ "mint", ] } -cdk-redb = { path = "../cdk-redb", version = "0.7.0", default-features = false, features = [ +cdk-redb = { path = "../cdk-redb", version = "0.7.1", default-features = false, features = [ "mint", ] } -cdk-sqlite = { path = "../cdk-sqlite", version = "0.7.0", default-features = false, features = [ +cdk-sqlite = { path = "../cdk-sqlite", version = "0.7.1", default-features = false, features = [ "mint", ] } -cdk-cln = { path = "../cdk-cln", version = "0.7.0", default-features = false } -cdk-lnbits = { path = "../cdk-lnbits", version = "0.7.0", default-features = false } -cdk-phoenixd = { path = "../cdk-phoenixd", version = "0.7.0", default-features = false } -cdk-lnd = { path = "../cdk-lnd", version = "0.7.0", default-features = false } -cdk-fake-wallet = { path = "../cdk-fake-wallet", version = "0.7.0", default-features = false } -cdk-strike = { path = "../cdk-strike", version = "0.7.0" } -cdk-axum = { path = "../cdk-axum", version = "0.7.0", default-features = false } -cdk-mint-rpc = { path = "../cdk-mint-rpc", version = "0.7.0", default-features = false, optional = true } +cdk-cln = { path = "../cdk-cln", version = "0.7.1", default-features = false } +cdk-lnbits = { path = "../cdk-lnbits", version = "0.7.1", default-features = false } +cdk-phoenixd = { path = "../cdk-phoenixd", version = "0.7.1", default-features = false } +cdk-lnd = { path = "../cdk-lnd", version = "0.7.1", default-features = false } +cdk-fake-wallet = { path = "../cdk-fake-wallet", version = "0.7.1", default-features = false } +cdk-strike = { path = "../cdk-strike", version = "0.7.1" } +cdk-axum = { path = "../cdk-axum", version = "0.7.1", default-features = false } +cdk-mint-rpc = { path = "../cdk-mint-rpc", version = "0.7.1", default-features = false, optional = true } config = { version = "0.13.3", features = ["toml"] } clap = { version = "~4.0.32", features = ["derive"] } bitcoin = { version = "0.32.2", features = [ diff --git a/crates/cdk-phoenixd/Cargo.toml b/crates/cdk-phoenixd/Cargo.toml index bd1542ab..ddb4351c 100644 --- a/crates/cdk-phoenixd/Cargo.toml +++ b/crates/cdk-phoenixd/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-phoenixd" -version = "0.7.0" +version = "0.7.1" edition = "2021" authors = ["CDK Developers"] license = "MIT" @@ -14,7 +14,7 @@ async-trait = "0.1" anyhow = "1" axum = "0.6.20" bitcoin = { version = "0.32.2", default-features = false } -cdk = { path = "../cdk", version = "0.7.0", default-features = false, features = ["mint"] } +cdk = { path = "../cdk", version = "0.7.1", default-features = false, features = ["mint"] } futures = { version = "0.3.28", default-features = false } tokio = { version = "1", default-features = false } tokio-util = { version = "0.7.11", default-features = false } diff --git a/crates/cdk-redb/Cargo.toml b/crates/cdk-redb/Cargo.toml index 2ff431e1..ce39c59d 100644 --- a/crates/cdk-redb/Cargo.toml +++ b/crates/cdk-redb/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-redb" -version = "0.7.0" +version = "0.7.1" edition = "2021" authors = ["CDK Developers"] description = "Redb storage backend for CDK" @@ -17,7 +17,7 @@ wallet = [] [dependencies] async-trait = "0.1" -cdk-common = { path = "../cdk-common", version = "0.7.0" } +cdk-common = { path = "../cdk-common", version = "0.7.1" } redb = "2.2.0" thiserror = "1" tracing = { version = "0.1", default-features = false, features = [ diff --git a/crates/cdk-rexie/Cargo.toml b/crates/cdk-rexie/Cargo.toml index 88938c67..71a0ddc5 100644 --- a/crates/cdk-rexie/Cargo.toml +++ b/crates/cdk-rexie/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-rexie" -version = "0.7.0" +version = "0.7.1" edition = "2021" authors = ["CDK Developers"] description = "Indexdb storage backend for CDK in the browser" @@ -16,7 +16,7 @@ wallet = ["cdk/wallet"] [dependencies] rexie = "0.6.0" -cdk = { path = "../cdk", version = "0.7.0", default-features = false } +cdk = { path = "../cdk", version = "0.7.1", default-features = false } async-trait = "0.1.74" tokio = { version = "1", default-features = false } serde = { version = "1", default-features = false, features = ["derive"] } diff --git a/crates/cdk-sqlite/Cargo.toml b/crates/cdk-sqlite/Cargo.toml index 8feb7f2c..4eab96ff 100644 --- a/crates/cdk-sqlite/Cargo.toml +++ b/crates/cdk-sqlite/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-sqlite" -version = "0.7.0" +version = "0.7.1" edition = "2021" authors = ["CDK Developers"] description = "SQLite storage backend for CDK" @@ -17,7 +17,7 @@ wallet = [] [dependencies] async-trait = "0.1" -cdk-common = { path = "../cdk-common", version = "0.7.0" } +cdk-common = { path = "../cdk-common", version = "0.7.1" } bitcoin = { version = "0.32.2", default-features = false } sqlx = { version = "0.6.3", default-features = false, features = [ "runtime-tokio-rustls", diff --git a/crates/cdk-strike/Cargo.toml b/crates/cdk-strike/Cargo.toml index f86d6e53..525fdf71 100644 --- a/crates/cdk-strike/Cargo.toml +++ b/crates/cdk-strike/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-strike" -version = "0.7.0" +version = "0.7.1" edition = "2021" authors = ["CDK Developers"] license = "MIT" @@ -14,7 +14,7 @@ async-trait = "0.1" anyhow = "1" axum = "0.6.20" bitcoin = { version = "0.32.2", default-features = false } -cdk = { path = "../cdk", version = "0.7.0", default-features = false, features = ["mint"] } +cdk = { path = "../cdk", version = "0.7.1", default-features = false, features = ["mint"] } futures = { version = "0.3.28", default-features = false } tokio = { version = "1", default-features = false } tokio-util = { version = "0.7.11", default-features = false } diff --git a/crates/cdk/Cargo.toml b/crates/cdk/Cargo.toml index 25e31500..4bbf57f0 100644 --- a/crates/cdk/Cargo.toml +++ b/crates/cdk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk" -version = "0.7.0" +version = "0.7.1" edition = "2021" authors = ["CDK Developers"] description = "Core Cashu Development Kit library implementing the Cashu protocol" @@ -21,7 +21,7 @@ http_subscription = [] [dependencies] -cdk-common = { path = "../cdk-common", version = "0.7.0" } +cdk-common = { path = "../cdk-common", version = "0.7.1" } cbor-diag = "0.1.12" async-trait = "0.1" anyhow = { version = "1.0.43", features = ["backtrace"] }