Skip to content

Releases: jesseduffield/lazygit

v0.62.1

28 May 17:55
f2788e4

Choose a tag to compare

This fixes a regression (crash) introduced in 0.62.0. For the full list of changes in 0.62, see here.

What's Changed

Fixes πŸ”§

  • Fix crash when keybindings are disabled that normally show in the status bar by @stefanhaller in #5655

Docs πŸ“–

  • Add docs for how to add the default, non-pager diff to the list of pagers by @stefanhaller in #5656

Full Changelog: v0.62.0...v0.62.1

v0.62.0

26 May 20:37
7299b22

Choose a tag to compare

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 πŸ”₯

Fixes πŸ”§

Maintenance βš™οΈ

Docs πŸ“–

I18n 🌎

Performance Improvements πŸ“Š

New Contributors

Full Changelog: v0.61.1...v0.62.0

v0.61.1

13 Apr 20:10
d167063

Choose a tag to compare

This release has just a few fixes for the recently added GitHub pull requests feature.

What's Changed

Enhancements πŸ”₯

Fixes πŸ”§

  • Normalize repository owner casing to fix GitHub PR integration by @bradly0cjw in #5495
  • Don't default the base repo for pull requests to "origin" by @stefanhaller in #5508

Maintenance βš™οΈ

New Contributors

Full Changelog: v0.61.0...v0.61.1

v0.61.0

06 Apr 17:44
bb5d5f2

Choose a tag to compare

The big one in this release is support for GitHub pull requests. They are shown as little GitHub icons next to each branch that has one, and you can open a PR in the browser by pressing shift-G. To enable this, all you need to do is install the gh tool if you haven't already, and log in using gh auth login.

What's Changed

Features ✨

Enhancements πŸ”₯

  • Add support for clicking on arrows in the file list to expand/collapse directories by @blakemckeany in #5365
  • Remove empty directories after discarding untracked files by @stefanhaller in #5408
  • Make file sort order and case sensitivity configurable, and default to mix files and folders by @stefanhaller in #5427
  • Allow customizing the window width/height thresholds for when to use portrait mode by @stefanhaller in #5452
  • Log hashes of local branches when deleting them by @stefanhaller in #5441
  • Add condition field to custom command prompts by @mrt181 in #5364

Fixes πŸ”§

Maintenance βš™οΈ

Docs πŸ“–

I18n 🌎

Performance Improvements πŸ“Š

New Contributors

Full Changelog: v0.60.0...v0.61.0

v0.60.0

09 Mar 19:57
2f6d202

Choose a tag to compare

What's Changed

Enhancements πŸ”₯

  • Rename "Copy commit hash to clipboard" to mention it's an abbreviated hash by @stefanhaller in #5331
  • Hide the "Fetching..." status of the auto-fetch when bottom line is hidden by @stefanhaller in #5321
  • Allow removing lines from patch directly by @jesseduffield in #5277
  • Filter file views rather than search by @jesseduffield in #5273
  • Show branch name and detached HEAD in worktrees tab by @ruudk in #5339
  • Add backward cycling support for log view (using <shift>-a on status page) by @zaakiy in #5346
  • Show worktree name next to branch in branches list by @ruudk in #5340

Fixes πŸ”§

Maintenance βš™οΈ

  • Bump github.com/cloudflare/circl from 1.6.1 to 1.6.3 by @dependabot[bot] in #5323

Docs πŸ“–

I18n 🌎

Other Changes

  • Add Terra as an alternative Fedora install method by @Owen-sz in #5281

New Contributors

Full Changelog: v0.59.0...v0.60.0

v0.59.0

07 Feb 08:40
1d0db51

Choose a tag to compare

What's Changed

Enhancements πŸ”₯

Fixes πŸ”§

Maintenance βš™οΈ

Docs πŸ“–

I18n 🌎

New Contributors

Full Changelog: v0.58.1...v0.59.0

v0.58.1

12 Jan 19:53
4486c86

Choose a tag to compare

This is a hotfix release that fixes the known issues with 0.58.

To expand on this a bit: in 0.58 we updated our TUI library tcell to a new version that made significant under-the-hood changes; this allowed us to fix several rendering issues, mostly related to wide characters like some emojis. Apart from that, there are few user visible changes with this update, but it lays the ground for future enhancements like support for more keybindings.

However, since the changes are so fundamental it also introduced a number of regressions, and I'm not really surprised about that. Most of these were bugs in tcell that have been fixed upstream now, but some were on our side. This release fixes the ones I know about. If you still have issues, please report them!

What's Changed

