diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d91731ca0..e4dbae0f2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,52 @@ # Changelog -## [v0.10.0](https://github.com/nymtech/nym/tree/v0.10.0) (2020-14-15) +## [v0.10.1](https://github.com/nymtech/nym/tree/v0.10.1) (2021-05-24) -[Full Changelog](https://github.com/nymtech/nym/compare/v0.9.2...v0.10.0) +[Full Changelog](https://github.com/nymtech/nym/compare/v0.10.0...v0.10.1) + +**Closed issues:** + +- Prometheus metrics doesn't work [\#606](https://github.com/nymtech/nym/issues/606) +- Bonding hostname vs. ip-address does not show up on NYM explorer [\#593](https://github.com/nymtech/nym/issues/593) +- Cannot assign requested address [\#584](https://github.com/nymtech/nym/issues/584) +- Native client upgrade command is broken [\#582](https://github.com/nymtech/nym/issues/582) +- Spread directory requests across good validators [\#580](https://github.com/nymtech/nym/issues/580) +- Change network monitor to use currency-based rewareds [\#540](https://github.com/nymtech/nym/issues/540) +- Unregistration for protocol ipv6 does not work [\#511](https://github.com/nymtech/nym/issues/511) +- Network monitor view on validators [\#373](https://github.com/nymtech/nym/issues/373) + +**Merged pull requests:** + +- Bugfix/unique node ownership [\#612](https://github.com/nymtech/nym/pull/612) ([jstuczyn](https://github.com/jstuczyn)) +- Decreased log severity for verloc-related functionalities [\#611](https://github.com/nymtech/nym/pull/611) ([jstuczyn](https://github.com/jstuczyn)) +- Disabled metrics reporting to the central server [\#609](https://github.com/nymtech/nym/pull/609) ([jstuczyn](https://github.com/jstuczyn)) +- Feature/network monitor gateway pings [\#608](https://github.com/nymtech/nym/pull/608) ([jstuczyn](https://github.com/jstuczyn)) +- Implemented display traits for identity and encryption keys [\#607](https://github.com/nymtech/nym/pull/607) ([jstuczyn](https://github.com/jstuczyn)) +- Feature/add node description api [\#605](https://github.com/nymtech/nym/pull/605) ([futurechimp](https://github.com/futurechimp)) +- Feature/updated network monitor [\#604](https://github.com/nymtech/nym/pull/604) ([jstuczyn](https://github.com/jstuczyn)) +- Feature/ping timings [\#603](https://github.com/nymtech/nym/pull/603) ([jstuczyn](https://github.com/jstuczyn)) +- Bump lodash from 4.17.20 to 4.17.21 in /clients/validator [\#602](https://github.com/nymtech/nym/pull/602) ([dependabot[bot]](https://github.com/apps/dependabot)) +- Bump lodash from 4.17.20 to 4.17.21 in /clients/native/examples/js-examples/websocket [\#601](https://github.com/nymtech/nym/pull/601) ([dependabot[bot]](https://github.com/apps/dependabot)) +- Feature/add rocket [\#600](https://github.com/nymtech/nym/pull/600) ([futurechimp](https://github.com/futurechimp)) +- Bump url-parse from 1.4.7 to 1.5.1 in /clients/native/examples/js-examples/websocket [\#599](https://github.com/nymtech/nym/pull/599) ([dependabot[bot]](https://github.com/apps/dependabot)) +- Bump url-parse from 1.4.7 to 1.5.1 in /clients/webassembly/js-example [\#598](https://github.com/nymtech/nym/pull/598) ([dependabot[bot]](https://github.com/apps/dependabot)) +- Recalculating reward rates on appropriate value changes [\#594](https://github.com/nymtech/nym/pull/594) ([jstuczyn](https://github.com/jstuczyn)) +- Changed default mixnode query page limit [\#592](https://github.com/nymtech/nym/pull/592) ([jstuczyn](https://github.com/jstuczyn)) +- Feature/more exposed client api [\#591](https://github.com/nymtech/nym/pull/591) ([jstuczyn](https://github.com/jstuczyn)) +- Contract adjustment to check for node ownership before allowing bonding [\#590](https://github.com/nymtech/nym/pull/590) ([jstuczyn](https://github.com/jstuczyn)) +- Bump ssri from 6.0.1 to 6.0.2 in /clients/webassembly/js-example [\#589](https://github.com/nymtech/nym/pull/589) ([dependabot[bot]](https://github.com/apps/dependabot)) +- Bump ssri from 6.0.1 to 6.0.2 in /clients/native/examples/js-examples/websocket [\#588](https://github.com/nymtech/nym/pull/588) ([dependabot[bot]](https://github.com/apps/dependabot)) +- Impl Error trait for ValidatorClientError [\#587](https://github.com/nymtech/nym/pull/587) ([jstuczyn](https://github.com/jstuczyn)) +- Checking for tx success when sending coins [\#586](https://github.com/nymtech/nym/pull/586) ([jstuczyn](https://github.com/jstuczyn)) +- Logging adjustment [\#585](https://github.com/nymtech/nym/pull/585) ([jstuczyn](https://github.com/jstuczyn)) +- Feature/multiple validator endpoints [\#583](https://github.com/nymtech/nym/pull/583) ([jstuczyn](https://github.com/jstuczyn)) +- Refreshing nodes gets all available nodes from the contract [\#575](https://github.com/nymtech/nym/pull/575) ([jstuczyn](https://github.com/jstuczyn)) +- Feature/simple payments [\#571](https://github.com/nymtech/nym/pull/571) ([jstuczyn](https://github.com/jstuczyn)) +- Minor cosmetic changes while reading around [\#568](https://github.com/nymtech/nym/pull/568) ([huitseeker](https://github.com/huitseeker)) + +## [v0.10.0](https://github.com/nymtech/nym/tree/v0.10.0) (2021-04-15) + +[Full Changelog](https://github.com/nymtech/nym/compare/validator-client-0.10.0-rc1...v0.10.0) This release brings a distributed directory authority powered by [Cosmos SDK](https://cosmos.network) and [CosmWasm](https://cosmwasm.com) smart contracts. It is designed to run [Testnet Finney](https://testnet-finney-explorer.nymtech.net), the new Nym testnet. diff --git a/Cargo.lock b/Cargo.lock index 8669d00b45..a3e1814e16 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -396,7 +396,7 @@ dependencies = [ [[package]] name = "client-core" -version = "0.10.0" +version = "0.10.1" dependencies = [ "config", "crypto", @@ -1629,7 +1629,7 @@ dependencies = [ [[package]] name = "nym-client" -version = "0.10.0" +version = "0.10.1" dependencies = [ "clap", "client-core", @@ -1680,7 +1680,7 @@ dependencies = [ [[package]] name = "nym-gateway" -version = "0.10.0" +version = "0.10.1" dependencies = [ "clap", "config", @@ -1710,7 +1710,7 @@ dependencies = [ [[package]] name = "nym-mixnode" -version = "0.10.1-dev" +version = "0.10.1" dependencies = [ "bs58 0.4.0", "clap", @@ -1743,7 +1743,7 @@ dependencies = [ [[package]] name = "nym-network-monitor" -version = "0.10.0" +version = "0.10.1" dependencies = [ "clap", "crypto", @@ -1768,7 +1768,7 @@ dependencies = [ [[package]] name = "nym-network-requester" -version = "0.10.0" +version = "0.10.1" dependencies = [ "clap", "dirs", @@ -1789,7 +1789,7 @@ dependencies = [ [[package]] name = "nym-socks5-client" -version = "0.10.0" +version = "0.10.1" dependencies = [ "clap", "client-core", diff --git a/clients/client-core/Cargo.toml b/clients/client-core/Cargo.toml index c27777dcb1..445d313590 100644 --- a/clients/client-core/Cargo.toml +++ b/clients/client-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "client-core" -version = "0.10.0" +version = "0.10.1" authors = ["Dave Hrycyszyn "] edition = "2018" diff --git a/clients/native/Cargo.toml b/clients/native/Cargo.toml index 6aa3cbba48..d7c51af40e 100644 --- a/clients/native/Cargo.toml +++ b/clients/native/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nym-client" -version = "0.10.0" +version = "0.10.1" authors = ["Dave Hrycyszyn ", "Jędrzej Stuczyński "] edition = "2018" diff --git a/clients/native/src/commands/upgrade.rs b/clients/native/src/commands/upgrade.rs index baf8afbf5a..651c9dce96 100644 --- a/clients/native/src/commands/upgrade.rs +++ b/clients/native/src/commands/upgrade.rs @@ -227,6 +227,32 @@ fn minor_010_upgrade( config } +// no changes but version number +fn patch_010_upgrade( + mut config: Config, + _matches: &ArgMatches, + config_version: &Version, + package_version: &Version, +) -> Config { + let to_version = package_version; + + print_start_upgrade(&config_version, &to_version); + + config + .get_base_mut() + .set_custom_version(to_version.to_string().as_ref()); + + config.save_to_file(None).unwrap_or_else(|err| { + eprintln!("failed to overwrite config file! - {:?}", err); + print_failed_upgrade(&config_version, &to_version); + process::exit(1); + }); + + print_successful_upgrade(config_version, to_version); + + config +} + fn do_upgrade(mut config: Config, matches: &ArgMatches, package_version: Version) { loop { let config_version = parse_config_version(&config); @@ -239,6 +265,7 @@ fn do_upgrade(mut config: Config, matches: &ArgMatches, package_version: Version config = match config_version.major { 0 => match config_version.minor { 9 => minor_010_upgrade(config, &matches, &config_version, &package_version), + 10 => patch_010_upgrade(config, &matches, &config_version, &package_version), _ => unsupported_upgrade(config_version, package_version), }, _ => unsupported_upgrade(config_version, package_version), diff --git a/clients/socks5/Cargo.toml b/clients/socks5/Cargo.toml index 90a5e04547..e24e8512b9 100644 --- a/clients/socks5/Cargo.toml +++ b/clients/socks5/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nym-socks5-client" -version = "0.10.0" +version = "0.10.1" authors = ["Dave Hrycyszyn "] edition = "2018" diff --git a/clients/socks5/src/commands/upgrade.rs b/clients/socks5/src/commands/upgrade.rs index 627d7ce4d1..f140314682 100644 --- a/clients/socks5/src/commands/upgrade.rs +++ b/clients/socks5/src/commands/upgrade.rs @@ -227,6 +227,32 @@ fn minor_010_upgrade( config } +// no changes but version number +fn patch_010_upgrade( + mut config: Config, + _matches: &ArgMatches, + config_version: &Version, + package_version: &Version, +) -> Config { + let to_version = package_version; + + print_start_upgrade(&config_version, &to_version); + + config + .get_base_mut() + .set_custom_version(to_version.to_string().as_ref()); + + config.save_to_file(None).unwrap_or_else(|err| { + eprintln!("failed to overwrite config file! - {:?}", err); + print_failed_upgrade(&config_version, &to_version); + process::exit(1); + }); + + print_successful_upgrade(config_version, to_version); + + config +} + fn do_upgrade(mut config: Config, matches: &ArgMatches, package_version: Version) { loop { let config_version = parse_config_version(&config); @@ -239,6 +265,7 @@ fn do_upgrade(mut config: Config, matches: &ArgMatches, package_version: Version config = match config_version.major { 0 => match config_version.minor { 9 => minor_010_upgrade(config, &matches, &config_version, &package_version), + 10 => patch_010_upgrade(config, &matches, &config_version, &package_version), _ => unsupported_upgrade(config_version, package_version), }, _ => unsupported_upgrade(config_version, package_version), diff --git a/gateway/Cargo.toml b/gateway/Cargo.toml index e25d8aa210..2013432d04 100644 --- a/gateway/Cargo.toml +++ b/gateway/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "nym-gateway" -version = "0.10.0" +version = "0.10.1" authors = ["Dave Hrycyszyn ", "Jędrzej Stuczyński "] edition = "2018" diff --git a/gateway/src/commands/upgrade.rs b/gateway/src/commands/upgrade.rs index 6d232f5ead..449b9af0f2 100644 --- a/gateway/src/commands/upgrade.rs +++ b/gateway/src/commands/upgrade.rs @@ -199,6 +199,30 @@ fn minor_010_upgrade( upgraded_config } +// no changes but version number +fn patch_010_upgrade( + config: Config, + _matches: &ArgMatches, + config_version: &Version, + package_version: &Version, +) -> Config { + let to_version = package_version; + + print_start_upgrade(&config_version, &to_version); + + let upgraded_config = config.with_custom_version(to_version.to_string().as_ref()); + + upgraded_config.save_to_file(None).unwrap_or_else(|err| { + eprintln!("failed to overwrite config file! - {:?}", err); + print_failed_upgrade(&config_version, &to_version); + process::exit(1); + }); + + print_successful_upgrade(config_version, to_version); + + upgraded_config +} + fn do_upgrade(mut config: Config, matches: &ArgMatches, package_version: Version) { loop { let config_version = parse_config_version(&config); @@ -211,6 +235,7 @@ fn do_upgrade(mut config: Config, matches: &ArgMatches, package_version: Version config = match config_version.major { 0 => match config_version.minor { 9 => minor_010_upgrade(config, &matches, &config_version, &package_version), + 10 => patch_010_upgrade(config, &matches, &config_version, &package_version), _ => unsupported_upgrade(config_version, package_version), }, _ => unsupported_upgrade(config_version, package_version), diff --git a/mixnode/Cargo.toml b/mixnode/Cargo.toml index 6a9a348a7b..417a9832ea 100644 --- a/mixnode/Cargo.toml +++ b/mixnode/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "nym-mixnode" -version = "0.10.1-dev" +version = "0.10.1" authors = ["Dave Hrycyszyn ", "Jędrzej Stuczyński "] edition = "2018" diff --git a/mixnode/src/commands/upgrade.rs b/mixnode/src/commands/upgrade.rs index 9720099656..6d03182592 100644 --- a/mixnode/src/commands/upgrade.rs +++ b/mixnode/src/commands/upgrade.rs @@ -238,6 +238,31 @@ fn minor_010_upgrade( upgraded_config } +fn patch_010_upgrade( + config: Config, + _matches: &ArgMatches, + config_version: &Version, + package_version: &Version, +) -> Config { + // welp, stuff like ports are mostly hardcoded and not part of the config so all is changes is just the version + // number + let to_version = package_version; + + print_start_upgrade(&config_version, &to_version); + + let upgraded_config = config.with_custom_version(to_version.to_string().as_ref()); + + upgraded_config.save_to_file(None).unwrap_or_else(|err| { + eprintln!("failed to overwrite config file! - {:?}", err); + print_failed_upgrade(&config_version, &to_version); + process::exit(1); + }); + + print_successful_upgrade(config_version, to_version); + + upgraded_config +} + fn do_upgrade(mut config: Config, matches: &ArgMatches, package_version: Version) { loop { let config_version = parse_config_version(&config); @@ -250,6 +275,7 @@ fn do_upgrade(mut config: Config, matches: &ArgMatches, package_version: Version config = match config_version.major { 0 => match config_version.minor { 9 => minor_010_upgrade(config, &matches, &config_version, &package_version), + 10 => patch_010_upgrade(config, &matches, &config_version, &package_version), _ => unsupported_upgrade(config_version, package_version), }, _ => unsupported_upgrade(config_version, package_version), diff --git a/network-monitor/Cargo.toml b/network-monitor/Cargo.toml index 046a3b4a40..704b05f295 100644 --- a/network-monitor/Cargo.toml +++ b/network-monitor/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "nym-network-monitor" -version = "0.10.0" +version = "0.10.1" authors = ["Dave Hrycyszyn ", "Jędrzej Stuczyński "] edition = "2018" diff --git a/service-providers/network-requester/Cargo.toml b/service-providers/network-requester/Cargo.toml index fca20dc2d9..b4dca16af7 100644 --- a/service-providers/network-requester/Cargo.toml +++ b/service-providers/network-requester/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "nym-network-requester" -version = "0.10.0" +version = "0.10.1" authors = ["Dave Hrycyszyn ", "Jędrzej Stuczyński "] edition = "2018"