From a276608fd03139dfc4dfdfc4b7bfc8ddbc226de3 Mon Sep 17 00:00:00 2001 From: benedettadavico Date: Mon, 22 Apr 2024 15:44:16 +0200 Subject: [PATCH 1/5] updating versions and changelog --- CHANGELOG.md | 14 ++++++++++++++ Cargo.lock | 18 +++++++++--------- clients/native/Cargo.toml | 2 +- clients/socks5/Cargo.toml | 2 +- explorer-api/Cargo.toml | 2 +- gateway/Cargo.toml | 2 +- mixnode/Cargo.toml | 2 +- nym-api/Cargo.toml | 2 +- nym-wallet/src-tauri/Cargo.toml | 2 +- nym-wallet/src-tauri/tauri.conf.json | 2 +- service-providers/network-requester/Cargo.toml | 2 +- .../network-statistics/Cargo.toml | 2 +- tools/nym-cli/Cargo.toml | 2 +- 13 files changed, 34 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 34fa8c9398..c32bc100df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,20 @@ Post 1.0.0 release, the changelog format is based on [Keep a Changelog](https:// ## [Unreleased] +## [2024.3-eclipse] (2024-04-22) + +- Initial release of the first iteration of the Nym Node +- Improvements to gateway functionality +- IPR development +- Removal of allow list in favour of implementing an exit policy +- Explorer delegation: enables direct delegation to nodes via the Nym Explorer + + +## [2024.2-fast-and-furious] (2024-03-25) + +- Internal testing pre-release + + ## [2024.1-marabou] (2024-02-15) **New Features:** diff --git a/Cargo.lock b/Cargo.lock index 7f8edeea04..6dd565fdf0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2547,7 +2547,7 @@ checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" [[package]] name = "explorer-api" -version = "1.1.33" +version = "1.1.34" dependencies = [ "chrono", "clap 4.4.7", @@ -5024,7 +5024,7 @@ dependencies = [ [[package]] name = "nym-api" -version = "1.1.35" +version = "1.1.37" dependencies = [ "anyhow", "async-trait", @@ -5186,7 +5186,7 @@ dependencies = [ [[package]] name = "nym-cli" -version = "1.1.34" +version = "1.1.35" dependencies = [ "anyhow", "base64 0.13.1", @@ -5267,7 +5267,7 @@ dependencies = [ [[package]] name = "nym-client" -version = "1.1.33" +version = "1.1.34" dependencies = [ "bs58 0.5.0", "clap 4.4.7", @@ -5684,7 +5684,7 @@ dependencies = [ [[package]] name = "nym-gateway" -version = "1.1.33" +version = "1.1.35" dependencies = [ "anyhow", "async-trait", @@ -5979,7 +5979,7 @@ dependencies = [ [[package]] name = "nym-mixnode" -version = "1.1.35" +version = "1.1.37" dependencies = [ "anyhow", "axum", @@ -6098,7 +6098,7 @@ dependencies = [ [[package]] name = "nym-network-requester" -version = "1.1.33" +version = "1.1.34" dependencies = [ "addr", "anyhow", @@ -6150,7 +6150,7 @@ dependencies = [ [[package]] name = "nym-network-statistics" -version = "1.1.33" +version = "1.1.34" dependencies = [ "dirs 4.0.0", "log", @@ -6438,7 +6438,7 @@ dependencies = [ [[package]] name = "nym-socks5-client" -version = "1.1.33" +version = "1.1.34" dependencies = [ "bs58 0.5.0", "clap 4.4.7", diff --git a/clients/native/Cargo.toml b/clients/native/Cargo.toml index 24dbace944..7d6d41b596 100644 --- a/clients/native/Cargo.toml +++ b/clients/native/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nym-client" -version = "1.1.33" +version = "1.1.34" authors = ["Dave Hrycyszyn ", "Jędrzej Stuczyński "] description = "Implementation of the Nym Client" edition = "2021" diff --git a/clients/socks5/Cargo.toml b/clients/socks5/Cargo.toml index 6f2e870585..460ed116ef 100644 --- a/clients/socks5/Cargo.toml +++ b/clients/socks5/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nym-socks5-client" -version = "1.1.33" +version = "1.1.34" authors = ["Dave Hrycyszyn "] description = "A SOCKS5 localhost proxy that converts incoming messages to Sphinx and sends them to a Nym address" edition = "2021" diff --git a/explorer-api/Cargo.toml b/explorer-api/Cargo.toml index 7eb2a26b58..7a44e8cee4 100644 --- a/explorer-api/Cargo.toml +++ b/explorer-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "explorer-api" -version = "1.1.33" +version = "1.1.34" edition = "2021" license.workspace = true diff --git a/gateway/Cargo.toml b/gateway/Cargo.toml index 4f53de6ef6..9e7b6d1826 100644 --- a/gateway/Cargo.toml +++ b/gateway/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "nym-gateway" license = "GPL-3.0" -version = "1.1.33" +version = "1.1.35" authors = [ "Dave Hrycyszyn ", "Jędrzej Stuczyński ", diff --git a/mixnode/Cargo.toml b/mixnode/Cargo.toml index 647a54c193..b64bb9bfc7 100644 --- a/mixnode/Cargo.toml +++ b/mixnode/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "nym-mixnode" license = "GPL-3.0" -version = "1.1.35" +version = "1.1.37" authors = [ "Dave Hrycyszyn ", "Jędrzej Stuczyński ", diff --git a/nym-api/Cargo.toml b/nym-api/Cargo.toml index 83401e0e65..4ab459165c 100644 --- a/nym-api/Cargo.toml +++ b/nym-api/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "nym-api" license = "GPL-3.0" -version = "1.1.35" +version = "1.1.37" authors = [ "Dave Hrycyszyn ", "Jędrzej Stuczyński ", diff --git a/nym-wallet/src-tauri/Cargo.toml b/nym-wallet/src-tauri/Cargo.toml index 839941001b..6d2dc3185d 100644 --- a/nym-wallet/src-tauri/Cargo.toml +++ b/nym-wallet/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nym_wallet" -version = "1.2.12" +version = "1.2.13" description = "Nym Native Wallet" authors = ["Nym Technologies SA"] license = "" diff --git a/nym-wallet/src-tauri/tauri.conf.json b/nym-wallet/src-tauri/tauri.conf.json index f0a42fa8df..5236817066 100644 --- a/nym-wallet/src-tauri/tauri.conf.json +++ b/nym-wallet/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "package": { "productName": "nym-wallet", - "version": "1.2.12" + "version": "1.2.13" }, "build": { "distDir": "../dist", diff --git a/service-providers/network-requester/Cargo.toml b/service-providers/network-requester/Cargo.toml index 98b756c803..cbf8dbbb72 100644 --- a/service-providers/network-requester/Cargo.toml +++ b/service-providers/network-requester/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "nym-network-requester" license = "GPL-3.0" -version = "1.1.33" +version = "1.1.34" authors.workspace = true edition.workspace = true rust-version = "1.70" diff --git a/service-providers/network-statistics/Cargo.toml b/service-providers/network-statistics/Cargo.toml index 5b0ec549f0..0146f33914 100644 --- a/service-providers/network-statistics/Cargo.toml +++ b/service-providers/network-statistics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nym-network-statistics" -version = "1.1.33" +version = "1.1.34" edition = "2021" license.workspace = true diff --git a/tools/nym-cli/Cargo.toml b/tools/nym-cli/Cargo.toml index 85f5d8eba5..fbfbf57547 100644 --- a/tools/nym-cli/Cargo.toml +++ b/tools/nym-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nym-cli" -version = "1.1.34" +version = "1.1.35" authors.workspace = true edition = "2021" license.workspace = true From 373cc54f3f0ae7e76cf1cc162587e254c04a652b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20H=C3=A4ggblad?= Date: Mon, 22 Apr 2024 16:29:19 +0200 Subject: [PATCH 2/5] cargo update -p rustls@0.21.10 (#4551) --- Cargo.lock | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6dd565fdf0..386287164c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3507,7 +3507,7 @@ dependencies = [ "futures-util", "http 0.2.9", "hyper 0.14.27", - "rustls 0.21.10", + "rustls 0.21.11", "tokio", "tokio-rustls 0.24.1", ] @@ -8318,7 +8318,7 @@ dependencies = [ "once_cell", "percent-encoding", "pin-project-lite 0.2.13", - "rustls 0.21.10", + "rustls 0.21.11", "rustls-native-certs", "rustls-pemfile", "serde", @@ -8702,9 +8702,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.21.10" +version = "0.21.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9d5a6813c0759e4609cd494e8e725babae6a2ca7b62a5536a13daaec6fcb7ba" +checksum = "7fecbfb7b1444f477b345853b1fce097a2c6fb637b2bfb87e6bc5db0f043fae4" dependencies = [ "log", "ring 0.17.4", @@ -10101,7 +10101,7 @@ version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" dependencies = [ - "rustls 0.21.10", + "rustls 0.21.11", "tokio", ] @@ -10162,7 +10162,7 @@ checksum = "212d5dcb2a1ce06d81107c3d0ffa3121fe974b73f068c8282cb1c32328113b6c" dependencies = [ "futures-util", "log", - "rustls 0.21.10", + "rustls 0.21.11", "rustls-native-certs", "tokio", "tokio-rustls 0.24.1", @@ -10596,7 +10596,7 @@ dependencies = [ "httparse", "log", "rand 0.8.5", - "rustls 0.21.10", + "rustls 0.21.11", "sha1", "thiserror", "url", From e1abbc0b5b2b4825b81b17f744d7f65c327038ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20H=C3=A4ggblad?= Date: Tue, 23 Apr 2024 13:46:02 +0200 Subject: [PATCH 3/5] Disable legacy endpoints in mixnode http client (#4556) --- mixnode/src/node/http/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mixnode/src/node/http/mod.rs b/mixnode/src/node/http/mod.rs index bb4fc37cc9..26024574b5 100644 --- a/mixnode/src/node/http/mod.rs +++ b/mixnode/src/node/http/mod.rs @@ -105,7 +105,7 @@ impl<'a> HttpApiBuilder<'a> { let router = nym_node_http_api::NymNodeRouter::new(config, None, None); let server = router - .with_merged(legacy::routes(self.legacy_mixnode, self.legacy_descriptor)) + // .with_merged(legacy::routes(self.legacy_mixnode, self.legacy_descriptor)) .build_server(&bind_address)? .with_task_client(task_client); tokio::spawn(async move { server.run().await }); From 4e5c765a0d8e45a99a249c02d4bba7f9eb4782d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20H=C3=A4ggblad?= Date: Tue, 23 Apr 2024 16:24:59 +0200 Subject: [PATCH 4/5] Quickfix for unused warnings after manually disabling legacy routes for release (#4557) --- mixnode/src/node/http/legacy/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mixnode/src/node/http/legacy/mod.rs b/mixnode/src/node/http/legacy/mod.rs index ea26b3af84..97d844bd13 100644 --- a/mixnode/src/node/http/legacy/mod.rs +++ b/mixnode/src/node/http/legacy/mod.rs @@ -1,6 +1,8 @@ // Copyright 2023 - Nym Technologies SA // SPDX-License-Identifier: GPL-3.0-only +#![allow(unused)] + use crate::node::http::legacy::description::description; use crate::node::http::legacy::hardware::hardware; use crate::node::http::legacy::state::MixnodeAppState; From 7fc9eca46fb1af84092c45ddecd243e2e23ae885 Mon Sep 17 00:00:00 2001 From: benedetta davico <46782255+benedettadavico@users.noreply.github.com> Date: Wed, 24 Apr 2024 11:28:04 +0200 Subject: [PATCH 5/5] Update publish-nym-binaries.yml --- .github/workflows/publish-nym-binaries.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/publish-nym-binaries.yml b/.github/workflows/publish-nym-binaries.yml index 5de57c66c7..81cc85fce5 100644 --- a/.github/workflows/publish-nym-binaries.yml +++ b/.github/workflows/publish-nym-binaries.yml @@ -30,6 +30,7 @@ jobs: mixnode_hash: ${{ steps.binary-hashes.outputs.mixnode_hash }} gateway_hash: ${{ steps.binary-hashes.outputs.gateway_hash }} nymvisor_hash: ${{ steps.binary-hashes.outputs.nymvisor_hash }} + nymnode_hash: ${{ steps.binary-hashes.outputs.nymnode_hash }} socks5_hash: ${{ steps.binary-hashes.outputs.socks5_hash }} netreq_hash: ${{ steps.binary-hashes.outputs.netreq_hash }} cli_hash: ${{ steps.binary-hashes.outputs.cli_hash }} @@ -38,6 +39,7 @@ jobs: mixnode_version: ${{ steps.binary-versions.outputs.mixnode_version }} gateway_version: ${{ steps.binary-versions.outputs.gateway_version }} nymvisor_version: ${{ steps.binary-versions.outputs.nymvisor_version }} + nymnode_version: ${{ steps.binary-versions.outputs.nymnode_version }} socks5_version: ${{ steps.binary-versions.outputs.socks5_version }} netreq_version: ${{ steps.binary-versions.outputs.netreq_version }} cli_version: ${{ steps.binary-versions.outputs.cli_version }} @@ -81,6 +83,7 @@ jobs: target/release/nym-network-statistics target/release/nym-cli target/release/nymvisor + target/release/nym-node retention-days: 30 - id: create-release @@ -99,6 +102,7 @@ jobs: target/release/nym-network-statistics target/release/nym-cli target/release/nymvisor + target/release/nym-node push-release-data-client: if: ${{ (startsWith(github.ref, 'refs/tags/nym-binaries-') && github.event_name == 'release') || github.event_name == 'workflow_dispatch' }}