[DOCs/operators]: Document changelog for patch/2024.10-caramello (#4886)
* changelog for patched release * fix typo
This commit is contained in:
@@ -2,6 +2,31 @@
|
||||
|
||||
This page displays a full list of all the changes during our release cycle from [`v2024.3-eclipse`](https://github.com/nymtech/nym/blob/nym-binaries-v2024.3-eclipse/CHANGELOG.md) onwards. Operators can find here the newest updates together with links to relevant documentation. The list is sorted so that the newest changes appear first.
|
||||
|
||||
## `nym-node` patch from `release/2024.10-caramello`
|
||||
|
||||
- [Patch release binaries](https://github.com/nymtech/nym/releases/tag/nym-binaries-v2024.10-caramello-patch)
|
||||
|
||||
```sh
|
||||
Binary Name: nym-node
|
||||
Build Timestamp: 2024-09-16T15:00:41.019107021Z
|
||||
Build Version: 1.1.7
|
||||
Commit SHA: 65c8982cab0ff3a1154966e7d61956cb42a065fc
|
||||
Commit Date: 2024-09-16T15:59:34.000000000+02:00
|
||||
Commit Branch: HEAD
|
||||
rustc Version: 1.81.0
|
||||
rustc Channel: stable
|
||||
cargo Profile: release
|
||||
```
|
||||
|
||||
This patch fixes [`v202410-caramello`](#v202410-caramello) release [bug](#known-bugs--undone-features) where one of the used dependencies - [`DefGuard`](https://github.com/DefGuard/defguard/issues/619), was failing.
|
||||
|
||||
Updating to this patched version and running `nym-node --mode exit-gateway` with `--wireguard-enabled true` should result in a smooth node start without the `defguard_wireguard` error, occuring to some operators before:
|
||||
```sh
|
||||
/home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/defguard_wireguard_rs-0.4.2/src/netlink.rs:155: Serialized netlink packet (23240 bytes) larger than maximum size 12288: NetlinkMessage.
|
||||
```
|
||||
|
||||
This release is a patch only, there are no additional features, everything else stays the same like in the latest release [`v202410-caramello`](#v202410-caramello).
|
||||
|
||||
## `v2024.10-caramello`
|
||||
|
||||
- [Release binaries](https://github.com/nymtech/nym/releases/tag/nym-binaries-v2024.10-caramello)
|
||||
@@ -118,12 +143,12 @@ The client was removed from the peer list after 3 days of inactivity. Upon re-co
|
||||
- [Handle clients with different versions in IPR](https://github.com/nymtech/nym/pull/4723): Allow the IPR to handle clients connecting both using `v6` and `v7`, independently. The motivation is that we want to be able to roll out a API version change gradually for VPN clients without breaking backwards compatibility. The main feature on the new `v7` format that is not yet used, is that it adds signatures for connect/disconnect.
|
||||
|
||||
~~~admonish example collapsible=true title='Testing steps performed'
|
||||
Run the same command (using same gateways deployed from this PR) on different versions of the `nym-vpn-cli`.
|
||||
Run the same command (using same gateways deployed from this PR) on different versions of the `nym-vpn-cli`.
|
||||
|
||||
Example:
|
||||
Example:
|
||||
```sh
|
||||
~/nym-vpn-core-v0.1.10_macos_universal ❯ sudo -E ./nym-vpn-cli -c ../qa.env run --entry-gateway-id $entry_gateway --exit-gateway-id $exit_gateway --enable-two-hop
|
||||
|
||||
|
||||
~/nym-vpn-core-v0.1.11-dev_macos_universal ❯ sudo -E ./nym-vpn-cli -c ../qa.env run --entry-gateway-id $entry_gateway --exit-gateway-id $exit_gateway --enable-two-hop
|
||||
```
|
||||
~~~
|
||||
@@ -164,11 +189,11 @@ Example:
|
||||
|
||||
- [Feature/vesting purge plus ranged cost params](https://github.com/nymtech/nym/pull/4716): Combines [\#4715](https://github.com/nymtech/nym/pull/4715) and [\#4711](https://github.com/nymtech/nym/pull/4711) into one.
|
||||
- Disables all non-essential operations on the vesting contract => you can no longer bond mixnodes/make delegations/etc. (you can still, however, withdraw your vested tokens and so on)
|
||||
- Introduces admin-controlled minimum (and maximum) profit margin and interval operating costs.
|
||||
- Introduces admin-controlled minimum (and maximum) profit margin and interval operating costs.
|
||||
- both contracts have to be migrated **at the same time**. ideally within the same transaction
|
||||
- mixnet contract migration is not allowed (and will fail) if there are any pending actions involving vesting tokens, like delegating, increasing pledge, etc
|
||||
|
||||
- [Bump braces from `3.0.2` to `3.0.3` in `/nym-wallet/webdriver`](https://github.com/nymtech/nym/pull/4709): Bumps [braces](https://github.com/micromatch/braces) from `3.0.2` to `3.0.3`.
|
||||
- [Bump braces from `3.0.2` to `3.0.3` in `/nym-wallet/webdriver`](https://github.com/nymtech/nym/pull/4709): Bumps [braces](https://github.com/micromatch/braces) from `3.0.2` to `3.0.3`.
|
||||
|
||||
### Bugfix
|
||||
|
||||
@@ -176,29 +201,29 @@ Example:
|
||||
|
||||
~~~admonish example collapsible=true title='Testing steps performed'
|
||||
- Building all binaries is ok
|
||||
- Running `cargo fmt` returns no issues
|
||||
- Running `cargo fmt` returns no issues
|
||||
~~~
|
||||
|
||||
- [Fix version 1 not having template correspondent initially](https://github.com/nymtech/nym/pull/4733)
|
||||
|
||||
~~~admonish example collapsible=true title='Testing steps performed'
|
||||
Tested updating an old `nym-node` version and ensuring it did not throw any errors.
|
||||
Tested updating an old `nym-node` version and ensuring it did not throw any errors.
|
||||
~~~
|
||||
|
||||
- [Bugfix/client registration vol2](https://github.com/nymtech/nym/pull/4856)
|
||||
|
||||
- [Fix tokio error in `1.39`](https://github.com/nymtech/nym/pull/4730):
|
||||
- Bump tokio to `1.39.2`, skipping the issue with `1.39.1`
|
||||
|
||||
|
||||
|
||||
- [Fix (some) feature unification build failures](https://github.com/nymtech/nym/pull/4681): Running a script in the root workspace that builds each crate independently
|
||||
|
||||
~~~admonish example collapsible=true title='The script'
|
||||
```sh
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
packages=$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[].name')
|
||||
|
||||
|
||||
# Loop through each package and build
|
||||
for package in $packages; do
|
||||
echo "Building $package"
|
||||
@@ -211,16 +236,16 @@ Tested updating an old `nym-node` version and ensuring it did not throw any erro
|
||||
done
|
||||
```
|
||||
~~~
|
||||
|
||||
|
||||
- [bugfix: make sure DKG parses data out of events if logs are empty](https://github.com/nymtech/nym/pull/4764): This will be the case on post `0.50` chains
|
||||
|
||||
- [Fix clippy on rustc beta toolchain](https://github.com/nymtech/nym/pull/4746): Fix clippy warnings for rust beta toolchain
|
||||
|
||||
|
||||
- [Fix clippy for beta toolchain](https://github.com/nymtech/nym/pull/4742): Fix beta toolchain clippy by removing unused module
|
||||
- Add `nym-` prefix to `serde-common` crate
|
||||
- Remove ignored `default-features = false` attribute for workspace dependency
|
||||
|
||||
### Crypto
|
||||
### Crypto
|
||||
|
||||
- [Feature Compact Ecash : The One PR](https://github.com/nymtech/nym/pull/4623)
|
||||
|
||||
@@ -249,7 +274,7 @@ Tested updating an old `nym-node` version and ensuring it did not throw any erro
|
||||
- Wireguard registration and complete handshake test, to configure see [tasklist below](#operators-tasks)
|
||||
- DNS resolution check, to configure see [tasklist below](#operators-tasks)
|
||||
- Wireguard perfomance > 0.75, to configure see [tasklist below](#operators-tasks)
|
||||
|
||||
|
||||
- New [Nym Wallet](https://github.com/nymtech/nym/releases/tag/nym-wallet-v1.2.14) is out!
|
||||
- Vesting contract functionalities have been purged, users can only remove tokens from vesting
|
||||
- Migrating from `mixnode` or `gateway` smart contracts to a new unifying `nym-node` smart contract will be available soon using Nym desktop wallet, just like you are used to for bonding and node settings. After this migration all `nym-nodes` will be able to receive delegation and rewards. We will share a step by step guide once this migration will be deployed. No action needed now.
|
||||
@@ -353,7 +378,7 @@ THANK YOU!
|
||||
- New `nym-nodes` without a performance 24h history above 50% don't show routing properly on `nym-gateway-probe`, on Nym Harbourmaster the page may appear blank - we are working on a fix.
|
||||
- Wireguard works on IPv4 only for the time being, we are working on IPv6 implementation.
|
||||
- Harbourmaster *Role* column shows `nym-node --mode exit-gateway` as `EntryGateway`, we are working to fix it.
|
||||
- In rare occassions Harbourmaster shows only *"panda"* without the *"smiley"* badge even for nodes, which have T&C's accepted. We are working to fix it.
|
||||
- In rare occassions Harbourmaster shows only *"panda"* without the *"smiley"* badge even for nodes, which have T&C's accepted. We are working to fix it.
|
||||
- Sometimes `nym-node` running with `--wireguard-enabled true` gives this error on restart: `Serialized netlink packet .. larger than maximum size ..`
|
||||
```sh
|
||||
/home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/defguard_wireguard_rs-0.4.2/src/netlink.rs:155: Serialized netlink packet (23240 bytes) larger than maximum size 12288: NetlinkMessage.
|
||||
@@ -419,42 +444,42 @@ From what we found out it seems that one of our [dependencies - `DefGuard` - is
|
||||
**Notes:**
|
||||
Bandwidth reset to 1GB for all clients at midnight. Logs and reports correctly showed the reset.
|
||||
~~~
|
||||
|
||||
|
||||
~~~admonish example collapsible=true title='Testing steps performed - Scenario 3: Bandwidth Reset at a Different Time (e.g., Midday)'
|
||||
1. Configure the system to reset bandwidth at midday.
|
||||
2. Use the client and monitored bandwidth until midday.
|
||||
3. Keep the client connected during the reset time.
|
||||
4. Verify that bandwidth reset to 1GB live at midday.
|
||||
|
||||
|
||||
**Notes:**
|
||||
Bandwidth reset to 1GB at midday while the client was connected. Logs and reports correctly reflected the reset.
|
||||
~~~
|
||||
|
||||
* [Handle clients with different versions in IPR](https://github.com/nymtech/nym/pull/4723): Allow the IPR to handle clients connecting both using `v6` and `v7`, independently. The motivation is that we want to be able to roll out an API version change gradually for NymVPN clients without breaking backwards compatibility. The main feature on the new `v7` format that is not yet used, is that it adds signatures for connect/disconnect.
|
||||
~~~admonish example collapsible=true title='Testing steps performed'
|
||||
Run the same command (using same gateways deployed from this PR) on different versions of the `nym-vpn-cli`.
|
||||
Run the same command (using same gateways deployed from this PR) on different versions of the `nym-vpn-cli`.
|
||||
|
||||
Example:
|
||||
Example:
|
||||
```sh
|
||||
sudo -E ./nym-vpn-cli -c ../qa.env run --entry-gateway-id $entry_gateway --exit-gateway-id $exit_gateway --enable-two-hop
|
||||
|
||||
|
||||
sudo -E ./nym-vpn-cli -c ../qa.env run --entry-gateway-id $entry_gateway --exit-gateway-id $exit_gateway --enable-two-hop
|
||||
```
|
||||
~~~
|
||||
|
||||
### Bugfix
|
||||
|
||||
* [Feature/merge back](https://github.com/nymtech/nym/pull/4710): Merge back from the release branch the changes that fix the `nym-node` upgrades.
|
||||
* [Feature/merge back](https://github.com/nymtech/nym/pull/4710): Merge back from the release branch the changes that fix the `nym-node` upgrades.
|
||||
|
||||
* [Fix version `1.x.x` not having template correspondent initially](https://github.com/nymtech/nym/pull/4733): This should fix the problem of config deserialisation when operators upgrade nodes and skip over multiple versions.
|
||||
* [Fix version `1.x.x` not having template correspondent initially](https://github.com/nymtech/nym/pull/4733): This should fix the problem of config deserialisation when operators upgrade nodes and skip over multiple versions.
|
||||
~~~admonish example collapsible=true title='Testing steps performed'
|
||||
- Tested updating an old nym-node version and ensuring it did not throw any errors.
|
||||
~~~
|
||||
|
||||
* [chore: fix 1.80 lint issues](https://github.com/nymtech/nym/pull/4731):
|
||||
* [chore: fix 1.80 lint issues](https://github.com/nymtech/nym/pull/4731):
|
||||
~~~admonish example collapsible=true title='Testing steps performed'
|
||||
- Building all binaries is ok
|
||||
- Running `cargo fmt` returns no issues
|
||||
- Running `cargo fmt` returns no issues
|
||||
~~~
|
||||
|
||||
### Operators Guide updates
|
||||
@@ -496,7 +521,7 @@ ufw allow 1789/tcp # Nym specific
|
||||
ufw allow 1790/tcp # Nym specific
|
||||
ufw allow 8080/tcp # Nym specific - nym-node-api
|
||||
ufw allow 9000/tcp # Nym Specific - clients port
|
||||
ufw allow 9001/tcp # Nym specific - wss port
|
||||
ufw allow 9001/tcp # Nym specific - wss port
|
||||
ufw allow 51822/udp # WireGuard
|
||||
```
|
||||
|
||||
@@ -592,7 +617,7 @@ For Entry Gateway:
|
||||
```
|
||||
~~~
|
||||
|
||||
* [Update Nym exit policy](https://nymtech.net/.wellknown/network-requester/exit-policy.txt): Based on the survey, AMA and following discussions we added several ports to Nym exit policy. The ports voted upon in the [forum governance](https://forum.nymtech.net/t/poll-a-new-nym-exit-policy-for-exit-gateways-and-the-nym-mixnet-is-inbound/464) have not been added yet due to the concerns raised. These ports were unrestricted:
|
||||
* [Update Nym exit policy](https://nymtech.net/.wellknown/network-requester/exit-policy.txt): Based on the survey, AMA and following discussions we added several ports to Nym exit policy. The ports voted upon in the [forum governance](https://forum.nymtech.net/t/poll-a-new-nym-exit-policy-for-exit-gateways-and-the-nym-mixnet-is-inbound/464) have not been added yet due to the concerns raised. These ports were unrestricted:
|
||||
|
||||
~~~admonish example collapsible=true title='Newly opened ports in Nym exit policy'
|
||||
```
|
||||
@@ -625,7 +650,7 @@ For Entry Gateway:
|
||||
|
||||
* [Create a NymConnect archive page](https://nymtech.net/developers/archive/nym-connect.html), PR [\#4750](https://github.com/nymtech/nym/commit/5096c1e60e203dcf8be934823946e24fda16a9a3): Archive deprecated NymConnect for backward compatibility, show PEApps examples for both NC and maintained `nym-socks5-client`.
|
||||
|
||||
* Fix broken URLs and correct redirection. PRs: [\#4745](https://github.com/nymtech/nym/commit/7e36595d8fa7706876880b42df1c998a4b8c1478), [\#4752](https://github.com/nymtech/nym/commit/1db61f800c6884e284c5ab21e7abce3bc6d91d99) [\#4755](https://github.com/nymtech/nym/commit/aaf3dca5b999ad7f19d2ff170078b43c9c4476c2), [\#4737](https://github.com/nymtech/nym/commit/6f669866e92e637772726ad05caa5c5501a830f3)
|
||||
* Fix broken URLs and correct redirection. PRs: [\#4745](https://github.com/nymtech/nym/commit/7e36595d8fa7706876880b42df1c998a4b8c1478), [\#4752](https://github.com/nymtech/nym/commit/1db61f800c6884e284c5ab21e7abce3bc6d91d99) [\#4755](https://github.com/nymtech/nym/commit/aaf3dca5b999ad7f19d2ff170078b43c9c4476c2), [\#4737](https://github.com/nymtech/nym/commit/6f669866e92e637772726ad05caa5c5501a830f3)
|
||||
~~~admonish example collapsible=true title='Testing steps performed'
|
||||
- Use [deadlinkchecker.com](https://www.deadlinkchecker.com/website-dead-link-checker.asp) to go over `nymtech.net` and correct all docs URLs
|
||||
- Go over search engines and old medium articles and check that all dead URLs re-directing correctly
|
||||
@@ -706,8 +731,8 @@ bind_address = '0.0.0.0:9000'
|
||||
3. Checked the implementation of the `default_node_role` function to ensure it returns `NodeRole::Inactive`.
|
||||
4. Ran the updated code in the sandbox environment.
|
||||
5. Monitored the sandbox environment for any issues or errors related to the changes.
|
||||
|
||||
|
||||
|
||||
|
||||
**Notes (if any):**
|
||||
The test was successful. No issues were flagged during the testing in the sandbox environment. The new default value for `NodeRole` ensures backward compatibility without causing disruptions.
|
||||
~~~
|
||||
@@ -755,7 +780,7 @@ bind_address = '0.0.0.0:9000'
|
||||
6. Validated that no leftover code from the old statistics service provider caused any issues.
|
||||
~~~
|
||||
|
||||
* [Remove `UserAgent` constructor since it's weakly typed](https://github.com/nymtech/nym/pull/4689):
|
||||
* [Remove `UserAgent` constructor since it's weakly typed](https://github.com/nymtech/nym/pull/4689):
|
||||
~~~admonish example collapsible=true title='Testing steps performed'
|
||||
1. Reviewed the changes in `common/http-api-client/src/user_agent.rs` file.
|
||||
2. Verified the removal of the `UserAgent` constructor and ensured that all instances of `UserAgent::new` are updated accordingly.
|
||||
@@ -763,14 +788,14 @@ bind_address = '0.0.0.0:9000'
|
||||
4. Deployed the updated code across different environments (QA, sandbox, and canary).
|
||||
5. Ran tests to ensure that the `UserAgent` struct functions correctly without the constructor.
|
||||
~~~
|
||||
|
||||
|
||||
* [Add mixnodes to self describing api cache](https://github.com/nymtech/nym/pull/4684):
|
||||
- Abstracts getting the self describing info a bit
|
||||
- Adds mixnodes to the cache refresher as well
|
||||
- Adds `role` field to the `NodeDescription` struct, to be able to distinguish between mixnodes and gateways
|
||||
- Switched to using `NodeStatusCache` instead of `ContractCache`
|
||||
~~~admonish example collapsible=true title='Testing steps performed'
|
||||
Called the new `/mixnodes/described` endpoint as well as the existing `/gateways/described` endpoint and verified that the data returned for each was correct based on the settings that different nodes have when they are setup.
|
||||
Called the new `/mixnodes/described` endpoint as well as the existing `/gateways/described` endpoint and verified that the data returned for each was correct based on the settings that different nodes have when they are setup.
|
||||
|
||||
For gateway endpoint, the “role” for now does not differentiate between entry and exit gateways, this will be implemented in the future.
|
||||
~~~
|
||||
@@ -806,7 +831,7 @@ For gateway endpoint, the “role” for now does not differentiate between entr
|
||||
5. Ran all tests to ensure the removal did not affect the functionality of the project.
|
||||
~~~
|
||||
|
||||
|
||||
|
||||
* [Remove code that refers to removed `nym-network-statistics`](https://github.com/nymtech/nym/pull/4679): Follow up to [\#4678](https://github.com/nymtech/nym/pull/4678) where all code interacting with it is removed.
|
||||
~~~admonish example collapsible=true title='Testing steps performed'
|
||||
1. Reviewed the project to identify all references to `nym-network-statistics`.
|
||||
@@ -823,7 +848,7 @@ For gateway endpoint, the “role” for now does not differentiate between entr
|
||||
- `nym-client`
|
||||
- `nym-socks5-client`
|
||||
- Standalone `ip-packet-router`
|
||||
|
||||
|
||||
~~~admonish example collapsible=true title='Testing steps performed'
|
||||
Used the nym-vpn-cli to test this, and we can visibly see the `UserAgent`, no issues with the comments mentioned above.
|
||||
|
||||
@@ -831,7 +856,7 @@ Example of the user agent sent:
|
||||
`nym-client/1.1.36/x86_64-unknown-linux-gnu/e18bb70`
|
||||
|
||||
<img width="1435" alt="image" src="https://github.com/nymtech/nym/assets/60836166/5d4cc76f-84e6-45cb-9102-adc2b58a25d9">
|
||||
|
||||
|
||||
Connected with no problems
|
||||
~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user