Skip to content

Releases: jaymzh/sugarjar

Version 2.0.2

08 Jan 22:13
e43d466

Choose a tag to compare

tl;dr: Improved branch cleanup, new remote-branch cleanup commands, new 'sync' command, various bugfixes. All users are highly encouraged to upgrade.

Changes:

  • Fix branchclean logic to properly compare with the target branch
    (might have refused to clean branches that could be cleaned)
  • Add new commands to handle remote branch cleanup as well as rename
    bclean (keeping backwards compatible aliases):
    • localbranchclean / lbclean - local branch clean. aliased as
      bclean for back-comat
    • localbranchcleanall / lbcleanall - local all branch clean aliased
      as bcleanall for back-compat
    • remotebranchclean / rbclean - remote branch clean
    • remotebranchcleanall / rbcleanall - remote all branch clean
    • globalbranchclean / gbclean - local+remote branch clean
    • globalbranchcleanall / gbcleanall - local+remote all branch clean
  • Added new sync command to aid syncing branches across multiple workstations,
    see help for details.
  • Fix meta-ref handling which fixes crashes when using smartlog during rebases
  • Handle worktress gracefully when doing branch cleans
  • Make unittests work properly outside of git repos

Full Changelog: v2.0.1...v2.0.2

Version 2.0.1

12 May 22:47
f21e2db

Choose a tag to compare

This release is only a fix to the gemspec, so if you're not building the gem yourself, there's no need to upgrade from 2.0.0. If you're still on 1.x, then upgrade to this version.

Version 2.0.0

12 May 02:00
18e109b

Choose a tag to compare

This is a significant release and all users are highly encouraged to upgrade. Note that hub and fallthru support have been removed and Ruby 3.2 or later is now required. Many new features and bugfixes are in this release. Full changelog below.

  • Fix smartlog when on detached head
  • Drop support for hub, and thus also fallthru mode
  • Fix GHE handling when using gh
  • Support github_host and github_user in repoconfig
  • Replace version subcommand with debuginfo subcommand (--version still exists)
  • smartclone: set upstream for main branch to upstream remote when applicable
  • Warn when deprecated options found in config file
  • Fix handling of --color in some cornercases
  • subfeature PRs: Fix bug where we would incorrectly deterine base branch
  • Checks: Fix bug where we would lint even if repo was dirty causing confusing output
  • feature prefixes: Fix bug where we didn't look for the prefix on the base branch when specified
  • Better handle creating PRs to branches other than "main"
  • Significantly improve unittest coverage
  • Bump required Ruby to 3.2

Version 2.0.0 BETA 1

13 Apr 20:25

Choose a tag to compare

Version 2.0.0 BETA 1 Pre-release
Pre-release

A BETA version of our upcoming 2.0.0 release has been published. It involves a significant refactor as well as dropping support for the deprecated hub tool. Please test and let us know if you find any issues.

  • Drop support for hub, and thus also fallthru mode
  • Fix GHE handling for gh
  • Add GHE support into repoconfig
  • smartclone: set upstream for main branch to upstream remote when applicable
  • Replace version subcommand with debuginfo subcommand (--version still exists)
  • Warn when deprecated options found in config file
  • Fix handling of --color in some cornercases

You can install this release with gem install --pre sugarjar

Version 1.1.3

21 Feb 00:38
92bd67c

Choose a tag to compare

What's Changed

  • smartpullrequest: When working with gh, bypass its attempt to push, bypassing unnecessary prompts and branch track mangling
  • smartpullrequest: Better support for autofill
  • smartpullrequest: Don't attempt to stack when in forked repo

Full Changelog: v1.1.2...v1.1.3

Version 1.1.2

26 Apr 04:25
7a0ffd0

Choose a tag to compare

  • Add support for subfeatures
  • Add support for building stacked PRs based on subfeatures
  • smartpullrequest: only autofill in the PR when a single commit exists between the base and us
  • smartpullrequest: Add --fill option to let people opt-out of autofilling the PR
  • smartpullrequest: State that we're autofilling the PR when we do
  • feature: Fix some corner cases where feature-prefixing didn't work
  • pullsuggestions: Print the diff in the correct order
  • feature/subfeature: set tracked branch for the user
  • subfeature: automatically update tracked branch when previous tracked branch disappears

Version 1.1.1

13 Feb 04:15

Choose a tag to compare

  • Relax ruby requirements to allow for easier packaging
  • Handle aborted rebases better
  • Add bash-completion script
  • Various doc updates

Version 1.1.0

31 Dec 20:05
eb736ad

Choose a tag to compare

Minor version primarily to make downstream packing easier. No functional changes.

Version 1.0.1

20 Dec 23:22

Choose a tag to compare

This release adds co support for feature prefixes, and adds new include_from and overwrite_from options to repoconfigs. It also updates lint and unit to support relative paths and updates smartpullrequest to use --fill when using the gh CLI.

All users are encouraged to upgrade.

Version 1.0.0

23 Oct 05:01

Choose a tag to compare

This release includes two new features. All users are encouraged to upgrade.

This release includes a new feature to automatically prefix feature branch names with a specific string. In addition, we now support auto option for the github_cli configuration. We default to gh (via auto) now instead of hub.