Releases: jwodder/ghrepo-rust
Releases · jwodder/ghrepo-rust
ghrepo v0.7.0 — Split off CLI
- Increased MSRV to 1.74
- Breaking: Split off CLI into a separate
ghrepo-cli
crate
ghrepo-cli v0.7.0 — Split off from library crate
- Split off CLI from
ghrepo
crate
v0.6.0 — Treating GHRepo instances as strings
- Remove library installation instructions from README
- List all features in the library documentation
- Increased MSRV to 1.70
GHRepo
now implements the following traits:AsRef<str>
Deref<Target=str>
From<GHRepo> for String
Ord
PartialEq<&'_ str>
PartialEq<str>
PartialOrd<&'_ str>
PartialOrd<str>
TryFrom<String>
- Added
GHRepo::as_str()
method - Breaking: The
GHRepo::is_valid_owner()
andGHRepo::is_valid_name()
methods are now regular functions - Added
is_valid_repository()
function
v0.5.0 — Make CLI dependencies optional
- Increased MSRV to 1.65
- Convert error Displays to lowercase per Rust conventions
- The packages needed soley for the CLI are now behind a default
cli
feature
v0.4.0 — Serde support
- Added an optional
serde
feature that givesGHRepo
Serialize
andDeserialize
implementations
v0.3.1 — Dependency update
- Update lexopt dependency to v0.3.0
v0.3.0 — Correctness and streamlined dependencies
- Adjust
Display
format ofLocalRepoError::CommandFailed
to use the stdExitStatus
Display - Do not suppress stderr from executed Git commands (except for the command run by
LocalRepo::is_git_repo()
) - CLI: Do not emit a redundant error message when
git remote get-url
fails - Drop serde, serde-json, fancy-regex, and lazy-static dependencies
- Remove the
GH_OWNER_RGX
andGH_NAME_RGX
constants - Properly follow RFC 3986 when parsing username & password fields in
www.github.com
URLs - Correct the accepted format for URLs that start with
ssh://
(They need to separate the hostname from the path with a slash rather than a colon) - Schemes & hostnames in URLs are now parsed case-insensitively
- Switch from clap to lexopt
LocalRepo::for_cwd()
now returns a new dedicated variant ofLocalRepoError
if the call tostd::env::current_dir()
fails
v0.2.1 — Fix `--help`
- Restore command usage in
--help
output
v0.2.0 — Update clap
- Update clap dependency to 4.0
v0.1.0 — Initial release
Version 0.1.0