From 18d6ce94776b410ab5377ac49f5e545ba363bf21 Mon Sep 17 00:00:00 2001 From: Fintan Halpenny Date: Wed, 18 Feb 2026 11:21:03 +0000 Subject: [PATCH] protocol: Update 0.5.0 --- Cargo.lock | 2 +- Cargo.toml | 2 +- crates/radicle-protocol/CHANGELOG.md | 52 ++++++++++++++++++++++++++++ crates/radicle-protocol/Cargo.toml | 2 +- 4 files changed, 55 insertions(+), 3 deletions(-) create mode 100644 crates/radicle-protocol/CHANGELOG.md diff --git a/Cargo.lock b/Cargo.lock index 64f8c913..3e9f2fed 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3176,7 +3176,7 @@ dependencies = [ [[package]] name = "radicle-protocol" -version = "0.4.0" +version = "0.5.0" dependencies = [ "bloomy", "bytes", diff --git a/Cargo.toml b/Cargo.toml index b6b52f6d..ec0303d6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" } diff --git a/crates/radicle-protocol/CHANGELOG.md b/crates/radicle-protocol/CHANGELOG.md new file mode 100644 index 00000000..566d293d --- /dev/null +++ b/crates/radicle-protocol/CHANGELOG.md @@ -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.* diff --git a/crates/radicle-protocol/Cargo.toml b/crates/radicle-protocol/Cargo.toml index 5435aae6..83401184 100644 --- a/crates/radicle-protocol/Cargo.toml +++ b/crates/radicle-protocol/Cargo.toml @@ -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 "] edition.workspace = true rust-version.workspace = true