mirror of
https://github.com/aljazceru/cdk.git
synced 2026-02-04 20:55:59 +01:00
Merge pull request #584 from thesimplekid/chore_prepare_v0.7.0
chore: prepare v0.7.0
This commit is contained in:
10
CHANGELOG.md
10
CHANGELOG.md
@@ -23,24 +23,30 @@
|
||||
|
||||
#[Unrelased]
|
||||
|
||||
#[v0.7.0]
|
||||
### Changed
|
||||
* Moved db traits to `cdk-common` ([crodas]).
|
||||
* Moved other commin types to `cdk-common` ([crodas]).
|
||||
* `Wallet::mint` returns the minted `Proofs` and not just the amount ([dacidcaseria]).
|
||||
|
||||
### Added
|
||||
* `Token::to_raw_bytes` serializes generic token to raw bytes ([lollerfirst]).
|
||||
* `Token::try_from` for `Vec<u8>` constructs a generic token from raw bytes ([lollerfirst]).
|
||||
* `TokenV4::to_raw_bytes()` serializes a TokenV4 to raw bytes following the spec ([lollerfirst]).
|
||||
* `Wallet::receive_raw` which receives raw binary tokens ([lollerfirst]).
|
||||
* cdk-mint-rpc: Mint management gRPC client and server ([thesimpekid]).
|
||||
* cdk-common: cdk specific types and traits ([crodas]).
|
||||
* cashu: Core types and functions defined in NUTs ([crodas]).
|
||||
|
||||
### Fixed
|
||||
* Multimint unit check when wallet receiving token ([thesimplekid]).
|
||||
* Mint start up with most recent keyset after a rotation ([thesimplekid]).
|
||||
|
||||
### Removed
|
||||
|
||||
#[cdk:v0.6.1,cdk-mintd:v0.6.2]
|
||||
### Fixed
|
||||
cdk: Missing check on mint that outputs equals the quote amount ([thesimplekid]).
|
||||
cdk: Reset mint quote status if in state that cannot continue ([thesimeokid]).
|
||||
cdk: Reset mint quote status if in state that cannot continue ([thesimplekid]).
|
||||
|
||||
#[0.6.1]
|
||||
### Added
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
[package]
|
||||
name = "cashu"
|
||||
version = "0.6.0"
|
||||
version = "0.7.0"
|
||||
edition = "2021"
|
||||
authors = ["CDK Developers"]
|
||||
description = "Cashu shared types and crypto utilities, used as the foundation for the CDK and their crates"
|
||||
homepage = "https://github.com/cashubtc/cdk"
|
||||
repository = "https://github.com/cashubtc/cdk.git"
|
||||
rust-version = "1.63.0" # MSRV
|
||||
license = "MIT"
|
||||
|
||||
[features]
|
||||
default = ["mint", "wallet"]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "cdk-axum"
|
||||
version = "0.6.0"
|
||||
version = "0.7.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.6.0", default-features = false, features = [
|
||||
cdk = { path = "../cdk", version = "0.7.0", default-features = false, features = [
|
||||
"mint",
|
||||
] }
|
||||
tokio = { version = "1", default-features = false, features = ["io-util"] }
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "cdk-cli"
|
||||
version = "0.6.0"
|
||||
version = "0.7.0"
|
||||
edition = "2021"
|
||||
authors = ["CDK Developers"]
|
||||
description = "Cashu cli wallet built on CDK"
|
||||
@@ -13,10 +13,10 @@ rust-version = "1.63.0" # MSRV
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1"
|
||||
bip39 = "2.0"
|
||||
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"] }
|
||||
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"] }
|
||||
clap = { version = "~4.0.32", features = ["derive"] }
|
||||
serde = { version = "1", default-features = false, features = ["derive"] }
|
||||
serde_json = "1"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "cdk-cln"
|
||||
version = "0.6.0"
|
||||
version = "0.7.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.6.0", default-features = false, features = ["mint"] }
|
||||
cdk = { path = "../cdk", version = "0.7.0", default-features = false, features = ["mint"] }
|
||||
cln-rpc = "0.3.0"
|
||||
futures = { version = "0.3.28", default-features = false }
|
||||
tokio = { version = "1", default-features = false }
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
[package]
|
||||
name = "cdk-common"
|
||||
version = "0.6.1"
|
||||
version = "0.7.0"
|
||||
edition = "2021"
|
||||
authors = ["CDK Developers"]
|
||||
description = "CDK common types and traits"
|
||||
homepage = "https://github.com/cashubtc/cdk"
|
||||
repository = "https://github.com/cashubtc/cdk.git"
|
||||
rust-version = "1.63.0" # MSRV
|
||||
license = "MIT"
|
||||
|
||||
[features]
|
||||
default = ["mint", "wallet"]
|
||||
@@ -20,7 +24,7 @@ bitcoin = { version = "0.32.2", features = [
|
||||
"rand",
|
||||
"rand-std",
|
||||
] }
|
||||
cashu = { path = "../cashu", default-features = false, version = "0.6.0" }
|
||||
cashu = { path = "../cashu", default-features = false, version = "0.7.0" }
|
||||
cbor-diag = "0.1.12"
|
||||
ciborium = { version = "0.2.2", default-features = false, features = ["std"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "cdk-fake-wallet"
|
||||
version = "0.6.0"
|
||||
version = "0.7.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.6.0", default-features = false, features = ["mint"] }
|
||||
cdk = { path = "../cdk", version = "0.7.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 }
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "cdk-integration-tests"
|
||||
version = "0.6.0"
|
||||
version = "0.7.0"
|
||||
edition = "2021"
|
||||
authors = ["CDK Developers"]
|
||||
description = "Core Cashu Development Kit library implementing the Cashu protocol"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "cdk-lnbits"
|
||||
version = "0.6.0"
|
||||
version = "0.7.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.6.0", default-features = false, features = ["mint"] }
|
||||
cdk = { path = "../cdk", version = "0.7.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 }
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "cdk-lnd"
|
||||
version = "0.6.0"
|
||||
version = "0.7.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.6.0", default-features = false, features = ["mint"] }
|
||||
cdk = { path = "../cdk", version= "0.7.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 }
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "cdk-mint-rpc"
|
||||
version = "0.6.0"
|
||||
version = "0.7.0"
|
||||
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.6.0", default-features = false, features = [
|
||||
cdk = { path = "../cdk", version = "0.7.0", default-features = false, features = [
|
||||
"mint",
|
||||
] }
|
||||
clap = { version = "~4.0.32", features = ["derive"] }
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "cdk-mintd"
|
||||
version = "0.6.2"
|
||||
version = "0.7.0"
|
||||
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.6.1", default-features = false, features = [
|
||||
cdk = { path = "../cdk", version = "0.7.0", default-features = false, features = [
|
||||
"mint",
|
||||
] }
|
||||
cdk-redb = { path = "../cdk-redb", version = "0.6.0", default-features = false, features = [
|
||||
cdk-redb = { path = "../cdk-redb", version = "0.7.0", default-features = false, features = [
|
||||
"mint",
|
||||
] }
|
||||
cdk-sqlite = { path = "../cdk-sqlite", version = "0.6.0", default-features = false, features = [
|
||||
cdk-sqlite = { path = "../cdk-sqlite", version = "0.7.0", default-features = false, features = [
|
||||
"mint",
|
||||
] }
|
||||
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 }
|
||||
cdk-mint-rpc = { path = "../cdk-mint-rpc", version = "0.6.0", default-features = false, optional = true }
|
||||
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 }
|
||||
config = { version = "0.13.3", features = ["toml"] }
|
||||
clap = { version = "~4.0.32", features = ["derive"] }
|
||||
tokio = { version = "1", default-features = false }
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "cdk-phoenixd"
|
||||
version = "0.6.0"
|
||||
version = "0.7.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.6.0", default-features = false, features = ["mint"] }
|
||||
cdk = { path = "../cdk", version = "0.7.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 }
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "cdk-redb"
|
||||
version = "0.6.0"
|
||||
version = "0.7.0"
|
||||
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.6.0" }
|
||||
cdk-common = { path = "../cdk-common", version = "0.7.0" }
|
||||
redb = "2.1.0"
|
||||
thiserror = "1"
|
||||
tracing = { version = "0.1", default-features = false, features = [
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "cdk-rexie"
|
||||
version = "0.6.0"
|
||||
version = "0.7.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.6.0", default-features = false }
|
||||
cdk = { path = "../cdk", version = "0.7.0", default-features = false }
|
||||
async-trait = "0.1.74"
|
||||
tokio = { version = "1", default-features = false }
|
||||
serde = { version = "1", default-features = false, features = ["derive"] }
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "cdk-sqlite"
|
||||
version = "0.6.0"
|
||||
version = "0.7.0"
|
||||
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.6.0" }
|
||||
cdk-common = { path = "../cdk-common", version = "0.7.0" }
|
||||
bitcoin = { version = "0.32.2", default-features = false }
|
||||
sqlx = { version = "0.6.3", default-features = false, features = [
|
||||
"runtime-tokio-rustls",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "cdk-strike"
|
||||
version = "0.6.0"
|
||||
version = "0.7.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.6.0", default-features = false, features = ["mint"] }
|
||||
cdk = { path = "../cdk", version = "0.7.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 }
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "cdk"
|
||||
version = "0.6.1"
|
||||
version = "0.7.0"
|
||||
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.6.1" }
|
||||
cdk-common = { path = "../cdk-common", version = "0.7.0" }
|
||||
cbor-diag = "0.1.12"
|
||||
async-trait = "0.1"
|
||||
anyhow = { version = "1.0.43", features = ["backtrace"] }
|
||||
|
||||
@@ -29,6 +29,12 @@ clippy-each:
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
buildargs=(
|
||||
"-p cashu --no-default-features"
|
||||
"-p cashu --no-default-features --features wallet"
|
||||
"-p cashu --no-default-features --features mint"
|
||||
"-p cdk-common --no-default-features"
|
||||
"-p cdk-common --no-default-features --features wallet"
|
||||
"-p cdk-common --no-default-features --features mint"
|
||||
"-p cdk-integration-tests"
|
||||
"-p cdk"
|
||||
"-p cdk --no-default-features"
|
||||
@@ -44,6 +50,7 @@ clippy-each:
|
||||
"-p cdk-fake-wallet"
|
||||
"-p cdk-strike"
|
||||
"-p cdk-lnd"
|
||||
"-p cdk-mint-rpc"
|
||||
"--bin cdk-cli"
|
||||
"--bin cdk-mintd"
|
||||
)
|
||||
@@ -60,11 +67,14 @@ release m="":
|
||||
set -euo pipefail
|
||||
|
||||
args=(
|
||||
"-p cashu"
|
||||
"-p cdk-common"
|
||||
"-p cdk"
|
||||
"-p cdk-redb"
|
||||
"-p cdk-sqlite"
|
||||
"-p cdk-rexie"
|
||||
"-p cdk-axum"
|
||||
"-p cdk-mint-rpc"
|
||||
"-p cdk-cln"
|
||||
"-p cdk-lnd"
|
||||
"-p cdk-strike"
|
||||
@@ -86,6 +96,8 @@ check-docs:
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
args=(
|
||||
"-p cashu"
|
||||
"-p cdk-common"
|
||||
"-p cdk"
|
||||
"-p cdk-redb"
|
||||
"-p cdk-sqlite"
|
||||
@@ -97,6 +109,7 @@ check-docs:
|
||||
"-p cdk-phoenixd"
|
||||
"-p cdk-lnbits"
|
||||
"-p cdk-fake-wallet"
|
||||
"-p cdk-mint-rpc"
|
||||
"-p cdk-cli"
|
||||
"-p cdk-mintd"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user