Skip to content

Releases: jesseduffield/lazygit

v0.31.4

22 Nov 10:14
Compare
Choose a tag to compare

Changelog

8abc953 Merge pull request #1581 from black-desk/translate
9c4f837 fix chinese translate
02bf6a5 fix delta again

v0.31.3

09 Nov 22:20
Compare
Choose a tag to compare

Changelog

2f45db8 fix scrolling in sub commits panel

v0.31.2

07 Nov 04:05
Compare
Choose a tag to compare

Changelog

3fb478a add tests
5d12a6b restore some code that was erroneously removed

v0.31.1

07 Nov 02:39
Compare
Choose a tag to compare

Changelog

6171690 Fix multibyte initial characters
7a464ae add graph algorithm
ccd80a0 add menu options for log stuff
f6ec7ba add some config
253504a associate random colours with authors
9989c96 better formatting
6457800 fix another issue with indentation
06ca71e fix bug
01d8274 fix commit message prefix thingo
5df0fe0 fix crash
7d94618 fix issue with indentation
f91892b fix truncation
b04b457 fix yet another issue with indentation
9a9e3d5 more consistent rendering
7561703 move author name colouring code into its own file
e122f42 only use a single initial for double sized runes
1d40d03 refactor
802cfb1 render commit graph
c96496c show author info in rebase commits
308a3b5 some more throttling stuff
2fc1498 some refactoring in anticipation of the graph feature
f704707 stream output from certain git commands in command log panel
927ee63 support aborting a merge or rebase with esc
37be9db support scrolling left and right
72bce20 support scrolling the list in the integrations app
c47c539 support user-configurable author colours

v0.31

04 Nov 21:05
Compare
Choose a tag to compare

LAZYGIT NOW SHOWS A COMMIT GRAPH!

No idea why that took so long but there you go. Some new changes:

  1. the git graph now appears when you maximise the commits panel with the + key.
  2. you can scroll horizontally with shift+H and shift+L, in case that graph gets a bit out of control
  3. you can show the whole commit graph (i.e. git log --all) via the git log menu with <c-l> in the commits panel. In that menu you can also hide/show the graph
  4. we now randomly assign colors to authors so you can easily see at a glance who authored which commits. These same colors are used in the commit graph as well
  5. you can set custom author colours in the config e.g.
gui:
  authorColors:
      'Jesse Duffield': '#fa8072' # it's not pink, it's a _faded salmon_ color

Admittedly the commits pane takes a while to load if you scroll past 300 commits so that will need to be fixed in an upcoming release.

If you have any concerns/suggestions about the changes in this release please raise an issue or start a discussion

Thanks to @Ryooooooga , @Liberatys , and @mjarkk for the help

v0.30.1

25 Oct 22:46
Compare
Choose a tag to compare

Changelog

d4ee26d fix commit message prefix thingo

v0.30

23 Oct 08:13
Compare
Choose a tag to compare

Changelog

Features:

  • many more places where suggestions are shown as you type in a prompt. For example, when:
    • searching for a file to check its history
    • checking out a branch
    • setting a remote branch to track
    • entering a custom command
  • added support for diff3 merge conflict style (thanks @Ryooooooga )
  • files in the working tree can now be filtered by staged/unstaged with (thanks @Liberatys )
  • gui language can now be set manually with gui.language config key (thanks @Dwarven )
  • cherry picked commit colour is now customisable (thanks @samburville )
  • you can now define multiple config files to merge into one another, allowing for light/dark theming without having to duplicate other configuration (thanks @mjarkk )
  • in the staging panel you can now copy the selected lines to the clipboard (thanks @Hrily )
  • jump-to-block keybindings (default 1-5) are now configurable (thanks @samburville )

Bug fixes:

  • fixed panic when resolving merge conflicts (thanks @Ryooooooga)
  • fixed issues opening files on windows (thanks @Ryooooooga)
  • fixed bug where deleting unmerged branches caused issues when not in english (thanks @Ryooooooga)
  • fixed crash when removing tracked files (thanks @Ryooooooga)
  • better support for different encoding schemes
  • patch files are now saved in temp directory to save space (thanks @Ryooooooga)
  • fixed various crashes caused by improper quotation in git commands (thanks @Ryooooooga)
  • fixed various issues with the commit message editor
  • fixed issue where the main panel scrolled back to the top whenever lazygit refreshed
  • fixed issue where pressing tab in a confirmation panel would spawn a random panel at the edge of the application
  • fixed issue where commits panel would be empty on older git versions (thanks @Ryooooooga)
  • As part of an initiative to let the git config drive of lazygit's behaviour, pull logic has been simplified so that now the git config's setting is honoured. Highly recommended: set pull.rebase = interactive and rebase.autoSquash = true so that you can see the commits yet to be rebased when midway through pulling. Note that this means the git.pull.mode lazygit config has been removed
  • --follow-tags has been removed from git push, so if you still want that you'll need to set it in your git config with pull.followTags = true

