Skip to content

Releases: mislav/hub

hub 2.2.6

08 Sep 23:40
Compare
Choose a tag to compare
  • Avoid crashing in pull-request error processing
  • Unbreak normal git fetch command with URL and refspec
  • Fix inferred pull-request head for usernames with capital letters
  • Negate log.showSignature in commits preview for pull-request

hub 2.3.0-pre3

21 Aug 16:39
Compare
Choose a tag to compare
hub 2.3.0-pre3 Pre-release
Pre-release
  • Fix hub release create when providing tag name

hub 2.3.0-pre2

17 Jan 14:14
Compare
Choose a tag to compare
hub 2.3.0-pre2 Pre-release
Pre-release
  • Fix script to precompile binaries

hub 2.3.0-pre1

17 Jan 14:18
Compare
Choose a tag to compare
hub 2.3.0-pre1 Pre-release
Pre-release
  • New hub compare -b|--base BASE flag

  • New stable command issue to list and create issues:

    Usage: hub issue [-a <ASSIGNEE>] [-c <CREATOR>] [-@ <USER] [-s <STATE>] [-f <FORMAT>] [-M <MILESTONE>] [-l <LABELS>] [-t <TIME>]
           hub issue create [-o] [-m <MESSAGE>|-F <FILE>] [-a <USERS>] [-M <MILESTONE>] [-l <LABELS>]
    
  • New stable command: release to list, create, and edit releases:

    Usage: hub release [--include-drafts]
           hub release show <TAG>
           hub release create [-dp] [-a <FILE>] [-m <MESSAGE>|-F <FILE>] [-c <TARGET>] <TAG>
           hub release edit [<options>] <TAG>
    
  • Support setting milestone, labels, assignees in pull-request.

    Usage: hub pull-request [-fo] [-b <BASE>] [-h <HEAD>] [-a <USERS>] [-M <MILESTONE>] [-l <LABELS>]
           hub pull-request -m <MESSAGE>
           hub pull-request -F <FILE> [--edit]
           hub pull-request -i <ISSUE>
    
  • Support repo-specific issue and pull request templates.

  • Commands that take message from -F filename now support --edit option to
    additionally process it in a text editor. This allows passing in a custom
    template text that can be edited before submitting.

  • Reimplement checkout to avoid adding new git remotes.

  • New man page-based help system: hub help hub-<command>

hub 2.2.5

14 Aug 20:11
Compare
Choose a tag to compare
  • Fix pull-request to expect 201 over 200
  • Fix vanilla fetch with non-GitHub remotes
  • Fix comma-separated fetch with more than 2 names

hub 2.2.4

11 Aug 22:10
Compare
Choose a tag to compare

Bug fixes:

  • Preserve git global flags when executing final git command
  • Improved support for renamed repos in clone, fork, and pull-request commands
  • Expand environment variables in GIT_EDITOR configuration
  • Check if GitHub repo exists before every hub clone

GitHub Enterprise fixes:

  • Consistently prepend /api/v3/ to request when using GHE
  • Fix GHE host prompts for hub remote commands
  • Fix case when multiple GHE hosts are configured

Other improvements:

  • Improve HTTP debugging by including query params
  • Prompt for user when the config has a token but no user
  • Infer project name from git workdir root name instead of PWD
  • Change Fish instructions for git alias to a function

hub 2.2.3

22 Jan 12:27
Compare
Choose a tag to compare

🐛 🪲 🐝

  • Fix hub browse opening current branch pushed to fork
  • Handle all sorts of weird git remote URLs:
    • git+ssh://github.com/... (scheme)
    • ssh://github.com:22/... (port number)
    • [email protected]:/... (colon+slash)
  • Handle git remotes that have been configured with invalid pushUrl
  • Avoid cross-platform issues around user.Current()
  • Prompt for credentials when running unauthenticated git init -g
  • Improve detecting when hub clone is referencing a local resource
  • Enable git fetch /path/to/my.bundle
  • Properly support -C git global flag
  • Fix crash in hub fork when there is no origin remote

📝 📜 🔬

  • Have HUB_VERBOSE=1 mode also log externally run commands
  • Document that hub clone directory is optional
  • Clarify "Unknown Shell" Error Message in git alias
  • Have hub help hub open hub man page

hub 2.2.2

29 Oct 20:53
Compare
Choose a tag to compare
  • Fix hub help browse
  • Colorized Windows console
  • Avoid depending on a hardcoded list of git global flags
  • More efficient --noop detection
  • Allow hub merge --ff
  • Read $GITHUB_TOKEN environment variable and use as OAuth token, ignoring ~/.config/hub
  • Cache current config after loading it from disk for the first time
  • Handle git worktrees when computing the head repo
  • Add hub version to crash report
  • Enhance hub ci-status to consume combined statuses API endpoint
  • Fix compare crash when used on a non-GitHub repo
  • Ensure that project comparison is done case-insensitive

hub 2.2.1

13 Apr 14:00
Compare
Choose a tag to compare
  • Fix crash when running hub checkout with invalid flags: #812, #839 & #856
  • Fix hub merge <PULL-REQUEST-URL> in some cases: #818
  • Fix parsing ~/.ssh/config regarding case-sensitivity: #830
  • Handle empty keys in ~/.gitconfig: #860

hub 2.2.0

14 Feb 21:09
Compare
Choose a tag to compare

This is the first official release of the Go-powered hub. It marks the milestone of rewriting hub in Go by merging in jingweno/gh 🎉.

On April 2013, gh was started as a hobby project and as a taste of using Go for a command-line tool. Go has proven itself to be a solid solution for a CLI application with the benefit of speed, low memory usage and ease of distribution.

We learned a lot from the rewrite. One important takeaway was that the hub cucumber specs have played an important role in making sure existing behaviors are not broken. We can't stress enough the value of and show appreciation for the existence of these language independent specs.

We ❤️ this release and hope you'll too. Here's a list of bug fixes since 2.2.0-rc1:

  • Properly parse global git flags: #764
  • Fork command on GitHub Enterprise prompts with incorrect hostname: #770
  • Fix Windows config file directory issue: #773
  • Fix hub checkout <PULLREQ-URL> for renamed fork: #776
  • Compilation on OpenBSD: #779
  • Support hub init -g DIR: #791
  • Read title and body by taking into account Windows line endings: #806
  • Do not insert "--no-ff" for "--squash" for hub-merge: #807
  • Doc improvement on hub browse: #759
  • Bug fixes on help message of hub issue -l: #750

Last but not least, we would like to thank our contributors ✨. We couldn't get to where we are without your support.