diff --git a/dlc-manager/CHANGELOG.md b/dlc-manager/CHANGELOG.md index 14e0bad2..e2c87f5d 100644 --- a/dlc-manager/CHANGELOG.md +++ b/dlc-manager/CHANGELOG.md @@ -4,6 +4,36 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.5.0] - 2024-07-11 + +### Added +- support for `no-std` +- option to skip channel checks +- possibility to pass oracle announcements when offering a contract +- possibility to manually close contract +- possibility to manally handle counter party closing of contract +- `get_new_change_address` for `Wallet` trait +- ability to reject channel offers + +### Changed +- reject contract and channel offers when the id already exists +- implement `std::error::Error` for `Error` structs +- update bitcoin, lightning and secp256k1_zkp dependencies +- `fee_rate` parameter is not optional anymore in `get_utxo_for_amount` of `Wallet` trait +- `Signer::sign_tx_input` changed to `Signer::sign_psbt_input` +- Use a `ContractSignerProvider` for generating signers for contracts +- Remove usage of `global-context` feature of secp256k1_zkp + +### Fixed +- validation of hyperbola parameters +- ensure that payouts are not rounded up above the collateral +- load channel monitor from storage when it exists +- floating point arithmetic triggering payout computation errors +- overflow bug in payout curve +- added timeout on `RenewOffer` state +- issue with channel protocol + + ## [0.4.0] - 2023-02-06 ### Added diff --git a/dlc-manager/Cargo.toml b/dlc-manager/Cargo.toml index 6fb61144..90fbf204 100644 --- a/dlc-manager/Cargo.toml +++ b/dlc-manager/Cargo.toml @@ -6,7 +6,7 @@ homepage = "https://github.com/p2pderivatives/rust-dlc" license-file = "../LICENSE" name = "dlc-manager" repository = "https://github.com/p2pderivatives/rust-dlc/tree/master/dlc-manager" -version = "0.4.0" +version = "0.5.0" [features] default = ["std"] @@ -18,9 +18,9 @@ use-serde = ["serde", "dlc/use-serde", "dlc-messages/use-serde", "dlc-trie/use-s [dependencies] async-trait = "0.1.50" bitcoin = { version = "0.30.2", default-features = false } -dlc = { version = "0.4.0", default-features = false, path = "../dlc" } -dlc-messages = { version = "0.4.0", default-features = false, path = "../dlc-messages" } -dlc-trie = { version = "0.4.0", default-features = false, path = "../dlc-trie" } +dlc = { version = "0.5.0", default-features = false, path = "../dlc" } +dlc-messages = { version = "0.5.0", default-features = false, path = "../dlc-messages" } +dlc-trie = { version = "0.5.0", default-features = false, path = "../dlc-trie" } hex = { package = "hex-conservative", version = "0.1" } lightning = { version = "0.0.121", default-features = false, features = ["grind_signatures"] } log = "0.4.14" diff --git a/dlc-messages/CHANGELOG.md b/dlc-messages/CHANGELOG.md index b9dacd6a..95fea988 100644 --- a/dlc-messages/CHANGELOG.md +++ b/dlc-messages/CHANGELOG.md @@ -4,6 +4,22 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.5.0] - 2024-07-11 + +### Fixed +- serialization of `f64` +- `use-serde` feature +- `Reject` message + +### Changed +- updated bitcoin, lightning and secp256k1_zkp dependencies +- `read_dlc_message` is no public +- implement `std::error::Error` for `Error` struct + +### Added +- support for `no-std` +- `nonces` method for `OracleAttestation` + ## [0.3.0] - 2022-10-28 ### Changed diff --git a/dlc-messages/Cargo.toml b/dlc-messages/Cargo.toml index 07d476a2..3470aaa1 100644 --- a/dlc-messages/Cargo.toml +++ b/dlc-messages/Cargo.toml @@ -5,7 +5,7 @@ homepage = "https://github.com/p2pderivatives/rust-dlc" license-file = "../LICENSE" name = "dlc-messages" repository = "https://github.com/p2pderivatives/rust-dlc/tree/master/dlc-messages" -version = "0.4.0" +version = "0.5.0" [features] default = ["std"] @@ -15,7 +15,7 @@ use-serde = ["serde", "secp256k1-zkp/serde", "bitcoin/serde"] [dependencies] bitcoin = { version = "0.30.2", default-features = false } -dlc = { version = "0.4.0", path = "../dlc", default-features = false } +dlc = { version = "0.5.0", path = "../dlc", default-features = false } lightning = { version = "0.0.121", default-features = false } secp256k1-zkp = {version = "0.9.2"} serde = {version = "1.0", features = ["derive"], optional = true} diff --git a/dlc-trie/CHANGELOG.md b/dlc-trie/CHANGELOG.md index 6f7ad1ed..ad3af28c 100644 --- a/dlc-trie/CHANGELOG.md +++ b/dlc-trie/CHANGELOG.md @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.5.0] - 2024-07-11 + +### Changed +- update bitcoin and secp256k1_zkp dependencies + +### Added +- support for `no-std` + ## [0.4.0] - 2022-10-28 ### Changed diff --git a/dlc-trie/Cargo.toml b/dlc-trie/Cargo.toml index 746d1ed1..2b6f4470 100644 --- a/dlc-trie/Cargo.toml +++ b/dlc-trie/Cargo.toml @@ -5,7 +5,7 @@ homepage = "https://github.com/p2pderivatives/rust-dlc" license-file = "../LICENSE" name = "dlc-trie" repository = "https://github.com/p2pderivatives/rust-dlc/tree/master/dlc-trie" -version = "0.4.0" +version = "0.5.0" [features] default = ["std"] @@ -16,7 +16,7 @@ use-serde = ["serde", "dlc/use-serde"] [dependencies] bitcoin = { version = "0.30.2", default-features = false } -dlc = {version = "0.4.0", default-features = false, path = "../dlc"} +dlc = {version = "0.5.0", default-features = false, path = "../dlc"} rayon = {version = "1.5", optional = true} secp256k1-zkp = {version = "0.9.2" } serde = {version = "1.0", optional = true, default_features = false, features = ["derive"]} diff --git a/dlc/CHANGELOG.md b/dlc/CHANGELOG.md index 0f34de9a..62727ce2 100644 --- a/dlc/CHANGELOG.md +++ b/dlc/CHANGELOG.md @@ -4,6 +4,21 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.5.0] - 2024-07-11 + +### Added +- Implement `std::error::Error` for `dlc::Error` +- Support for `no-std` +- Re-export of `secp256k1_zkp` +- `get_fund_outpoint` for `DlcTransactions` + +### Changed +- Updated bitcoin and secp256k1 dependencies + +### Fixed +- Issue with fee computation +- Issue with the `use-serde` feature + ## [0.4.0] - 2023-02-06 ### Added diff --git a/dlc/Cargo.toml b/dlc/Cargo.toml index 96f00841..290ceea0 100644 --- a/dlc/Cargo.toml +++ b/dlc/Cargo.toml @@ -5,7 +5,7 @@ homepage = "https://github.com/p2pderivatives/rust-dlc" license-file = "../LICENSE" name = "dlc" repository = "https://github.com/p2pderivatives/rust-dlc/tree/master/dlc" -version = "0.4.0" +version = "0.5.0" [dependencies] bitcoin = { version = "0.30.2", default-features = false }