Releases: jwodder/ghrepo-rust
Releases · jwodder/ghrepo-rust
ghrepo v0.7.1 — Improved `Display`
- The
Displayimpl forGHReponow supports width, fill, alignment, and precision flags
ghrepo v0.7.0 — Split off CLI
- Increased MSRV to 1.74
- Breaking: Split off CLI into a separate
ghrepo-clicrate
ghrepo-cli v0.7.0 — Split off from library crate
- Split off CLI from
ghrepocrate
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
GHReponow implements the following traits:AsRef<str>Deref<Target=str>From<GHRepo> for StringOrdPartialEq<&'_ 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
clifeature
v0.4.0 — Serde support
- Added an optional
serdefeature that givesGHRepoSerializeandDeserializeimplementations
v0.3.1 — Dependency update
- Update lexopt dependency to v0.3.0
v0.3.0 — Correctness and streamlined dependencies
- Adjust
Displayformat ofLocalRepoError::CommandFailedto use the stdExitStatusDisplay - 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-urlfails - Drop serde, serde-json, fancy-regex, and lazy-static dependencies
- Remove the
GH_OWNER_RGXandGH_NAME_RGXconstants - Properly follow RFC 3986 when parsing username & password fields in
www.github.comURLs - 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 ofLocalRepoErrorif the call tostd::env::current_dir()fails
v0.2.1 — Fix `--help`
- Restore command usage in
--helpoutput
v0.2.0 — Update clap
- Update clap dependency to 4.0