Skip to content

Commit

Permalink
Merge pull request #233 from p2pderivatives/chore/v0.5.0-release
Browse files Browse the repository at this point in the history
v0.5.0 release preparation
  • Loading branch information
Tibo-lg authored Jul 11, 2024
2 parents 8667a13 + 4526ebe commit d8afc96
Show file tree
Hide file tree
Showing 8 changed files with 78 additions and 9 deletions.
30 changes: 30 additions & 0 deletions dlc-manager/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions dlc-manager/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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"
Expand Down
16 changes: 16 additions & 0 deletions dlc-messages/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions dlc-messages/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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}
Expand Down
8 changes: 8 additions & 0 deletions dlc-trie/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions dlc-trie/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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"]}
15 changes: 15 additions & 0 deletions dlc/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion dlc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit d8afc96

Please sign in to comment.