Skip to content

Commit 4526ebe

Browse files
committed
v0.5.0 release preparation
1 parent 8667a13 commit 4526ebe

File tree

8 files changed

+78
-9
lines changed

8 files changed

+78
-9
lines changed

dlc-manager/CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,36 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.5.0] - 2024-07-11
8+
9+
### Added
10+
- support for `no-std`
11+
- option to skip channel checks
12+
- possibility to pass oracle announcements when offering a contract
13+
- possibility to manually close contract
14+
- possibility to manally handle counter party closing of contract
15+
- `get_new_change_address` for `Wallet` trait
16+
- ability to reject channel offers
17+
18+
### Changed
19+
- reject contract and channel offers when the id already exists
20+
- implement `std::error::Error` for `Error` structs
21+
- update bitcoin, lightning and secp256k1_zkp dependencies
22+
- `fee_rate` parameter is not optional anymore in `get_utxo_for_amount` of `Wallet` trait
23+
- `Signer::sign_tx_input` changed to `Signer::sign_psbt_input`
24+
- Use a `ContractSignerProvider` for generating signers for contracts
25+
- Remove usage of `global-context` feature of secp256k1_zkp
26+
27+
### Fixed
28+
- validation of hyperbola parameters
29+
- ensure that payouts are not rounded up above the collateral
30+
- load channel monitor from storage when it exists
31+
- floating point arithmetic triggering payout computation errors
32+
- overflow bug in payout curve
33+
- added timeout on `RenewOffer` state
34+
- issue with channel protocol
35+
36+
737
## [0.4.0] - 2023-02-06
838

939
### Added

dlc-manager/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ homepage = "https://github.com/p2pderivatives/rust-dlc"
66
license-file = "../LICENSE"
77
name = "dlc-manager"
88
repository = "https://github.com/p2pderivatives/rust-dlc/tree/master/dlc-manager"
9-
version = "0.4.0"
9+
version = "0.5.0"
1010

1111
[features]
1212
default = ["std"]
@@ -18,9 +18,9 @@ use-serde = ["serde", "dlc/use-serde", "dlc-messages/use-serde", "dlc-trie/use-s
1818
[dependencies]
1919
async-trait = "0.1.50"
2020
bitcoin = { version = "0.30.2", default-features = false }
21-
dlc = { version = "0.4.0", default-features = false, path = "../dlc" }
22-
dlc-messages = { version = "0.4.0", default-features = false, path = "../dlc-messages" }
23-
dlc-trie = { version = "0.4.0", default-features = false, path = "../dlc-trie" }
21+
dlc = { version = "0.5.0", default-features = false, path = "../dlc" }
22+
dlc-messages = { version = "0.5.0", default-features = false, path = "../dlc-messages" }
23+
dlc-trie = { version = "0.5.0", default-features = false, path = "../dlc-trie" }
2424
hex = { package = "hex-conservative", version = "0.1" }
2525
lightning = { version = "0.0.121", default-features = false, features = ["grind_signatures"] }
2626
log = "0.4.14"

dlc-messages/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,22 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.5.0] - 2024-07-11
8+
9+
### Fixed
10+
- serialization of `f64`
11+
- `use-serde` feature
12+
- `Reject` message
13+
14+
### Changed
15+
- updated bitcoin, lightning and secp256k1_zkp dependencies
16+
- `read_dlc_message` is no public
17+
- implement `std::error::Error` for `Error` struct
18+
19+
### Added
20+
- support for `no-std`
21+
- `nonces` method for `OracleAttestation`
22+
723
## [0.3.0] - 2022-10-28
824

925
### Changed

dlc-messages/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ homepage = "https://github.com/p2pderivatives/rust-dlc"
55
license-file = "../LICENSE"
66
name = "dlc-messages"
77
repository = "https://github.com/p2pderivatives/rust-dlc/tree/master/dlc-messages"
8-
version = "0.4.0"
8+
version = "0.5.0"
99

1010
[features]
1111
default = ["std"]
@@ -15,7 +15,7 @@ use-serde = ["serde", "secp256k1-zkp/serde", "bitcoin/serde"]
1515

1616
[dependencies]
1717
bitcoin = { version = "0.30.2", default-features = false }
18-
dlc = { version = "0.4.0", path = "../dlc", default-features = false }
18+
dlc = { version = "0.5.0", path = "../dlc", default-features = false }
1919
lightning = { version = "0.0.121", default-features = false }
2020
secp256k1-zkp = {version = "0.9.2"}
2121
serde = {version = "1.0", features = ["derive"], optional = true}

dlc-trie/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.5.0] - 2024-07-11
8+
9+
### Changed
10+
- update bitcoin and secp256k1_zkp dependencies
11+
12+
### Added
13+
- support for `no-std`
14+
715
## [0.4.0] - 2022-10-28
816

917
### Changed

dlc-trie/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ homepage = "https://github.com/p2pderivatives/rust-dlc"
55
license-file = "../LICENSE"
66
name = "dlc-trie"
77
repository = "https://github.com/p2pderivatives/rust-dlc/tree/master/dlc-trie"
8-
version = "0.4.0"
8+
version = "0.5.0"
99

1010
[features]
1111
default = ["std"]
@@ -16,7 +16,7 @@ use-serde = ["serde", "dlc/use-serde"]
1616

1717
[dependencies]
1818
bitcoin = { version = "0.30.2", default-features = false }
19-
dlc = {version = "0.4.0", default-features = false, path = "../dlc"}
19+
dlc = {version = "0.5.0", default-features = false, path = "../dlc"}
2020
rayon = {version = "1.5", optional = true}
2121
secp256k1-zkp = {version = "0.9.2" }
2222
serde = {version = "1.0", optional = true, default_features = false, features = ["derive"]}

dlc/CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,21 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.5.0] - 2024-07-11
8+
9+
### Added
10+
- Implement `std::error::Error` for `dlc::Error`
11+
- Support for `no-std`
12+
- Re-export of `secp256k1_zkp`
13+
- `get_fund_outpoint` for `DlcTransactions`
14+
15+
### Changed
16+
- Updated bitcoin and secp256k1 dependencies
17+
18+
### Fixed
19+
- Issue with fee computation
20+
- Issue with the `use-serde` feature
21+
722
## [0.4.0] - 2023-02-06
823

924
### Added

dlc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ homepage = "https://github.com/p2pderivatives/rust-dlc"
55
license-file = "../LICENSE"
66
name = "dlc"
77
repository = "https://github.com/p2pderivatives/rust-dlc/tree/master/dlc"
8-
version = "0.4.0"
8+
version = "0.5.0"
99

1010
[dependencies]
1111
bitcoin = { version = "0.30.2", default-features = false }

0 commit comments

Comments
 (0)