Skip to content

Releases: mislav/hub

hub 2.8.4

28 Jan 17:54
Compare
Choose a tag to compare
  • Add hub api -H flag to set HTTP request headers

  • Add hub api -i flag to output HTTP response headers

  • Change how hub api deals with HTTP errors:

    • HTTP response is now printed on stdout regardless of HTTP status
    • No longer print an extra newline after HTTP response body
    • No more Error: HTTP {STATUS} message on stderr
    • hub exits with status 22 instead of 1
  • Fix hub execution under WSL (Windows Subsystem for Linux)

hub 2.8.3

26 Jan 17:55
Compare
Choose a tag to compare

Changes since v2.7

  • New hub api command for scripting with GitHub API #2016
    https://hub.github.com/hub-api.1.html

    screen shot 2019-01-26 at 4 02 53 pm
  • Re-implement CLI flag parsing so that --message <MSG> is equivalent to --message=<MSG> #2008

  • Re-implement make man-pages in Go instead of Ruby #1990

  • issue create --label is now issue create --labels to align with existing documentation

  • Output crash debugging information on stderr instead of stdout

  • Build improvements:

    • respect environment LDFLAGS
    • strip the build path from resulting executable
    • enable reproducible builds with SOURCE_DATE_EPOCH

Changes since v2.8.2

  • Fix uploading assets with hub release

hub 2.8.2

26 Jan 17:00
Compare
Choose a tag to compare

hub 2.7.1

18 Jan 17:44
Compare
Choose a tag to compare
  • Respect chosen Enterprise host on hub init -g

  • Ensure consistent order of options when prompted to choose between multiple configured GitHub hosts

  • Ensure alphabetical sort of hub issue labels output

  • Improve contrast of label text vs. its background color

  • Various documentation formatting tweaks

hub 2.7.0

28 Dec 07:25
Compare
Choose a tag to compare

Features

  • Add support for hub pr list --state=merged

  • Add base/head/merge commit SHA and merged date information to hub pr list --format=FORMAT

  • Un-deprecate converting issues to pull requests with hub pull-request -i <issue>
    2a748a0

Fixes

  • Improve detecting default hub pull-request base branch name

  • Avoid the Aborted: the origin remote doesn't point to a GitHub repository error by allowing other git remotes as fallback

  • Improve hub create dealing with an existing "origin" remote

  • Fix 256-color terminal support for macOS Terminal.app

  • Don't choke on literal % output characters when using --format=FORMAT

  • Replace deprecated Dial with DialContext

Documentation

hub 2.6.1

11 Dec 11:13
Compare
Choose a tag to compare
  • Fix using git aliases for git 2.20

  • Add support for passing multiple --message options for compatibility with git

  • Allow the %h token in HostName value read from ssh config

hub 2.6.0

31 Oct 02:17
Compare
Choose a tag to compare

Features

  • Use "scissors" line to delineate comments in editable messages instead of stripping away lines that start with #. This helps preserve Markdown headings in hub pull-request, hub release create, and similar commands that open a text editor interactively.

    Everything above the following line is kept in the message; everything below is discarded:

    # ------------------------ >8 ------------------------
    
  • New command hub issue show <NUMBER>

  • Add hub release show --format=<FORMAT> functionality

  • hub pr list --format=%rs lists requested reviewers

  • Add support for communicating with GitHub Enterprise over Unix socket

    # ~/.config/hub
    example.com:
      user: USER
      oauth_token: TOKEN
      unix_socket: /path/to/socket

Fixes

  • Prevent hub create setting a public upstream when creating a private repo

  • Fix hub create in place of a renamed repo

  • Fix hub release create/edit/delete when there are multiple git remotes

  • Auto-detect private/pushable repos in hub remote add

  • Fix hub ci-status exit code when there is only Checks

  • Allow hub compare <RANGE> even if not on any branch

  • Ensure consistent sort direction when listing issues, PRs

  • Match requested team names by slug instead of name in hub pull-request -r <TEAM>

hub 2.5.1

23 Aug 14:09
Compare
Choose a tag to compare
  • hub issue create: ignore the .github/ISSUE_TEMPLATE directory instead of crashing

  • hub pull-request: avoid re-requesting reviewers in case of CODEOWNERS

  • hub ci-status: handle cases when Checks API is unavailable, like older GitHub Enterprise

  • Handle HTTP 422 message format from server response

  • Ignore crash for malformed ~/.config/hub file

  • Clarify hub init -g documentation that it doesn't imply hub create

  • hub clone: add more documentation about git protocol used

hub 2.5.0

07 Jul 13:19
Compare
Choose a tag to compare

Features

Fixes

  • Do not pass `--cmd' to vi editor to ensure compatibility with older vi
  • Simplify cherry-picking commits from pull request URLs
  • Allow single-character branches/tag names in hub compare
  • Fix hub compare for Enterprise when <USER> is specified
  • Support remote add -t BRANCH argument
  • Bash shell completion fixes for git 2.18
  • Documentation fixes

hub 2.4.0

07 Jun 18:30
Compare
Choose a tag to compare

Features

  • hub delete [<OWNER>/]<REPO>

  • Add hub compare --copy flag

  • Add hub release --format=<FORMAT> option

  • Add hub pull-request --no-edit flag

  • When checking out a pull request, ensure that git pushwith no arguments works

  • Support XDG Base Directory Specification

Tweaks

  • Enable hub pr list -h <BRANCH> when owner isn't specified

  • Include docs/ in list of locations to look up pull request and issue templates in