Browse Source

release: 0.2.0

thesimplekid 8 months ago
parent
commit
27568c247b

+ 7 - 2
CHANGELOG.md

@@ -21,9 +21,14 @@
 
 
 -->
 -->
 
 
-## [Unreleased]
+## [v0.2.0]
 
 
 ### Summary
 ### 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
 ### Changed
 cdk(wallet): `wallet:receive` will not claim `proofs` from a mint other then the wallet's mint ([thesimplekid]).
 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
 ### Summary
 
 
 ### Changed
 ### 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
 ### Added

+ 4 - 4
Cargo.toml

@@ -25,10 +25,10 @@ async-trait = "0.1.74"
 anyhow = "1"
 anyhow = "1"
 bitcoin = { version = "0.30", default-features = false } # lightning-invoice uses v0.30
 bitcoin = { version = "0.30", default-features = false } # lightning-invoice uses v0.30
 bip39 = "2.0"
 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-cln = { version = "0.1", path = "./crates/cdk-cln", default-features = false }
 cdk-axum = { version = "0.1", path = "./crates/cdk-axum", default-features = false }
 cdk-axum = { version = "0.1", path = "./crates/cdk-axum", default-features = false }
 tokio = { version = "1", default-features = false }
 tokio = { version = "1", default-features = false }

+ 1 - 1
bindings/cdk-js/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 [package]
 name = "cdk-js"
 name = "cdk-js"
-version = "0.1.0"
+version = "0.2.0"
 edition = "2021"
 edition = "2021"
 license.workspace = true
 license.workspace = true
 homepage.workspace = true
 homepage.workspace = true

+ 1 - 1
crates/cdk-cli/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 [package]
 name = "cdk-cli"
 name = "cdk-cli"
-version = "0.1.1"
+version = "0.2.0"
 edition = "2021"
 edition = "2021"
 authors = ["CDK Developers"]
 authors = ["CDK Developers"]
 description = "Cashu cli wallet built on CDK"
 description = "Cashu cli wallet built on CDK"

+ 1 - 1
crates/cdk-redb/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 [package]
 name = "cdk-redb"
 name = "cdk-redb"
-version = "0.1.0"
+version = "0.2.0"
 edition = "2021"
 edition = "2021"
 authors = ["CDK Developers"]
 authors = ["CDK Developers"]
 description = "Redb storage backend for CDK"
 description = "Redb storage backend for CDK"

+ 1 - 1
crates/cdk-rexie/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 [package]
 name = "cdk-rexie"
 name = "cdk-rexie"
-version = "0.1.0"
+version = "0.2.0"
 edition = "2021"
 edition = "2021"
 authors = ["CDK Developers"]
 authors = ["CDK Developers"]
 description = "Indexdb storage backend for CDK in the browser"
 description = "Indexdb storage backend for CDK in the browser"

+ 1 - 1
crates/cdk-sqlite/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 [package]
 name = "cdk-sqlite"
 name = "cdk-sqlite"
-version = "0.1.0"
+version = "0.2.0"
 edition = "2021"
 edition = "2021"
 authors = ["CDK Developers"]
 authors = ["CDK Developers"]
 description = "Sqlite storage backend for CDK"
 description = "Sqlite storage backend for CDK"

+ 1 - 1
crates/cdk/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 [package]
 name = "cdk"
 name = "cdk"
-version = "0.1.1"
+version = "0.2.0"
 edition = "2021"
 edition = "2021"
 authors = ["CDK Developers"]
 authors = ["CDK Developers"]
 description = "Core Cashu Development Kit library implementing the Cashu protocol"
 description = "Core Cashu Development Kit library implementing the Cashu protocol"