Skip to content

Releases: foriequal0/git-trim

Release v0.4.3

23 Dec 17:46
Compare
Choose a tag to compare

Updated dependencies.

Release v0.4.2

20 Oct 02:11
Compare
Choose a tag to compare

Release v0.4.1

15 Oct 03:04
Compare
Choose a tag to compare

Enhancements

  • Fallback base branches to refs/remotes/*/HEAD #168
  • Print detailed error when no base is found # 169
  • Upgrade rust-toolchain to 1.47.0 #167

https://github.com/foriequal0/git-trim/pulls?q=merged%3A2020-10-14..2020-10-14+sort%3Aupdated-desc+
https://crates.io/crates/git-trim/0.4.1

Release v0.4.0

01 Oct 09:19
Compare
Choose a tag to compare

Here's the list of (subjectively) important changes from v0.3.2.

Enhancements

  • Use a deduced base branch from remote HEADs, rather than hard-coded default base branches. #127 #145
    The change will make git-trim to gracefully adapt to default branch renaming. It might break multi-base branching scheme such as git-flow as noted in the PR. git-flow users should set git config trim.bases develop,master.
  • Preserve worktree branches #130
  • Associate local and upstream/remote branches to prevent dangling states #140, #144
  • Classify non-tracking local branches and non-upstream remote-tracking branches too #147, #163
  • Print shorthand name instead of verbose refname #106 #108
  • Print detailed messages why branches are filtered #162

Breaking changes

  • --delete options were changed. #140 #147 #153 #163
  • Don't protect local branches that just track bases's upstreams #164

https://crates.io/crates/git-trim/0.4.0

Release v0.4.0-alpha.4

08 Sep 04:04
Compare
Choose a tag to compare
Pre-release

This is a release note after v0.4.0-alpha.2 release.
Please refer previous release note https://github.com/foriequal0/git-trim/releases/tag/v0.4.0-alpha.2
I've missed some commits in alpha.3, so I skip it.

Breaking changes

  • Merge --scan into --delete #163
    It also removed --delete all option, local non-tracking branches scanning by default.
  • Don't protect local branches that just track bases's upstreams #164

Enhancements

  • Print detailed messages why branches are filtered #162

https://github.com/foriequal0/git-trim/pulls?q=merged%3A2020-08-22..2020-09-08+sort%3Aupdated-desc+

https://crates.io/crates/git-trim/0.4.0-alpha.4

Release v0.4.0-alpha.2

21 Aug 03:23
Compare
Choose a tag to compare
Pre-release

This is a release note after v0.4.0-alpha.1 release.
Please refer previous release note https://github.com/foriequal0/git-trim/releases/tag/v0.4.0-alpha.1

Breaking changes

  • Require a scope for ranges #153
  • Many changes in --delete options.
    • --delete stray-local and --delete stray-remote are removed. --delete stray doesn't imply them anymore. #140
    • --delete local, and --delete remote has been repurposed to refer non-tracking local branches and non-upstream remote branches. #147

Enhancements

  • Associate local and upstream/remote branches to prevent dangling states #140, #144
  • Classify non-tracking local branches and non-upstream remote-tracking branches too #147
  • Notify when the remote HEAD is changed #145

Fixes and refactorings

https://crates.io/crates/git-trim/0.4.0-alpha.2

Release v0.4.0-alpha.1

03 Aug 10:25
Compare
Choose a tag to compare
Pre-release

There were large changes in git-trim since last release.

Breaking changes

  • Use a deduced base branch from remote HEADs, rather than hard-coded default base branches. #127
    The change will make git-trim to gracefully adapt to default branch renaming. It might break multi-base branching scheme such as git-flow as noted in the PR. git-flow users should set git config trim.bases develop,master.

Visible changes

  • Print shorthand name instead of verbose refname #106 #108
  • Preserve worktree branches #130

Refactorings, internal changes, fixes, and cleanups

Release v0.3.2

27 Apr 03:02
Compare
Choose a tag to compare
  • Require at lease one remote #93
  • Ensure docs are up-to-date #87
  • Update rust toolchain to 1.43 #94
  • Update cargo dependencies #95

Release v0.3.1

29 Mar 04:34
Compare
Choose a tag to compare
Release v0.3.1 Pre-release
Pre-release
  • Fix inverted flag that caused improperly make config explicit empty #90
  • Force update when explicit --update is set or fetch.prune is not set #89

Release v0.3.0

27 Mar 03:52
Compare
Choose a tag to compare
Release v0.3.0 Pre-release
Pre-release

Breaking changes

There are subtle differences between stray branches and gone branches. Also, CLI options are renamed. However, deleting gone branches is an unsafe operation. I didn't expect users to use it by default.

  • Refine and change to stray branches from gone branches #77
  • Fix misclassification when local is the only stray branch #79

Misc

  • Use more consistent terms and grammar
  • Accept refs/heads/<branch> instead of <branch> in some cases #80, #81
  • Protect push remotes too #81
  • Fix a crash on freshly cloned repository #85
  • Use clap's value_delimiter option if possible #86