diff --git a/CHANGELOG.md b/CHANGELOG.md index 0adefce8f..c802d9109 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 5ad711ffe..83626cbc0 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 f436c07ab..221d86d22 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 e21645ebd..2025a48de 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 c9499f34d..751e51dce 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 db69881c3..695cb3fd2 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 a3dba70c5..f6b69d9a1 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 56b15b9ba..ddda8c452 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 d292de8f1..38fab9ea6 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 0fc978857..e7d2127ad 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 d5e565cfa..98625db4f 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 ef8048356..0f34e87ad 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 46bb887e1..611b39885 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 87941adb8..b9860817b 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 1aadc16cd..dc1afb9a8 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 b5654cf87..024709b1b 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"