radicle: Update to 0.22.0

This commit is contained in:
Fintan Halpenny 2026-03-18 19:22:57 +00:00
parent dafd3527ee
commit 4a731e34e1
4 changed files with 48 additions and 3 deletions

2
Cargo.lock generated
View File

@ -2892,7 +2892,7 @@ checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
[[package]]
name = "radicle"
version = "0.21.0"
version = "0.22.0"
dependencies = [
"amplify",
"base64 0.21.7",

View File

@ -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" }

View File

@ -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<PathBuf>` 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

View File

@ -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 <cloudhead@radicle.xyz>"]
edition.workspace = true
rust-version.workspace = true