Skip to content

Latest commit

 

History

History
308 lines (188 loc) · 12.5 KB

CHANGELOG.md

File metadata and controls

308 lines (188 loc) · 12.5 KB

v0.11.12 - 18 Sep 2020

  • Fix: Support GitLab's subgroups (#28)
  • Improve: Check repository name and user/org name more strictly
  • Improve: Update crate dependencies

Changes

v0.11.11 - 03 Sep 2020

  • New: Add --current-branch option (-c in short option) to open current branch in browser. For example, when git brws opens https://github.com/foo/bar and current branch is some-branch, git brws -c opens https://github.com/foo/bar/tree/some-branch.
  • Fix: Handle invalid empty branch name at -b option correctly (#26)
  • Fix: URL is not correct when a directory path is given (#25)
  • Improve: Update dependent crates

Changes

v0.11.10 - 05 Aug 2020

  • Fix: Parsing SCP-like syntax user@server:user/repo.git failed when user starts with number value (#24)
  • Fix: Only git@ was considered as user of above SCP-like syntax. Actually vs-ssh.visualstudio.com service provides user names other than git@

Changes

v0.11.9 - 27 Apr 2020

  • New: Add $GIT_BRWS_SHORT_COMMIT_HASH environment variable. When this value is set, git-brws will use 7-letters short commit hash like 78fbce6 for URLs. (#22)
  • Improve: Update dependencies

Changes

v0.11.8 - 11 Apr 2020

  • New: Add $GIT_BRWS_GITLAB_URL_HOST to specify URL host for self-hosted GitLab instance. Please see README.md or man manual for more details
  • Fix: Windows build was broken
  • Improve: Better error message

Changes

v0.11.7 - 08 Feb 2020

  • Improve: -C is used instead of --git-dir for executing git commands to avoid weird gitdir issue on Windows
  • Improve: ?expand=1 is added to 'Create pull request' page when opening a repository with --pr and a pull request is not yet created. It opens a text form for pull request description automatically
  • Improve: Dependencies were updated
  • Fix: Setting empty string to $https_proxy did not work
  • Dev: CI for Windows was fixed. It failed due to weird reason
  • Dev: Use std::error::Error trait to handle nested errors

Changes

v0.11.6 - 16 Jan 2020

  • Improve: reqwest crate was updated to 0.10
    • Number of dependencies and build time were 1.5x reduced
    • Binary size gets 1.3~1.4x smaller
  • Improve: --pr is now faster by sending multiple GitHub API requests at the same time. Thanks to the async-await feature of latest Rust

Changes

0.11.5 - 21 Nov 2019

  • Fix: Opening file or directory is slow when remote repository has so many (1000~) branches (#19)
  • Improve: More accurately convert abbreviated notation of SSH URL

Changes

0.11.3 - 04 Nov 2019

  • New: Repositories hosted on Azure DevOps are now supported. Special thanks to @bgianfo for adding this. (#15)
  • Improve: On WSL, wslview may be used to open a page in browser if available. This was added by updating open crate from 0.12 to 0.13.
  • Improve: Update dependencies (especially url crate had major update)

Changes

0.11.2 - 19 May 2019

  • Fix: URL is wrong when opening 'New Pull Request' page of parent repository (#13)
  • Improve: Reduce binary size (about 30% smaller) by tweaking build configuration

Changes

0.11.1 - 30 Apr 2019

Fix: Cause an error when attempting to blame directory path

Changes

0.11.0 - 29 Apr 2019

  • Change: Open 'Create Pull Request' page when pull request is not created yet for the branch. Previous behavior caused an error in the case.
  • New: Support 'Blame' page for file path with --blame or -B option. Not only file path, with line such as /path#L123 and with range such as /path#L1-2 are supported. This feature is available for all services; GitHub, GitHub:Enterprise, GitLab and bitbucket. #11
  • New: $GIT_BRWS_BROWSE_COMMAND environment variable was introduced to customize how to open the URL. The command specified with the environment variable is invoked with URL as the first argument for opening the URL.
  • Fix: When opening file path, fallback into branch name instead of commit hash if the latest commit is not contained in remote branch. Since the commit page where the commit is not contained in remote is 404. #12

Changes

0.10.1 - 12 Feb 2019

  • New: Argument now accepts project's tag page. GitHub, GitHub Enterprise, GitLab and Bitbucket are supported
  • Fix: $https_proxy and $GITHUB_TOKEN were not referred
  • Improve error messages when argument cannot be handled and Git command cannot run

Changes

0.10.0 - 11 Feb 2019

  • New: --website option which opens the repository's website
  • New: --repo now accepts only repository name. It opens the most popular repository searched with the repository name.
  • Breaking: --repo no longer accepts remote name. Instead, --remote (or -R) is available. This is for avoiding confusing behavior that repo name is intended but remote name is accidentally matched.
  • Improve: Error handlings. Now invalid combination of options and arguments are reported as an error
  • Many refactorings to clean up internal structure

This is a demo that -w -r react can open https://reactjs.org:

tmp

Changes

0.9.2 - 09 Feb 2019

  • Allow to open page outside Git repository directory with -r (#9)
  • Improve error messages
  • Use Rust 2018 for compiling
  • Improve -h help document and man document with more examples
  • Some internal refactorings

Changes

0.9.1 - 04 Jan 2019

Tiny updates for documents:

  • Add more examples in manpage
  • Fix links in README
  • Add categories metadata to crate package

Changes

0.9.0 - 31 Dec 2018

A happy new year!!

  • Add issue support by #{number} argument. For example, -r rhysd/git-brws '#8' opens this issue. This is useful when you see issue number in source file and want to open it directly.
  • Fix path separator is wrong on Windows when specifying file path in repository
  • Add manpage git-brws.1 for supporting git brws --help and man git-brws
  • Add Homebrew formula. This is recommended way for installation on macOS since it automatically setup git-brws.1 and is easy to update.
  • Improve check when a directory is specified with line number
  • Refactor remaining old error handlings

Changes

0.8.1 - 28 Dec 2018

  • Correct canonicalizing a path (Fix #7)
  • Many refactorings

Changes

0.8.0 - 26 Dec 2018

  • New: Add Windows support (both 64bit and 32bit). Please find release binaries from release page
  • New: Support A...B to see page for diff between B and merge base commit for branch A
  • Fix: A..B did not open correct page. Now it opens .. URL. Note that .. page is only supported by GitHub or GitHub Enterprise
  • Fix: File path argument such as ../foo.txt, foo/.., .. were wrongly treated as diff
  • New: CI on Windows using Appveyor

Changes

0.7.1 - 24 Dec 2018

Fix x86 build was broken

Changes

0.7.0 - 22 Dec 2018

screenshot

Changes

0.6.3 - 20 Dec 2018

Changes

0.6.2 - 18 Dec 2018

Changes

v0.6.1 - 31 Jan 2018

  • Update all dependencies
  • Use rustc v1.23.0 to build

Changes

v0.5.0 - 01 Jan 2017

Changes

v0.4.3 - 01 Jan 2017

  • Add aarch64 to release targets.

Changes

v0.4.2 - 31 Dec 2016

First binaries release for Linux (32bit/64bit) and macOS (64bit) using Travis CI.

  • Fix converting git@ protocol when user specifies it directly via -r option
  • Add default behavior when HEAD is not attached and remote tracking branch not found. Fall back into origin.

Changes