cli: Update to 0.18.0
This commit is contained in:
parent
3a11074600
commit
186d8d30fe
|
|
@ -2931,7 +2931,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "radicle-cli"
|
||||
version = "0.17.0"
|
||||
version = "0.18.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"chrono",
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ proptest = "1.9"
|
|||
qcheck = { version = "1", default-features = false }
|
||||
qcheck-macros = { version = "1", default-features = false }
|
||||
radicle = { version = "0.21", path = "crates/radicle" }
|
||||
radicle-cli = { version = "0.17", path = "crates/radicle-cli" }
|
||||
radicle-cli = { version = "0.18", path = "crates/radicle-cli" }
|
||||
radicle-cli-test = { path = "crates/radicle-cli-test" }
|
||||
radicle-cob = { version = "0.17", path = "crates/radicle-cob" }
|
||||
radicle-core = { version = "0.1", path = "crates/radicle-core" }
|
||||
|
|
|
|||
|
|
@ -0,0 +1,64 @@
|
|||
# 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.18.0
|
||||
|
||||
### Changed
|
||||
|
||||
- `radicle_cli::terminal::fail` now takes 1 parameter, the `anyhow::Error`
|
||||
instead of 2.
|
||||
- `radicle_cli::commands::diff::run` now delegates to the `git diff` process,
|
||||
and only accepts the `Vec<OsString>` args.
|
||||
|
||||
### Removed
|
||||
|
||||
The `radicle-cli` crate is refactored to use the `clap` crate, and as a result
|
||||
many things were removed from the public API.
|
||||
|
||||
- The `radicle_cli::terminal::args` module was removed, including the `Args`
|
||||
trait, the `Help` struct, the `Error` enum, and all parsing functions
|
||||
(`parse_value`, `finish`, `format`, `refstring`, `did`, `nid`, `rid`,
|
||||
`pubkey`, `addr`, `socket_addr`, `number`, `seconds`, `milliseconds`,
|
||||
`string`, `rev`, `oid`, `alias`, `issue`, `patch`, `cob`).
|
||||
- The `radicle_cli::terminal::Command` trait was removed.
|
||||
- `radicle_cli::terminal::run_command`, `radicle_cli::terminal::run_command_args`,
|
||||
and `radicle_cli::terminal::run_command_fn` were removed.
|
||||
- The `radicle_cli::commands::help` module was removed, including
|
||||
`help::Options` and `help::run`.
|
||||
- `radicle_cli::git::parse_remote` was removed.
|
||||
- The `HELP` constant was removed from the following command modules: `auth`,
|
||||
`block`, `checkout`, `clone`, `cob`, `config`, `debug`, `diff`, `follow`,
|
||||
`fork`, `help`, `id`, `inbox`, `init`, `inspect`, `ls`, `node`, `patch`,
|
||||
`publish`, `remote`, `seed`, `self`, `sync`, `unblock`, `watch`.
|
||||
- The `Options` struct was removed from the following command modules: `auth`,
|
||||
`block`, `checkout`, `clone`, `cob`, `config`, `debug`, `diff`, `follow`,
|
||||
`fork`, `help`, `id`, `inbox`, `init`, `inspect`, `ls`, `node`, `patch`,
|
||||
`publish`, `remote`, `seed`, `rad_self`, `sync`, `unblock`, `watch`.
|
||||
- `radicle_cli::commands::patch::AssignOptions`,
|
||||
`radicle_cli::commands::patch::LabelOptions`, and
|
||||
`radicle_cli::commands::patch::CommentOperation` were removed.
|
||||
- The following enums were removed from their respective command modules:
|
||||
`follow::Operation`, `follow::OperationName`, `id::Operation`,
|
||||
`id::OperationName`, `inspect::Target`, `node::Addr`, `node::Operation`,
|
||||
`node::OperationName`, `patch::Operation`, `patch::OperationName`,
|
||||
`remote::Operation`, `remote::OperationName`, `remote::ListOption`,
|
||||
`seed::Operation`, `sync::Operation`, `sync::SyncDirection`,
|
||||
`sync::SyncMode`, `sync::SortBy`.
|
||||
|
||||
### Security
|
||||
|
||||
*No security updates.*
|
||||
|
|
@ -3,7 +3,7 @@ name = "radicle-cli"
|
|||
description = "Radicle CLI"
|
||||
homepage.workspace = true
|
||||
license.workspace = true
|
||||
version = "0.17.0"
|
||||
version = "0.18.0"
|
||||
authors = ["cloudhead <cloudhead@radicle.xyz>"]
|
||||
edition.workspace = true
|
||||
build = "build.rs"
|
||||
|
|
|
|||
Loading…
Reference in New Issue