Skip to content

Releases: jwodder/ghrepo-rust

v0.6.0 — Treating GHRepo instances as strings

16 Feb 14:33
v0.6.0
Compare
Choose a tag to compare
  • 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() and GHRepo::is_valid_name() methods are now regular functions
  • Added is_valid_repository() function

v0.5.0 — Make CLI dependencies optional

27 Apr 19:51
v0.5.0
Compare
Choose a tag to compare
  • 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

15 Feb 21:02
v0.4.0
Compare
Choose a tag to compare
  • Added an optional serde feature that gives GHRepo Serialize and Deserialize implementations

v0.3.1 — Dependency update

22 Jan 03:01
v0.3.1
Compare
Choose a tag to compare
  • Update lexopt dependency to v0.3.0

v0.3.0 — Correctness and streamlined dependencies

15 Nov 14:13
v0.3.0
Compare
Choose a tag to compare
  • Adjust Display format of LocalRepoError::CommandFailed to use the std ExitStatus 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 and GH_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 of LocalRepoError if the call to std::env::current_dir() fails

v0.2.1 — Fix `--help`

20 Oct 00:25
v0.2.1
Compare
Choose a tag to compare
  • Restore command usage in --help output

v0.2.0 — Update clap

18 Oct 23:20
v0.2.0
Compare
Choose a tag to compare
  • Update clap dependency to 4.0

v0.1.0 — Initial release

08 Jul 13:45
v0.1.0
Compare
Choose a tag to compare