Ver código fonte

Release 0.4.0

thesimplekid 6 meses atrás
pai
commit
f7e4ea3a6c

+ 12 - 1
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)

+ 1 - 1
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"

+ 1 - 1
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"

+ 1 - 1
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"

+ 1 - 1
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"

+ 1 - 1
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"

+ 1 - 1
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"

+ 1 - 1
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"

+ 1 - 1
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"

+ 1 - 1
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"

+ 1 - 1
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"

+ 1 - 1
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"

+ 1 - 1
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"

+ 1 - 1
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"

+ 1 - 1
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"

+ 1 - 1
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"