From a029d89a2b9cb1d04eba054960114801b755b582 Mon Sep 17 00:00:00 2001 From: ramfox Date: Mon, 2 Sep 2024 16:00:36 -0400 Subject: [PATCH] chore: Release --- CHANGELOG.md | 38 +++++++++++++++++++++++++++++++++++++- Cargo.lock | 22 +++++++++++----------- iroh-base/Cargo.toml | 2 +- iroh-blobs/Cargo.toml | 8 ++++---- iroh-cli/Cargo.toml | 8 ++++---- iroh-dns-server/Cargo.toml | 6 +++--- iroh-docs/Cargo.toml | 12 ++++++------ iroh-gossip/Cargo.toml | 10 +++++----- iroh-metrics/Cargo.toml | 2 +- iroh-net/Cargo.toml | 6 +++--- iroh-net/bench/Cargo.toml | 2 +- iroh-test/Cargo.toml | 2 +- iroh/Cargo.toml | 14 +++++++------- 13 files changed, 84 insertions(+), 48 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 26a13d7eb0..ae65dd620e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,42 @@ All notable changes to iroh will be documented in this file. -## [0.23.0](https://github.com/n0-computer/iroh/compare/v0.22.0..0.23.0) - 2024-08-20 +## [0.24.0](https://github.com/n0-computer/iroh/compare/v0.23.0..0.24.0) - 2024-09-02 + +### โ›ฐ๏ธ Features + +- *(bench)* Add `--with-relay` option to allow testing relay throughput ([#2664](https://github.com/n0-computer/iroh/issues/2664)) - ([5c09013](https://github.com/n0-computer/iroh/commit/5c090134227929bb978d7f16fe33c74125f25e56)) +- *(bench)* Add `--metrics` option printing iroh-net library metrics ([#2668](https://github.com/n0-computer/iroh/issues/2668)) - ([4f83c43](https://github.com/n0-computer/iroh/commit/4f83c43824eea7be3619f235f8944d228eaa79cc)) +- *(iroh-net)* [**breaking**] Upgrade to Quinn 0.11 and Rustls 0.23 ([#2595](https://github.com/n0-computer/iroh/issues/2595)) - ([34ec5e2](https://github.com/n0-computer/iroh/commit/34ec5e24b9cdae751a7fae8f9d14fb6fa77482f1)) + +### ๐Ÿ› Bug Fixes + +- *(iroh-blobs)* Demote `warn!` to `trace!` logs ([#2689](https://github.com/n0-computer/iroh/issues/2689)) - ([6181455](https://github.com/n0-computer/iroh/commit/6181455e32d4e9f69430d89a7cb70bb622a5c29d)) +- *(iroh-blobs)* Turn `println!` into `tracing::debug!` ([#2686](https://github.com/n0-computer/iroh/issues/2686)) - ([5bbcb60](https://github.com/n0-computer/iroh/commit/5bbcb60838217ce2deaaeba259a1e6a56edf88bb)) +- *(iroh-blobs)* Timeout based on correct `max_write_duration` option ([#2688](https://github.com/n0-computer/iroh/issues/2688)) - ([2347565](https://github.com/n0-computer/iroh/commit/23475650e63178efd677e357737fa3972ef16ab9)) +- *(iroh-net)* Document the keylog environment variable correctly ([#2655](https://github.com/n0-computer/iroh/issues/2655)) - ([c70caaf](https://github.com/n0-computer/iroh/commit/c70caaf48ac39fcfb3b971366a76bff37b493ee9)) +- *(iroh-net)* Magic sock `recv_data_ipv4` and `recv_data_ipv6` metrics numbers ([#2667](https://github.com/n0-computer/iroh/issues/2667)) - ([cb1650a](https://github.com/n0-computer/iroh/commit/cb1650a5ebea2b27a3130b038159f7e04448c1ff)) +- *(iroh-net)* Also check the last packet in `MagicSock::poll_recv` ([#2650](https://github.com/n0-computer/iroh/issues/2650)) - ([54ca9c9](https://github.com/n0-computer/iroh/commit/54ca9c942fa7ce6e43825d1374483a049f4d4c13)) +- *(iroh-net)* Reduce noise in swarm discovery due to republish ([#2685](https://github.com/n0-computer/iroh/issues/2685)) - ([fd56763](https://github.com/n0-computer/iroh/commit/fd56763352bc2cc308234068ddd7bf0a2767c782)) +- Docker CI performance & release builds ([#2659](https://github.com/n0-computer/iroh/issues/2659)) - ([d567231](https://github.com/n0-computer/iroh/commit/d5672319d776789191c6e5b7076fea464d4f1208)) + +### ๐Ÿšœ Refactor + +- *(iroh, iroh-blobs, iroh-net)* [**breaking**] Remove deprecated items ([#2652](https://github.com/n0-computer/iroh/issues/2652)) - ([060bf83](https://github.com/n0-computer/iroh/commit/060bf8326d3d26b719c8e518c22708af4c20040b)) + +### ๐Ÿงช Testing + +- *(iroh-gossip)* Wait for the relay to make `gossip_net_smoke` faster. ([#2663](https://github.com/n0-computer/iroh/issues/2663)) - ([1d3f3fa](https://github.com/n0-computer/iroh/commit/1d3f3fa8125761df509b94621eb173b91ed42904)) + +### โš™๏ธ Miscellaneous Tasks + +- *(iroh-net)* Do not add the NodeId in the magicsock span field ([#2679](https://github.com/n0-computer/iroh/issues/2679)) - ([05fff6a](https://github.com/n0-computer/iroh/commit/05fff6a11d9afd181a59e119a5aa98d5304d3f58)) + +### Deps + +- *(iroh-gossip)* Do not depend directly on Quinn ([#2678](https://github.com/n0-computer/iroh/issues/2678)) - ([6296964](https://github.com/n0-computer/iroh/commit/6296964a596719afac3e734296be9fbbd6162d51)) + +## [0.23.0](https://github.com/n0-computer/iroh/compare/v0.22.0..v0.23.0) - 2024-08-20 ### โ›ฐ๏ธ Features @@ -52,6 +87,7 @@ All notable changes to iroh will be documented in this file. - *(ci)* Use nextests groups to isolate some tests ([#2617](https://github.com/n0-computer/iroh/issues/2617)) - ([a5072c3](https://github.com/n0-computer/iroh/commit/a5072c3a0a11d931b3fc4e95ac48c32f12959a5b)) - Fix deps issues ([#2643](https://github.com/n0-computer/iroh/issues/2643)) - ([83f6fcc](https://github.com/n0-computer/iroh/commit/83f6fccc2c0de6db47daded6af206ea59711ec99)) +- Release - ([855e1bb](https://github.com/n0-computer/iroh/commit/855e1bbdd2cf1fbf7a7af421603c114ae7d9d9be)) ### Ref diff --git a/Cargo.lock b/Cargo.lock index 03e42c2a9a..650475e298 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2482,7 +2482,7 @@ dependencies = [ [[package]] name = "iroh" -version = "0.23.0" +version = "0.24.0" dependencies = [ "anyhow", "async-channel", @@ -2537,7 +2537,7 @@ dependencies = [ [[package]] name = "iroh-base" -version = "0.23.0" +version = "0.24.0" dependencies = [ "aead", "anyhow", @@ -2581,7 +2581,7 @@ dependencies = [ [[package]] name = "iroh-blobs" -version = "0.23.0" +version = "0.24.0" dependencies = [ "anyhow", "async-channel", @@ -2633,7 +2633,7 @@ dependencies = [ [[package]] name = "iroh-cli" -version = "0.23.0" +version = "0.24.0" dependencies = [ "anyhow", "async-channel", @@ -2689,7 +2689,7 @@ dependencies = [ [[package]] name = "iroh-dns-server" -version = "0.23.0" +version = "0.24.0" dependencies = [ "anyhow", "async-trait", @@ -2738,7 +2738,7 @@ dependencies = [ [[package]] name = "iroh-docs" -version = "0.23.0" +version = "0.24.0" dependencies = [ "anyhow", "async-channel", @@ -2779,7 +2779,7 @@ dependencies = [ [[package]] name = "iroh-gossip" -version = "0.23.0" +version = "0.24.0" dependencies = [ "anyhow", "async-channel", @@ -2823,7 +2823,7 @@ dependencies = [ [[package]] name = "iroh-metrics" -version = "0.23.0" +version = "0.24.0" dependencies = [ "anyhow", "erased_set", @@ -2842,7 +2842,7 @@ dependencies = [ [[package]] name = "iroh-net" -version = "0.23.0" +version = "0.24.0" dependencies = [ "anyhow", "axum", @@ -2939,7 +2939,7 @@ dependencies = [ [[package]] name = "iroh-net-bench" -version = "0.23.0" +version = "0.24.0" dependencies = [ "anyhow", "bytes", @@ -3008,7 +3008,7 @@ dependencies = [ [[package]] name = "iroh-test" -version = "0.23.0" +version = "0.24.0" dependencies = [ "anyhow", "tokio", diff --git a/iroh-base/Cargo.toml b/iroh-base/Cargo.toml index f312723002..93c8b07d65 100644 --- a/iroh-base/Cargo.toml +++ b/iroh-base/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iroh-base" -version = "0.23.0" +version = "0.24.0" edition = "2021" readme = "README.md" description = "base type and utilities for Iroh" diff --git a/iroh-blobs/Cargo.toml b/iroh-blobs/Cargo.toml index ff445724c2..52bd5b5f3f 100644 --- a/iroh-blobs/Cargo.toml +++ b/iroh-blobs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iroh-blobs" -version = "0.23.0" +version = "0.24.0" edition = "2021" readme = "README.md" description = "blob and collection transfer support for iroh" @@ -27,10 +27,10 @@ futures-lite = "2.3" genawaiter = { version = "0.99.1", features = ["futures03"] } hashlink = { version = "0.9.0", optional = true } hex = "0.4.3" -iroh-base = { version = "0.23.0", features = ["redb"], path = "../iroh-base" } +iroh-base = { version = "0.24.0", features = ["redb"], path = "../iroh-base" } iroh-io = { version = "0.6.0", features = ["stats"] } -iroh-metrics = { version = "0.23.0", path = "../iroh-metrics", default-features = false } -iroh-net = { version = "0.23.0", path = "../iroh-net" } +iroh-metrics = { version = "0.24.0", path = "../iroh-metrics", default-features = false } +iroh-net = { version = "0.24.0", path = "../iroh-net" } num_cpus = "1.15.0" oneshot = "0.1.8" parking_lot = { version = "0.12.1", optional = true } diff --git a/iroh-cli/Cargo.toml b/iroh-cli/Cargo.toml index 07923bd4ba..5e9d57ad82 100644 --- a/iroh-cli/Cargo.toml +++ b/iroh-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iroh-cli" -version = "0.23.0" +version = "0.24.0" edition = "2021" readme = "README.md" description = "Bytes. Distributed." @@ -40,9 +40,9 @@ futures-util = { version = "0.3.30", features = ["futures-sink"] } hex = "0.4.3" human-time = "0.1.6" indicatif = { version = "0.17", features = ["tokio"] } -iroh = { version = "0.23.0", path = "../iroh", features = ["metrics"] } -iroh-gossip = { version = "0.23.0", path = "../iroh-gossip" } -iroh-metrics = { version = "0.23.0", path = "../iroh-metrics" } +iroh = { version = "0.24.0", path = "../iroh", features = ["metrics"] } +iroh-gossip = { version = "0.24.0", path = "../iroh-gossip" } +iroh-metrics = { version = "0.24.0", path = "../iroh-metrics" } parking_lot = "0.12.1" pkarr = { version = "2.2.0", default-features = false } portable-atomic = "1" diff --git a/iroh-dns-server/Cargo.toml b/iroh-dns-server/Cargo.toml index aa8008a07e..c54583790d 100644 --- a/iroh-dns-server/Cargo.toml +++ b/iroh-dns-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iroh-dns-server" -version = "0.23.0" +version = "0.24.0" edition = "2021" description = "A pkarr relay and DNS server" license = "MIT OR Apache-2.0" @@ -24,7 +24,7 @@ governor = "0.6.3" hickory-proto = "=0.25.0-alpha.2" hickory-server = { version = "=0.25.0-alpha.2", features = ["dns-over-rustls"] } http = "1.0.0" -iroh-metrics = { version = "0.23.0", path = "../iroh-metrics" } +iroh-metrics = { version = "0.24.0", path = "../iroh-metrics" } lru = "0.12.3" mainline = "2.0.1" parking_lot = "0.12.1" @@ -53,7 +53,7 @@ z32 = "1.1.1" [dev-dependencies] hickory-resolver = "=0.25.0-alpha.2" -iroh-net = { version = "0.23.0", path = "../iroh-net" } +iroh-net = { version = "0.24.0", path = "../iroh-net" } iroh-test = { path = "../iroh-test" } pkarr = { version = "2.2.0", features = ["rand"] } diff --git a/iroh-docs/Cargo.toml b/iroh-docs/Cargo.toml index 6b36367e4f..f22fc89de3 100644 --- a/iroh-docs/Cargo.toml +++ b/iroh-docs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iroh-docs" -version = "0.23.0" +version = "0.24.0" edition = "2021" readme = "README.md" description = "Iroh sync" @@ -25,11 +25,11 @@ futures-buffered = "0.2.4" futures-lite = "2.3.0" futures-util = { version = "0.3.25" } hex = "0.4" -iroh-base = { version = "0.23.0", path = "../iroh-base" } -iroh-blobs = { version = "0.23.0", path = "../iroh-blobs", optional = true, features = ["downloader"] } -iroh-gossip = { version = "0.23.0", path = "../iroh-gossip", optional = true } -iroh-metrics = { version = "0.23.0", path = "../iroh-metrics", default-features = false } -iroh-net = { version = "0.23.0", optional = true, path = "../iroh-net" } +iroh-base = { version = "0.24.0", path = "../iroh-base" } +iroh-blobs = { version = "0.24.0", path = "../iroh-blobs", optional = true, features = ["downloader"] } +iroh-gossip = { version = "0.24.0", path = "../iroh-gossip", optional = true } +iroh-metrics = { version = "0.24.0", path = "../iroh-metrics", default-features = false } +iroh-net = { version = "0.24.0", optional = true, path = "../iroh-net" } lru = "0.12" num_enum = "0.7" postcard = { version = "1", default-features = false, features = ["alloc", "use-std", "experimental-derive"] } diff --git a/iroh-gossip/Cargo.toml b/iroh-gossip/Cargo.toml index f8c926226b..80685b51fe 100644 --- a/iroh-gossip/Cargo.toml +++ b/iroh-gossip/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iroh-gossip" -version = "0.23.0" +version = "0.24.0" edition = "2021" readme = "README.md" description = "gossip messages over broadcast trees" @@ -22,8 +22,8 @@ bytes = { version = "1.7", features = ["serde"] } derive_more = { version = "=1.0.0-beta.7", features = ["add", "debug", "deref", "display", "from", "try_into", "into"] } ed25519-dalek = { version = "2.0.0", features = ["serde", "rand_core"] } indexmap = "2.0" -iroh-base = { version = "0.23.0", path = "../iroh-base" } -iroh-metrics = { version = "0.23.0", path = "../iroh-metrics" } +iroh-base = { version = "0.24.0", path = "../iroh-base" } +iroh-metrics = { version = "0.24.0", path = "../iroh-metrics" } postcard = { version = "1", default-features = false, features = ["alloc", "use-std", "experimental-derive"] } rand = { version = "0.8.5", features = ["std_rng"] } rand_core = "0.6.4" @@ -33,14 +33,14 @@ serde = { version = "1.0.164", features = ["derive"] } futures-lite = { version = "2.3", optional = true } futures-concurrency = { version = "7.6.1", optional = true } futures-util = { version = "0.3.30", optional = true } -iroh-net = { path = "../iroh-net", version = "0.23.0", optional = true, default-features = false } +iroh-net = { path = "../iroh-net", version = "0.24.0", optional = true, default-features = false } tokio = { version = "1", optional = true, features = ["io-util", "sync", "rt", "macros", "net", "fs"] } tokio-util = { version = "0.7.8", optional = true, features = ["codec"] } tracing = "0.1" [dev-dependencies] clap = { version = "4", features = ["derive"] } -iroh-net = { path = "../iroh-net", version = "0.23.0", default-features = false, features = ["test-utils"] } +iroh-net = { path = "../iroh-net", version = "0.24.0", default-features = false, features = ["test-utils"] } iroh-test = { path = "../iroh-test" } rand_chacha = "0.3.1" tracing-subscriber = { version = "0.3", features = ["env-filter"] } diff --git a/iroh-metrics/Cargo.toml b/iroh-metrics/Cargo.toml index 4988b3bda1..45a600c7f7 100644 --- a/iroh-metrics/Cargo.toml +++ b/iroh-metrics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iroh-metrics" -version = "0.23.0" +version = "0.24.0" edition = "2021" readme = "README.md" description = "metrics for iroh" diff --git a/iroh-net/Cargo.toml b/iroh-net/Cargo.toml index 9d2710e563..ba6f59b4df 100644 --- a/iroh-net/Cargo.toml +++ b/iroh-net/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iroh-net" -version = "0.23.0" +version = "0.24.0" edition = "2021" readme = "README.md" description = "networking support for iroh" @@ -38,7 +38,7 @@ http-body-util = "0.1.0" hyper = { version = "1", features = ["server", "client", "http1"] } hyper-util = "0.1.1" igd-next = { version = "0.14.3", features = ["aio_tokio"] } -iroh-base = { version = "0.23.0", path = "../iroh-base", features = ["key"] } +iroh-base = { version = "0.24.0", path = "../iroh-base", features = ["key"] } libc = "0.2.139" num_enum = "0.7" once_cell = "1.18.0" @@ -87,7 +87,7 @@ tracing-subscriber = { version = "0.3", features = ["env-filter"], optional = tr tokio-rustls-acme = { version = "0.4", optional = true } # metrics -iroh-metrics = { version = "0.23.0", path = "../iroh-metrics", default-features = false } +iroh-metrics = { version = "0.24.0", path = "../iroh-metrics", default-features = false } strum = { version = "0.26.2", features = ["derive"] } # local-swarm-discovery diff --git a/iroh-net/bench/Cargo.toml b/iroh-net/bench/Cargo.toml index 8def078356..13944083cc 100644 --- a/iroh-net/bench/Cargo.toml +++ b/iroh-net/bench/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iroh-net-bench" -version = "0.23.0" +version = "0.24.0" edition = "2021" license = "MIT OR Apache-2.0" publish = false diff --git a/iroh-test/Cargo.toml b/iroh-test/Cargo.toml index f1d7a78037..27defd7526 100644 --- a/iroh-test/Cargo.toml +++ b/iroh-test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iroh-test" -version = "0.23.0" +version = "0.24.0" edition = "2021" readme = "README.md" description = "Internal utilities to support testing of iroh." diff --git a/iroh/Cargo.toml b/iroh/Cargo.toml index 81649e7b18..f136ba9ede 100644 --- a/iroh/Cargo.toml +++ b/iroh/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iroh" -version = "0.23.0" +version = "0.24.0" edition = "2021" readme = "README.md" description = "A toolkit for building distributed applications" @@ -26,16 +26,16 @@ futures-lite = "2.3" futures-util = "0.3" genawaiter = { version = "0.99", default-features = false, features = ["futures03"] } hex = { version = "0.4.3" } -iroh-blobs = { version = "0.23.0", path = "../iroh-blobs", features = ["downloader"] } -iroh-base = { version = "0.23.0", path = "../iroh-base", features = ["key"] } +iroh-blobs = { version = "0.24.0", path = "../iroh-blobs", features = ["downloader"] } +iroh-base = { version = "0.24.0", path = "../iroh-base", features = ["key"] } iroh-io = { version = "0.6.0", features = ["stats"] } -iroh-metrics = { version = "0.23.0", path = "../iroh-metrics", optional = true } -iroh-net = { version = "0.23.0", path = "../iroh-net", features = ["discovery-local-network"] } +iroh-metrics = { version = "0.24.0", path = "../iroh-metrics", optional = true } +iroh-net = { version = "0.24.0", path = "../iroh-net", features = ["discovery-local-network"] } nested_enum_utils = "0.1.0" num_cpus = { version = "1.15.0" } portable-atomic = "1" -iroh-docs = { version = "0.23.0", path = "../iroh-docs" } -iroh-gossip = { version = "0.23.0", path = "../iroh-gossip" } +iroh-docs = { version = "0.24.0", path = "../iroh-docs" } +iroh-gossip = { version = "0.24.0", path = "../iroh-gossip" } parking_lot = "0.12.1" postcard = { version = "1", default-features = false, features = ["alloc", "use-std", "experimental-derive"] } quic-rpc = { version = "0.12", default-features = false, features = ["flume-transport", "quinn-transport"] }