From b156401dfb1b480c288ac019368b8a27eee419ec Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Mon, 26 Oct 2026 05:26:35 +0000 Subject: [PATCH 1/3] chore: bump workspace version to 0.3.6 Update the shared workspace package version from 0.1.6 to 0.3.6 so published crates report the correct release number. Auto-committed-on: cuttlefish Co-authored-by: Medulla --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 306b9714..d6e9b92c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ exclude = ["examples"] resolver = "3" [workspace.package] -version = "0.1.6" +version = "0.3.6" edition = "2024" rust-version = "1.85" license = "GPL-3.0-only" From 8f5383c2dfa3157349f7aa028067e832b88d7970 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Mon, 26 Oct 2026 05:26:39 +0000 Subject: [PATCH 2/3] chore: bump workspace crate versions to 0.3.6 Update the pinned versions of tinybus, tinybus-macros, and tinybus-module in the workspace manifest and lockfile from 0.1.6 to 0.3.6 so the workspace dependencies resolve to the current release. Auto-committed-on: cuttlefish Co-authored-by: Medulla --- Cargo.lock | 6 +++--- Cargo.toml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c469edb9..0775269e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -733,7 +733,7 @@ dependencies = [ [[package]] name = "tinybus" -version = "0.1.6" +version = "0.3.6" dependencies = [ "async-trait", "clap", @@ -757,7 +757,7 @@ dependencies = [ [[package]] name = "tinybus-macros" -version = "0.1.6" +version = "0.3.6" dependencies = [ "proc-macro2", "quote", @@ -766,7 +766,7 @@ dependencies = [ [[package]] name = "tinybus-module" -version = "0.1.6" +version = "0.3.6" dependencies = [ "async-trait", "serde", diff --git a/Cargo.toml b/Cargo.toml index d6e9b92c..0c4c50f0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,9 +18,9 @@ license = "GPL-3.0-only" repository = "https://github.com/tinyhumansai/tinybus" [workspace.dependencies] -tinybus = { path = "crates/tinybus", version = "=0.1.6", default-features = false } -tinybus-macros = { path = "crates/tinybus-macros", version = "=0.1.6" } -tinybus-module = { path = "crates/tinybus-module", version = "=0.1.6" } +tinybus = { path = "crates/tinybus", version = "=0.3.6", default-features = false } +tinybus-macros = { path = "crates/tinybus-macros", version = "=0.3.6" } +tinybus-module = { path = "crates/tinybus-module", version = "=0.3.6" } tokio = { version = "1", features = ["rt-multi-thread", "sync", "time"] } async-trait = "0.1" From 48ca032491de3f291049add95e993ccda751d7c1 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Mon, 26 Oct 2026 05:40:15 +0000 Subject: [PATCH 3/3] test(module): derive required version range from crate version The host-required test hardcoded a 0.1.0 to 0.2.0 requirement range, which would break whenever the crate version moved past it. The range is now built from the crate's own major and minor version so a version bump no longer invalidates the fixture. Auto-committed-on: cuttlefish Co-authored-by: Medulla --- crates/tinybus/src/module/host_required_tests.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/crates/tinybus/src/module/host_required_tests.rs b/crates/tinybus/src/module/host_required_tests.rs index 1c23a4a8..df86d144 100644 --- a/crates/tinybus/src/module/host_required_tests.rs +++ b/crates/tinybus/src/module/host_required_tests.rs @@ -206,6 +206,10 @@ async fn a_real_required_artifact_is_refused_then_admitted_and_serves_confidenti let host = ModuleHost::new(broker); let address = BusName::new("ai.tinyhumans.openhuman.Clock").unwrap(); let path = ObjectPath::new("/ai/tinyhumans/openhuman/Clock").unwrap(); + // The fixture module advertises the crate's own version; follow it so a + // version bump does not invalidate the requirement range. + let crate_major: u64 = env!("CARGO_PKG_VERSION_MAJOR").parse().unwrap(); + let crate_minor: u64 = env!("CARGO_PKG_VERSION_MINOR").parse().unwrap(); let required_for = |method| { ModuleRequirements::new( "tinybus", @@ -214,7 +218,10 @@ async fn a_real_required_artifact_is_refused_then_admitted_and_serves_confidenti vec![ RequiredInterface::new( InterfaceName::new(address.as_str()).unwrap(), - VersionRange::new(Version::new(0, 1, 0), Some(Version::new(0, 2, 0))), + VersionRange::new( + Version::new(crate_major, crate_minor, 0), + Some(Version::new(crate_major, crate_minor + 1, 0)), + ), vec![MemberName::new(method).unwrap()], ) .unwrap(),