From 0e1231464392d059d0184cec5f791d9fdc7e7296 Mon Sep 17 00:00:00 2001 From: thesimplekid Date: Tue, 17 Dec 2024 08:18:32 -0500 Subject: [PATCH] chore: Release 0.6.0 --- CHANGELOG.md | 8 ++++++- Cargo.lock | 28 ++++++++++++------------- Cargo.toml | 1 - crates/cdk-axum/Cargo.toml | 4 ++-- crates/cdk-cli/Cargo.toml | 8 +++---- crates/cdk-cln/Cargo.toml | 4 ++-- crates/cdk-fake-wallet/Cargo.toml | 4 ++-- crates/cdk-integration-tests/Cargo.toml | 2 +- crates/cdk-lnbits/Cargo.toml | 4 ++-- crates/cdk-lnd/Cargo.toml | 4 ++-- crates/cdk-mintd/Cargo.toml | 22 +++++++++---------- 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 | 2 +- 17 files changed, 58 insertions(+), 53 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d8d24ca..56725581 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,19 +21,25 @@ --> -#[Unreleased] +#[0.6.0] ### Changed cdk: Enforce `quote_id` to uuid type in mint ([tdelabro]). +cdk: Refactor wallet mint connector ([ok300]). ### Added cdk: `NUT19` Settings in `NUT06` info ([thesimplekid]). cdk: `NUT17` Websocket support for wallet ([crodas]). +cdk-axum: Redis cache backend ([crodas]). +cdk-mints: Get mint settings from env vars ([thesimplekid]). +cdk-axum: HTTP compression support ([ok300]). ### Fixed cdk-sqlite: keyset counter was overwritten when keyset was fetched from mint ([thesimplekid]). cdk-cli: on `mint` use `unit` from cli args ([thesimplekid]). cdk-cli: on `restore` create `wallet` if it does not exist ([thesimplekid]). +cdk: Signaling support for optional nuts ([thesimpekid]). +cdk-phd: Check payment has valid uuis ([thesimplekid]). #[0.5.0] ### Changed diff --git a/Cargo.lock b/Cargo.lock index 1f890ea2..b492c5ab 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -729,7 +729,7 @@ dependencies = [ [[package]] name = "cdk" -version = "0.5.0" +version = "0.6.0" dependencies = [ "anyhow", "async-trait", @@ -762,7 +762,7 @@ dependencies = [ [[package]] name = "cdk-axum" -version = "0.5.0" +version = "0.6.0" dependencies = [ "anyhow", "async-trait", @@ -783,7 +783,7 @@ dependencies = [ [[package]] name = "cdk-cli" -version = "0.5.0" +version = "0.6.0" dependencies = [ "anyhow", "bip39", @@ -805,7 +805,7 @@ dependencies = [ [[package]] name = "cdk-cln" -version = "0.5.0" +version = "0.6.0" dependencies = [ "async-trait", "bitcoin 0.32.5", @@ -821,7 +821,7 @@ dependencies = [ [[package]] name = "cdk-fake-wallet" -version = "0.5.0" +version = "0.6.0" dependencies = [ "async-trait", "bitcoin 0.32.5", @@ -840,7 +840,7 @@ dependencies = [ [[package]] name = "cdk-integration-tests" -version = "0.5.0" +version = "0.6.0" dependencies = [ "anyhow", "async-trait", @@ -872,7 +872,7 @@ dependencies = [ [[package]] name = "cdk-lnbits" -version = "0.5.0" +version = "0.6.0" dependencies = [ "anyhow", "async-trait", @@ -889,7 +889,7 @@ dependencies = [ [[package]] name = "cdk-lnd" -version = "0.5.0" +version = "0.6.0" dependencies = [ "anyhow", "async-trait", @@ -904,7 +904,7 @@ dependencies = [ [[package]] name = "cdk-mintd" -version = "0.5.0" +version = "0.6.0" dependencies = [ "anyhow", "axum", @@ -937,7 +937,7 @@ dependencies = [ [[package]] name = "cdk-phoenixd" -version = "0.5.0" +version = "0.6.0" dependencies = [ "anyhow", "async-trait", @@ -955,7 +955,7 @@ dependencies = [ [[package]] name = "cdk-redb" -version = "0.5.0" +version = "0.6.0" dependencies = [ "async-trait", "cdk", @@ -970,7 +970,7 @@ dependencies = [ [[package]] name = "cdk-rexie" -version = "0.5.0" +version = "0.6.0" dependencies = [ "async-trait", "cdk", @@ -985,7 +985,7 @@ dependencies = [ [[package]] name = "cdk-sqlite" -version = "0.5.0" +version = "0.6.0" dependencies = [ "async-trait", "bitcoin 0.32.5", @@ -1001,7 +1001,7 @@ dependencies = [ [[package]] name = "cdk-strike" -version = "0.5.0" +version = "0.6.0" dependencies = [ "anyhow", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index 79822c4f..a04e2503 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,6 @@ resolver = "2" license = "MIT" homepage = "https://github.com/cashubtc/cdk" repository = "https://github.com/cashubtc/cdk.git" -version = "0.5.0" [workspace.metadata] authors = ["CDK Developers"] diff --git a/crates/cdk-axum/Cargo.toml b/crates/cdk-axum/Cargo.toml index 90ba7596..cccf692d 100644 --- a/crates/cdk-axum/Cargo.toml +++ b/crates/cdk-axum/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-axum" -version = "0.5.0" +version = "0.6.0" 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.5.0", default-features = false, features = [ +cdk = { path = "../cdk", version = "0.6.0", 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 a9ce0410..640ad749 100644 --- a/crates/cdk-cli/Cargo.toml +++ b/crates/cdk-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-cli" -version = "0.5.0" +version = "0.6.0" 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 = "2.0" -cdk = { path = "../cdk", version = "0.5.0", default-features = false, features = ["wallet"]} -cdk-redb = { path = "../cdk-redb", version = "0.5.0", default-features = false, features = ["wallet"] } -cdk-sqlite = { path = "../cdk-sqlite", version = "0.5.0", default-features = false, features = ["wallet"] } +cdk = { path = "../cdk", version = "0.6.0", default-features = false, features = ["wallet"]} +cdk-redb = { path = "../cdk-redb", version = "0.6.0", default-features = false, features = ["wallet"] } +cdk-sqlite = { path = "../cdk-sqlite", version = "0.6.0", default-features = false, features = ["wallet"] } clap = { version = "4.4.8", features = ["derive", "env", "default"] } 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 a92e6fe4..0131c165 100644 --- a/crates/cdk-cln/Cargo.toml +++ b/crates/cdk-cln/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-cln" -version = "0.5.0" +version = "0.6.0" 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.5.0", default-features = false, features = ["mint"] } +cdk = { path = "../cdk", version = "0.6.0", default-features = false, features = ["mint"] } cln-rpc = "0.2.0" futures = { version = "0.3.28", default-features = false } tokio = { version = "1", default-features = false } diff --git a/crates/cdk-fake-wallet/Cargo.toml b/crates/cdk-fake-wallet/Cargo.toml index 7412f693..706a68d6 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.5.0" +version = "0.6.0" 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.5.0", default-features = false, features = ["mint"] } +cdk = { path = "../cdk", version = "0.6.0", 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-integration-tests/Cargo.toml b/crates/cdk-integration-tests/Cargo.toml index 81b0bd9d..0e37ce51 100644 --- a/crates/cdk-integration-tests/Cargo.toml +++ b/crates/cdk-integration-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-integration-tests" -version = "0.5.0" +version = "0.6.0" edition = "2021" authors = ["CDK Developers"] description = "Core Cashu Development Kit library implementing the Cashu protocol" diff --git a/crates/cdk-lnbits/Cargo.toml b/crates/cdk-lnbits/Cargo.toml index 8725168b..fb9d0f79 100644 --- a/crates/cdk-lnbits/Cargo.toml +++ b/crates/cdk-lnbits/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-lnbits" -version = "0.5.0" +version = "0.6.0" 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.5.0", default-features = false, features = ["mint"] } +cdk = { path = "../cdk", version = "0.6.0", 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 37ccec5c..a33253ed 100644 --- a/crates/cdk-lnd/Cargo.toml +++ b/crates/cdk-lnd/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-lnd" -version = "0.5.0" +version = "0.6.0" 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.5.0", default-features = false, features = ["mint"] } +cdk = { path = "../cdk", version= "0.6.0", 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-mintd/Cargo.toml b/crates/cdk-mintd/Cargo.toml index d6d84ff1..028a2fc6 100644 --- a/crates/cdk-mintd/Cargo.toml +++ b/crates/cdk-mintd/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-mintd" -version = "0.5.0" +version = "0.6.0" edition = "2021" authors = ["CDK Developers"] license = "MIT" @@ -12,22 +12,22 @@ description = "CDK mint binary" [dependencies] anyhow = "1" axum = "0.6.20" -cdk = { path = "../cdk", version = "0.5.0", default-features = false, features = [ +cdk = { path = "../cdk", version = "0.6.0", default-features = false, features = [ "mint", ] } -cdk-redb = { path = "../cdk-redb", version = "0.5.0", default-features = false, features = [ +cdk-redb = { path = "../cdk-redb", version = "0.6.0", default-features = false, features = [ "mint", ] } -cdk-sqlite = { path = "../cdk-sqlite", version = "0.5.0", default-features = false, features = [ +cdk-sqlite = { path = "../cdk-sqlite", version = "0.6.0", default-features = false, features = [ "mint", ] } -cdk-cln = { path = "../cdk-cln", version = "0.5.0", default-features = false } -cdk-lnbits = { path = "../cdk-lnbits", version = "0.5.0", default-features = false } -cdk-phoenixd = { path = "../cdk-phoenixd", version = "0.5.0", default-features = false } -cdk-lnd = { path = "../cdk-lnd", version = "0.5.0", default-features = false } -cdk-fake-wallet = { path = "../cdk-fake-wallet", version = "0.5.0", default-features = false } -cdk-strike = { path = "../cdk-strike", version = "0.5.0" } -cdk-axum = { path = "../cdk-axum", version = "0.5.0", default-features = false } +cdk-cln = { path = "../cdk-cln", version = "0.6.0", default-features = false } +cdk-lnbits = { path = "../cdk-lnbits", version = "0.6.0", default-features = false } +cdk-phoenixd = { path = "../cdk-phoenixd", version = "0.6.0", default-features = false } +cdk-lnd = { path = "../cdk-lnd", version = "0.6.0", default-features = false } +cdk-fake-wallet = { path = "../cdk-fake-wallet", version = "0.6.0", default-features = false } +cdk-strike = { path = "../cdk-strike", version = "0.6.0" } +cdk-axum = { path = "../cdk-axum", version = "0.6.0", default-features = false } config = { version = "0.13.3", features = ["toml"] } clap = { version = "4.4.8", features = ["derive", "env", "default"] } tokio = { version = "1", default-features = false } diff --git a/crates/cdk-phoenixd/Cargo.toml b/crates/cdk-phoenixd/Cargo.toml index 8052bffd..30b64095 100644 --- a/crates/cdk-phoenixd/Cargo.toml +++ b/crates/cdk-phoenixd/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-phoenixd" -version = "0.5.0" +version = "0.6.0" 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.5.0", default-features = false, features = ["mint"] } +cdk = { path = "../cdk", version = "0.6.0", 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 a3d78ae4..c6382468 100644 --- a/crates/cdk-redb/Cargo.toml +++ b/crates/cdk-redb/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-redb" -version = "0.5.0" +version = "0.6.0" edition = "2021" authors = ["CDK Developers"] description = "Redb storage backend for CDK" @@ -17,7 +17,7 @@ wallet = ["cdk/wallet"] [dependencies] async-trait = "0.1" -cdk = { path = "../cdk", version = "0.5.0", default-features = false } +cdk = { path = "../cdk", version = "0.6.0", default-features = false } redb = "2.1.0" thiserror = "1" tracing = { version = "0.1", default-features = false, features = ["attributes", "log"] } diff --git a/crates/cdk-rexie/Cargo.toml b/crates/cdk-rexie/Cargo.toml index 2548ae40..34500968 100644 --- a/crates/cdk-rexie/Cargo.toml +++ b/crates/cdk-rexie/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-rexie" -version = "0.5.0" +version = "0.6.0" 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.5.0", default-features = false } +cdk = { path = "../cdk", version = "0.6.0", 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 8bea154c..4f6c0e22 100644 --- a/crates/cdk-sqlite/Cargo.toml +++ b/crates/cdk-sqlite/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-sqlite" -version = "0.5.0" +version = "0.6.0" edition = "2021" authors = ["CDK Developers"] description = "SQLite storage backend for CDK" @@ -17,7 +17,7 @@ wallet = ["cdk/wallet"] [dependencies] async-trait = "0.1" -cdk = { path = "../cdk", version = "0.5.0", default-features = false } +cdk = { path = "../cdk", version = "0.6.0", default-features = false } bitcoin = { version = "0.32.2", default-features = false } sqlx = { version = "0.6.3", default-features = false, features = ["runtime-tokio-rustls", "sqlite", "macros", "migrate", "uuid"] } thiserror = "1" diff --git a/crates/cdk-strike/Cargo.toml b/crates/cdk-strike/Cargo.toml index 7d963715..65769f0c 100644 --- a/crates/cdk-strike/Cargo.toml +++ b/crates/cdk-strike/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-strike" -version = "0.5.0" +version = "0.6.0" 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.5.0", default-features = false, features = ["mint"] } +cdk = { path = "../cdk", version = "0.6.0", 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 d3f7bc2f..3f1bf33b 100644 --- a/crates/cdk/Cargo.toml +++ b/crates/cdk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk" -version = "0.5.0" +version = "0.6.0" edition = "2021" authors = ["CDK Developers"] description = "Core Cashu Development Kit library implementing the Cashu protocol"