The big change in this release is what I have been referring to as the "keybinding revamp": it allows you to use richer keybindings than the few that were available before; see Custom_Keybindings.md for details. It also describes a new keybinding syntax that is a bit more intuitive than the previous <c-x> notation (but the old one is still supported for backwards compatibility).
Note the section about Terminal compatibility in that document; not all terminals support the new protocol equally well, so it may be a good idea to switch to one that does.
Breaking change: The default keybinding for submitting a commit from the commit description editor has changed from alt-enter to command-enter on Mac, or ctrl-enter on Linux and Windows; these are the same bindings that are used in many multi-line edit field situations, e.g. in GitHub comments. Unfortunately these are not supported by all terminals; see the above-mentioned terminal compatibility for more on that. If you want to revert this change, you can do so by adding the following to your config:
keybinding:
universal:
confirmInEditor: [<alt+enter>, <ctrl+s>]The complete list of changes follows:
What's Changed
Enhancements 🔥
- Retry on ref lock errors during fetch/pull by @majiayu000 in #5161
- Preserve whitespace when remembering commit message by @stefanhaller in #5528
- Define PR colors as hex colors to make them the same as GitHub's by @stefanhaller in #5480
- Revamp keybinding mechanism to support richer keybindings (e.g.
ctrl-alt-shift-x) by @stefanhaller in #5563 - Platform-specific edit bindings for move-by-word and backspace-word by @stefanhaller in #5564
- Change canonical keybinding syntax (
<ctrl+a>instead of<c-a>) by @stefanhaller in #5565 - Use more widely-supported Unicode symbols for the commit graph by @stefanhaller in #5573
- Show push URLs for remotes that have any by @stefanhaller in #5576
- Support GitHub Enterprise for the Pull Requests feature by @stefanhaller in #5596
- Allow keybindings to configure more than one key by @stefanhaller in #5634
- Add
<alt+up>/<alt+down>as alternate keybindings for moving commits up/down by @stefanhaller in #5637 - Add support for git flow using the git-flow-next tool by @hmaddocks in #5288
Fixes 🔧
- Fix copying a file's absolute path when running in a linked worktree by @stefanhaller in #5523
- Preserve commit message when quitting while the commit message panel is open by @stefanhaller in #5524
- Stop showing cached PRs when we no longer have a base remote by @stefanhaller in #5543
- If multiple remotes exist but only one is a Github remote, pick it without prompting by @stefanhaller in #5544
- Fix cherry-picking a range selection of commits by @stefanhaller in #5599
- Dont log GitHub PR fetching errors to the Command log by @stefanhaller in #5600
- Avoid auto-forwarding main branches checked out in other worktrees by @stefanhaller in #5621
- Fix cycling pagers when main view is focused by @stefanhaller in #5639
Maintenance ⚙️
- Bump samber.lo to latest version by @stefanhaller in #5545
- Bump github.com/kyokomi/emoji/v2 from 2.2.8 to 2.2.13 by @dependabot[bot] in #5481
- Bump github.com/gookit/color from 1.4.2 to 1.6.0 by @dependabot[bot] in #5482
- Bump github.com/sirupsen/logrus from 1.9.3 to 1.9.4 by @dependabot[bot] in #5483
- Bump dario.cat/mergo from 1.0.1 to 1.0.2 by @dependabot[bot] in #5484
- Bump peter-evans/create-pull-request from 8.1.0 to 8.1.1 by @dependabot[bot] in #5514
- Bump goreleaser/goreleaser-action from 7.0.0 to 7.1.0 by @dependabot[bot] in #5529
- Bump actions/github-script from 8 to 9 by @dependabot[bot] in #5515
- Bump golang.org/x/sys from 0.42.0 to 0.43.0 by @dependabot[bot] in #5548
- Copy gocui into lazygit repo by @stefanhaller in #5561
- Update to tcell v3 by @stefanhaller in #5562
- Clear LC_* env vars when running LANG tests by @AntoineGS in #5568
- Fix failing windows tests by @stefanhaller in #5574
- Fix new gopls linter warnings by @stefanhaller in #5580
- Disable gh telemetry when running integration tests by @stefanhaller in #5587
- Fix the check_for_fixups.sh script again by @stefanhaller in #5590
- Add script to preview release notes by @stefanhaller in #5620
- Bump github.com/gookit/color from 1.6.0 to 1.6.1 by @dependabot[bot] in #5586
- Bump github.com/sahilm/fuzzy from 0.1.1 to 0.1.2 by @dependabot[bot] in #5606
- Bump golang.org/x/sys from 0.43.0 to 0.45.0 by @dependabot[bot] in #5607
- Bump github.com/gdamore/tcell/v3 from 3.3.0 to 3.4.0 by @dependabot[bot] in #5618
- Bump goreleaser/goreleaser-action from 7.1.0 to 7.2.2 by @dependabot[bot] in #5619
Docs 📖
- Fix undo shortcut in Undoing.md by @stefanhaller in #5640
- Update docs and schema for release by @stefanhaller in #5645
I18n 🌎
- Update translations from Crowdin by @stefanhaller in #5644
Performance Improvements 📊
- Improve performance of showDivergenceFromBaseBranch by @AntoineGS in #5536
- Redraw only the spinner when nothing else has changed by @AntoineGS in #5571
- Improve inline spinner performance by @stefanhaller in #5592
New Contributors
- @majiayu000 made their first contribution in #5161
- @AntoineGS made their first contribution in #5536
- @hmaddocks made their first contribution in #5288
Full Changelog: v0.61.1...v0.62.0