GitLens for VS Code V17.1

Released: May 15, 2025

GitLens for VS Code V17.1 での更新項目

機能

  • Added AI-powered "Explain" commands for work-in-progress (WIP) changes, commits, stashes, and branches.
    • Added 'Explain Branch Changes' (Preview), 'Explain Changes' (Preview), and 'Explain Working Changes' (Preview) actions to branches, commits and stashes, and WIP, respectively in the Commit Graph.
    • Added 'Explain Branch Changes' (Preview) and 'Explain Changes' (Preview) actions to branches, commits and stashes in the other GitLens views.
    • Added an Explain button to the editor and status bar blame hovers.
    • Added an Explain button above the commit message in the Inspect view which replaces the Explain panel.
    • Added 'Explain Branch Changes' (Preview) and 'Explain Working Changes' (Preview) (when applicable) actions to the ... menu on the Home view.
    • Added 'Explain Branch Changes' (Preview), 'Explain Commit Changes' (Preview), 'Explain Stash Changes' (Preview), and 'Explain Working Changes' (Preview) actions to the Command Palette.
  • Added updated AI provider and model support for GitLens' AI features.
    • Added Ollama and OpenRouter support.
    • Added Google Gemini 2.5 Flash (Preview) model, and OpenAI GPT-4.1, GPT-4.1 mini, GPT-4.1 nano, o4 mini, and o3 models.
    • Added support for Azure AI (OpenAI-compatible) models.
    • Added support for custom OpenAI-compatible providers.
    • Added gitlens.ai.enabled setting to disable all AI-powered features.
    • Added a walkthrough for AI features.
  • Added an all-new Visual History, a powerful evolution of the Visual File History, providing a dynamic and insightful visualization of your repository's history, offering flexibility to explore changes across files, folders, branches, and your entire project.
    • Visualize the history sliced by author (the default) or by branch (when applicable), providing different perspectives on contributions and development lines.
    • Slicing by author allows you to see the contributions of each author over time.
    • Slicing by branch allows you to see unmerged commits on parallel development lines - only available when viewing the history of all branches of a file or folder.
    • Use the zoom/pan functionality to focus on specific timeframes or areas of interest via mouse wheel or zoom buttons.
    • Added a breadcrumb navigation bar, with branch switcher and file/folder picker, allowing you to easily navigate the history of files, folders, branches, or the entire repository.
    • Hold Alt or Shift when clicking on the breadcrumbs to open the repository or folder in a new tab.
    • Added the configuration popover to customize the visualization, including the branch or all branches, timeframe, and how to slice the history.
    • Added a scrubber bar to provide an almost time-lapse view for navigating through the changes introduced with each commit in history.
    • Added 'Visualize Repo History' and 'Visualize Branch History' actions to the Home view.
    • Added 'Show Visual History' command to the Command Palette.
  • Added the ability to change a branch's merge target in Home view.
  • Added enhanced integration with Azure DevOps, Bitbucket, and Bitbucket Data Center to support associated accounts and pull requests on commits.
  • Added the ability to search for GitHub Enterprise and GitLab Self-Managed pull requests by URL in Launchpad.
  • Added enhanced and improved accuracy and performance of the revision navigation.
    • Added support for navigating line ranges in addition to individual lines.
  • Added "changes" statistics for stashes in the Commit Graph.
  • Added Open File at Revision from Remote command to open the specific file revision from a remote file URL.
  • Added Copy SHA action to editor hovers.
  • Added avatars to the hidden Branch / Tags popover in the Commit Graph.
  • Changed the display of autolinks in the Inspect and Commit Graph Inspect views.
    • Replaced the autolinks panel with a new compact "footer" bar below the commit message.
  • Optimized (rewrote) Git execution and parsing for significantly improved performance, especially with large repositories, and reliability.
    • Improved contributor fetching performance, especially for large repositories, and Added more advanced data for contributor statistics.
    • Improved performance of loading data for the Commit Graph.
    • Improved cancellation support in many Git operations for better responsiveness and system resource usage.
    • Added gitlens.advanced.commits.delayLoadingFileDetails setting to delay loading full commit file details until required to improve performance even more for large repositories.
  • Improved Commit Graph rendering performance, re-rendering avoidance, and selection responsiveness.
    • Switched the Commit Graph webview to use Lit and upgraded to React 19 for the graph component.
    • Improved commit search performance and reliability, especially when paging in new results.
  • Improved branch name autolink matching logic for better accuracy and fewer false positives.
  • Improved commit search accuracy and performance both in the Search & Compare view and the Commit Graph.
  • Improved commit searches in the Search & Compare view to show only the matching files for file or change-based searches.
  • Improved commit searches in the Search & Compare view to show matching stashes.
  • Improved accuracy and performance of the File History and Line History views.
  • Improved performance of the Contributors view, especially with large repositories.
    • Added a configurable gitlens.views.contributors.maxWait timeout setting for fetching contributors to avoid potentially long waits.
  • Improved GitHub integration authentication check performance, when the authentication extension is disabled or unavailable (Cursor, Windsurf, etc).
  • Improved AI model adherence to provided custom instructions.
  • Changed cherry-pick command to no longer use/open a terminal.
  • Improved date setting descriptions.
  • Deprecated the gk-target-base Git configuration key.
  • Bumped eslint-plugin-import-x to v4.10.5.

不具合の修正

  • Fixed an error that can occur when retrieving the active repository, such as when the current file is not part of a repository.
  • Fixed cache collision between issues and PRs in autolinks.
  • Fixed incorrect PR Link Across Azure DevOps Projects.
  • Fixed detail view incorrectly parses GitHub account in commit message.
  • Fixed timed out waiting for authentication provider to register in GitLens after update to version 16.3.
  • Fixed cloud integration sessions not refreshing when they expire mid-session.
  • Fixed "Delete Worktree" doing nothing when the default worktree is already open in another window.
  • Fixed some cases in which Azure DevOps queries fail or return unexpected results.
  • Fixed element with id is already registered for commit searches in the Search & Compare view.
  • Fixed hierarchical compaction in file trees (e.g., a parent folder disappearing if a subfolder with a similar name exists).
  • Fixed cherry-pick commit ordering by falling back to author date if committer date matches.
  • Fixed issues when using older versions of Git (>= Git 2.7.2).
  • Fixed cases where rename detection was not working properly.