From 739303adbc51b47e00150041c31eeeaad2c9fa8f Mon Sep 17 00:00:00 2001 From: Mike the Tike Date: Tue, 9 Nov 2021 13:33:44 +0200 Subject: [PATCH] v0.21.0 --- Cargo.lock | 98 ++++++++++++------- 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 | 29 ++++++ 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 +- scripts/update_crate_metadata.sh | 1 + 28 files changed, 183 insertions(+), 123 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0c0388b1e8..441c5071b3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -937,28 +937,28 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f4919d60f26ae233e14233cc39746c8c8bb8cd7b05840ace83604917b51b6c7" dependencies = [ "bitflags 1.3.2", - "crossterm_winapi", + "crossterm_winapi 0.6.2", "lazy_static 1.4.0", "libc", "mio", "parking_lot 0.10.2", - "signal-hook", + "signal-hook 0.1.17", "winapi 0.3.9", ] [[package]] name = "crossterm" -version = "0.18.2" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e86d73f2a0b407b5768d10a8c720cf5d2df49a9efc10ca09176d201ead4b7fb" +checksum = "c0ebde6a9dd5e331cd6c6f48253254d117642c31653baa475e394657c59c1f7d" dependencies = [ "bitflags 1.3.2", - "crossterm_winapi", - "lazy_static 1.4.0", + "crossterm_winapi 0.8.0", "libc", "mio", "parking_lot 0.11.2", - "signal-hook", + "signal-hook 0.3.10", + "signal-hook-mio", "winapi 0.3.9", ] @@ -971,6 +971,15 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "crossterm_winapi" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a6966607622438301997d3dac0d2f6e9a90c68bb6bc1785ea98456ab93c0507" +dependencies = [ + "winapi 0.3.9", +] + [[package]] name = "crunchy" version = "0.2.2" @@ -4035,6 +4044,27 @@ dependencies = [ "signal-hook-registry", ] +[[package]] +name = "signal-hook" +version = "0.3.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c98891d737e271a2954825ef19e46bd16bdb98e2746f2eec4f7a4ef7946efd1" +dependencies = [ + "libc", + "signal-hook-registry", +] + +[[package]] +name = "signal-hook-mio" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29fd5867f1c4f2c5be079aee7a2adf1152ebb04a4bc4d341f504b7dece607ed4" +dependencies = [ + "libc", + "mio", + "signal-hook 0.3.10", +] + [[package]] name = "signal-hook-registry" version = "1.4.0" @@ -4306,7 +4336,7 @@ dependencies = [ [[package]] name = "tari_app_grpc" -version = "0.13.0" +version = "0.21.0" dependencies = [ "chrono", "prost", @@ -4321,7 +4351,7 @@ dependencies = [ [[package]] name = "tari_app_utilities" -version = "0.13.0" +version = "0.21.0" dependencies = [ "config", "dirs-next 1.0.2", @@ -4346,7 +4376,7 @@ dependencies = [ [[package]] name = "tari_base_node" -version = "0.13.0" +version = "0.21.0" dependencies = [ "anyhow", "bincode", @@ -4404,7 +4434,7 @@ dependencies = [ [[package]] name = "tari_common" -version = "0.13.0" +version = "0.21.0" dependencies = [ "anyhow", "config", @@ -4434,7 +4464,7 @@ dependencies = [ [[package]] name = "tari_common_types" -version = "0.13.0" +version = "0.21.0" dependencies = [ "digest", "futures 0.3.17", @@ -4448,7 +4478,7 @@ dependencies = [ [[package]] name = "tari_comms" -version = "0.13.0" +version = "0.21.0" dependencies = [ "anyhow", "async-trait", @@ -4497,7 +4527,7 @@ dependencies = [ [[package]] name = "tari_comms_dht" -version = "0.13.0" +version = "0.21.0" dependencies = [ "anyhow", "bitflags 1.3.2", @@ -4544,7 +4574,7 @@ dependencies = [ [[package]] name = "tari_comms_rpc_macros" -version = "0.13.0" +version = "0.21.0" dependencies = [ "futures 0.3.17", "proc-macro2 1.0.32", @@ -4559,7 +4589,7 @@ dependencies = [ [[package]] name = "tari_console_wallet" -version = "0.13.0" +version = "0.21.0" dependencies = [ "bitflags 1.3.2", "chrono", @@ -4601,7 +4631,7 @@ dependencies = [ [[package]] name = "tari_core" -version = "0.13.0" +version = "0.21.0" dependencies = [ "async-trait", "bincode", @@ -4682,7 +4712,7 @@ dependencies = [ [[package]] name = "tari_infra_derive" -version = "0.13.0" +version = "0.21.0" dependencies = [ "blake2", "proc-macro2 0.4.30", @@ -4692,7 +4722,7 @@ dependencies = [ [[package]] name = "tari_key_manager" -version = "0.13.0" +version = "0.21.0" dependencies = [ "argon2", "arrayvec 0.7.1", @@ -4712,7 +4742,7 @@ dependencies = [ [[package]] name = "tari_merge_mining_proxy" -version = "0.13.0" +version = "0.21.0" dependencies = [ "anyhow", "bincode", @@ -4749,7 +4779,7 @@ dependencies = [ [[package]] name = "tari_mining_node" -version = "0.13.0" +version = "0.21.0" dependencies = [ "bufstream", "chrono", @@ -4779,7 +4809,7 @@ dependencies = [ [[package]] name = "tari_mmr" -version = "0.13.0" +version = "0.21.0" dependencies = [ "bincode", "blake2", @@ -4798,7 +4828,7 @@ dependencies = [ [[package]] name = "tari_p2p" -version = "0.13.0" +version = "0.21.0" dependencies = [ "anyhow", "bytes 0.5.6", @@ -4842,7 +4872,7 @@ dependencies = [ [[package]] name = "tari_service_framework" -version = "0.13.0" +version = "0.21.0" dependencies = [ "anyhow", "async-trait", @@ -4859,7 +4889,7 @@ dependencies = [ [[package]] name = "tari_shutdown" -version = "0.13.0" +version = "0.21.0" dependencies = [ "futures 0.3.17", "tokio 1.13.0", @@ -4867,7 +4897,7 @@ dependencies = [ [[package]] name = "tari_storage" -version = "0.13.0" +version = "0.21.0" dependencies = [ "bincode", "bytes 0.5.6", @@ -4885,7 +4915,7 @@ dependencies = [ [[package]] name = "tari_stratum_ffi" -version = "0.13.0" +version = "0.21.0" dependencies = [ "hex", "libc", @@ -4938,7 +4968,7 @@ dependencies = [ [[package]] name = "tari_test_utils" -version = "0.13.0" +version = "0.21.0" dependencies = [ "futures 0.3.17", "futures-test", @@ -4969,7 +4999,7 @@ dependencies = [ [[package]] name = "tari_wallet" -version = "0.13.0" +version = "0.21.0" dependencies = [ "aes-gcm 0.8.0", "argon2", @@ -5014,7 +5044,7 @@ dependencies = [ [[package]] name = "tari_wallet_ffi" -version = "0.20.1" +version = "0.21.0" dependencies = [ "chrono", "env_logger 0.7.1", @@ -5067,7 +5097,7 @@ dependencies = [ [[package]] name = "test_faucet" -version = "0.13.0" +version = "0.21.0" dependencies = [ "rand 0.8.4", "serde 1.0.130", @@ -5741,13 +5771,13 @@ dependencies = [ [[package]] name = "tui" -version = "0.13.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d4e6c82bb967df89f20b875fa8835fab5d5622c6a5efa574a1f0b6d0aa6e8f6" +checksum = "39c8ce4e27049eed97cfa363a5048b09d995e209994634a0efc26a14ab6c0c23" dependencies = [ "bitflags 1.3.2", "cassowary", - "crossterm 0.18.2", + "crossterm 0.20.0", "unicode-segmentation", "unicode-width", ] diff --git a/applications/tari_app_grpc/Cargo.toml b/applications/tari_app_grpc/Cargo.toml index 9030fc789f..5a56dd41a6 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.13.0" +version = "0.21.0" edition = "2018" [dependencies] -tari_common_types = { version = "^0.13", path = "../../base_layer/common_types"} +tari_common_types = { version = "^0.21", 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 88082894d3..09f49767a5 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.13.0" +version = "0.21.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 0fa8b5f63f..5002470f7e 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.13.0" +version = "0.21.0" edition = "2018" [dependencies] diff --git a/applications/tari_console_wallet/Cargo.toml b/applications/tari_console_wallet/Cargo.toml index ee6e7749a1..ea49dc33cc 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.13.0" +version = "0.21.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.13" +version = "0.16" default-features = false features = ["crossterm"] diff --git a/applications/tari_merge_mining_proxy/Cargo.toml b/applications/tari_merge_mining_proxy/Cargo.toml index 8f1f1c3458..bdcc5dc430 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.13.0" +version = "0.21.0" edition = "2018" [features] diff --git a/applications/tari_mining_node/Cargo.toml b/applications/tari_mining_node/Cargo.toml index 03e870733a..e8431f0540 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.13.0" +version = "0.21.0" edition = "2018" [dependencies] diff --git a/applications/test_faucet/Cargo.toml b/applications/test_faucet/Cargo.toml index 57d2d538bc..62e13c4707 100644 --- a/applications/test_faucet/Cargo.toml +++ b/applications/test_faucet/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test_faucet" -version = "0.13.0" +version = "0.21.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 6e1c32d1fc..6e61345a94 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.13.0" +version = "0.21.0" edition = "2018" [dependencies] diff --git a/base_layer/core/Cargo.toml b/base_layer/core/Cargo.toml index ccb8091e64..854d341a71 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.13.0" +version = "0.21.0" edition = "2018" [features] @@ -18,18 +18,18 @@ base_node_proto = [] avx2 = ["tari_crypto/avx2"] [dependencies] -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_common = { version = "^0.21", path = "../../common" } +tari_common_types = { version = "^0.21", path = "../../base_layer/common_types" } +tari_comms = { version = "^0.21", path = "../../comms" } +tari_comms_dht = { version = "^0.21", path = "../../comms/dht" } +tari_comms_rpc_macros = { version = "^0.21", path = "../../comms/rpc_macros" } tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", branch = "main" } -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" } +tari_mmr = { version = "^0.21", path = "../../base_layer/mmr", optional = true } +tari_p2p = { version = "^0.21", path = "../../base_layer/p2p" } +tari_service_framework = { version = "^0.21", path = "../service_framework" } +tari_shutdown = { version = "^0.21", path = "../../infrastructure/shutdown" } +tari_storage = { version = "^0.21", path = "../../infrastructure/storage" } +tari_test_utils = { version = "^0.21", 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.13", path = "../../base_layer/p2p", features = ["test-mocks"] } -tari_test_utils = { version = "^0.13", path = "../../infrastructure/test_utils" } +tari_p2p = { version = "^0.21", path = "../../base_layer/p2p", features = ["test-mocks"] } +tari_test_utils = { version = "^0.21", path = "../../infrastructure/test_utils" } config = { version = "0.9.3" } env_logger = "0.7.0" tempfile = "3.1.0" [build-dependencies] -tari_common = { version = "^0.13", path = "../../common", features = ["build"] } +tari_common = { version = "^0.21", path = "../../common", features = ["build"] } diff --git a/base_layer/key_manager/Cargo.toml b/base_layer/key_manager/Cargo.toml index 237d5791c2..97b2d67334 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.13.0" +version = "0.21.0" edition = "2018" [dependencies] diff --git a/base_layer/mmr/Cargo.toml b/base_layer/mmr/Cargo.toml index dbdbcdc7bb..a61138f80b 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.13.0" +version = "0.21.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.13" } +tari_infra_derive= { path = "../../infrastructure/derive", version = "^0.21" } 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 50e07834cd..abb9aa0e88 100644 --- a/base_layer/p2p/Cargo.toml +++ b/base_layer/p2p/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tari_p2p" -version = "0.13.0" +version = "0.21.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.13", path = "../../comms" } -tari_comms_dht = { version = "^0.13", path = "../../comms/dht" } -tari_common = { version = "^0.13", path = "../../common" } +tari_comms = { version = "^0.21", path = "../../comms" } +tari_comms_dht = { version = "^0.21", path = "../../comms/dht" } +tari_common = { version = "^0.21", path = "../../common" } tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", branch = "main" } -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_service_framework = { version = "^0.21", path = "../service_framework" } +tari_shutdown = { version = "^0.21", path = "../../infrastructure/shutdown" } +tari_storage = { version = "^0.21", path = "../../infrastructure/storage" } tari_utilities = "^0.3" anyhow = "1.0.32" @@ -43,7 +43,7 @@ rustls = "0.19.1" webpki = "0.21" [dev-dependencies] -tari_test_utils = { version = "^0.13", path = "../../infrastructure/test_utils" } +tari_test_utils = { version = "^0.21", path = "../../infrastructure/test_utils" } clap = "2.33.0" env_logger = "0.6.2" @@ -58,7 +58,7 @@ features = ["console_appender", "file_appender", "file", "yaml_format"] default-features = false [build-dependencies] -tari_common = { version = "^0.13", path = "../../common", features = ["build"] } +tari_common = { version = "^0.21", path = "../../common", features = ["build"] } [features] test-mocks = [] diff --git a/base_layer/service_framework/Cargo.toml b/base_layer/service_framework/Cargo.toml index deda000475..b51333a151 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.13.0" +version = "0.21.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.13", path = "../../infrastructure/shutdown" } +tari_shutdown = { version = "^0.21", 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.13", path = "../../infrastructure/test_utils" } +tari_test_utils = { version = "^0.21", 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 d43973f591..b6b5effbd4 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.13.0" +version = "0.21.0" edition = "2018" [dependencies] -tari_comms = { version = "^0.13", path = "../../comms" } +tari_comms = { version = "^0.21", 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 d03160b50f..6b1fefdcc0 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.13.0" +version = "0.21.0" edition = "2018" [dependencies] tari_common = { 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_common_types = { version = "^0.21", path = "../../base_layer/common_types" } +tari_comms = { version = "^0.21", path = "../../comms" } +tari_comms_dht = { version = "^0.21", path = "../../comms/dht" } tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", branch = "main" } -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" } +tari_key_manager = { version = "^0.21", path = "../key_manager" } +tari_p2p = { version = "^0.21", path = "../p2p", features = ["auto-update"] } +tari_service_framework = { version = "^0.21", path = "../service_framework" } +tari_shutdown = { version = "^0.21", path = "../../infrastructure/shutdown" } +tari_storage = { version = "^0.21", 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.13" +version = "^0.21" default-features = false features = ["transactions", "mempool_proto", "base_node_proto", ] [dev-dependencies] -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" } +tari_p2p = { version = "^0.21", path = "../p2p", features = ["test-mocks"] } +tari_comms_dht = { version = "^0.21", path = "../../comms/dht", features = ["test-mocks"] } +tari_test_utils = { version = "^0.21", 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 b0ee0dec22..d426e42697 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.1" +version = "0.21.0" edition = "2018" [dependencies] -tari_comms = { version = "^0.13", path = "../../comms", features = ["c_integration"]} -tari_comms_dht = { version = "^0.13", path = "../../comms/dht", default-features = false } +tari_comms = { version = "^0.21", path = "../../comms", features = ["c_integration"]} +tari_comms_dht = { version = "^0.21", 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.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_key_manager = { version = "^0.21", path = "../key_manager" } +tari_p2p = { version = "^0.21", path = "../p2p" } +tari_wallet = { version = "^0.21", path = "../wallet", features = ["c_integration"]} +tari_shutdown = { version = "^0.21", 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.13" +version = "^0.21" 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.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_key_manager = { version = "^0.21", path = "../key_manager" } +tari_common_types = { version = "^0.21", path = "../../base_layer/common_types"} +tari_test_utils = { version = "^0.21", path = "../../infrastructure/test_utils"} tari_service_framework = { path = "../../base_layer/service_framework" } diff --git a/changelog.md b/changelog.md index 2db52cd666..45f5bf0402 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,34 @@ # Changelog + +## [0.21.0](https://github.com/tari-project/tari/compare/v0.13.0...v0.21.0) (2021-11-09) + + +### ⚠ BREAKING CHANGES + +* remove outdated wallet_ffi balance methods (#3528) +* **rpc:** read from substream while streaming to check for interruptions (#3548) + +### Features + +* add ffi get mnemonic wordlist ([#3538](https://github.com/tari-project/tari/issues/3538)) ([d8e0ced](https://github.com/tari-project/tari/commit/d8e0cedc19ee008a8dd937347d7e2fc5e7fc4c3f)) +* optimize transaction validation for wallet ([#3537](https://github.com/tari-project/tari/issues/3537)) ([9064b83](https://github.com/tari-project/tari/commit/9064b830c04000683aecf7b2972ffeabe5d90f08)) + + +### Bug Fixes + +* add check for old db encryption and provide warning ([#3549](https://github.com/tari-project/tari/issues/3549)) ([69bbbdf](https://github.com/tari-project/tari/commit/69bbbdfd87fae56d31bcd342fe4dc5c84086402e)) +* add decision step between header sync and pruned/archival ([#3546](https://github.com/tari-project/tari/issues/3546)) ([23e868a](https://github.com/tari-project/tari/commit/23e868a8a4d2d8b673e4bd3df9fb9f4d33d191d9)) +* check for previously cancelled completed txn before accepting a repeat message ([#3542](https://github.com/tari-project/tari/issues/3542)) ([911b83b](https://github.com/tari-project/tari/commit/911b83b675816cd41b4e40e0f001bca6f7037369)) +* prevent race condition between block propagation and sync ([#3536](https://github.com/tari-project/tari/issues/3536)) ([6bbb654](https://github.com/tari-project/tari/commit/6bbb65453ed5d8969e0e659fd855d5183262c6d6)) +* remove dns resolver config from cucumber tests, use default ([#3547](https://github.com/tari-project/tari/issues/3547)) ([e17ee64](https://github.com/tari-project/tari/commit/e17ee645add6c3030d1198d8efe96149fffbb7b6)) +* **rpc:** read from substream while streaming to check for interruptions ([#3548](https://github.com/tari-project/tari/issues/3548)) ([9194501](https://github.com/tari-project/tari/commit/919450186f70f3c00ade937a76288ce00ef2175c)) +* update the seed words used in the Daily tests ([#3545](https://github.com/tari-project/tari/issues/3545)) ([7696840](https://github.com/tari-project/tari/commit/76968400fbb1560d11f3beeecb6d1bb5ba60433b)) +* use tcp tls backend for peer seed DNS resolution ([#3544](https://github.com/tari-project/tari/issues/3544)) ([5b38909](https://github.com/tari-project/tari/commit/5b389098aa0aab9dd723213a29aeebe22e4d9bb6)) + + +* remove outdated wallet_ffi balance methods ([#3528](https://github.com/tari-project/tari/issues/3528)) ([413757b](https://github.com/tari-project/tari/commit/413757bcea5474524b18a860a95df255cbe95d33)) + ## [0.13.0](https://github.com/tari-project/tari/compare/v0.12.0...v0.13.0) (2021-11-04) diff --git a/common/Cargo.toml b/common/Cargo.toml index 070fa014e8..8dd805cedd 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.13.0" +version = "0.21.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.13", path = "../infrastructure/storage"} +tari_storage = { version = "^0.21", 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.13", path = "../infrastructure/test_utils"} +tari_test_utils = { version = "^0.21", path = "../infrastructure/test_utils"} tempfile = "3.1.0" anyhow = "1.0" diff --git a/comms/Cargo.toml b/comms/Cargo.toml index fc61ef9998..b27d6707ac 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.13.0" +version = "0.21.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.13", path = "../infrastructure/storage" } -tari_shutdown = { version = "^0.13", path = "../infrastructure/shutdown" } +tari_storage = { version = "^0.21", path = "../infrastructure/storage" } +tari_shutdown = { version = "^0.21", 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.13", path = "../infrastructure/test_utils" } +tari_test_utils = { version = "^0.21", 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.13", path = "../common", features = ["build"] } +tari_common = { version = "^0.21", path = "../common", features = ["build"] } [features] c_integration = [] diff --git a/comms/dht/Cargo.toml b/comms/dht/Cargo.toml index ed218f4db1..fb207792fa 100644 --- a/comms/dht/Cargo.toml +++ b/comms/dht/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tari_comms_dht" -version = "0.13.0" +version = "0.21.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.13", path = "../", features = ["rpc"] } -tari_comms_rpc_macros = { version = "^0.13", path = "../rpc_macros" } +tari_comms = { version = "^0.21", path = "../", features = ["rpc"] } +tari_comms_rpc_macros = { version = "^0.21", 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.13", path = "../../infrastructure/shutdown" } -tari_storage = { version = "^0.13", path = "../../infrastructure/storage" } +tari_shutdown = { version = "^0.21", path = "../../infrastructure/shutdown" } +tari_storage = { version = "^0.21", 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.13", path = "../../infrastructure/test_utils" } +tari_test_utils = { version = "^0.21", 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.13", path = "../../common" } +tari_common = { version = "^0.21", path = "../../common" } [features] test-mocks = [] diff --git a/comms/rpc_macros/Cargo.toml b/comms/rpc_macros/Cargo.toml index 615d77eb3f..63944e9712 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.13.0" +version = "0.21.0" edition = "2018" [lib] proc-macro = true [dependencies] -tari_comms = { version = "^0.13", path = "../", features = ["rpc"] } +tari_comms = { version = "^0.21", 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.13", path = "../../infrastructure/test_utils" } +tari_test_utils = { version = "^0.21", 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 5289e18ee9..619deeea72 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.13.0" +version = "0.21.0" edition = "2018" [lib] diff --git a/infrastructure/shutdown/Cargo.toml b/infrastructure/shutdown/Cargo.toml index 927abb2817..60f35c24ff 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.13.0" +version = "0.21.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 c4f86b5e95..29a00c9766 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.13.0" +version = "0.21.0" edition = "2018" [dependencies] diff --git a/infrastructure/test_utils/Cargo.toml b/infrastructure/test_utils/Cargo.toml index 5c7509772f..083b0754f3 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.13.0" +version = "0.21.0" authors = ["The Tari Development Community"] edition = "2018" license = "BSD-3-Clause" diff --git a/package-lock.json b/package-lock.json index cd0632366a..127e50bdb2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,4 +1,4 @@ { "lockfileVersion": 1, - "version": "0.13.0" + "version": "0.14.0" } diff --git a/scripts/update_crate_metadata.sh b/scripts/update_crate_metadata.sh index 8a5580a199..2749cd23e3 100755 --- a/scripts/update_crate_metadata.sh +++ b/scripts/update_crate_metadata.sh @@ -40,6 +40,7 @@ function update_versions { base_layer/p2p base_layer/service_framework base_layer/wallet + base_layer/wallet_ffi base_layer/tari_stratum_ffi common comms