Releases: jesseduffield/lazygit
v0.39.3
What's Changed
Enhancements π₯
- Include more commit authors in author suggestions by @jesseduffield in #2807
- Use fuzzy search when filtering a view by @jesseduffield in #2808
- Better tag creation UX by @jesseduffield in #2809
- Better word wrap by @jesseduffield in #2812
Fixes π§
- Fix crash caused by simultaneous read/write of scanner buffer by @jesseduffield in #2813
Full Changelog: v0.39.2...v0.39.3
v0.39.2
This release fixes an issue on windows where the main view would stop rendering new content. This issue mostly affected users running git through a shim. Thanks to @AndrewSav for the investigation and fix #2806
v0.39.1
Full Changelog: v0.39.0...v0.39.1
What's Changed
There's lots of stuff in this release! Some favourites of mine include:
- Filter functionality for branches (and some other list views) activated by '/'
- Showing commit hashes against branches (opt-in with
gui.showBranchCommitHash: true
) - Various improvements to rebasing functionality
- Nerd font 3 support
As you can see @stefanhaller is behind many of the improvements in this release so kudos to you Stefan! And thanks to all the contributors who made this release possible.
In the next release we're adding worktree support. It's a big feature so we want to get it right! If you use worktrees as part of your daily flow please respond to the poll (and even test out the draft PR) in the Worktree UX discussion
Enhancements π₯
- Support filtering on some views with '/' by @jesseduffield in #2680
- Allow scrolling side views without changing selected item by @stefanhaller in #2608
- Speed up Lazygit on windows by @jesseduffield in #2661
- Show commit hashes against branches (opt-in) by @jesseduffield in #2274
- Add config for nerd fonts version by @stefanhaller in #2731
- Show rebase todo entry for conflicted commit by @stefanhaller in #2682
- Don't keep commits that become empty during a rebase by @stefanhaller in #2644
- Show menu instead of prompt when there are conflicts in a rebase or merge by @stefanhaller in #2694
- Make "merged" take precedence over "unpushed" by @stefanhaller in #2628
- Add config for main branches by @stefanhaller in #2619
- Visualize the "ignore whitespace" config by @stefanhaller in #2641
- Support dynamically generated suggestions in custom commands prompt by @jesseduffield in #2686
- Add suggestions presets to prompts in custom commands by @jesseduffield in #2685
- Allow checking for merge conflicts after running a custom command by @jesseduffield in #2773
- Use sentence case everywhere by @jesseduffield in #2672
- Our casing as all over the place so now we're using 'Sentence case' for everything.
- More compact and flexible date format by @jesseduffield in #2676
- Add nvim and kakoune editor presets by @screendriver in #2591
- Add helix editor preset by @dvic in #2668
- Fetch from all remotes by default by @stefanhaller in #2692
- Better prompt for discarding old file changes by @stefanhaller in #2707
- Use remote upstreams of main branches to determine merged status of commits by @stefanhaller in #2725
- Always show branch heads in diff pane by @stefanhaller in #2748
- Rely on .gitconfig for verbose commit messages by @scallaway in #2664
- Show all tags in commits panel by @stefanhaller in #2776
- Update gitlab merge request URL to match new routing by @mazharz in #2656
- Right-align key labels in menu by @jesseduffield in #2652
- Indicate reserved menu keybindings to reduce confusion by @jesseduffield in #2651
Fixes π§
- Fix to show commitPrefixes in commit message with a new blank commit by @longlhh90 in #2612
- Fix intermittent rebase continue prompt failure by @jesseduffield in #2629
- Fix bug where discarding merge conflict file failed by @jesseduffield in #2662
- Better default text colour on light theme terminals by @jesseduffield in #2696
- Fix rendering issues in commits view by @jesseduffield in #2700
- Fix interactive rebase with git 2.25.1 and earlier by @stefanhaller in #2747
- Fix crash when a background fetch prompts for credentials by @stefanhaller in #2789
- fix kakoune binary name by @enricozb in #2708
- Fix focus issue when opening recent-repos menu at launch by @jesseduffield in #2715
- Allow discarding changes only from local commits by @stefanhaller in #2712
- Honour configured comment char on interactive rebase by @gustavopcassol in #2639
- Fix the title and text of the Discard Changes prompt by @stefanhaller in #2706
- Fix broken
git init
prompt by @jesseduffield in #2771 - Fix potentially wrong help text in commit message panel by @stefanhaller in #2777
- Fix incorrect focus in accordion mode by @jesseduffield in #2792
- Fix crash on empty menu by @jesseduffield in #2799
- Only apply right-alignment on first column of keybindings menu by @jesseduffield in #2801
- Stop hiding underscores for VSCode by @jesseduffield in #2699
Maintenance βοΈ
- Run integration tests with all supported git versions by @stefanhaller in #2754
- Add ability to update yaml path while preserving comments by @jesseduffield in #2620
- Refactor for better encapsulation by @jesseduffield in #2519
- Add convenience builder for git commands by @jesseduffield in #2645
- Construct arg vector manually rather than parse string by @jesseduffield in #2655
- Allow global logging when developing by @jesseduffield in #2671
- remove
github.com/jesseduffield/yaml
package by @Ryooooooga in #2508 - Update seconds ago function and add tests by @jesseduffield in #2695
- Support matchers on integers in integration tests by @jesseduffield in #2704
- Improve yaml_utils by @stefanhaller in #2718
- Fix typo 'EnteRefName' by @letavocado in #2750
- Track busy/idle state for integration tests by @jesseduffield in #2765
- Add test for cmd obj cloning by @jesseduffield in #2780
- Update release notes config and add CI check by @jesseduffield in #2797
- Add release config for generating release notes by @jesseduffield in #2793
- Remove Uffizzi by @jesseduffield in #2690
- Bump golang.org/x/net from 0.0.0-20220722155237-a158d28d115b to 0.7.0 by @dependabot in #2490
Docs π
- Add package statuses to readme by @jesseduffield in #2717
I18n π
- Add Traditional Chinese support by @tzengyuxio in #2688
- Add russian translation by @letavocado in #2729
New Contributors
- @screendriver made their first contribution in #2591
- @longlhh90 made their first contribution in #2612
- @mazharz made their first contribution in #2656
- @dvic made their first contribution in #2668
- @dependabot made their first contribution in #2490
- @tzengyuxio made their first contribution in #2688
- @enricozb made their first contribution in #2708
- @letavocado made their first contribution in #2729
- @gustavopcassol made their first contribution in #2639
If you contributed to this release but don't see your name here, let me know!
Full Changelog: https://github.com/jesseduffield/lazygit/compare...
v0.38.2
What's Changed
- update open docs by @jesseduffield in #2588
- Only use --empty=keep option with git versions that support it by @stefanhaller in #2585
Full Changelog: v0.38.1...v0.38.2
v0.38.1
What's Changed
In v0.38.0 we displayed branch markers in the compact commits view, but this caused some confusion as it wasn't very clear what the markers represented. We're going to revisit the UX for this before considering re-introducing it. If you would like to re-enable the feature, set gui.experimentalShowBranchHeads
to true
in the lazygit config. As the name suggests, this is experimental and we may change this config in the future.
- #2582 Make branch head markers in compact view opt-in (@stefanhaller)
Full Changelog: v0.38.0...v0.38.1
v0.38.0
v0.38
Most recent patch: v0.38.2
We've got lots of goodies in this release. Some notable improvements are a revamped commit message panel (@seand52), much better interactive rebase behaviour (@stefanhaller), and much less error-prone custom patch behaviour (also @stefanhaller).
As you can see, @mark2185 and @Ryooooooga continue their reign as top contributors, but we are now also joined by @stefanhaller who is behind many of the big improvements in this release. I'd also like to give a special shoutout to @seand52 who's behind the revamped commit message panel. And thank you to all the other contributors who contributed towards this release: @AKARSHITJOSHI, @axieax, @AzraelSec, @humblepenguinn, @jbrains, @jenskutilek, @knutwalker, @pereBohigas, @scallaway, @shinhs0506, @ShrutiC-git, @TylerBarnes, and @yk-kd.
As always if you're interested in contributing to Lazygit, don't hesitate to pick an issue and have a Go (pardon the pun), and if you'd like to support me please consider donating.
On a more boring note intended for current/future contributors, we've now fully migrated to a new integration test pattern which makes it much easier to test your changes and prevent regressions. We've also got a huge refactor PR (#2519) that's about to go in right after this release goes out, so if you have a PR open that now has conflicts, reach out to me (@jesseduffield) and I can help resolve them.
Breaking changes
- 'x' no longer opens the menu, you'll need to use '?' or remap the keybinding. We did this so that we could use 'x' for destructive actions like nuking the working tree, as some people accidentally double-tapped 'D' and ... nuked their working tree)
- You can no longer use 'y' or 'n' to respond to a confirmation popup. Instead you'll need to use 'enter' or 'esc'. This is again just freeing up keybindings for more uses.
- We've changed how you configure your editor settings because it was a bit of a mess previously. See here for the new approach. You'll get deprecation warnings upon closing lazygit until adjusting your config, so that nobody gets mad when we remove support in a following release.
Features
- #2390 Revamp commit message panel (we now have a separate summary and description panel where 'enter' adds newlines in the description panel) (@seand52)
- #2421 Allow creating tags on branches with the 'T' keybinding (@Ryooooooga)
- #2453 Allow rebasing to first commit (@stefanhaller)
- #2476 Add icons for Kotlin files (@pereBohigas)
- #2433 Lazy-load commits when viewed within a branch (@Ryooooooga)
- #2370 Allow interactively rebasing onto a branch (@AzraelSec)
- #2344 Allow customising panel border styling with
gui.border
(single/double/rounded/hidden) (@yk-kd) - #2485 Allow rewording the HEAD commit while rebasing (@stefanhaller)
- #2552 Better support for stacked branches via the
rebase.updateRefs
git config (@stefanhaller) - #2496 Omit custom commands from history when they start with a space (@mark2185)
- #2558 Allow resetting author during rebase (@stefanhaller)
- #2523 Improve editor config (@stefanhaller)
- #2418 Allow copying remote branch name to clipboard (@mark2185)
Fixes/Minor Improvements
- #2471, #2507 Improve custom patch conflict handling (This is a big deal! Custom patches are much nicer to work with now) (@stefanhaller)
- #2452 Fix super-slow fetching/pulling (@mark2185)
- #2497 Set scrollbar to correct size when loading large diffs (@stefanhaller)
- #2514 Better escape code parsing (@Ryooooooga)
- #2547 More robust TODO rewriting (@stefanhaller)
- #2342 Better support for GIT_SEQUENCE_EDITOR (@knutwalker)
- #2412 Help menu can no longer be accessed from within the suggestions panel (@Ryooooooga)
- #2435 Fix return-alt1 keybinding (@Ryooooooga)
- #2429 Honour rebase.autoSquash git config (@stefanhaller)
- #2413 Whitespace can be ignored from more panels (@stefanhaller)
- #2551 When opening lazygit with an arg e.g.
lazygit log
, ensure panel is properly focused (@stefanhaller) - #2293 Discarding changes is less error prone (@mark2185)
- #2451 Allow beginning an 'edit' rebase from a merge commit (@stefanhaller)
- #2448 Colouring of commits in branch commits panel (aka sub-commits panel) now lines up with the regular commits panel (@stefanhaller)
- #2444 Next stageable line is now correctly selected after staging a range of lines (@stefanhaller)
- #2463 Better i18 support (@Ryooooooga)
- #2479 Better behaviour for the 'YOU ARE HERE' label when rebasing (@stefanhaller)
- #2483 Support hex value for 'gui.selectedLineBgColor' config key (@stefanhaller)
- #2486 Recognise when Lazygit is run from within WSL (@humblepenguinn)
- #2481 Fix accordion mode when building a custom patch (@stefanhaller)
- #2500 Fix issue where file named 'HEAD' caused issues (@Ryooooooga)
- #2501 Make arrow characters consistent (@jenskutilek)
- #2557 Added support for raising gitea PRs
- #2577 Editor preset added for Kakoune (@jbrains) (Be sure to check out @jbrains' blog)
- #2495 Remove alternative confirmation and return keymappings (@mark2185)
- #2377 Refresh staging panel after committing from staging panel (@shinhs0506)
- #2521 Fix reflog text colour being too dark (@jesseduffield)
- #2539 Better support for custom git URLs when creating pull requests (@axieax)
- #2544 Improved handling of renames in diffs (@scallaway)
- #2567 WSL support for copying to clipboard (@jesseduffield)
- #2555 Stop adding '--force-if-includes' to git push because sometimes people don't want it (@Ryooooooga)
- #2548 Allow pushing a tag with the same name a a branch (@AKARSHITJOSHI)
Maintenance:
- #2437, #2465, #2462, #2458, #2455, #2450, #2449, #2466, #2470, #2475, #2477, #2518 Migrate integration tests (@jesseduffield)
- #2432 removing dead code (@Ryooooooga)
- #2417 Disable ~/.gitconfig when running integration tests (@stefanhaller)
- #2447 Remove dead code (@stefanhaller)
- #2474 improve staging panel integration tests (@jesseduffield)
- #2478 Make integration test more robust (@stefanhaller)
- #2467 Remove erroneously added file (@jesseduffield)
- #2491 Improve documentation (@TylerBarnes)
- #2502 Update Ufizzi workflows (@ShrutiC-git)
- #2512 Appease golang-ci lint (@jesseduffield)
- #2513 Refactor patch handling (@jesseduffield)
- #2515 Fix deprecated rand.Seed (@stefanhaller)
- #2541 Make debugger config work when changing repos while debugging (@stefanhaller)
- #2545 Ensure test list is up to date in ...
v0.37.0
What's Changed
(Jesse: I need to go to sleep right now but I'll clean this changelog up when I get the chance!)
- (#2288) quote remoteName before compiling regex by @nils-a in #2290
- Resolve the prompt just before using it by @mark2185 in #2296
- [#2279] defaultFgColor entry in theme config by @arnaudperalta in #2284
- bump gocui by @Ryooooooga in #2276
- fix ignore file keybinding by @jesseduffield in #2303
- Commit in staged/unstaged menu by @arnaudperalta in #2298
- updated rebase confirmation message by @navazjm in #2315
- migrate branch reset integration test by @jesseduffield in #2320
- Add credential prompts for U2F-backed SSH keys by @bdach in #2239
- migrate more tests by @jesseduffield in #2323
- more integration test migrating by @jesseduffield in #2325
- Yet more test migrations by @jesseduffield in #2329
- fix diff scroll #2309 by @Ryooooooga in #2326
- more integration test refactoring by @jesseduffield in #2330
- more integration test refactoring by @jesseduffield in #2334
- rename from asserter to driver by @jesseduffield in #2335
- remove unused config by @Ryooooooga in #2331
- Add the return alternative key to return in the input box by @wakaka6 in #2311
- migrate some more tests by @jesseduffield in #2336
- Add easter egg by @jesseduffield in #2338
- add support for
git push --force-if-includes
by @Ryooooooga in #2333 - more integration test migrations by @jesseduffield in #2339
- support for older Git versions by @Ryooooooga in #2340
- Add option to allow --verbose commit in editor commits by @knutwalker in #2341
- fix goroutine leaks by @Ryooooooga in #2345
- docs(Config.md): add missing keybindings by @Ryooooooga in #2356
- change
git.commit.verbose
to accept "default" by @Ryooooooga in #2343 - feat: create environment for every PR using Uffizzi by @daramayis in #2262
- fix installation scripts for Ubuntu by @Ryooooooga in #2372
- fix
ReplacePlaceholderString
by @Ryooooooga in #2376 - remove unused texts by @Ryooooooga in #2388
- Add option to disable the "reword in editor" prompt by @stefanhaller in #2384
- allow to disable
git.log.order
by @Ryooooooga in #2401 - fix RefName of detached HEAD to works in Chinese by @Ryooooooga in #2398
- Ensure trailing LF when copying diff lines to clipboard by @stefanhaller in #2395
- Added copy to clipboard option to the patch options by @phanithinks in #2373
- Added new gui.screenMode key to config by @phanithinks in #2358
New Contributors
- @arnaudperalta made their first contribution in #2284
- @navazjm made their first contribution in #2315
- @bdach made their first contribution in #2239
- @wakaka6 made their first contribution in #2311
- @knutwalker made their first contribution in #2341
- @daramayis made their first contribution in #2262
- @stefanhaller made their first contribution in #2384
- @phanithinks made their first contribution in #2373
Full Changelog: v0.36.0...v0.37.0
v0.36.0
We've got a whole lot of stuff in this release: improvements to the editor, better custom commands support, snappier staging of files, a tonne of bug fixes, and lots more.
One particularly cool thing that we've added is Github codespaces support (in the repo, not within the Lazygit program itself), so if you've got your eye on an open issue and want to move things along, consider spinning up the lazygit codebase in a code_space_ and having a go at adding a feature / fixing a bug all from the comfort of your browser! See here for more info.
As you can see @Ryooooooga and @mark2185 continue to kick goals with a heap of features and bug fixes in this release, but we also have a whole host of new contributors too. If you want to get involved in contributing, you can peruse the issues board for issues with the good-first-issue label, or jump into the Fortress of Laziness, our new discord server
What's Changed
Features:
Editor stuff
- add support for excluding files by @gozes in #2016
- add support for emacs keybindings in editor by @Ryooooooga in #2183
- allow emacs character navigation in the commit editor (jump word left/right). by @LiamKearn in #2104
- navigate by word in the editor by @Ryooooooga in #2204
Custom commands stuff
- Add showOutput option to custom commands (fixes #1163) by @sportshead in #2059
- Improve custom commands interface by @Mihai22125 in #2109
- Allow
OSCommand.Quote
to be invoked within a custom command by @Ryooooooga in #2193 - add SelectedPath to the list of placeholder values by @mark2185 in #2070
Other stuff
- add stash option to include untracked files by @ajhynes7 in #1980
- add optimistic rendering for staging and unstaging files by @jesseduffield in #2072
- rename stash by @Ryooooooga in #2220
- Show active branch for recent repo by @mark2185 in #2005
- Support custom SSH usernames on BitBucket by @xxdavid in #2087
- Preserve trailing newline setting when adding to gitignore by @mark2185 in #2004
- Add
notARepository: quit
config option to exit Lazygit if run from outside a git repo by @Ryooooooga in #2098 - add stash icon by @Ryooooooga in #2219
- allow
null
in keybindings by @Ryooooooga in #2222
Bug fixes:
- Fix rewording a merge commit with editor by @mark2185 in #2065
- Improved mouse behaviour with international text @mark2185 in #2064
- No more 'unversioned' in the bottom right: add build info when building from source by @jesseduffield in #2076
- fix initial origin of commit message panel by @Ryooooooga in #2221
- fix issue caused by opening a menu over a prompt by @jesseduffield in #2079
- fix hidden suggestions by @jesseduffield in #2093
- Gracefully error on bare repositories by @nullishamy in #2067
- Fix open commit in browser for some Gitlab repos by @jtraub in #2132
- fix initial scroll position of edit box by @Ryooooooga in #2123
- fix initial origin of editor box by @Ryooooooga in #2146
- Validate --path argument when starting lazygit by @mark2185 in #2092
- Ignore stderr when loading git status by @Ryooooooga in #2081
- fix: read one line before resuming TUI to prevent unintentional operations by @kawaemon in #1636
- allow amending merge commits by @mark2185 in #2164
- various improvements to text rendering by @Ryooooooga in #2195
- fix glitchy render of stale data by @jesseduffield in #2196
- fix stash with empty message by @Ryooooooga in #2218
- fix could-not-access error by @jesseduffield in #2260
- use better colour defaults (note: theme.lightTheme is no longer a thing) by @jesseduffield in #2257
- Update go-git to handle negative refspecs by @lukaspiatkowski in #2232
- Fix/show loading state when bottomline disabled by @artvi in #2273
- fix ambiguous branch name by @Ryooooooga in #2224
Docs:
- docs(readme): Added lazygit install method on ubuntu #2125 by @yofreee in #2126
- fix: document link by @eetann in #2108
- fix typo in README.md by @luzpaz in #2086
- fix: how to change the config dir for MacOS by @0123takaokeita in #2169
Maintenance:
- Fix github linter errors by @mark2185 in #2069
- Add better support for OpensMenu option when creating a menu by @jesseduffield in #2071
- Update bug_report.md by @mark2185 in #2062
- refactor to use generics for file nodes by @jesseduffield in #2075
- handle nil properly with file nodes by @jesseduffield in #2077
- Refactor: one context per view by @jesseduffield in #2023
- refactor merge conflicts code by @jesseduffield in #2088
- allow rendering to main panels from anywhere by @jesseduffield in #2089
- Add new integration test pattern by @jesseduffield in #2094
- even better structure by @jesseduffield in #2113
- give menu formatting to ignore-or-exclude keybinding option by @mark2185 in #2110
- add more integration tests by @jesseduffield in #2114
- fail on vendor directory mismatch by @jesseduffield in #2116
- improve integration test portability by @Ryooooooga in #2124
- chore: remove duplicate word in comments by @Abirdcfly in #2143
- Migrate some more integration tests by @jesseduffield in #2137
- remove deprecated function calls by @xiaoliwang in #2167
- strip NUL bytes instead of replacing with space by @jesseduffield in #2197
- Replace regex for retrieving latest version by @TomBaxter in #2199
- use boxlayout from lazycore by @jesseduffield in #2210
- Use lazycore utils: Clamp and GetLazyRootDirectory by @gusandrioli in #2223
- add devcontainer folder by @jesseduffield in #2266
- disable underscores in vscode by @jesseduffield in #2269
- use tempdir in tests to prevent polluting worktree by @jesseduffield in #2271
- stop switching focus to commits view when resetting by @jesseduffield in #2272
- added gitVersion to version flag by @nitinmewar in #2265
- Merge loaders package into git_commands package by @sudoburt in #2261
New Contributors
- @sportshead made their first contribution in #2059
- @luzpaz made their first contribution in #2086
- @xxdavid made their first contribution in #2087
- @eetann made their first contribution in #2108
- @nullishamy made their first contribution in #2067
- @yofreee made their first contribution in #2126
- @jtraub made their first contribution in #2132
- @Abirdcfly made their first contribution in #2143
- @0123takaokeita made their first contribution in ht...
v0.35
Features
-
Nerd fonts now supported! (@Ryooooooga)
-
Scrollbars! (non-interactive but cool nonetheless)
-
Diff hunks can now be edited directly (via a subprocess) (@Ryooooooga)
-
You can open lazygit to the panel that you care about e.g. run
lazygit log
to open lazygit to the commits panel. (@HiromasaNojima) -
Most menus now have their own keybindings for each menu item, which should speed things up for power users.
-
You can now easily set/unset the upstream of a branch (@mark2185)
-
You can now select to stash exclusively unstaged/staged files (@mark2185)
-
Improved update flow (@moha-gh)
-
Fixed issue where we duplicated line breaks when parsing a commit message Don't duplicate line breaks when retrieving commit message (@moha-gh)
-
Some hard-to-reverse actions now have confirmation popups given it's easy to accidentally press the wrong key.
-
'Gone' branches are now marked as such
-
More commit attributes can be copied with the 'y' key (@mark2185)
-
Custom commit author colours can now be specified with regular names (e.g. 'red') instead of only hex codes. (@Ryooooooga)
-
Commit author can now be set to another author or reset to the current git user (thanks @JensPfeifle)
-
Auto-refresh of files can be disabled with the
git.autoRefresh
config option (@moha-gh) -
We now (again) honour push.default config value. In general we want to err on the side of having git commands do the same thing that would happen if you ran them directly from the terminal.
-
Files can now be opened from the merge conflicts panel (thanks @Ryooooooga)
-
You can now configure to always show the unstaged and staged changes panels, regardless of whether the selected file has both unstaged and staged changes. This can be done via
gui.splitDiff: 'always'
(@HiromasaNojima) -
Commit time format can now be customised via the
gui.timeFormat
config key (@Ryooooooga) -
We now record the current directory on switch instead of exit (@davdroman)
-
We now support Bitbucket server PRs (thanks @TheBlob42)
-
Bottom line (containing some keybindings help) can now be hidden via
gui.showBottomLine: false
in your config. -
You can now show the whole git graph in the commits panel by default via
git.log.showWholeGitGraph: true
-
Some UI tweaks.
Bug fixes
- Various fixes to bugs relating to double-width characters (@Ryooooooga)
- Typo fixes (@casswedson)
- LOTS of other bug fixes (thanks to the glorious @Ryooooooga and @mark2185)
Translation updates:
Chinese translated updated (@Crystal-RainSlide)
Japanese translation added (@Ryooooooga)
Korean translation added (@Shin-JaeHeon)
HUGE thankyou to all the contributors who've helped bring about this release. As you can see @mark2185 and @Ryooooooga are behind many of the the changes so a special thankyou to the both of you!
Maintenance stuff:
We've now on go1.18 meaning we can use generics. The lo package is our main generics helper package. I've also rolled my own, called 'generics', but I'll probably end up just committing to using lo only.
Integration tests in CI are now run in parallel, and windows builds are now properly cached, so CI runs much faster and you'll sooner know if you've broken a test.
Note from maintainer:
I'm working on some tricky features like the ability to filter the contents of a list panel, some of which I've recorded on youtube. As part of that work I've had to make a detour to do some yak shaving and refactoring (which is happening in #2023)
I've also made a video showing how to add a basic feature to Lazygit for aspiring contributors. If you would like to see similar videos/docs covering other topics to make life easier for new/existing contributors, lemme know!
At some point I want to take time off work to go full-time on Lazygit (e.g. for a few months). If you have any ideas how I could raise money to do that, let me know! And of course for all those currently sponsoring, thankyou so much, it's a big motivator for me finding the time to work on this project.
Some more rambling thoughts:
- The integration test suite has some good coverage but the mechanism behind it (recording a Lazygit session and having the test replay that session) is hard to maintain. I want to switch to having integration tests be built by calling a bunch of commands in sequence, similar to Cypress if anybody's used that.
- I was holding off this release for the sake of a better in-app release notes feature but that can wait for a future release.
v0.34
Features:
- You can now customise the colour of unstaged files via the
gui.theme.unstagedChangesColor
config key (thanks @snorrwe ) - Editing a file will now open your editor at the currently selected line for most major editors (thanks @mark2185 )
- Support for opening Azure DevOps repos (thanks @tiwood )
- You can now skip the confirmation prompt after running a subprocess with the
promptToReturnFromSubprocess
config key (thanks @rambhosale )
Bug Fixes:
- Fixed issue where mouse handling was not properly restored after leaving the application (thanks @tmatz )
- Fixed bug where files could not be edited at particular lines for certain editors (thanks @fsmiamoto )
Other:
- Some cleaning up of the docs (thanks @moha-gh )
- NL translation fixups (thanks @Alpakash )
- Fixed an issue with the cheatsheet generator that caused the user's own language to appear in each output translation file.
Note from maintainer:
- I'm going to merge in quite a large refactor PR to the master branch. The refactor is about 90% done but the 10% might take some time and it's tricky to have to re-implement all PRs from contributors to the new branch. At any rate this refactor should make the code easier to work with compared to the previous god struct (the Gui struct) that was being used for everything. The new structure no doubt will have its own flaws that I'll need to work through over time. I've been using the refactor PR myself for a while and haven't run into any bugs, and I've added some more integration tests to capture more of the expected behaviour. Don't hesitate to raise an issue for any bug you find.