diff --git a/CHANGELOG.md b/CHANGELOG.md index 0adefce8..c802d910 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,7 +21,7 @@ --> -#[Unreleased] +#[0.4.0] ### Summary ### Changed @@ -35,11 +35,21 @@ - cdk-sqlite: Reduce MSRV to 1.66.0 ([thesimplekid]). - cdk-redb: Reduce MSRV to 1.66.0 ([thesimplekid]). - cdk: Format url base lowercase ([callebtc]). +- cdk: Use CDK error type instead of mint and wallet specefic ([thesimplekid]). +- cdk-cli: Tokenv4 error print diagnostic notation ([ok300]). +- cdk-redb: Remove use of mutex ([thesimplekid]). + +### Added +- cdk: Multiple error types ([thesimplekid]). ### Fixed - cdk(mint): use checked addition on amount to ensure there is no overflow ([thesimplekid]). +### Removed +- cdk(wallet): Removed CDK wallet error ([thesimplekid]). +- cdk(mint): Removed CDK mint error ([thesimplekid]). + ## [0.3.0] @@ -141,3 +151,4 @@ Additionally, this release introduces a Mint binary cdk-mintd that uses the cdk- [vnprc]: https://github.com/vnprc [cjbeery24]: https://github.com/cjbeery24 [callebtc]: https://github.com/callebtc +[ok300]: (https://github.com/ok300) diff --git a/bindings/cdk-js/Cargo.toml b/bindings/cdk-js/Cargo.toml index 5ad711ff..83626cbc 100644 --- a/bindings/cdk-js/Cargo.toml +++ b/bindings/cdk-js/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-js" -version = "0.3.0" +version = "0.4.0" edition = "2021" license = "MIT" homepage = "https://github.com/cashubtc/cdk" diff --git a/crates/cdk-axum/Cargo.toml b/crates/cdk-axum/Cargo.toml index f436c07a..221d86d2 100644 --- a/crates/cdk-axum/Cargo.toml +++ b/crates/cdk-axum/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-axum" -version = "0.3.0" +version = "0.4.0" edition = "2021" license = "MIT" homepage = "https://github.com/cashubtc/cdk" diff --git a/crates/cdk-cli/Cargo.toml b/crates/cdk-cli/Cargo.toml index e21645eb..2025a48d 100644 --- a/crates/cdk-cli/Cargo.toml +++ b/crates/cdk-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-cli" -version = "0.3.0" +version = "0.4.0" edition = "2021" authors = ["CDK Developers"] description = "Cashu cli wallet built on CDK" diff --git a/crates/cdk-cln/Cargo.toml b/crates/cdk-cln/Cargo.toml index c9499f34..751e51dc 100644 --- a/crates/cdk-cln/Cargo.toml +++ b/crates/cdk-cln/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-cln" -version = "0.3.0" +version = "0.4.0" edition = "2021" authors = ["CDK Developers"] license = "MIT" diff --git a/crates/cdk-fake-wallet/Cargo.toml b/crates/cdk-fake-wallet/Cargo.toml index db69881c..695cb3fd 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.3.0" +version = "0.4.0" edition = "2021" authors = ["CDK Developers"] license = "MIT" diff --git a/crates/cdk-integration-tests/Cargo.toml b/crates/cdk-integration-tests/Cargo.toml index a3dba70c..f6b69d9a 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.3.0" +version = "0.4.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 56b15b9b..ddda8c45 100644 --- a/crates/cdk-lnbits/Cargo.toml +++ b/crates/cdk-lnbits/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-lnbits" -version = "0.3.0" +version = "0.4.0" edition = "2021" authors = ["CDK Developers"] license = "MIT" diff --git a/crates/cdk-lnd/Cargo.toml b/crates/cdk-lnd/Cargo.toml index d292de8f..38fab9ea 100644 --- a/crates/cdk-lnd/Cargo.toml +++ b/crates/cdk-lnd/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-lnd" -version = "0.3.0" +version = "0.4.0" edition = "2021" authors = ["CDK Developers"] license = "MIT" diff --git a/crates/cdk-mintd/Cargo.toml b/crates/cdk-mintd/Cargo.toml index 0fc97885..e7d2127a 100644 --- a/crates/cdk-mintd/Cargo.toml +++ b/crates/cdk-mintd/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-mintd" -version = "0.3.0" +version = "0.4.0" edition = "2021" authors = ["CDK Developers"] license = "MIT" diff --git a/crates/cdk-phoenixd/Cargo.toml b/crates/cdk-phoenixd/Cargo.toml index d5e565cf..98625db4 100644 --- a/crates/cdk-phoenixd/Cargo.toml +++ b/crates/cdk-phoenixd/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-phoenixd" -version = "0.3.0" +version = "0.4.0" edition = "2021" authors = ["CDK Developers"] license = "MIT" diff --git a/crates/cdk-redb/Cargo.toml b/crates/cdk-redb/Cargo.toml index ef804835..0f34e87a 100644 --- a/crates/cdk-redb/Cargo.toml +++ b/crates/cdk-redb/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-redb" -version = "0.3.0" +version = "0.4.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 46bb887e..611b3988 100644 --- a/crates/cdk-rexie/Cargo.toml +++ b/crates/cdk-rexie/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-rexie" -version = "0.3.0" +version = "0.4.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 87941adb..b9860817 100644 --- a/crates/cdk-sqlite/Cargo.toml +++ b/crates/cdk-sqlite/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-sqlite" -version = "0.3.0" +version = "0.4.0" edition = "2021" authors = ["CDK Developers"] description = "SQLite storage backend for CDK" diff --git a/crates/cdk-strike/Cargo.toml b/crates/cdk-strike/Cargo.toml index 1aadc16c..dc1afb9a 100644 --- a/crates/cdk-strike/Cargo.toml +++ b/crates/cdk-strike/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk-strike" -version = "0.3.0" +version = "0.4.0" edition = "2021" authors = ["CDK Developers"] license = "MIT" diff --git a/crates/cdk/Cargo.toml b/crates/cdk/Cargo.toml index b5654cf8..024709b1 100644 --- a/crates/cdk/Cargo.toml +++ b/crates/cdk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cdk" -version = "0.3.0" +version = "0.4.0" edition = "2021" authors = ["CDK Developers"] description = "Core Cashu Development Kit library implementing the Cashu protocol"