3.0 KiB
3.0 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
Added
radicle::node::Handle::announce_refs_fornow allows specifying for which namespaces changes should be announced. A corresponding enum variantradicle::node::Command::AnnounceRefsForis added.radicle::node::Handle::seeds_fornow allows specifying for which namespaces sync status should be reported. A corresponding enum variantradicle::node::Command::SeedsForis added.
Changed
radicle::storage::git::Storage::repositories_by_idreturnsimpl Iterator<Item = Result<RepositoryInfo, RepositoryError>>instead ofResult<Vec<RepositoryInfo>, RepositoryError>. Allowing callers to handle failures on a per-repository basis rather than having the entire operation fail if a single repository lookup fails.- Re-exports from
git2atradicle::git::rawwere limited, using the heartwood workspace as a filter. Dependents that require members that are not exported anymore will have to depend ongit2directly. - Some re-exports from
git-ref-format-corewere moved fromradicle::gittoradicle::fmt. - The crate now re-exports
radicle::git::Oidfrom a newradicle-oidcrate, in an effort to decrease dependence ongit2viaradicle-git-ext. This new object identifier type does not implementDerefanymore. UseIntoto convert to agit2::Oidas necessary. - Re-exports of
radicle-git-extwere removed, as this dependency is removed. Instead ofradicle_git_ext::Error, usegit2::Error(re-exported asradicle::git::raw::Error) together with the new extension traitradicle::git::raw::ErrorExt.
Deprecated
radicle::node::Handle::announce_refsis deprecated in favor ofradicle::node::Handle::announce_refs_for.radicle::node::Handle::seedsis deprecated in favor ofradicle::node::Handle::seeds_for.
Removed
- The data returned by
Seedscontainsstate, which in turn contained the fieldfetchingfor ongoing fetches of that node, if in theConnectedstate.Connectedno longer contains that field.
Security
0.20.0
Added
- Introduce a node event for canonical reference updates,
Event::CanonicalRefUpdated. Whenever the node fetches new updates, it checks if canonical references can be updated. The node has learned how to return these results and emit them as node events. This is a breaking change since it adds a new variant theEventtype. - Add
#[non_exhaustive]toEventto prevent any further breaking changes when adding new variants.
Changed
radicle::profile::Home::socketdefaults to the path\\.\pipe\radicle-nodeon Windows. The behavior on Unix-like systems has not changed.
Removed
radicle::node::DEFAULT_SOCKET_NAME, useradicle::profile::Home::socketinstead.