Skip to content

Commit

Permalink
Merge pull request #1950 from maidsafe/stable-2024-07-08
Browse files Browse the repository at this point in the history
chore(release): stable 2024-07-08
  • Loading branch information
jacderida authored Jul 8, 2024
2 parents dab2bba + 8845a8a commit 00bd81c
Show file tree
Hide file tree
Showing 21 changed files with 180 additions and 117 deletions.
25 changes: 5 additions & 20 deletions .github/workflows/build-release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,13 @@ jobs:
# This job isn't necessary, but it's useful for debugging the packaging process for the real release
# workflow, just in case any issues are ever encountered there.
package:
name: publish and release
name: package artifacts
runs-on: ubuntu-latest
needs: [build]
env:
AWS_ACCESS_KEY_ID: ${{ secrets.S3_DEPLOY_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_DEPLOY_AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: eu-west-2
steps:
- uses: actions/checkout@v4
with:
fetch-depth: "0"
token: ${{ secrets.VERSION_BUMP_COMMIT_PAT }}
ref: ${{ inputs.tag || inputs.branch }}
- uses: actions/download-artifact@master
with:
name: safe_network-x86_64-pc-windows-msvc
Expand All @@ -100,22 +95,12 @@ jobs:
with:
name: safe_network-aarch64-unknown-linux-musl
path: artifacts/aarch64-unknown-linux-musl/release
# It's possible to `cargo install` just, but it's very slow to compile on GHA infra.
# Therefore we just pull the binary from the Github Release.
- name: install just
shell: bash
run: |
curl -L -O $JUST_BIN_URL
mkdir just
tar xvf just-1.25.2-x86_64-unknown-linux-musl.tar.gz -C just
rm just-1.25.2-x86_64-unknown-linux-musl.tar.gz
sudo mv just/just /usr/local/bin
rm -rf just
sudo apt-get install -y tree
- uses: cargo-bins/cargo-binstall@main
- shell: bash
run: cargo binstall --no-confirm just
- name: package artifacts
shell: bash
run: |
tree artifacts
just package-release-assets "faucet"
just package-release-assets "nat-detection"
just package-release-assets "node-launchpad"
Expand Down
78 changes: 78 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

*When editing this file, please respect a line length of 100.*

## 2024-07-10

### Binaries

* `faucet` v0.4.30
* `nat-detection` v0.2.0
* `node-launchpad` v0.3.10
* `safe` v0.93.9
* `safenode` v0.109.0
* `safenode-manager` v0.10.0
* `sn_auditor` v0.2.2
* `sn_node_rpc_client` v0.6.25

### Network

#### Added

- The node exposes more metrics, including its uptime, number of connected peers, number of peers in
the routing table, and the number of open connections. These will help us more effectively
diagnose user issues.

#### Changed

- Communication between node and client is strictly limited through synchronised public keys. The
current beta network allows the node and client to use different public keys, resulting in
undefined behaviour and performance issues. This change mitigates some of those issues and we also
expect it to prevent other double spend issues.
- Reduced base traffic for nodes, resulting in better upload performance. This will result in better
distribution of nanos, meaning users with a smaller number of nodes will be expected to receive
nanos more often.

#### Fixed

- In the case where a client retries a failed upload, they would re-send their payment. In a rare
circumstance, the node would forward this reward for a second time too. This is fixed on the node.
- Nodes are prevented from double spending under rare circumstances.
- ARM builds are no longer prevented from connecting to the network.

### Node Manager

#### Added

- Global `--debug` and `--trace` arguments are provided. These will output debugging and trace-level
logging, respectively, direct to stderr.

#### Changed

- The mechanism used by the node manager to refresh its state is significantly changed to address
issues that caused commands to hang for long periods of time. Now, when using commands like
`start`, `stop`, and `reset`, users should no longer experience the commands taking excessively
long to complete.
- The `nat-detection run` command provides a default list of servers, meaning the `--servers`
argument is now optional.

### Launchpad

#### Added

- Launchpad and node versions are displayed on the user interface.

#### Changed

- The node manager change for refreshing its state also applies to the launchpad. Users should
experience improvements in operations that appeared to be hanging but were actually just taking
an excessive amount of time to complete.

#### Fixed

- The correct primary storage will now be selected on Linux and macOS.
36 changes: 18 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions nat-detection/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "GPL-3.0"
name = "nat-detection"
readme = "README.md"
repository = "https://github.com/maidsafe/safe_network"
version = "0.1.0"
version = "0.2.0"

[[bin]]
name = "nat-detection"
Expand All @@ -28,7 +28,7 @@ libp2p = { version = "0.53", features = [
"macros",
"upnp",
] }
sn_networking = { path = "../sn_networking", version = "0.16.6" }
sn_networking = { path = "../sn_networking", version = "0.17.0" }
tokio = { version = "1.32.0", features = ["full"] }
tracing = { version = "~0.1.26" }
tracing-log = "0.2.0"
Expand Down
8 changes: 4 additions & 4 deletions node-launchpad/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["MaidSafe Developers <[email protected]>"]
description = "Node Launchpad"
name = "node-launchpad"
version = "0.3.9"
version = "0.3.10"
edition = "2021"
license = "GPL-3.0"
homepage = "https://maidsafe.net"
Expand Down Expand Up @@ -49,10 +49,10 @@ reqwest = { version = "0.12.2", default-features = false, features = [
serde = { version = "1.0.188", features = ["derive"] }
serde_json = "1.0.107"
signal-hook = "0.3.17"
sn-node-manager = { version = "0.9.7", path = "../sn_node_manager" }
sn_peers_acquisition = { version = "0.3.5", path = "../sn_peers_acquisition" }
sn-node-manager = { version = "0.10.0", path = "../sn_node_manager" }
sn_peers_acquisition = { version = "0.4.0", path = "../sn_peers_acquisition" }
sn-releases = "~0.2.6"
sn_service_management = { version = "0.3.7", path = "../sn_service_management" }
sn_service_management = { version = "0.3.8", path = "../sn_service_management" }
strip-ansi-escapes = "0.2.0"
strum = { version = "0.26.1", features = ["derive"] }
sysinfo = "0.30.12"
Expand Down
8 changes: 4 additions & 4 deletions sn_auditor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["MaidSafe Developers <[email protected]>"]
description = "Safe Network Auditor"
name = "sn_auditor"
version = "0.2.1"
version = "0.2.2"
edition = "2021"
homepage = "https://maidsafe.net"
repository = "https://github.com/maidsafe/safe_network"
Expand Down Expand Up @@ -31,9 +31,9 @@ graphviz-rust = { version = "0.9.0", optional = true }
lazy_static = "1.4.0"
serde = { version = "1.0.133", features = ["derive", "rc"] }
serde_json = "1.0.108"
sn_client = { path = "../sn_client", version = "0.107.9" }
sn_logging = { path = "../sn_logging", version = "0.2.29" }
sn_peers_acquisition = { path = "../sn_peers_acquisition", version = "0.3.5" }
sn_client = { path = "../sn_client", version = "0.108.0" }
sn_logging = { path = "../sn_logging", version = "0.2.30" }
sn_peers_acquisition = { path = "../sn_peers_acquisition", version = "0.4.0" }
tiny_http = { version = "0.12", features = ["ssl-rustls"] }
tracing = { version = "~0.1.26" }
tokio = { version = "1.32.0", features = [
Expand Down
2 changes: 1 addition & 1 deletion sn_build_info/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "GPL-3.0"
name = "sn_build_info"
readme = "README.md"
repository = "https://github.com/maidsafe/safe_network"
version = "0.1.8"
version = "0.1.9"

[build-dependencies]
vergen = { version = "8.0.0", features = ["build", "git", "gitcl"] }
Expand Down
14 changes: 7 additions & 7 deletions sn_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "GPL-3.0"
name = "sn_cli"
readme = "README.md"
repository = "https://github.com/maidsafe/safe_network"
version = "0.93.8"
version = "0.93.9"

[[bin]]
path = "src/bin/main.rs"
Expand Down Expand Up @@ -57,11 +57,11 @@ reqwest = { version = "0.12.2", default-features = false, features = [
] }
rmp-serde = "1.1.1"
serde = { version = "1.0.133", features = ["derive"] }
sn_build_info = { path = "../sn_build_info", version = "0.1.8" }
sn_client = { path = "../sn_client", version = "0.107.9" }
sn_logging = { path = "../sn_logging", version = "0.2.29" }
sn_peers_acquisition = { path = "../sn_peers_acquisition", version = "0.3.5" }
sn_protocol = { path = "../sn_protocol", version = "0.17.4" }
sn_build_info = { path = "../sn_build_info", version = "0.1.9" }
sn_client = { path = "../sn_client", version = "0.108.0" }
sn_logging = { path = "../sn_logging", version = "0.2.30" }
sn_peers_acquisition = { path = "../sn_peers_acquisition", version = "0.4.0" }
sn_protocol = { path = "../sn_protocol", version = "0.17.5" }
tempfile = "3.6.0"
tiny-keccak = "~2.0.2"
tokio = { version = "1.32.0", features = [
Expand All @@ -83,7 +83,7 @@ eyre = "0.6.8"
criterion = "0.5.1"
tempfile = "3.6.0"
rand = { version = "~0.8.5", features = ["small_rng"] }
sn_client = { path = "../sn_client", version = "0.107.9", features = [
sn_client = { path = "../sn_client", version = "0.108.0", features = [
"test-utils",
] }

Expand Down
Loading

0 comments on commit 00bd81c

Please sign in to comment.