Enhancements πŸ”₯

  • Update search position (match x of y) when changing the selection in a list view by @stefanhaller in #5169

Fixes πŸ”§

  • When doing ctrl-f, and the resulting commit is not visible, scroll it into view by @stefanhaller in #5182
  • Fix pasting multi-line text into the commit description by @stefanhaller in #5186
  • Fix keypad keys, and pasting emojis in Windows Terminal by @stefanhaller in #5192
  • Don't log the "git ls-remote" call when opening a PR by @stefanhaller in #5195
  • Fix rendering artefacts after double-width characters (e.g. "⚠️") on some terminals by @stefanhaller in #5198

Maintenance βš™οΈ

Full Changelog: v0.58.0...v0.58.1

v0.58.0

03 Jan 19:32
a0e81c9

Choose a tag to compare

What's Changed

Enhancements πŸ”₯

  • Add keys for command log menu items by @PeterCardenas in #5096
  • Add Codeberg as a supported git hosting service by @yaadata in #5130
  • Change keybinding of "keep" item in Merge Conflict menu back to 'k' by @stefanhaller in #5132
  • Support custom keybindings in custom command menu prompts by @HerrNaN in #5129
  • Show an error when checking out a file would overwrite local modifications by @stefanhaller in #5154

Fixes πŸ”§

Docs πŸ“–

I18n 🌎

Performance Improvements πŸ“Š

  • Fix annoying UI stalls after refresh (e.g. background fetch) when the reflog is very long by @stefanhaller in #5135

New Contributors

Full Changelog: v0.57.0...v0.58.0

v0.57.0

06 Dec 13:08
17d03ec

Choose a tag to compare

What's Changed

Enhancements πŸ”₯

Fixes πŸ”§

  • Keep cursor at top/bottom when navigating by page by @RaphaeleL in #5019
  • Switch to branches view when checking out a commit by @stefanhaller in #5048
  • Fix deleting a remote tag when a remote branch with the same name exists, or vice versa by @stefanhaller in #5075
  • Show fixup base commits in correct order in ctrl-f error message by @stefanhaller in #5073
  • Band-aid fix for rare crashes when refreshing files by @stefanhaller in #5074
  • Fix to support creating MRs for repositories cloned with SSH alias by @roveo in #5082

Maintenance βš™οΈ

Docs πŸ“–

I18n 🌎

Performance Improvements πŸ“Š

  • Fix and speed up the file list for the "Enter path to filter by" feature by @stefanhaller in #5056

New Contributors

Full Changelog: v0.56.0...v0.57.0

v0.56.0

01 Nov 09:49
80223c7

Choose a tag to compare

What's Changed

Enhancements πŸ”₯

Fixes πŸ”§

  • Don't log the git rev-list command that we use for IsBranchMerged by @stefanhaller in #4896
  • Hide the cursor when the password prompt is showing by @stefanhaller in #4878
  • Update Merge conflicts menu keybinding to use p instead of k by @zingazzi in #4934
  • Update diff of conflicted file in the main view after conflicts have been resolved by @stefanhaller in #4945
  • Don't depend on en_US locale to be installed by @stefanhaller in #4949
  • Fix dropping submodule changes from a commit by @stefanhaller in #4937
  • Fix support for Git copy status when status.renames=copies by @kapral18 in #4892
  • When pasting multi-line text into a prompt, don't treat the line feeds as "confirm" by @stefanhaller in #4955
  • Offer to force-delete a worktree if it contains submodules by @stefanhaller in #4959
  • Fix window arrangement when a popup or the search prompt is open by @stefanhaller in #4961
  • Fix lazygit getting unresponsive when pasting commits that become empty by @stefanhaller in #4958
  • Show a better error message if the temp directory is not writeable by @stefanhaller in #4968
  • Avoid auto-stashing when only submodules are out of date by @stefanhaller in #4969
  • Use a PTY when using external diff command from git config by @brandondong in #4983
  • Fix fixup's false filename detection in hunks containing dashed lines by @abobov in #5004

Maintenance βš™οΈ

  • Make running with --debug and running integration tests work when built with go 1.25 by @stefanhaller in #4910
  • Update go to 1.25 by @kyu08 in #4844
  • feat(nix): add comprehensive Nix flake by @doprz in #4826
  • Fix normalisedSelectedNodes function by @stefanhaller in #4920
  • Add synchronize event to the hooks of "Check Required Labels" by @kyu08 in #4974
  • Use ignore directive to ignore test files not to be passes to gofumpt by @kyu08 in #4936

Docs πŸ“–

I18n 🌎

New Contributors

Full Changelog: v0.55.1...v0.56.0