diff --git a/book/src/tutorial/importing.md b/book/src/tutorial/importing.md index 68d1225f..1777bd42 100644 --- a/book/src/tutorial/importing.md +++ b/book/src/tutorial/importing.md @@ -6,7 +6,7 @@ Add to your `Cargo.toml` file: ``` [dependencies] -frost-ristretto255 = "2.0.0-rc.0" +frost-ristretto255 = "2.0.0" ``` ## Handling errors @@ -38,7 +38,7 @@ needs to be transmitted. The importing would look like: ``` [dependencies] -frost-ristretto255 = { version = "2.0.0-rc.0", features = ["serde"] } +frost-ristretto255 = { version = "2.0.0", features = ["serde"] } ``` Note that serde usage is optional. Applications can use different encodings, and diff --git a/frost-core/CHANGELOG.md b/frost-core/CHANGELOG.md index 1ca9cc41..6ef2ae2f 100644 --- a/frost-core/CHANGELOG.md +++ b/frost-core/CHANGELOG.md @@ -4,6 +4,11 @@ Entries are listed in reverse chronological order. ## Unreleased +## 2.0.0 + +* Updated docs +* Added missing `derive(Getters)` for `dkg::{round1, round2}` +* Added `internal` feature for `validate_num_of_signers` * Added refresh share functionality for trusted dealer: `frost_core::keys::refresh::{compute_refreshing_shares, refresh_share}` * Added a `'static` bound to the `Ciphersuite` trait. This is a breaking change, diff --git a/frost-core/Cargo.toml b/frost-core/Cargo.toml index cba92914..5b1ab2e8 100644 --- a/frost-core/Cargo.toml +++ b/frost-core/Cargo.toml @@ -4,7 +4,7 @@ edition = "2021" # When releasing to crates.io: # - Update CHANGELOG.md # - Create git tag. -version = "2.0.0-rc.0" +version = "2.0.0" authors = [ "Deirdre Connolly ", "Chelsea Komlo ", diff --git a/frost-ed25519/Cargo.toml b/frost-ed25519/Cargo.toml index 5c1833bb..add2afc6 100644 --- a/frost-ed25519/Cargo.toml +++ b/frost-ed25519/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" # - Update html_root_url # - Update CHANGELOG.md # - Create git tag. -version = "2.0.0-rc.0" +version = "2.0.0" authors = [ "Deirdre Connolly ", "Chelsea Komlo ", @@ -25,15 +25,15 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] curve25519-dalek = { version = "=4.1.3", features = ["rand_core"] } document-features = "0.2.7" -frost-core = { path = "../frost-core", version = "2.0.0-rc.0", default-features = false } -frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0-rc.0", default-features = false } +frost-core = { path = "../frost-core", version = "2.0.0", default-features = false } +frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0", default-features = false } rand_core = "0.6" sha2 = { version = "0.10.2", default-features = false } [dev-dependencies] criterion = "0.5" -frost-core = { path = "../frost-core", version = "2.0.0-rc.0", features = ["test-impl"] } -frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0-rc.0", features = ["test-impl"] } +frost-core = { path = "../frost-core", version = "2.0.0", features = ["test-impl"] } +frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0", features = ["test-impl"] } ed25519-dalek = "2.0.0" insta = { version = "1.31.0", features = ["yaml"] } hex = { version = "0.4.3", default-features = false, features = ["alloc"] } diff --git a/frost-ed448/Cargo.toml b/frost-ed448/Cargo.toml index ead6ef37..17ba4b5f 100644 --- a/frost-ed448/Cargo.toml +++ b/frost-ed448/Cargo.toml @@ -4,7 +4,7 @@ edition = "2021" # When releasing to crates.io: # - Update CHANGELOG.md # - Create git tag. -version = "2.0.0-rc.0" +version = "2.0.0" authors = [ "Deirdre Connolly ", "Chelsea Komlo ", @@ -24,15 +24,15 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] document-features = "0.2.7" ed448-goldilocks = { version = "0.9.0" } -frost-core = { path = "../frost-core", version = "2.0.0-rc.0", default-features = false } -frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0-rc.0", default-features = false } +frost-core = { path = "../frost-core", version = "2.0.0", default-features = false } +frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0", default-features = false } rand_core = "0.6" sha3 = { version = "0.10.6", default-features = false } [dev-dependencies] criterion = "0.5" -frost-core = { path = "../frost-core", version = "2.0.0-rc.0", features = ["test-impl"] } -frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0-rc.0", features = ["test-impl"] } +frost-core = { path = "../frost-core", version = "2.0.0", features = ["test-impl"] } +frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0", features = ["test-impl"] } lazy_static = "1.4" insta = { version = "1.31.0", features = ["yaml"] } hex = { version = "0.4.3", default-features = false, features = ["alloc"] } diff --git a/frost-p256/Cargo.toml b/frost-p256/Cargo.toml index b55969e9..5b94d488 100644 --- a/frost-p256/Cargo.toml +++ b/frost-p256/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" # - Update html_root_url # - Update CHANGELOG.md # - Create git tag. -version = "2.0.0-rc.0" +version = "2.0.0" authors = [ "Deirdre Connolly ", "Chelsea Komlo ", @@ -25,15 +25,15 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] document-features = "0.2.7" p256 = { version = "0.13.0", features = ["hash2curve"], default-features = false } -frost-core = { path = "../frost-core", version = "2.0.0-rc.0", default-features = false } -frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0-rc.0", default-features = false } +frost-core = { path = "../frost-core", version = "2.0.0", default-features = false } +frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0", default-features = false } rand_core = "0.6" sha2 = { version = "0.10.2", default-features = false } [dev-dependencies] criterion = "0.5" -frost-core = { path = "../frost-core", version = "2.0.0-rc.0", features = ["test-impl"] } -frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0-rc.0", features = ["test-impl"] } +frost-core = { path = "../frost-core", version = "2.0.0", features = ["test-impl"] } +frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0", features = ["test-impl"] } insta = { version = "1.31.0", features = ["yaml"] } hex = { version = "0.4.3", default-features = false, features = ["alloc"] } lazy_static = "1.4" diff --git a/frost-rerandomized/Cargo.toml b/frost-rerandomized/Cargo.toml index 1b011eb4..da4d2440 100644 --- a/frost-rerandomized/Cargo.toml +++ b/frost-rerandomized/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" # - Update html_root_url # - Update CHANGELOG.md # - Create git tag. -version = "2.0.0-rc.0" +version = "2.0.0" authors = [ "Deirdre Connolly ", "Chelsea Komlo ", @@ -25,7 +25,7 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] derive-getters = "0.5.0" document-features = "0.2.7" -frost-core = { path = "../frost-core", version = "2.0.0-rc.0", features = [ +frost-core = { path = "../frost-core", version = "2.0.0", features = [ "internals" ], default-features = false } hex = { version = "0.4.3", default-features = false, features = ["alloc"] } diff --git a/frost-ristretto255/Cargo.toml b/frost-ristretto255/Cargo.toml index 677ecc92..e666dc83 100644 --- a/frost-ristretto255/Cargo.toml +++ b/frost-ristretto255/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" # - Update html_root_url # - Update CHANGELOG.md # - Create git tag. -version = "2.0.0-rc.0" +version = "2.0.0" authors = ["Deirdre Connolly ", "Chelsea Komlo ", "Conrado Gouvea "] readme = "README.md" license = "MIT OR Apache-2.0" @@ -21,15 +21,15 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] curve25519-dalek = { version = "=4.1.3", features = ["rand_core"] } document-features = "0.2.7" -frost-core = { path = "../frost-core", version = "2.0.0-rc.0", default-features = false } -frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0-rc.0", default-features = false } +frost-core = { path = "../frost-core", version = "2.0.0", default-features = false } +frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0", default-features = false } rand_core = "0.6" sha2 = { version = "0.10.2", default-features = false } [dev-dependencies] criterion = { version = "0.5", features = ["html_reports"] } -frost-core = { path = "../frost-core", version = "2.0.0-rc.0", features = ["test-impl"] } -frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0-rc.0", features = ["test-impl"] } +frost-core = { path = "../frost-core", version = "2.0.0", features = ["test-impl"] } +frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0", features = ["test-impl"] } insta = { version = "1.31.0", features = ["yaml"] } hex = { version = "0.4.3", default-features = false, features = ["alloc"] } lazy_static = "1.4" diff --git a/frost-secp256k1/Cargo.toml b/frost-secp256k1/Cargo.toml index cf3afc6c..cdc8adcb 100644 --- a/frost-secp256k1/Cargo.toml +++ b/frost-secp256k1/Cargo.toml @@ -4,7 +4,7 @@ edition = "2021" # When releasing to crates.io: # - Update CHANGELOG.md # - Create git tag. -version = "2.0.0-rc.0" +version = "2.0.0" authors = [ "Deirdre Connolly ", "Chelsea Komlo ", @@ -23,16 +23,16 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] document-features = "0.2.7" -frost-core = { path = "../frost-core", version = "2.0.0-rc.0", default-features = false } -frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0-rc.0", default-features = false } +frost-core = { path = "../frost-core", version = "2.0.0", default-features = false } +frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0", default-features = false } k256 = { version = "0.13.0", features = ["arithmetic", "expose-field", "hash2curve"], default-features = false } rand_core = "0.6" sha2 = { version = "0.10.2", default-features = false } [dev-dependencies] criterion = "0.5" -frost-core = { path = "../frost-core", version = "2.0.0-rc.0", features = ["test-impl"] } -frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0-rc.0", features = ["test-impl"] } +frost-core = { path = "../frost-core", version = "2.0.0", features = ["test-impl"] } +frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0", features = ["test-impl"] } insta = { version = "1.31.0", features = ["yaml"] } hex = { version = "0.4.3", default-features = false, features = ["alloc"] } lazy_static = "1.4"