Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
protocol: Update 0.5.0
Fintan Halpenny committed 2 months ago
commit 18d6ce94776b410ab5377ac49f5e545ba363bf21
parent c0ae5e3
4 files changed +55 -3
modified Cargo.lock
@@ -3176,7 +3176,7 @@ dependencies = [

[[package]]
name = "radicle-protocol"
-
version = "0.4.0"
+
version = "0.5.0"
dependencies = [
 "bloomy",
 "bytes",
modified 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" }
added 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.*
modified 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 <team@radicle.xyz>"]
edition.workspace = true
rust-version.workspace = true