NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules, #137 by repository stars
Latest stable
v2.11.2+incompatible
Last release 8 years ago
no release in 18 months
Ships fairly regularly
a new release about every 3 weeks
Rarely documented
notes for 8 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
17 years old
99 releases · first in 2009
Drag across the ruler to compare, or tap a release to open it.
This new release of hub doesn't bring any bug fixes, only performance fixes. Version 1.11.0 made hub _much_ faster compared to previous versions; this
This new release of hub doesn't bring any bug fixes, only performance fixes. Version 1.11.0 made hub much faster compared to previous versions; this release makes it even faster.
This benchmark on Ruby 2.0.0-p247 demonstrates a 63 ms speedup for the hub browse command:
<table> <tr> <th colspan=2></th> <th>mean (s)</th> <th>stdev (s)</th> </tr> <tr> <th rowspan=2><code>hub browse -u</code></th> <th>v1.11.0</th> <td>0.134</td> <td>0.007</td> </tr> <tr> <th>v1.11.1</th> <td><strong>0.071<strong></td> <td>0.004</td> </tr> </table>
The speed gains were available in several areas:
cmd 2>/dev/null. Turns out, the mere presence of shell redirection syntax added a few milliseconds per call. Now there is no shell redirection, and hub simply silences STDERR from Ruby.git invocation takes 5–7 ms, and since we did that a lot, it added a lot of overhead at runtime. When possible, some shelling out was replaced by simply inspecting the files under the .git/ directory. In other cases, duplicate and similar calls were consolidated, and necessary calls are now done lazily, only when absolutely needed.ssh_config(5) parser that we use for resolving ssh aliases to full hostnames. SshConfig did too much and used to implement features that we never took advantage of, so I reduced it to a bare minimum which greatly increased parsing speed.Your coding agent can read these notes before it upgrades. Set up the MCP server →
Deprecate converting issues into pull requests. This functionality is likely to be dropped from GitHub's API.
The long-awaited release of hub is here! You spoke and I listened. Needless to say, this is the best release of hub ever.
hub is a command-line wrapper for git executable that extends it with features that improve integration with GitHub.
To install hub:
Install from source:
git clone https://github.com/github/hub.git
cd hub
rake install prefix=/usr/local
# run and follow the instructions:
hub alias
Upgrade with Homebrew:
brew upgrade hub
hub is written in Ruby and its execution time was abysmal. It kinda sucks that you're supposed to wrap git with a tool that's an order of magnitude slower than git itself. Well, the good news is that I've made it much faster in the new release:
v1.10.6:
hub version - mean: 0.138 mshub browse -u - mean: 0.191 msv1.11.0:
hub version - mean: 0.062 ms (76 ms faster)hub browse -u - mean: 0.131 ms (60 ms faster)I've done that by:
--disable-gems flag to the Ruby interpreter to skip loading RubyGems;fileutils and cgi modules, and reimplemented the few methods I need from them;yaml and uri modules, which are slow to load, and implemented a rudimentary YAML serializer/deserializer to handle hub configuration, and a replacement URI::HTTP class which handles simple URLs.git remote set-head REMOTE BRANCH.hub clone -p. hub will use the ssh protocol instead of git protocol for any repo that is private or that you have push access to.git pull-request will no longer incorrectly assume that the head should be the same-named branch on your (possibly non-existent) fork.-m MESSAGE or -F FILE parameters that match those supported by git commit.pull-request message if creating one failed.pull-request message authored in Vim.ci-status command. Mathematical!hub ci-status provides access to GitHub Status API and is useful for checking the outcome of CI builds. It prints the status string on standard output and exits with a non-zero code for any status other than "success". This can be useful in shell scripts, e.g. to abort pushing a release if CI is pending or failing.
$ hub ci-status
success
$ hub ci-status mybranch
pending
$ hub ci-status >/dev/null && rake release
hub am: enable fetching pull request and commit patches from private reposbrowse URLs--ff-only in merge <PULL-URL>hub help hub using all available width of the terminalhub version includes commit SHA when built from gitcore.pager when the value contains spacescore.editor valuessh_config when no read privilegesLadios Jonquil, Dave Goodell, Adam Spiers, Yasuharu Ozaki, Timothy Gu, Tekkub, Stuart Nelson, Steven Harman, Shay Frendt, Mindaugas Mozūras, Mike Dougherty, Michiel Sikkes, Maksim Ryzhikov, Lukas Zapletal, Kirill Müller, John Manoogian III, Jo Liss, Jamie Wright, Ivan Tse, Haukur Páll Hallvarðsson, Glenn Gentzke, David Mai, Arturo Herrero, Aaron Stacy. See the contributors graph
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.