Releases: mislav/hub
hub 2.12.2
- Improve
pull-request
push target detection forgit config push.default
is "upstream", but when the current branch does not have upstream configuration
hub 2.12.1
Fixes:
-
hub pull-request
: Avoid crash when the current branch is pushed to a non-GitHub remote -
BROWSER
environment variable now supports values with spaces in them (must be shell-quoted) -
hub help
: supportman
appearing in a path that has spaces -
Docs: mention that comma-separated lists must not have spaces
hub 2.12.0
Features
-
Add
hub api --paginate
option to automatically fetch all pages of results -
Add
hub pr show [<number>]
command to open a pull request in the browser -
Add
hub pull-request --no-maintainer-edits
flag to disallow project maintainers being able to push to your branch -
Abort
hub pull-request
with a helpful error message if the current branch wasn't pushed to a git remote -
hub issue -M
now accepts milestone names instead of just numbers -
Drop support for legacy
hub.http-clone
git config value (this was broken for a while and nobody complained, so I deemed it safe to drop in a minor rather than a major release)
Fixes
-
Fix querying git configuration when GIT_TRACE is used
-
Support detached HEAD if
hub pull-request --head
was passed -
Fix newline in
hub create
error message -
Ensure HTTP connection reuse across API calls
hub 2.11.2
-
Avoid crash in
hub remote
argument parsing -
Fix
hub -C mydir merge <URL>
by propagating global git arguments to Before/After chains -
Preserve tilde
~
character in man pages
hub 2.11.1
- Fix non-draft pull requests for certain repositories
hub 2.11.0
-
Create draft pull requests with
hub pull-request --draft
Draft pull requests are considered work in progress: they don't automatically request others for review and they are not mergeable while in their draft state.
hub 2.10.2
-
Fix compatibility with git when run with no arguments:
hub --git-dir=.git
-
Fix issue/PR
--format %L
output in no-color mode
hub 2.10.1
-
Fix writing over existing cache files in
hub api
-
Allow repository names that start with a
-
character -
List
api
among custom hub commands in help
hub 2.10.0
Features
-
New
hub pr list --format
fields%pS
and%pC
for PR state and color%pS
: "open", "draft", "merged", or "closed"%pC
: green, gray, purple, or red
-
Have commands with rich output respect the
--color
flag- default:
--color=auto
--color
is equivalent to--color=always
--color=never
disables color for TTYs
- default:
Fixes
-
Make man pages parseable with
whatis
-
Make
hub checkout
work independently of remote refspec
hub 2.9.0
Features
-
Add support for
hub ci-status --format <FORMAT>
string -
Add
hub create --remote-name <REMOTE>
flag -
Allow passing in a raw request body via
hub api --input <FILE>
-
Cache HTTP 4xx (except 403) server responses in
hub api --cache
Fixes
-
Ensure consistent ordering of
hub ci-status -v
results -
Avoid crashing on invalid GitHub hostname
-
Fix parsing empty string within command-line arguments