From 55c8ba333fbfbf0f0ceeea894a1b944046c0875f Mon Sep 17 00:00:00 2001 From: elenaf9 Date: Tue, 21 Sep 2021 11:51:42 +0000 Subject: [PATCH] apply version updates --- .changes/actix.md | 9 ----- .changes/clone-stronghold.md | 5 --- .changes/docs.md | 8 ----- .changes/error-types-client.md | 5 --- .changes/fuzzer.md | 6 ---- .changes/key-cloning.md | 7 ---- .changes/utils.md | 5 --- .changes/write_to_vault.md | 5 --- client/CHANGELOG.md | 22 ++++++++++++ client/Cargo.toml | 57 +++++++++++++++---------------- derive/CHANGELOG.md | 6 ++++ derive/Cargo.toml | 2 +- engine/CHANGELOG.md | 10 ++++++ engine/Cargo.toml | 28 +++++++-------- engine/runtime/CHANGELOG.md | 6 ++++ engine/runtime/Cargo.toml | 2 +- p2p/CHANGELOG.md | 7 ++++ p2p/Cargo.toml | 23 ++++++------- products/commandline/CHANGELOG.md | 28 +++++++++++++++ products/commandline/Cargo.toml | 8 ++--- utils/CHANGELOG.md | 5 +++ utils/Cargo.toml | 4 +-- 22 files changed, 144 insertions(+), 114 deletions(-) delete mode 100644 .changes/actix.md delete mode 100644 .changes/clone-stronghold.md delete mode 100644 .changes/docs.md delete mode 100644 .changes/error-types-client.md delete mode 100644 .changes/fuzzer.md delete mode 100644 .changes/key-cloning.md delete mode 100644 .changes/utils.md delete mode 100644 .changes/write_to_vault.md create mode 100644 p2p/CHANGELOG.md diff --git a/.changes/actix.md b/.changes/actix.md deleted file mode 100644 index 2aeba8aa7..000000000 --- a/.changes/actix.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"iota-stronghold": minor ---- - -- replace actor system riker with actix -- introduced registry actor for clients as service -- introduced snapshot actor as service -- merge `Internal` and `Client`-Actors into `SecureClient` -- api change in interface for test reading secrets out of a vault. minimal impact. \ No newline at end of file diff --git a/.changes/clone-stronghold.md b/.changes/clone-stronghold.md deleted file mode 100644 index a15c7a2c7..000000000 --- a/.changes/clone-stronghold.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"iota-stronghold": minor ---- - -- make stronghold interface clonable \ No newline at end of file diff --git a/.changes/docs.md b/.changes/docs.md deleted file mode 100644 index 2d5210567..000000000 --- a/.changes/docs.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"iota-stronghold": minor -"stronghold-engine": minor -"stronghold-derive": minor -"stronghold-runtime": minor ---- - -Update inline Docs and README files to reflect the current state of the project. \ No newline at end of file diff --git a/.changes/error-types-client.md b/.changes/error-types-client.md deleted file mode 100644 index eeb441cdd..000000000 --- a/.changes/error-types-client.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"iota-stronghold": patch ---- - -- Add `actors::secure::StoreError::NotExisting` as proper error type for correct error handling in client. \ No newline at end of file diff --git a/.changes/fuzzer.md b/.changes/fuzzer.md deleted file mode 100644 index b289780d2..000000000 --- a/.changes/fuzzer.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"stronghold-engine": patch ---- - -Add communication fuzzer for distributed fuzzing with docker. -Patch Stronghold engine fuzzer. \ No newline at end of file diff --git a/.changes/key-cloning.md b/.changes/key-cloning.md deleted file mode 100644 index 2f270663c..000000000 --- a/.changes/key-cloning.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"iota-stronghold": patch ---- - -[[PR 254](https://github.com/iotaledger/stronghold.rs/pull/254)] -Change key handling in the `SecureClient` to avoid unnecessary cloning of keys. -Remove obsolete VaultId-HashSet from the `SecureClient`. diff --git a/.changes/utils.md b/.changes/utils.md deleted file mode 100644 index f07777094..000000000 --- a/.changes/utils.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"stronghold-utils": patch ---- - -- remove riker as dependency from utils. \ No newline at end of file diff --git a/.changes/write_to_vault.md b/.changes/write_to_vault.md deleted file mode 100644 index 4252f5d04..000000000 --- a/.changes/write_to_vault.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"iota-stronghold": patch ---- - -- corrects wrong control flow. `write_to_vault` always returned an error even if the operation was successful. \ No newline at end of file diff --git a/client/CHANGELOG.md b/client/CHANGELOG.md index 5ae7d03ff..792a93cab 100644 --- a/client/CHANGELOG.md +++ b/client/CHANGELOG.md @@ -1,5 +1,27 @@ # Changelog +## \[0.5.0] + +- - replace actor system riker with actix +- introduced registry actor for clients as service +- introduced snapshot actor as service +- merge `Internal` and `Client`-Actors into `SecureClient` +- api change in interface for test reading secrets out of a vault. minimal impact. +- [e8b10eac](https://www.github.com/iotaledger/stronghold.rs/commit/e8b10eac4a914e5d78aae40ab4f1da15ac136ac7) feat: Migrating stronghold from riker actor system implementation to actix. client + internal actor have been merged. Message types are transformed into structs. on 2021-08-23 +- - make stronghold interface clonable + - [681a024e](https://www.github.com/iotaledger/stronghold.rs/commit/681a024e7fd5d6095bbf571d5a3d22fb449b54da) Clonable Stronghold Instance ([#257](https://www.github.com/iotaledger/stronghold.rs/pull/257)) on 2021-09-13 +- Update inline Docs and README files to reflect the current state of the project. + - [fc95c271](https://www.github.com/iotaledger/stronghold.rs/commit/fc95c27128dedf8aa2d366776c22cb9c8e3f158a) add changes. on 2021-07-01 + - [eafca12a](https://www.github.com/iotaledger/stronghold.rs/commit/eafca12ad915166d8039df6ad050bb1c65cbe248) fix changes format. on 2021-07-01 +- - Add `actors::secure::StoreError::NotExisting` as proper error type for correct error handling in client. + - [ad57181e](https://www.github.com/iotaledger/stronghold.rs/commit/ad57181e7c5baa4b6ccb66fb464667c97967db08) fix: inconsistent error message. ([#251](https://www.github.com/iotaledger/stronghold.rs/pull/251)) on 2021-08-26 +- \[[PR 254](https://github.com/iotaledger/stronghold.rs/pull/254)]\ + Change key handling in the `SecureClient` to avoid unnecessary cloning of keys. + Remove obsolete VaultId-HashSet from the `SecureClient`. + - [9b8d0da1](https://www.github.com/iotaledger/stronghold.rs/commit/9b8d0da150afd7446198672c8f7675547031c060) Fix(client): Avoid Key cloning, remove redundant code ([#254](https://www.github.com/iotaledger/stronghold.rs/pull/254)) on 2021-09-09 +- - corrects wrong control flow. `write_to_vault` always returned an error even if the operation was successful. + - [aea8a9dc](https://www.github.com/iotaledger/stronghold.rs/commit/aea8a9dc8c3fa12e5444c5b4bb3303876e4c1a2f) Fix/wrong cf on write to vault ([#253](https://www.github.com/iotaledger/stronghold.rs/pull/253)) on 2021-08-30 + ## \[0.4.1] - Merged Store, Vault and Snapshot into a single crate called Stronghold-Engine. diff --git a/client/Cargo.toml b/client/Cargo.toml index b22b989a3..f272be106 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iota_stronghold" -version = "0.4.1" +version = "0.5.0" authors = [ "IOTA Stiftung", "tensor-programming " @@ -14,6 +14,9 @@ categories = [ "security" ] homepage = "https://stronghold.docs.iota.org" repository = "https://github.com/iotaledger/stronghold.rs" +[package.metadata.docs.rs] +all-features = true + [dependencies] bincode = "1.3" serde = { version = "1.0", features = [ "derive" ] } @@ -24,49 +27,45 @@ thiserror = "1.0" futures = { version = "0.3", optional = true } actix = "0.12" -[dependencies.stronghold_engine] -path = "../engine" -version = "0.4" + [dependencies.stronghold_engine] + path = "../engine" + version = "0.4" -[dependencies.iota-crypto] -version = "0.7.0" -features = [ -"random", -"ed25519", -"sha", -"hmac", -"bip39-en", -"slip10", -"chacha" + [dependencies.iota-crypto] + version = "0.7.0" + features = [ + "random", + "ed25519", + "sha", + "hmac", + "bip39-en", + "slip10", + "chacha" ] -[dependencies.stronghold-p2p] -path = "../p2p" -version = "0.3" -optional = true + [dependencies.stronghold-p2p] + path = "../p2p" + version = "0.3" + optional = true -[dependencies.stronghold-utils] -path = "../utils" -version = "0.3" + [dependencies.stronghold-utils] + path = "../utils" + version = "0.3" [features] -p2p = ["stronghold-p2p", "futures"] +p2p = [ "stronghold-p2p", "futures" ] [dev-dependencies] hex = "0.4.2" -criterion = { version = "0.3.3", features = ["async_tokio"] } +criterion = { version = "0.3.3", features = [ "async_tokio" ] } clap = { version = "3.0.0-beta.1", features = [ "yaml" ] } rand = "0.8.3" -tokio = {version = "1.9", features = ["rt-multi-thread"] } +tokio = { version = "1.9", features = [ "rt-multi-thread" ] } [[example]] name = "p2p" -required-features = ["p2p"] - +required-features = [ "p2p" ] [[bench]] name = "benchmark" harness = false - -[package.metadata.docs.rs] -all-features = true \ No newline at end of file diff --git a/derive/CHANGELOG.md b/derive/CHANGELOG.md index 9b3f16bbd..d21382ad8 100644 --- a/derive/CHANGELOG.md +++ b/derive/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[0.3.0] + +- Update inline Docs and README files to reflect the current state of the project. + - [fc95c271](https://www.github.com/iotaledger/stronghold.rs/commit/fc95c27128dedf8aa2d366776c22cb9c8e3f158a) add changes. on 2021-07-01 + - [eafca12a](https://www.github.com/iotaledger/stronghold.rs/commit/eafca12ad915166d8039df6ad050bb1c65cbe248) fix changes format. on 2021-07-01 + ## \[0.2.0] - Merged Store, Vault and Snapshot into a single crate called Stronghold-Engine. diff --git a/derive/Cargo.toml b/derive/Cargo.toml index 4d0dd37f1..74ef0fbc0 100644 --- a/derive/Cargo.toml +++ b/derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "stronghold-derive" -version = "0.2.0" +version = "0.3.0" authors = [ "IOTA Stiftung", "tensor-programming " diff --git a/engine/CHANGELOG.md b/engine/CHANGELOG.md index 9a2906cbb..2cb53e44a 100644 --- a/engine/CHANGELOG.md +++ b/engine/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[0.5.0] + +- Update inline Docs and README files to reflect the current state of the project. + - [fc95c271](https://www.github.com/iotaledger/stronghold.rs/commit/fc95c27128dedf8aa2d366776c22cb9c8e3f158a) add changes. on 2021-07-01 + - [eafca12a](https://www.github.com/iotaledger/stronghold.rs/commit/eafca12ad915166d8039df6ad050bb1c65cbe248) fix changes format. on 2021-07-01 +- Add communication fuzzer for distributed fuzzing with docker. + Patch Stronghold engine fuzzer. + - [4f9d0f2a](https://www.github.com/iotaledger/stronghold.rs/commit/4f9d0f2af0bbcfb16e579f92306cc2d177c50d93) Feature: client communications fuzzer ([#216](https://www.github.com/iotaledger/stronghold.rs/pull/216)) on 2021-06-15 + - [4e7c1c9a](https://www.github.com/iotaledger/stronghold.rs/commit/4e7c1c9a79868ec81b9bc972a9266f17cf0b8888) fix(covector): remove comms library from covector on 2021-08-25 + ## \[0.4.0] - Merged Store, Vault and Snapshot into a single crate called Stronghold-Engine. diff --git a/engine/Cargo.toml b/engine/Cargo.toml index 59d6b94e8..5993e3bdb 100644 --- a/engine/Cargo.toml +++ b/engine/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "stronghold_engine" -version = "0.4.0" +version = "0.5.0" authors = [ "IOTA Stiftung", "tensorprogramming " @@ -26,18 +26,18 @@ paste = "1.0.1" once_cell = "1.4" serde = { version = "1.0", features = [ "derive" ] } -[dependencies.stronghold-runtime] -path = "runtime" -version = "0.3" + [dependencies.stronghold-runtime] + path = "runtime" + version = "0.4" -[dependencies.digest] -version = "0.9.0" -optional = true -default-features = false + [dependencies.digest] + version = "0.9.0" + optional = true + default-features = false -[dependencies.iota-crypto] -version = "0.7.0" -features = [ "random", "chacha", "hmac", "sha", "x25519", "blake2b" ] + [dependencies.iota-crypto] + version = "0.7.0" + features = [ "random", "chacha", "hmac", "sha", "x25519", "blake2b" ] [dev-dependencies] tempfile = "3.1.0" @@ -46,6 +46,6 @@ proptest = "1.0.0" criterion = "0.3.3" json = "0.12" -[dev-dependencies.stronghold-utils] -path = "../utils" -version = "0.3" + [dev-dependencies.stronghold-utils] + path = "../utils" + version = "0.3" diff --git a/engine/runtime/CHANGELOG.md b/engine/runtime/CHANGELOG.md index 376add08c..b0ebfe021 100644 --- a/engine/runtime/CHANGELOG.md +++ b/engine/runtime/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[0.4.0] + +- Update inline Docs and README files to reflect the current state of the project. + - [fc95c271](https://www.github.com/iotaledger/stronghold.rs/commit/fc95c27128dedf8aa2d366776c22cb9c8e3f158a) add changes. on 2021-07-01 + - [eafca12a](https://www.github.com/iotaledger/stronghold.rs/commit/eafca12ad915166d8039df6ad050bb1c65cbe248) fix changes format. on 2021-07-01 + ## \[0.3.0] - Added zeroing allocator to the runtime.\ diff --git a/engine/runtime/Cargo.toml b/engine/runtime/Cargo.toml index f089e91a4..ab080f810 100644 --- a/engine/runtime/Cargo.toml +++ b/engine/runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "stronghold-runtime" -version = "0.3.0" +version = "0.4.0" authors = [ "IOTA Stiftung", "tensor-programming " diff --git a/p2p/CHANGELOG.md b/p2p/CHANGELOG.md new file mode 100644 index 000000000..51631f4d8 --- /dev/null +++ b/p2p/CHANGELOG.md @@ -0,0 +1,7 @@ +# Changelog + +## \[0.3.1] + +- - remove riker as dependency from utils. + - Bumped due to a bump in stronghold-utils. + - [34af5797](https://www.github.com/iotaledger/stronghold.rs/commit/34af5797df675912d9a78ea6a673b8a535ce1f91) Fix/remove riker from utils ([#252](https://www.github.com/iotaledger/stronghold.rs/pull/252)) on 2021-08-27 diff --git a/p2p/Cargo.toml b/p2p/Cargo.toml index 633b6bed1..c2a3634c3 100644 --- a/p2p/Cargo.toml +++ b/p2p/Cargo.toml @@ -1,10 +1,7 @@ [package] name = "stronghold-p2p" -version = "0.3.0" -authors = [ - "IOTA Stiftung", - "Elena Frank " @@ -18,9 +18,9 @@ bincode = "1.3.1" serde = { version = "1.0.114", features = [ "derive" ] } actix = { version = "0.12.0" } -[dependencies.iota_stronghold] -path = "../../client/" -version = "0.4" + [dependencies.iota_stronghold] + path = "../../client/" + version = "0.4" [[bin]] name = "stronghold" diff --git a/utils/CHANGELOG.md b/utils/CHANGELOG.md index 2097ad63f..098cd9994 100644 --- a/utils/CHANGELOG.md +++ b/utils/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## \[0.3.1] + +- - remove riker as dependency from utils. + - [34af5797](https://www.github.com/iotaledger/stronghold.rs/commit/34af5797df675912d9a78ea6a673b8a535ce1f91) Fix/remove riker from utils ([#252](https://www.github.com/iotaledger/stronghold.rs/pull/252)) on 2021-08-27 + ## \[0.3.0] - Merged Store, Vault and Snapshot into a single crate called Stronghold-Engine. diff --git a/utils/Cargo.toml b/utils/Cargo.toml index b6d6f47eb..cb70a1316 100644 --- a/utils/Cargo.toml +++ b/utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "stronghold-utils" -version = "0.3.0" +version = "0.3.1" authors = [ "IOTA Stiftung", "tensor-programming " @@ -16,4 +16,4 @@ rand = "0.8.3" [dependencies.stronghold-derive] path = "../derive" - version = "0.2.0" + version = "0.3.0"