github gitkraken/vscode-gitlens v17.12.0

9 hours ago

Added

  • Adds the ability to register the GitKraken MCP server with additional agents detected on your machine (e.g. Claude Desktop, Codex, Gemini CLI) — available after MCP installation or via the "Connect More Agents" action in the Home view, Welcome page (#5096)
  • Adds an expandable sidebar to the Commit Graph — provides quick access to branches, remotes, stashes, tags, and worktrees with list and tree layouts, real-time status indicators, context menus, and inline actions (#5129)
  • Adds a conflict files panel to the Interactive Rebase editor — shows conflicting files with per-file conflict counts, conflict status indicators, and actions to view current or incoming changes (#5040)
  • Adds branch activity dates to the Home view recents — sorts by most recent activity and displays the most relevant activity label (#5034)
  • Adds a gitlens.defaultCurrentUserNameStyle setting to control how the current user is displayed in blame annotations, hovers, and other UI elements — choose between "You", the user's name, or "<user-name> (you)" (#5088, #1230, #4136, #4745)
  • Adds markdown rendering to commit messages hovers and tooltips (#5097, #4228)
  • Adds file filtering to the Commit Details view (#5132)
  • Adds support for creating worktrees directly from commits in the sidebar and Commit Graph context menus (#5130)
  • Adds sort menus to the unified SCM grouped view for Branches, Tags, Remotes, Contributors, Repositories, and Worktrees (#5110)

Changed

  • Improves inline blame performance and editing experience — serves blame from an in-memory snapshot instead of spawning git processes on every save, with drift-based invalidation to prevent auto-save thrashing and accurate blame attribution in dirty documents (#5098)
  • Improves blame annotation responsiveness with progressive streaming — annotations now render incrementally as results arrive from Git, with viewport-aware updates and parallelized avatar loading (#5089)
  • Improves the Commit Graph search auto-complete experience (#4890)
  • Improves Commit Graph hover behavior to prevent flickering during row-to-row transitions and clipping issues (#5134)
  • Improves support for comparing merge conflicts with a working files picker and improved rename detection
  • Improves worktree icons on the Branches view to indicate it has working changes (#5072)
  • Improves error handling, logging and telemetry for CLI and MCP integration issues (#5057)
  • Improves non-UTF-8 encoding support in Git operations — ensures raw buffers are decoded correctly and forces UTF-8 output in blame commands for consistent parsing
  • Improves the revision file picker with resource URI-based file icons and fixes an issue where "back" navigation was incorrectly filtered during search
  • Improves merge base retrieval for paused cherry-pick and revert operations to provide better context during conflict resolution

Fixed

  • Fixes an issue where the sortBranchesBy and sortTagsBy settings were not honored by the Branches, Remotes, and Tags views — sort always used the default date:desc (#5109)
  • Fixes an issue where the File History view would show stale history after closing all editors instead of clearing (#4853) — thanks to PR #4854 by wolfsilver (@wolfsilver)
  • Fixes an issue where the terminal integration was not detected until relaunched (#4977)
  • Fixes an issue where VS Code would switch to the Source Control sidebar and reveal the GitLens view on every restart or project change (#5082)
  • Fixes the Worktrees view showing a misleading 'upgrade your Git' message when opening a virtual GitHub repository (#5056)
  • Fixes provider id mismatch for cloud-connected self-hosted integrations (#5031)
  • Fixes an issue where the Launchpad in the Home view, status bar indicator, MCP tools, and Start Review would fail to show any pull requests when one integration provider had an authentication failure — now shows partial results with a warning indicator (#5062, #4492)
  • Fixes an issue in the Home view where branches checked out in the default worktree showed "Switch to Branch..." instead of "Open Worktree" (#5105)
  • Fixes an issue where the Switch command failed to redirect to opening a worktree when the target branch was checked out in the default worktree
  • Fixes an issue where stray .git directories were created in sub-folders when opening a sub-folder of a repository (#5080)
  • Fixes an issue where an error toast appears when fetching organizations without an active session (#5104)
  • Fixes an issue where the Commit Graph header would fail to load in multi-repo workspaces (#5108)
  • Fixes an issue where worktrees could silently disappear from the Commits view, sidebar, and repository quick picks depending on repository discovery order (#5133)
  • Fixes an issue where cherry-pick would jump directly to confirmation without showing the expected steps (#5087)
  • Fixes an issue where duplicate commits could appear in the Interactive Rebase Editor due to stale document states
  • Fixes an issue where applying a patch could incorrectly show a "No valid patch" error
  • Fixes an issue where the MCP server and patch provider could create invalid files on Windows (#5113)
  • Fixes an issue where 100% CPU usage could occur after running Show File History (#5037)
  • Fixes an issue where the gitlens_commit_composer MCP tool would not return error text for non-git directories (#4971)
  • Fixes scrollbar styling in popover and autocomplete components

Removed

  • Removes the Open File action when diffing staged new files — VS Code introduced a duplicate action in 1.106.0 (#5081)

Don't miss a new vscode-gitlens release

NewReleases is sending notifications on new releases.