Releases: jaymzh/sugarjar
Version 2.0.2
tl;dr: Improved branch cleanup, new remote-branch cleanup commands, new 'sync' command, various bugfixes. All users are highly encouraged to upgrade.
Changes:
- Fix
branchcleanlogic 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
bcleanfor back-comatlocalbranchcleanall/lbcleanall- local all branch clean aliased
asbcleanallfor back-compatremotebranchclean/rbclean- remote branch cleanremotebranchcleanall/rbcleanall- remote all branch cleanglobalbranchclean/gbclean- local+remote branch cleanglobalbranchcleanall/gbcleanall- local+remote all branch clean
- Added new
synccommand to aid syncing branches across multiple workstations,
see help for details. - Fix meta-ref handling which fixes crashes when using
smartlogduring 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
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
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 alsofallthrumode - Fix GHE handling when using
gh - Support
github_hostandgithub_userin repoconfig - Replace
versionsubcommand withdebuginfosubcommand (--versionstill exists) smartclone: set upstream for main branch to upstream remote when applicable- Warn when deprecated options found in config file
- Fix handling of
--colorin some cornercases subfeaturePRs: Fix bug where we would incorrectly deterine base branch- Checks: Fix bug where we would lint even if repo was dirty causing confusing output
featureprefixes: 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
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 alsofallthrumode - Fix GHE handling for
gh - Add GHE support into repoconfig
- smartclone: set upstream for main branch to upstream remote when applicable
- Replace
versionsubcommand withdebuginfosubcommand (--versionstill exists) - Warn when deprecated options found in config file
- Fix handling of
--colorin some cornercases
You can install this release with gem install --pre sugarjar
Version 1.1.3
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
- 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
--filloption 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
- Relax ruby requirements to allow for easier packaging
- Handle aborted rebases better
- Add bash-completion script
- Various doc updates
Version 1.1.0
Minor version primarily to make downstream packing easier. No functional changes.
Version 1.0.1
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
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.