Other Changes:

  • file tree view is now shown by default. You can switch to flat view with the backtick key
  • if you hide the command log panel from within lazygit, it will stay hidden when you open lazygit again. This spares you from having to hide it manually in your lazygit config.
  • improved chinese translation (thanks @btwise and @black-desk )
  • updates to polish translation (thanks @HTD )
  • lots of new tests added for dealing with remotes (pushing, pulling, fetching, setting upstream, etc)
  • fixed some misspellings (thanks @codesoap )

v0.29

17 Aug 09:26
2eeff12
Compare
Choose a tag to compare

Credits

@Ryooooooga @black-desk @mrgarelli @boehs @FoamScience @mjarkk @danielebra @waffleboot @Krismix1 @jesseduffield

Changelog

107503c 🎨 alternative syntax
31bcd63 🎨 observe the error, if there is one
ae2496c 🎨 prefer the long switch over the short one for easier reading
b80fafe 🎨 properly ignore the result
7ae106d 🎨 run formatter
22a6771 🎨 run go fmt against the file directly ftw
2ac33bb 🎨 split out platform-dependent logging for compile-time selection
533817b πŸ› should be TailLogs
2b4048e πŸ› shouldn't hammer the file continually, have a nap instead
3dc3174 πŸ”₯ remove erroneous user_config fields
35f1ccd ♻️ temporarily bypass ignore whitespace for diff view instead of turning the toggle off completely
1304805 ✨ always show whitespace in diffs when entering line-by-line staging
a9f04d3 ✨ facilitate toggling whitespace in the diff view with a hotkey (c-w by default)
16dcc8f ✨ implement feedback when toggling whitespace
aa9ef12 ✨ make log-watching work on windows
53ea7df 🚚 move only the platform-specific part of log tailing into platform-specific files
92cc6e8 🚚 move whitespace toggle out of quitting.go
eb10ddf βœ… add a test around ignoring whitespace
3f96537 βœ… update test to pass in default ignore-whitespace flag (false)
e8e4fa5 Add color functions to templates funcMaps
0c2d90a Add comment
9daa47f Add docs for menuFromCommand prompts
3802b56 Add error message if target branch not found with prompt
d65c018 Add integration test
f1ced55 Add option to format filter matches to menuFromCommand prompts
d18c8c8 Add prompt type: menuFromCommand
01e4467 Add test cases for pull mode
148bf2c Add test for GenerateMenuCandidates from Custom Commands
755cc9f Add tests
4fca89b Allow hex theme colors
77e9ee6 Apply suggestions from @mjarkk for menyFromCommands
0a63f70 Apply suggestions from code review
f70435a Better format error catching in menuFromCommand prompts
9a087d0 Change the way file statuses are loaded
b92ff3e Consider first match only in menuFromCommand prompt
f2645da Extract git service URL formatting to a separate method
b28569a Fix a format issue
f96674b Fix error when filename contains ->
bccf203 Fix menu item color
a553f7f Fix staged renamed file with unstaged changes displays incorrectly in Files view #1408
d073932 Fix stash submodule #1436
63cb304 Fix translations, make formatter happy
0c3132c Fix typo in random tip
b4e6850 Fix wrong ff-only configuration
0e6598a Implement pull request options menu
ea136e4 Improve code quality
a8ec044 Make menuFromCommand format menu items and their description
0aad68a Merge branch 'btwise-master'
83834a2 Merge pull request #1373 from danielebra/master
b363b75 Merge pull request #1387 from mjarkk/parse-emoji-2
1573a44 Merge pull request #1389 from mjarkk/parse-emoji-update-docs
c005b0d Merge pull request #1390 from FoamScience/menu_from_cmd
eec20b8 Merge pull request #1392 from mjarkk/parcally-fix-1385
9b57b73 Merge pull request #1395 from mjarkk/allow-hex-theme-colors
f4874bb Merge pull request #1396 from mjarkk/fix-1385
04e474a Merge pull request #1401 from jesseduffield/switch-text-color-library
de5133f Merge pull request #1402 from jesseduffield/ci-build-less-binaries
3c78ba7 Merge pull request #1409 from jesseduffield/jesse-switch-text-color-library
5d1a963 Merge pull request #1416 from FoamScience/feature_menuOptions
fd8cb6e Merge pull request #1419 from mrgarelli/1418_bug_tests_ForceSetColorLevel
a3a14e9 Merge pull request #1423 from FoamScience/feature/colorsInMenuFromCommand
2eeff12 Merge pull request #1432 from black-desk/moved-submodule
a2ee521 Merge pull request #1433 from black-desk/fix-space-in-filename
6c415d1 Merge pull request #1434 from Ryooooooga/feature/fix-quote-in-filename
617e8a0 Merge pull request #1437 from Ryooooooga/feature/fix-submodule-update
c878f34 Merge pull request #1438 from Ryooooooga/feature/rename-files-with-modification
f8db359 Merge pull request #1440 from Ryooooooga/feature/quote-git-C-path
906ec30 Minor changes to menuFromCommand prompts
58ddbae Minor refactor
d7865b3 Read pull mode from git configuration
c57a007 Read pull mode from gitconfig lazily
edfb0a2 Refactor code around handleCustomCommandKeybinding
d5ec0fd Remove doubled string formatting in pull request URL generation
a2f7fcd Remove unused constant
46e500d Revert "Read pull mode from git configuration"
dcd3b7c Show only labels in menuFromCommand prompts
7588d52 ShowTotal flag
3db40a7 Sperate gh action build step
b5d8849 Support match colors in labelFormat entry in menuFromCommand prompts
7984808 Switch to github.com/gookit/color for terminal colors
40f10c3 Update config.md
b590397 Update docs
7d1b76a Update dutch.go
fb69bfd Update english.go
6e579dc Update localized Keybinding file
66d735a Update pkg/commands/files.go
1aa45b0 Update tests
0c13551 Use parent view for tab navigation
39c8577 Use static context
a13e919 add chinese for i18n
028cb2b add extra quoting for shell cmd string on linux
a3b820f add missing universal keybindings to doc
7b19c5a add parse github emoji to docs
e58376f add tests for TemplateFuncMapAddColors
0662733 add tests for color changes
f8f596d add tests for open file cmd on linux
bfc9881 added changes that should fail the ci on windows
3a0a9ec branches check for split parts length
d626bca color fixups
fc76b44 correctly show files with special chars in commit
3770090 fix checkout file command
488c43a fix crash when double quotes in filename #1433
d51b065 fix empty patch panel when spaces in filename
bb4fe26 fix moved submodule
b21ac99 fix submodule command escaping #1436
0740409 fix test
2b9df0e fix up cheatsheet
46c146a fixed test failing due to ForceSetColorLevel in pkg/gui/style/style_test.go
713fae3 format code
17770b9 go mod vendor
4969e9c gofmt
123d624 make import explicit
e798aa4 more color tests
0bc0e4a more efficient
b81bac3 more i18n
9fdf92b more refactoring
23285ea more resilient test
62393cf more treeish files
ce7cbe5 naming change
fc066d2 parse github emoji config option
550c0fd refactor
93bf691 refactoring
1183de1 revert changes from bfc9881
d1134da review fixes: PR URL refactoring, target branch selection prompt
117c0bd simplify code a bit
fb395bc support reverting merge commits
b7b3019 update cheatsheet
ec82f80 update keybindings

v0.28.2

05 Jun 04:21
Compare
Choose a tag to compare

Changelog

44f7fc6 Add global binding to open recent repos
472288c Add user config to change the sort order of tags
3258c24 Better english for Configuring File Editing.
05a23f0 Discard value after END marker
e7c657f Docs for EditCommand.
60468d2 Edit command as user OS config option
e478c25 Handle alternate merge conflict format; add tests
fd38ad8 More generic merge conflict detection
6ccf58c README: deprecate Ubuntu PPA
94b52af Remove config, make default sort order descending
bc044c6 Remove origin prefix when creating local branch based from origin
cb78cf7 Simplify sorting of git tags by using git's functions
f92fcfb cd: remove ppa job
f91adf0 fix lbl scrolling
d502c43 fix tests
0df02da minor changes
f71b23b more explicit
90983aa not importing regexp
6d91661 prevent closure issue
258eedb refactor

v0.28.1

20 Apr 11:13
Compare
Choose a tag to compare

Changelog

9190e9b Fix englishIntroPopupMessage typo in english.go