protocol: Update 0.5.0

This commit is contained in:
Fintan Halpenny 2026-02-18 11:21:03 +00:00 committed by Lorenz Leutgeb
parent c0ae5e32d9
commit 18d6ce9477
4 changed files with 55 additions and 3 deletions

2
Cargo.lock generated
View File

@ -3176,7 +3176,7 @@ dependencies = [
[[package]]
name = "radicle-protocol"
version = "0.4.0"
version = "0.5.0"
dependencies = [
"bloomy",
"bytes",

View File

@ -56,7 +56,7 @@ radicle-git-ref-format = { version = "0.1.0", path = "crates/radicle-git-ref-for
radicle-localtime = { version = "0.1", path = "crates/radicle-localtime" }
radicle-node = { version = "0.17", path = "crates/radicle-node" }
radicle-oid = { version = "0.1.0", path = "crates/radicle-oid", default-features = false }
radicle-protocol = { version = "0.4", path = "crates/radicle-protocol" }
radicle-protocol = { version = "0.5", path = "crates/radicle-protocol" }
radicle-signals = { version = "0.11", path = "crates/radicle-signals" }
radicle-ssh = { version = "0.10", path = "crates/radicle-ssh", default-features = false }
radicle-systemd = { version = "0.11", path = "crates/radicle-systemd" }

View File

@ -0,0 +1,52 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Added
### Changed
### Removed
### Security
## 0.5.0
### Added
- `radicle_protocol::service::DisconnectReason` added a `Policy` variant.
- `radicle_protocol::service::ConnectError` added `UnsupportedAddress` and
`Blocked` variants.
- `radicle_protocol::service::command::Command` added a `Block` variant.
- `radicle_protocol::service::command::Command::AnnounceRefs` now carries an
additional field for specifying namespaces.
- `radicle_protocol::service::command::Command::Seeds` now carries an
additional field for specifying namespaces.
### Changed
- `radicle_protocol::service::session::Session::outbound` now takes 4
parameters instead of 5. Fetching information is no longer tracked in the
session.
- `radicle_protocol::service::session::Session::inbound` now takes 5
parameters instead of 6. Fetching information is no longer tracked in the
session.
### Removed
- `radicle_protocol::service::CommandError` was removed.
- `radicle_protocol::service::Error::GitExt` was removed as a variant, where
`Error::Git` now subsumes all Git errors.
- The `queue` field was removed from the `Session` struct. Fetching information
is now tracked in the service rather than per-session.
- The following methods were removed from `Session`: `is_at_capacity`,
`is_fetching`, `queue_fetch`, `dequeue_fetch`, `fetching`, and `fetched`.
### Security
*No security updates.*

View File

@ -3,7 +3,7 @@ name = "radicle-protocol"
description = "The Radicle Protocol"
homepage.workspace = true
license.workspace = true
version = "0.4.0"
version = "0.5.0"
authors = ["Radicle Team <team@radicle.xyz>"]
edition.workspace = true
rust-version.workspace = true