From 4a731e34e1d705699e09ca58deff443ba9a822a4 Mon Sep 17 00:00:00 2001 From: Fintan Halpenny Date: Wed, 18 Mar 2026 19:22:57 +0000 Subject: [PATCH] radicle: Update to 0.22.0 --- Cargo.lock | 2 +- Cargo.toml | 2 +- crates/radicle/CHANGELOG.md | 45 +++++++++++++++++++++++++++++++++++++ crates/radicle/Cargo.toml | 2 +- 4 files changed, 48 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6db5b0fb..ea3b949b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2892,7 +2892,7 @@ checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" [[package]] name = "radicle" -version = "0.21.0" +version = "0.22.0" dependencies = [ "amplify", "base64 0.21.7", diff --git a/Cargo.toml b/Cargo.toml index 8f2a022b..16741fb5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -44,7 +44,7 @@ pretty_assertions = "1.3.0" proptest = "1.9" qcheck = { version = "1", default-features = false } qcheck-macros = { version = "1", default-features = false } -radicle = { version = "0.21", path = "crates/radicle" } +radicle = { version = "0.22", path = "crates/radicle" } radicle-cli = { version = "0.18", path = "crates/radicle-cli" } radicle-cli-test = { path = "crates/radicle-cli-test" } radicle-cob = { version = "0.19", path = "crates/radicle-cob" } diff --git a/crates/radicle/CHANGELOG.md b/crates/radicle/CHANGELOG.md index 19f22acd..85f12f17 100644 --- a/crates/radicle/CHANGELOG.md +++ b/crates/radicle/CHANGELOG.md @@ -9,9 +9,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +### Changed + +### Removed + +### Security + +## 0.22.0 + +### Added + - SQLite configuration is modeled as `radicle::node::db::config::Config` and can be configured via `radicle::profile::config::Config`. The two pragmas `journal_mode` and `synchronous` are exposed this way. +- `radicle::storage::git::Validation` has a new `Read` variant to surface + read errors encountered during validation. +- `radicle::storage::refs::Error` has new `Read` and `Write` variants. ### Changed @@ -24,9 +37,41 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 configuration from `radicle::Profile::config`. - The `TryFrom` implementation for `Home` is removed in favor of using the `Home::new` and `Home::load` methods. +- `radicle::storage::Remote`, `radicle::storage::Remotes`, and + `radicle::storage::refs::SignedRefs` no longer carry a generic verification + state type parameter. The `Verified` and `Unverified` marker types previously + from `radicle-crypto` have been removed; the structs now represent a single, + unified state. +- `radicle::node::config::Config` has a new required `database` field. Existing + struct literals must be updated to include this field. +- `radicle::storage::git::Validation::MismatchedRef` has a new `remote` field. + Exhaustive match arms and struct literal construction must be updated. +- `radicle::identity::doc::update::delegates` no longer takes a generic type + parameter. ### Removed +- `radicle::storage::refs::Updated` enum was removed. +- `radicle::node::db::JournalMode` enum was removed. Journal mode is now + configured via `radicle::node::db::config::Config`. +- `radicle::git::remote_refs` function was removed. +- `radicle::node::seed::SyncedAt::load` method was removed. +- `radicle::storage::Remote::verified` and `Remote::unverified` constructor + methods were removed following the removal of the verification state type + parameter. +- `radicle::storage::Remotes::unverified` method was removed. +- `radicle::storage::refs::SignedRefs::new`, `SignedRefs::verified`, + `SignedRefs::verify`, `SignedRefs::save`, and `SignedRefs::unverified` methods + were removed. +- `radicle::storage::refs::Refs::verified`, `Refs::signed`, + `Refs::from_canonical`, and `Refs::canonical` methods were removed. +- `radicle::storage::refs::Error` variants `InvalidSignature`, `Signer`, + `Canonical`, `MissingIdentityRoot`, `MissingIdentity`, and + `MismatchedIdentity` were removed. +- The public fields `refs`, `signature`, and `id` of + `radicle::storage::refs::SignedRefs` are now `#[doc(hidden)]` and are no + longer part of the public API. + ### Security ## 0.21.0 diff --git a/crates/radicle/Cargo.toml b/crates/radicle/Cargo.toml index 2336c6d6..9dc3fb54 100644 --- a/crates/radicle/Cargo.toml +++ b/crates/radicle/Cargo.toml @@ -4,7 +4,7 @@ description = "Radicle standard library" homepage.workspace = true repository.workspace = true license.workspace = true -version = "0.21.0" +version = "0.22.0" authors = ["cloudhead "] edition.workspace = true rust-version.workspace = true