radicle: Update to 0.22.0
This commit is contained in:
parent
dafd3527ee
commit
4a731e34e1
|
|
@ -2892,7 +2892,7 @@ checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "radicle"
|
name = "radicle"
|
||||||
version = "0.21.0"
|
version = "0.22.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"amplify",
|
"amplify",
|
||||||
"base64 0.21.7",
|
"base64 0.21.7",
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ pretty_assertions = "1.3.0"
|
||||||
proptest = "1.9"
|
proptest = "1.9"
|
||||||
qcheck = { version = "1", default-features = false }
|
qcheck = { version = "1", default-features = false }
|
||||||
qcheck-macros = { 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 = { version = "0.18", path = "crates/radicle-cli" }
|
||||||
radicle-cli-test = { path = "crates/radicle-cli-test" }
|
radicle-cli-test = { path = "crates/radicle-cli-test" }
|
||||||
radicle-cob = { version = "0.19", path = "crates/radicle-cob" }
|
radicle-cob = { version = "0.19", path = "crates/radicle-cob" }
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
|
||||||
|
### Security
|
||||||
|
|
||||||
|
## 0.22.0
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
- SQLite configuration is modeled as `radicle::node::db::config::Config`
|
- SQLite configuration is modeled as `radicle::node::db::config::Config`
|
||||||
and can be configured via `radicle::profile::config::Config`.
|
and can be configured via `radicle::profile::config::Config`.
|
||||||
The two pragmas `journal_mode` and `synchronous` are exposed this way.
|
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
|
### Changed
|
||||||
|
|
||||||
|
|
@ -24,9 +37,41 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
configuration from `radicle::Profile::config`.
|
configuration from `radicle::Profile::config`.
|
||||||
- The `TryFrom<PathBuf>` implementation for `Home` is removed in favor of using
|
- The `TryFrom<PathBuf>` implementation for `Home` is removed in favor of using
|
||||||
the `Home::new` and `Home::load` methods.
|
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
|
### 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
|
### Security
|
||||||
|
|
||||||
## 0.21.0
|
## 0.21.0
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ description = "Radicle standard library"
|
||||||
homepage.workspace = true
|
homepage.workspace = true
|
||||||
repository.workspace = true
|
repository.workspace = true
|
||||||
license.workspace = true
|
license.workspace = true
|
||||||
version = "0.21.0"
|
version = "0.22.0"
|
||||||
authors = ["cloudhead <cloudhead@radicle.xyz>"]
|
authors = ["cloudhead <cloudhead@radicle.xyz>"]
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue