diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 412700d..271c890 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ permissions: contents: read env: - RSLXMF_RSRETICULUM_COMMIT: 184bbfe59f1e089af802df2de706688b82dd49d2 + RSLXMF_RSRETICULUM_COMMIT: 6d2dad4f55869c76821744a1e7f95bd225acde58 jobs: api-compat: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ce2cdc3..0b1c211 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,8 +24,8 @@ env: RELEASE_TAG: ${{ github.event.inputs.tag_name || github.ref_name }} PACKAGE_ROOT: rsLXMF LXMF_BINS: lxmd-rs - RSLXMF_RSRETICULUM_VERSION: 1.5.0 - RSLXMF_RSRETICULUM_COMMIT: 184bbfe59f1e089af802df2de706688b82dd49d2 + RSLXMF_RSRETICULUM_VERSION: 1.5.1 + RSLXMF_RSRETICULUM_COMMIT: 6d2dad4f55869c76821744a1e7f95bd225acde58 jobs: verify: diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b7b0aa..c7906dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ ## Unreleased +## 1.5.1 - 2026-11-18 + +- **Follows Python LXMF 1.3.1** with Reticulum 1.6.1 (rsReticulum 1.5.1), and reports LXMF 1.3.1, propagation-node announces included. +- Message, propagation-node, and peering stamps are accepted in both workblock forms: the non-expanded one LXMF senders are moving to, tried first, then the expanded one. A stamp's value comes from the form that passed. Generation stays expanded until senders switch. +- Discovery stamps are validated in both forms through rsReticulum's discovery stamper. + ## 1.5.0 - 2026-11-13 ### Added diff --git a/Cargo.lock b/Cargo.lock index 6f13656..6253e05 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -725,7 +725,7 @@ checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" [[package]] name = "lxmf-core" -version = "1.5.0" +version = "1.5.1" dependencies = [ "base64", "bytes", @@ -756,7 +756,7 @@ dependencies = [ [[package]] name = "lxmf-tools" -version = "1.5.0" +version = "1.5.1" dependencies = [ "base64", "bytes", diff --git a/Cargo.toml b/Cargo.toml index 13df74f..8de5608 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,26 +6,26 @@ members = [ ] [workspace.package] -version = "1.5.0" +version = "1.5.1" edition = "2024" license-file = "LICENSE" rust-version = "1.89" [workspace.dependencies] # Reticulum crates from a sibling rsReticulum checkout during development. -rns-crypto = { path = "../rsReticulum/crates/rns-crypto", version = "~1.5.0" } -rns-wire = { path = "../rsReticulum/crates/rns-wire", version = "~1.5.0" } -rns-identity = { path = "../rsReticulum/crates/rns-identity", version = "~1.5.0" } -rns-link = { path = "../rsReticulum/crates/rns-link", version = "~1.5.0" } -rns-protocol = { path = "../rsReticulum/crates/rns-protocol", version = "~1.5.0" } -rns-transport = { path = "../rsReticulum/crates/rns-transport", version = "~1.5.0", default-features = false } -rns-runtime = { path = "../rsReticulum/crates/rns-runtime", version = "~1.5.0" } -rns-interface = { path = "../rsReticulum/crates/rns-interface", version = "~1.5.0" } -rns-tools = { path = "../rsReticulum/crates/rns-tools", version = "~1.5.0", default-features = false } +rns-crypto = { path = "../rsReticulum/crates/rns-crypto", version = "~1.5.1" } +rns-wire = { path = "../rsReticulum/crates/rns-wire", version = "~1.5.1" } +rns-identity = { path = "../rsReticulum/crates/rns-identity", version = "~1.5.1" } +rns-link = { path = "../rsReticulum/crates/rns-link", version = "~1.5.1" } +rns-protocol = { path = "../rsReticulum/crates/rns-protocol", version = "~1.5.1" } +rns-transport = { path = "../rsReticulum/crates/rns-transport", version = "~1.5.1", default-features = false } +rns-runtime = { path = "../rsReticulum/crates/rns-runtime", version = "~1.5.1" } +rns-interface = { path = "../rsReticulum/crates/rns-interface", version = "~1.5.1" } +rns-tools = { path = "../rsReticulum/crates/rns-tools", version = "~1.5.1", default-features = false } # Workspace LXMF crates -lxmf-core = { path = "crates/lxmf-core", version = "~1.5.0" } -lxmf-tools = { path = "crates/lxmf-tools", version = "~1.5.0" } +lxmf-core = { path = "crates/lxmf-core", version = "~1.5.1" } +lxmf-tools = { path = "crates/lxmf-tools", version = "~1.5.1" } # Encoding base64 = "0.22" diff --git a/api/fixtures/Cargo.lock b/api/fixtures/Cargo.lock index 18b196e..3889423 100644 --- a/api/fixtures/Cargo.lock +++ b/api/fixtures/Cargo.lock @@ -422,7 +422,7 @@ checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6" [[package]] name = "lxmf-core" -version = "1.5.0" +version = "1.5.1" dependencies = [ "base64", "bytes", diff --git a/api/snapshots/lxmf-core.txt b/api/snapshots/lxmf-core.txt index 678cc51..2dea722 100644 --- a/api/snapshots/lxmf-core.txt +++ b/api/snapshots/lxmf-core.txt @@ -336,6 +336,7 @@ pub fn lxmf_core::discovery_stamper::LxmfDiscoveryStamper::with_max_iterations(u impl rns_transport::discovery::stamper::DiscoveryStamper for lxmf_core::discovery_stamper::LxmfDiscoveryStamper pub fn lxmf_core::discovery_stamper::LxmfDiscoveryStamper::generate(&self, &[u8; 32], f64, &rns_identity::stamps::StampControl) -> core::option::Option> pub fn lxmf_core::discovery_stamper::LxmfDiscoveryStamper::valid(&self, &[u8; 32], &[u8], f64) -> bool +pub fn lxmf_core::discovery_stamper::LxmfDiscoveryStamper::validate(&self, &[u8; 32], &[u8], f64) -> core::option::Option pub fn lxmf_core::discovery_stamper::LxmfDiscoveryStamper::value(&self, &[u8; 32], &[u8]) -> f64 pub const lxmf_core::discovery_stamper::DISCOVERY_MAX_ITERATIONS: u64 pub const lxmf_core::discovery_stamper::DISCOVERY_WORKBLOCK_EXPAND_ROUNDS: usize @@ -2261,6 +2262,7 @@ pub fn lxmf_core::stamper::stamp_valid(&[u8], f64, &[u8]) -> bool pub fn lxmf_core::stamper::validate_peering_key(&[u8], &[u8], f64) -> bool pub fn lxmf_core::stamper::validate_pn_stamp(&[u8], f64) -> core::option::Option pub fn lxmf_core::stamper::validate_stamp(&[u8; 32], &[u8], f64, usize) -> bool +pub fn lxmf_core::stamper::validated_stamp_value(&[u8], &[u8], f64, usize) -> core::option::Option pub fn lxmf_core::stamper::value_meets(f64, f64) -> bool pub type lxmf_core::stamper::PropagationStampParts = ([u8; 32], alloc::vec::Vec, f64, [u8; 32]) pub mod lxmf_core::state_store diff --git a/api/snapshots/manifest-contract.json b/api/snapshots/manifest-contract.json index 8c25840..e9523ee 100644 --- a/api/snapshots/manifest-contract.json +++ b/api/snapshots/manifest-contract.json @@ -4,7 +4,7 @@ "packages": [ { "name": "lxmf-core", - "version": "1.5.0", + "version": "1.5.1", "rustVersion": "1.89", "edition": "2024", "features": { @@ -113,7 +113,7 @@ "rename": null, "kind": null, "target": null, - "requirement": "~1.5.0", + "requirement": "~1.5.1", "optional": false, "defaultFeatures": true, "features": [], @@ -124,7 +124,7 @@ "rename": null, "kind": null, "target": null, - "requirement": "~1.5.0", + "requirement": "~1.5.1", "optional": false, "defaultFeatures": true, "features": [], @@ -135,7 +135,7 @@ "rename": null, "kind": null, "target": null, - "requirement": "~1.5.0", + "requirement": "~1.5.1", "optional": false, "defaultFeatures": true, "features": [], @@ -146,7 +146,7 @@ "rename": null, "kind": null, "target": null, - "requirement": "~1.5.0", + "requirement": "~1.5.1", "optional": false, "defaultFeatures": true, "features": [], @@ -157,7 +157,7 @@ "rename": null, "kind": null, "target": null, - "requirement": "~1.5.0", + "requirement": "~1.5.1", "optional": false, "defaultFeatures": false, "features": [], @@ -168,7 +168,7 @@ "rename": null, "kind": null, "target": null, - "requirement": "~1.5.0", + "requirement": "~1.5.1", "optional": false, "defaultFeatures": true, "features": [], @@ -294,7 +294,7 @@ }, { "name": "lxmf-tools", - "version": "1.5.0", + "version": "1.5.1", "rustVersion": "1.89", "edition": "2024", "features": {}, @@ -362,7 +362,7 @@ "rename": null, "kind": null, "target": null, - "requirement": "~1.5.0", + "requirement": "~1.5.1", "optional": false, "defaultFeatures": true, "features": [], @@ -384,7 +384,7 @@ "rename": null, "kind": null, "target": null, - "requirement": "~1.5.0", + "requirement": "~1.5.1", "optional": false, "defaultFeatures": true, "features": [], @@ -395,7 +395,7 @@ "rename": null, "kind": null, "target": null, - "requirement": "~1.5.0", + "requirement": "~1.5.1", "optional": false, "defaultFeatures": true, "features": [], @@ -406,7 +406,7 @@ "rename": null, "kind": null, "target": null, - "requirement": "~1.5.0", + "requirement": "~1.5.1", "optional": false, "defaultFeatures": true, "features": [ @@ -419,7 +419,7 @@ "rename": null, "kind": null, "target": null, - "requirement": "~1.5.0", + "requirement": "~1.5.1", "optional": false, "defaultFeatures": false, "features": [], @@ -430,7 +430,7 @@ "rename": null, "kind": null, "target": null, - "requirement": "~1.5.0", + "requirement": "~1.5.1", "optional": false, "defaultFeatures": false, "features": [], @@ -441,7 +441,7 @@ "rename": null, "kind": null, "target": null, - "requirement": "~1.5.0", + "requirement": "~1.5.1", "optional": false, "defaultFeatures": true, "features": [], diff --git a/api/stability.json b/api/stability.json index 4e680e0..b676930 100644 --- a/api/stability.json +++ b/api/stability.json @@ -24,8 +24,8 @@ "tier": "candidate-stable", "compatibility": "reviewed-snapshot", "snapshot": "api/snapshots/lxmf-core.txt", - "itemCount": 2452, - "sha256": "36fa8acae92bcb9902def95ffb965fb901655d81414060ed7fce16539ec0f180" + "itemCount": 2454, + "sha256": "3a2d30b180fcb995be7b08d50997f6c243081456e0993b3668742a4db68283c3" }, { "name": "lxmf-tools",