From b42058aa2bc5219984dda79b7798e989e76f861b Mon Sep 17 00:00:00 2001 From: Mike the Tike Date: Thu, 4 Nov 2021 15:34:30 +0200 Subject: [PATCH] v0.13.0 BREAKING CHANGES * implement new CipherSeed and upgrade encryption KDF (#3505) Features * add a Rejected status to TransactionStatus ([#3512](https://github.com/tari-project/tari/issues/3512)) ([c65a01c](https://github.com/tari-project/tari/commit/c65a01c33f20b79f07227daeb91ccbef5b804b18)) * add caching and clippy annotations to CI ([#3518](https://github.com/tari-project/tari/issues/3518)) ([beacb9e](https://github.com/tari-project/tari/commit/beacb9e652fdb70ff7164ebcc5f496759c26a903)) * implement new CipherSeed and upgrade encryption KDF ([#3505](https://github.com/tari-project/tari/issues/3505)) ([ef4f84f](https://github.com/tari-project/tari/commit/ef4f84ff97dd9543669a8b4a37b20d718bd8d18b)) Bug Fixes * edge case fix for integer pair iter ([#3508](https://github.com/tari-project/tari/issues/3508)) ([097e3e2](https://github.com/tari-project/tari/commit/097e3e2c5b3b4fee305c0d279177e1231b82bf1c)) * header sync must allow transition to archival/pruned if tip is behind ([#3520](https://github.com/tari-project/tari/issues/3520)) ([e028386](https://github.com/tari-project/tari/commit/e0283867cf7e0c3848dc48b67fee8aa2645ac67c)) --- Cargo.lock | 72 +++++++++++-------- applications/tari_app_grpc/Cargo.toml | 4 +- applications/tari_app_utilities/Cargo.toml | 2 +- applications/tari_base_node/Cargo.toml | 2 +- applications/tari_console_wallet/Cargo.toml | 4 +- .../tari_merge_mining_proxy/Cargo.toml | 2 +- applications/tari_mining_node/Cargo.toml | 2 +- applications/test_faucet/Cargo.toml | 2 +- base_layer/common_types/Cargo.toml | 2 +- base_layer/core/Cargo.toml | 30 ++++---- base_layer/key_manager/Cargo.toml | 2 +- base_layer/mmr/Cargo.toml | 4 +- base_layer/p2p/Cargo.toml | 18 ++--- base_layer/service_framework/Cargo.toml | 6 +- base_layer/tari_stratum_ffi/Cargo.toml | 4 +- base_layer/wallet/Cargo.toml | 26 +++---- base_layer/wallet_ffi/Cargo.toml | 22 +++--- changelog.md | 19 +++++ common/Cargo.toml | 6 +- comms/Cargo.toml | 10 +-- comms/dht/Cargo.toml | 14 ++-- comms/rpc_macros/Cargo.toml | 6 +- infrastructure/derive/Cargo.toml | 2 +- infrastructure/shutdown/Cargo.toml | 2 +- infrastructure/storage/Cargo.toml | 2 +- infrastructure/test_utils/Cargo.toml | 2 +- package-lock.json | 2 +- 27 files changed, 152 insertions(+), 117 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bc4e173dd3..20ee6d05e1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -946,6 +946,22 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "crossterm" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e86d73f2a0b407b5768d10a8c720cf5d2df49a9efc10ca09176d201ead4b7fb" +dependencies = [ + "bitflags 1.3.2", + "crossterm_winapi", + "lazy_static 1.4.0", + "libc", + "mio", + "parking_lot 0.11.2", + "signal-hook", + "winapi 0.3.9", +] + [[package]] name = "crossterm_winapi" version = "0.6.2" @@ -4269,7 +4285,7 @@ dependencies = [ [[package]] name = "tari_app_grpc" -version = "0.12.0" +version = "0.13.0" dependencies = [ "chrono", "prost", @@ -4284,7 +4300,7 @@ dependencies = [ [[package]] name = "tari_app_utilities" -version = "0.12.0" +version = "0.13.0" dependencies = [ "config", "dirs-next 1.0.2", @@ -4309,7 +4325,7 @@ dependencies = [ [[package]] name = "tari_base_node" -version = "0.12.0" +version = "0.13.0" dependencies = [ "anyhow", "bincode", @@ -4367,7 +4383,7 @@ dependencies = [ [[package]] name = "tari_common" -version = "0.12.0" +version = "0.13.0" dependencies = [ "anyhow", "config", @@ -4397,7 +4413,7 @@ dependencies = [ [[package]] name = "tari_common_types" -version = "0.12.0" +version = "0.13.0" dependencies = [ "digest", "futures 0.3.17", @@ -4411,7 +4427,7 @@ dependencies = [ [[package]] name = "tari_comms" -version = "0.12.0" +version = "0.13.0" dependencies = [ "anyhow", "async-trait", @@ -4460,7 +4476,7 @@ dependencies = [ [[package]] name = "tari_comms_dht" -version = "0.12.0" +version = "0.13.0" dependencies = [ "anyhow", "bitflags 1.3.2", @@ -4507,7 +4523,7 @@ dependencies = [ [[package]] name = "tari_comms_rpc_macros" -version = "0.12.0" +version = "0.13.0" dependencies = [ "futures 0.3.17", "proc-macro2 1.0.32", @@ -4522,12 +4538,12 @@ dependencies = [ [[package]] name = "tari_console_wallet" -version = "0.12.0" +version = "0.13.0" dependencies = [ "bitflags 1.3.2", "chrono", "chrono-english", - "crossterm", + "crossterm 0.17.7", "futures 0.3.17", "log 0.4.14", "opentelemetry", @@ -4564,7 +4580,7 @@ dependencies = [ [[package]] name = "tari_core" -version = "0.12.0" +version = "0.13.0" dependencies = [ "async-trait", "bincode", @@ -4645,7 +4661,7 @@ dependencies = [ [[package]] name = "tari_infra_derive" -version = "0.12.0" +version = "0.13.0" dependencies = [ "blake2", "proc-macro2 0.4.30", @@ -4655,7 +4671,7 @@ dependencies = [ [[package]] name = "tari_key_manager" -version = "0.12.0" +version = "0.13.0" dependencies = [ "argon2", "arrayvec 0.7.1", @@ -4673,7 +4689,7 @@ dependencies = [ [[package]] name = "tari_merge_mining_proxy" -version = "0.12.0" +version = "0.13.0" dependencies = [ "anyhow", "bincode", @@ -4710,7 +4726,7 @@ dependencies = [ [[package]] name = "tari_mining_node" -version = "0.12.0" +version = "0.13.0" dependencies = [ "bufstream", "chrono", @@ -4740,7 +4756,7 @@ dependencies = [ [[package]] name = "tari_mmr" -version = "0.12.0" +version = "0.13.0" dependencies = [ "bincode", "blake2", @@ -4759,7 +4775,7 @@ dependencies = [ [[package]] name = "tari_p2p" -version = "0.12.0" +version = "0.13.0" dependencies = [ "anyhow", "bytes 0.5.6", @@ -4801,7 +4817,7 @@ dependencies = [ [[package]] name = "tari_service_framework" -version = "0.12.0" +version = "0.13.0" dependencies = [ "anyhow", "async-trait", @@ -4818,7 +4834,7 @@ dependencies = [ [[package]] name = "tari_shutdown" -version = "0.12.0" +version = "0.13.0" dependencies = [ "futures 0.3.17", "tokio 1.13.0", @@ -4826,7 +4842,7 @@ dependencies = [ [[package]] name = "tari_storage" -version = "0.12.0" +version = "0.13.0" dependencies = [ "bincode", "bytes 0.5.6", @@ -4844,7 +4860,7 @@ dependencies = [ [[package]] name = "tari_stratum_ffi" -version = "0.12.0" +version = "0.13.0" dependencies = [ "hex", "libc", @@ -4897,7 +4913,7 @@ dependencies = [ [[package]] name = "tari_test_utils" -version = "0.12.0" +version = "0.13.0" dependencies = [ "futures 0.3.17", "futures-test", @@ -4928,7 +4944,7 @@ dependencies = [ [[package]] name = "tari_wallet" -version = "0.12.0" +version = "0.13.0" dependencies = [ "aes-gcm 0.8.0", "argon2", @@ -4973,7 +4989,7 @@ dependencies = [ [[package]] name = "tari_wallet_ffi" -version = "0.20.0" +version = "0.20.1" dependencies = [ "chrono", "env_logger 0.7.1", @@ -5026,7 +5042,7 @@ dependencies = [ [[package]] name = "test_faucet" -version = "0.12.0" +version = "0.13.0" dependencies = [ "rand 0.8.4", "serde 1.0.130", @@ -5700,13 +5716,13 @@ dependencies = [ [[package]] name = "tui" -version = "0.12.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2eaeee894a1e9b90f80aa466fe59154fdb471980b5e104d8836fcea309ae17e" +checksum = "5d4e6c82bb967df89f20b875fa8835fab5d5622c6a5efa574a1f0b6d0aa6e8f6" dependencies = [ "bitflags 1.3.2", "cassowary", - "crossterm", + "crossterm 0.18.2", "unicode-segmentation", "unicode-width", ] diff --git a/applications/tari_app_grpc/Cargo.toml b/applications/tari_app_grpc/Cargo.toml index df0cfc1ccf..9030fc789f 100644 --- a/applications/tari_app_grpc/Cargo.toml +++ b/applications/tari_app_grpc/Cargo.toml @@ -4,11 +4,11 @@ authors = ["The Tari Development Community"] description = "This crate is to provide a single source for all cross application grpc files and conversions to and from tari::core" repository = "https://github.com/tari-project/tari" license = "BSD-3-Clause" -version = "0.12.0" +version = "0.13.0" edition = "2018" [dependencies] -tari_common_types = { version = "^0.12", path = "../../base_layer/common_types"} +tari_common_types = { version = "^0.13", path = "../../base_layer/common_types"} tari_core = { path = "../../base_layer/core"} tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", branch = "main" } tari_comms = { path = "../../comms"} diff --git a/applications/tari_app_utilities/Cargo.toml b/applications/tari_app_utilities/Cargo.toml index 885f29c7a0..88082894d3 100644 --- a/applications/tari_app_utilities/Cargo.toml +++ b/applications/tari_app_utilities/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tari_app_utilities" -version = "0.12.0" +version = "0.13.0" authors = ["The Tari Development Community"] edition = "2018" diff --git a/applications/tari_base_node/Cargo.toml b/applications/tari_base_node/Cargo.toml index 1e13b8717f..0fa8b5f63f 100644 --- a/applications/tari_base_node/Cargo.toml +++ b/applications/tari_base_node/Cargo.toml @@ -4,7 +4,7 @@ authors = ["The Tari Development Community"] description = "The tari full base node implementation" repository = "https://github.com/tari-project/tari" license = "BSD-3-Clause" -version = "0.12.0" +version = "0.13.0" edition = "2018" [dependencies] diff --git a/applications/tari_console_wallet/Cargo.toml b/applications/tari_console_wallet/Cargo.toml index ae85305e4c..ee6e7749a1 100644 --- a/applications/tari_console_wallet/Cargo.toml +++ b/applications/tari_console_wallet/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tari_console_wallet" -version = "0.12.0" +version = "0.13.0" authors = ["The Tari Development Community"] edition = "2018" @@ -50,7 +50,7 @@ default-features = false features = ["transactions", "mempool_proto", "base_node_proto"] [dependencies.tui] -version = "^0.12" +version = "^0.13" default-features = false features = ["crossterm"] diff --git a/applications/tari_merge_mining_proxy/Cargo.toml b/applications/tari_merge_mining_proxy/Cargo.toml index e6a3dec749..8f1f1c3458 100644 --- a/applications/tari_merge_mining_proxy/Cargo.toml +++ b/applications/tari_merge_mining_proxy/Cargo.toml @@ -4,7 +4,7 @@ authors = ["The Tari Development Community"] description = "The tari merge miner proxy for xmrig" repository = "https://github.com/tari-project/tari" license = "BSD-3-Clause" -version = "0.12.0" +version = "0.13.0" edition = "2018" [features] diff --git a/applications/tari_mining_node/Cargo.toml b/applications/tari_mining_node/Cargo.toml index 6147a43a72..03e870733a 100644 --- a/applications/tari_mining_node/Cargo.toml +++ b/applications/tari_mining_node/Cargo.toml @@ -4,7 +4,7 @@ authors = ["The Tari Development Community"] description = "The tari mining node implementation" repository = "https://github.com/tari-project/tari" license = "BSD-3-Clause" -version = "0.12.0" +version = "0.13.0" edition = "2018" [dependencies] diff --git a/applications/test_faucet/Cargo.toml b/applications/test_faucet/Cargo.toml index ef3a022181..57d2d538bc 100644 --- a/applications/test_faucet/Cargo.toml +++ b/applications/test_faucet/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test_faucet" -version = "0.12.0" +version = "0.13.0" authors = ["The Tari Development Community"] edition = "2018" diff --git a/base_layer/common_types/Cargo.toml b/base_layer/common_types/Cargo.toml index 5d470cfff0..6e1c32d1fc 100644 --- a/base_layer/common_types/Cargo.toml +++ b/base_layer/common_types/Cargo.toml @@ -3,7 +3,7 @@ name = "tari_common_types" authors = ["The Tari Development Community"] description = "Tari cryptocurrency common types" license = "BSD-3-Clause" -version = "0.12.0" +version = "0.13.0" edition = "2018" [dependencies] diff --git a/base_layer/core/Cargo.toml b/base_layer/core/Cargo.toml index f9d365e258..ccb8091e64 100644 --- a/base_layer/core/Cargo.toml +++ b/base_layer/core/Cargo.toml @@ -6,7 +6,7 @@ repository = "https://github.com/tari-project/tari" homepage = "https://tari.com" readme = "README.md" license = "BSD-3-Clause" -version = "0.12.0" +version = "0.13.0" edition = "2018" [features] @@ -18,18 +18,18 @@ base_node_proto = [] avx2 = ["tari_crypto/avx2"] [dependencies] -tari_common = { version = "^0.12", path = "../../common" } -tari_common_types = { version = "^0.12", path = "../../base_layer/common_types" } -tari_comms = { version = "^0.12", path = "../../comms" } -tari_comms_dht = { version = "^0.12", path = "../../comms/dht" } -tari_comms_rpc_macros = { version = "^0.12", path = "../../comms/rpc_macros" } +tari_common = { version = "^0.13", path = "../../common" } +tari_common_types = { version = "^0.13", path = "../../base_layer/common_types" } +tari_comms = { version = "^0.13", path = "../../comms" } +tari_comms_dht = { version = "^0.13", path = "../../comms/dht" } +tari_comms_rpc_macros = { version = "^0.13", path = "../../comms/rpc_macros" } tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", branch = "main" } -tari_mmr = { version = "^0.12", path = "../../base_layer/mmr", optional = true } -tari_p2p = { version = "^0.12", path = "../../base_layer/p2p" } -tari_service_framework = { version = "^0.12", path = "../service_framework" } -tari_shutdown = { version = "^0.12", path = "../../infrastructure/shutdown" } -tari_storage = { version = "^0.12", path = "../../infrastructure/storage" } -tari_test_utils = { version = "^0.12", path = "../../infrastructure/test_utils" } +tari_mmr = { version = "^0.13", path = "../../base_layer/mmr", optional = true } +tari_p2p = { version = "^0.13", path = "../../base_layer/p2p" } +tari_service_framework = { version = "^0.13", path = "../service_framework" } +tari_shutdown = { version = "^0.13", path = "../../infrastructure/shutdown" } +tari_storage = { version = "^0.13", path = "../../infrastructure/storage" } +tari_test_utils = { version = "^0.13", path = "../../infrastructure/test_utils" } async-trait = "0.1.50" bincode = "1.1.4" @@ -69,12 +69,12 @@ ttl_cache = "0.5.1" uint = { version = "0.9", default-features = false } [dev-dependencies] -tari_p2p = { version = "^0.12", path = "../../base_layer/p2p", features = ["test-mocks"] } -tari_test_utils = { version = "^0.12", path = "../../infrastructure/test_utils" } +tari_p2p = { version = "^0.13", path = "../../base_layer/p2p", features = ["test-mocks"] } +tari_test_utils = { version = "^0.13", path = "../../infrastructure/test_utils" } config = { version = "0.9.3" } env_logger = "0.7.0" tempfile = "3.1.0" [build-dependencies] -tari_common = { version = "^0.12", path = "../../common", features = ["build"] } +tari_common = { version = "^0.13", path = "../../common", features = ["build"] } diff --git a/base_layer/key_manager/Cargo.toml b/base_layer/key_manager/Cargo.toml index 62e5d364ee..878b1d1ef4 100644 --- a/base_layer/key_manager/Cargo.toml +++ b/base_layer/key_manager/Cargo.toml @@ -4,7 +4,7 @@ authors = ["The Tari Development Community"] description = "Tari cryptocurrency wallet key management" repository = "https://github.com/tari-project/tari" license = "BSD-3-Clause" -version = "0.12.0" +version = "0.13.0" edition = "2018" [dependencies] diff --git a/base_layer/mmr/Cargo.toml b/base_layer/mmr/Cargo.toml index d3b34539c5..dbdbcdc7bb 100644 --- a/base_layer/mmr/Cargo.toml +++ b/base_layer/mmr/Cargo.toml @@ -4,7 +4,7 @@ authors = ["The Tari Development Community"] description = "A Merkle Mountain Range implementation" repository = "https://github.com/tari-project/tari" license = "BSD-3-Clause" -version = "0.12.0" +version = "0.13.0" edition = "2018" [features] @@ -24,7 +24,7 @@ criterion = { version="0.2", optional = true } [dev-dependencies] rand="0.8.0" blake2 = "0.9.0" -tari_infra_derive= { path = "../../infrastructure/derive", version = "^0.12" } +tari_infra_derive= { path = "../../infrastructure/derive", version = "^0.13" } tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", branch = "main" } serde_json = "1.0" bincode = "1.1" diff --git a/base_layer/p2p/Cargo.toml b/base_layer/p2p/Cargo.toml index e0059c090d..e8d684cdd8 100644 --- a/base_layer/p2p/Cargo.toml +++ b/base_layer/p2p/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tari_p2p" -version = "0.12.0" +version = "0.13.0" authors = ["The Tari Development community"] description = "Tari base layer-specific peer-to-peer communication features" repository = "https://github.com/tari-project/tari" @@ -10,13 +10,13 @@ license = "BSD-3-Clause" edition = "2018" [dependencies] -tari_comms = { version = "^0.12", path = "../../comms" } -tari_comms_dht = { version = "^0.12", path = "../../comms/dht" } -tari_common = { version = "^0.12", path = "../../common" } +tari_comms = { version = "^0.13", path = "../../comms" } +tari_comms_dht = { version = "^0.13", path = "../../comms/dht" } +tari_common = { version = "^0.13", path = "../../common" } tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", branch = "main" } -tari_service_framework = { version = "^0.12", path = "../service_framework" } -tari_shutdown = { version = "^0.12", path = "../../infrastructure/shutdown" } -tari_storage = { version = "^0.12", path = "../../infrastructure/storage" } +tari_service_framework = { version = "^0.13", path = "../service_framework" } +tari_shutdown = { version = "^0.13", path = "../../infrastructure/shutdown" } +tari_storage = { version = "^0.13", path = "../../infrastructure/storage" } tari_utilities = "^0.3" anyhow = "1.0.32" @@ -41,7 +41,7 @@ tower-service = { version = "0.3.0-alpha.2" } trust-dns-client = { version = "0.21.0-alpha.2", features = ["dns-over-rustls"] } [dev-dependencies] -tari_test_utils = { version = "^0.12", path = "../../infrastructure/test_utils" } +tari_test_utils = { version = "^0.13", path = "../../infrastructure/test_utils" } clap = "2.33.0" env_logger = "0.6.2" @@ -56,7 +56,7 @@ features = ["console_appender", "file_appender", "file", "yaml_format"] default-features = false [build-dependencies] -tari_common = { version = "^0.12", path = "../../common", features = ["build"] } +tari_common = { version = "^0.13", path = "../../common", features = ["build"] } [features] test-mocks = [] diff --git a/base_layer/service_framework/Cargo.toml b/base_layer/service_framework/Cargo.toml index 5a73667af0..deda000475 100644 --- a/base_layer/service_framework/Cargo.toml +++ b/base_layer/service_framework/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tari_service_framework" -version = "0.12.0" +version = "0.13.0" authors = ["The Tari Development Community"] description = "The Tari communication stack service framework" repository = "https://github.com/tari-project/tari" @@ -10,7 +10,7 @@ license = "BSD-3-Clause" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -tari_shutdown = { version = "^0.12", path = "../../infrastructure/shutdown" } +tari_shutdown = { version = "^0.13", path = "../../infrastructure/shutdown" } anyhow = "1.0.32" async-trait = "0.1.50" @@ -21,7 +21,7 @@ tokio = { version = "1.11", features = ["rt"] } tower-service = { version = "0.3.0" } [dev-dependencies] -tari_test_utils = { version = "^0.12", path = "../../infrastructure/test_utils" } +tari_test_utils = { version = "^0.13", path = "../../infrastructure/test_utils" } tokio = { version = "1.11", features = ["rt-multi-thread", "macros", "time"] } futures-test = { version = "0.3.3" } diff --git a/base_layer/tari_stratum_ffi/Cargo.toml b/base_layer/tari_stratum_ffi/Cargo.toml index 730754c08b..d43973f591 100644 --- a/base_layer/tari_stratum_ffi/Cargo.toml +++ b/base_layer/tari_stratum_ffi/Cargo.toml @@ -3,11 +3,11 @@ name = "tari_stratum_ffi" authors = ["The Tari Development Community"] description = "Tari cryptocurrency miningcore C FFI bindings" license = "BSD-3-Clause" -version = "0.12.0" +version = "0.13.0" edition = "2018" [dependencies] -tari_comms = { version = "^0.12", path = "../../comms" } +tari_comms = { version = "^0.13", path = "../../comms" } tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", branch = "main" } tari_common = { path = "../../common" } tari_app_grpc = { path = "../../applications/tari_app_grpc" } diff --git a/base_layer/wallet/Cargo.toml b/base_layer/wallet/Cargo.toml index 1be418e923..d03160b50f 100644 --- a/base_layer/wallet/Cargo.toml +++ b/base_layer/wallet/Cargo.toml @@ -3,20 +3,20 @@ name = "tari_wallet" authors = ["The Tari Development Community"] description = "Tari cryptocurrency wallet library" license = "BSD-3-Clause" -version = "0.12.0" +version = "0.13.0" edition = "2018" [dependencies] tari_common = { path = "../../common" } -tari_common_types = { version = "^0.12", path = "../../base_layer/common_types" } -tari_comms = { version = "^0.12", path = "../../comms" } -tari_comms_dht = { version = "^0.12", path = "../../comms/dht" } +tari_common_types = { version = "^0.13", path = "../../base_layer/common_types" } +tari_comms = { version = "^0.13", path = "../../comms" } +tari_comms_dht = { version = "^0.13", path = "../../comms/dht" } tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", branch = "main" } -tari_key_manager = { version = "^0.12", path = "../key_manager" } -tari_p2p = { version = "^0.12", path = "../p2p", features = ["auto-update"] } -tari_service_framework = { version = "^0.12", path = "../service_framework" } -tari_shutdown = { version = "^0.12", path = "../../infrastructure/shutdown" } -tari_storage = { version = "^0.12", path = "../../infrastructure/storage" } +tari_key_manager = { version = "^0.13", path = "../key_manager" } +tari_p2p = { version = "^0.13", path = "../p2p", features = ["auto-update"] } +tari_service_framework = { version = "^0.13", path = "../service_framework" } +tari_shutdown = { version = "^0.13", path = "../../infrastructure/shutdown" } +tari_storage = { version = "^0.13", path = "../../infrastructure/storage" } aes-gcm = "^0.8" async-trait = "0.1.50" @@ -46,14 +46,14 @@ tower = "0.3.0-alpha.2" [dependencies.tari_core] path = "../../base_layer/core" -version = "^0.12" +version = "^0.13" default-features = false features = ["transactions", "mempool_proto", "base_node_proto", ] [dev-dependencies] -tari_p2p = { version = "^0.12", path = "../p2p", features = ["test-mocks"] } -tari_comms_dht = { version = "^0.12", path = "../../comms/dht", features = ["test-mocks"] } -tari_test_utils = { version = "^0.12", path = "../../infrastructure/test_utils" } +tari_p2p = { version = "^0.13", path = "../p2p", features = ["test-mocks"] } +tari_comms_dht = { version = "^0.13", path = "../../comms/dht", features = ["test-mocks"] } +tari_test_utils = { version = "^0.13", path = "../../infrastructure/test_utils" } env_logger = "0.7.1" prost = "0.8.0" diff --git a/base_layer/wallet_ffi/Cargo.toml b/base_layer/wallet_ffi/Cargo.toml index 104e936afb..b0ee0dec22 100644 --- a/base_layer/wallet_ffi/Cargo.toml +++ b/base_layer/wallet_ffi/Cargo.toml @@ -3,18 +3,18 @@ name = "tari_wallet_ffi" authors = ["The Tari Development Community"] description = "Tari cryptocurrency wallet C FFI bindings" license = "BSD-3-Clause" -version = "0.20.0" +version = "0.20.1" edition = "2018" [dependencies] -tari_comms = { version = "^0.12", path = "../../comms", features = ["c_integration"]} -tari_comms_dht = { version = "^0.12", path = "../../comms/dht", default-features = false } +tari_comms = { version = "^0.13", path = "../../comms", features = ["c_integration"]} +tari_comms_dht = { version = "^0.13", path = "../../comms/dht", default-features = false } tari_common_types = {path="../common_types"} tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", branch = "main" } -tari_key_manager = { version = "^0.12", path = "../key_manager" } -tari_p2p = { version = "^0.12", path = "../p2p" } -tari_wallet = { version = "^0.12", path = "../wallet", features = ["c_integration"]} -tari_shutdown = { version = "^0.12", path = "../../infrastructure/shutdown" } +tari_key_manager = { version = "^0.13", path = "../key_manager" } +tari_p2p = { version = "^0.13", path = "../p2p" } +tari_wallet = { version = "^0.13", path = "../wallet", features = ["c_integration"]} +tari_shutdown = { version = "^0.13", path = "../../infrastructure/shutdown" } tari_utilities = "^0.3" chrono = { version = "0.4.6", features = ["serde"]} @@ -38,7 +38,7 @@ security-framework = "2.4.2" [dependencies.tari_core] path = "../../base_layer/core" -version = "^0.12" +version = "^0.13" default-features = false features = ["transactions"] @@ -49,7 +49,7 @@ crate-type = ["staticlib","cdylib"] tempfile = "3.1.0" lazy_static = "1.3.0" env_logger = "0.7.1" -tari_key_manager = { version = "^0.12", path = "../key_manager" } -tari_common_types = { version = "^0.12", path = "../../base_layer/common_types"} -tari_test_utils = { version = "^0.12", path = "../../infrastructure/test_utils"} +tari_key_manager = { version = "^0.13", path = "../key_manager" } +tari_common_types = { version = "^0.13", path = "../../base_layer/common_types"} +tari_test_utils = { version = "^0.13", path = "../../infrastructure/test_utils"} tari_service_framework = { path = "../../base_layer/service_framework" } diff --git a/changelog.md b/changelog.md index aa5f4d8911..2db52cd666 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,24 @@ # Changelog +## [0.13.0](https://github.com/tari-project/tari/compare/v0.12.0...v0.13.0) (2021-11-04) + + +### ⚠ BREAKING CHANGES + +* implement new CipherSeed and upgrade encryption KDF (#3505) + +### Features + +* add a Rejected status to TransactionStatus ([#3512](https://github.com/tari-project/tari/issues/3512)) ([c65a01c](https://github.com/tari-project/tari/commit/c65a01c33f20b79f07227daeb91ccbef5b804b18)) +* add caching and clippy annotations to CI ([#3518](https://github.com/tari-project/tari/issues/3518)) ([beacb9e](https://github.com/tari-project/tari/commit/beacb9e652fdb70ff7164ebcc5f496759c26a903)) +* implement new CipherSeed and upgrade encryption KDF ([#3505](https://github.com/tari-project/tari/issues/3505)) ([ef4f84f](https://github.com/tari-project/tari/commit/ef4f84ff97dd9543669a8b4a37b20d718bd8d18b)) + + +### Bug Fixes + +* edge case fix for integer pair iter ([#3508](https://github.com/tari-project/tari/issues/3508)) ([097e3e2](https://github.com/tari-project/tari/commit/097e3e2c5b3b4fee305c0d279177e1231b82bf1c)) +* header sync must allow transition to archival/pruned if tip is behind ([#3520](https://github.com/tari-project/tari/issues/3520)) ([e028386](https://github.com/tari-project/tari/commit/e0283867cf7e0c3848dc48b67fee8aa2645ac67c)) + ## [0.12.0](https://github.com/tari-project/tari/compare/v0.11.0...v0.12.0) (2021-10-29) diff --git a/common/Cargo.toml b/common/Cargo.toml index f775241ff9..070fa014e8 100644 --- a/common/Cargo.toml +++ b/common/Cargo.toml @@ -6,7 +6,7 @@ repository = "https://github.com/tari-project/tari" homepage = "https://tari.com" readme = "README.md" license = "BSD-3-Clause" -version = "0.12.0" +version = "0.13.0" edition = "2018" [features] @@ -25,7 +25,7 @@ log4rs = { version = "1.0.0", default_features= false, features = ["config_parsi multiaddr={version = "0.13.0"} sha2 = "0.9.5" path-clean = "0.1.0" -tari_storage = { version = "^0.12", path = "../infrastructure/storage"} +tari_storage = { version = "^0.13", path = "../infrastructure/storage"} tracing = "0.1.26" tracing-opentelemetry = "0.15.0" tracing-subscriber = "0.2.20" @@ -41,6 +41,6 @@ toml = { version = "0.5", optional = true } thiserror = "1.0.29" [dev-dependencies] -tari_test_utils = { version = "^0.12", path = "../infrastructure/test_utils"} +tari_test_utils = { version = "^0.13", path = "../infrastructure/test_utils"} tempfile = "3.1.0" anyhow = "1.0" diff --git a/comms/Cargo.toml b/comms/Cargo.toml index 5f8195413b..fc61ef9998 100644 --- a/comms/Cargo.toml +++ b/comms/Cargo.toml @@ -6,14 +6,14 @@ repository = "https://github.com/tari-project/tari" homepage = "https://tari.com" readme = "README.md" license = "BSD-3-Clause" -version = "0.12.0" +version = "0.13.0" edition = "2018" [dependencies] tari_common = { path = "../common" } tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", branch = "main" } -tari_storage = { version = "^0.12", path = "../infrastructure/storage" } -tari_shutdown = { version = "^0.12", path = "../infrastructure/shutdown" } +tari_storage = { version = "^0.13", path = "../infrastructure/storage" } +tari_shutdown = { version = "^0.13", path = "../infrastructure/shutdown" } anyhow = "1.0.32" async-trait = "0.1.36" @@ -55,7 +55,7 @@ opentelemetry-jaeger = { version = "0.15", features = ["rt-tokio"] } tower-make = { version = "0.3.0", optional = true } [dev-dependencies] -tari_test_utils = { version = "^0.12", path = "../infrastructure/test_utils" } +tari_test_utils = { version = "^0.13", path = "../infrastructure/test_utils" } tari_comms_rpc_macros = { version = "*", path = "./rpc_macros" } env_logger = "0.7.0" @@ -63,7 +63,7 @@ serde_json = "1.0.39" tempfile = "3.1.0" [build-dependencies] -tari_common = { version = "^0.12", path = "../common", features = ["build"] } +tari_common = { version = "^0.13", path = "../common", features = ["build"] } [features] c_integration = [] diff --git a/comms/dht/Cargo.toml b/comms/dht/Cargo.toml index 092e409393..ed218f4db1 100644 --- a/comms/dht/Cargo.toml +++ b/comms/dht/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tari_comms_dht" -version = "0.12.0" +version = "0.13.0" authors = ["The Tari Development Community"] description = "Tari comms DHT module" repository = "https://github.com/tari-project/tari" @@ -10,12 +10,12 @@ license = "BSD-3-Clause" edition = "2018" [dependencies] -tari_comms = { version = "^0.12", path = "../", features = ["rpc"] } -tari_comms_rpc_macros = { version = "^0.12", path = "../rpc_macros" } +tari_comms = { version = "^0.13", path = "../", features = ["rpc"] } +tari_comms_rpc_macros = { version = "^0.13", path = "../rpc_macros" } tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", branch = "main" } tari_utilities = { version = "^0.3" } -tari_shutdown = { version = "^0.12", path = "../../infrastructure/shutdown" } -tari_storage = { version = "^0.12", path = "../../infrastructure/storage" } +tari_shutdown = { version = "^0.13", path = "../../infrastructure/shutdown" } +tari_storage = { version = "^0.13", path = "../../infrastructure/storage" } anyhow = "1.0.32" bitflags = "1.2.0" @@ -43,7 +43,7 @@ ttl_cache = "0.5.1" pin-project = "0.4" [dev-dependencies] -tari_test_utils = { version = "^0.12", path = "../../infrastructure/test_utils" } +tari_test_utils = { version = "^0.13", path = "../../infrastructure/test_utils" } env_logger = "0.7.0" futures-test = { version = "0.3.5" } @@ -60,7 +60,7 @@ futures-util = "^0.3.1" lazy_static = "1.4.0" [build-dependencies] -tari_common = { version = "^0.12", path = "../../common" } +tari_common = { version = "^0.13", path = "../../common" } [features] test-mocks = [] diff --git a/comms/rpc_macros/Cargo.toml b/comms/rpc_macros/Cargo.toml index c8789f704f..615d77eb3f 100644 --- a/comms/rpc_macros/Cargo.toml +++ b/comms/rpc_macros/Cargo.toml @@ -6,21 +6,21 @@ repository = "https://github.com/tari-project/tari" homepage = "https://tari.com" readme = "README.md" license = "BSD-3-Clause" -version = "0.12.0" +version = "0.13.0" edition = "2018" [lib] proc-macro = true [dependencies] -tari_comms = { version = "^0.12", path = "../", features = ["rpc"] } +tari_comms = { version = "^0.13", path = "../", features = ["rpc"] } proc-macro2 = "1.0.24" quote = "1.0.7" syn = { version = "1.0.38", features = ["fold"] } [dev-dependencies] -tari_test_utils = { version = "^0.12", path = "../../infrastructure/test_utils" } +tari_test_utils = { version = "^0.13", path = "../../infrastructure/test_utils" } futures = "0.3.5" prost = "0.8.0" diff --git a/infrastructure/derive/Cargo.toml b/infrastructure/derive/Cargo.toml index b6e9a12927..5289e18ee9 100644 --- a/infrastructure/derive/Cargo.toml +++ b/infrastructure/derive/Cargo.toml @@ -6,7 +6,7 @@ repository = "https://github.com/tari-project/tari" homepage = "https://tari.com" readme = "README.md" license = "BSD-3-Clause" -version = "0.12.0" +version = "0.13.0" edition = "2018" [lib] diff --git a/infrastructure/shutdown/Cargo.toml b/infrastructure/shutdown/Cargo.toml index 71051cc6db..927abb2817 100644 --- a/infrastructure/shutdown/Cargo.toml +++ b/infrastructure/shutdown/Cargo.toml @@ -6,7 +6,7 @@ repository = "https://github.com/tari-project/tari" homepage = "https://tari.com" readme = "README.md" license = "BSD-3-Clause" -version = "0.12.0" +version = "0.13.0" edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/infrastructure/storage/Cargo.toml b/infrastructure/storage/Cargo.toml index 5c063a69de..c4f86b5e95 100644 --- a/infrastructure/storage/Cargo.toml +++ b/infrastructure/storage/Cargo.toml @@ -6,7 +6,7 @@ repository = "https://github.com/tari-project/tari" homepage = "https://tari.com" readme = "README.md" license = "BSD-3-Clause" -version = "0.12.0" +version = "0.13.0" edition = "2018" [dependencies] diff --git a/infrastructure/test_utils/Cargo.toml b/infrastructure/test_utils/Cargo.toml index cb58d95390..5c7509772f 100644 --- a/infrastructure/test_utils/Cargo.toml +++ b/infrastructure/test_utils/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "tari_test_utils" description = "Utility functions used in Tari test functions" -version = "0.12.0" +version = "0.13.0" authors = ["The Tari Development Community"] edition = "2018" license = "BSD-3-Clause" diff --git a/package-lock.json b/package-lock.json index 7ee14dcd9e..cd0632366a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,4 +1,4 @@ { "lockfileVersion": 1, - "version": "0.12.0" + "version": "0.13.0" }