Releases: gitkraken/vscode-gitlens
Releases · gitkraken/vscode-gitlens
v17.2.0
Added
- Adds new AI commands (in preview) which can generate (and rebase) commits from working tree changes or from commits in an existing branch (#4301):
- Adds the Generate Commits with AI (Preview) command to the command palette, and to the context menu or working tree changes in views and the Commit Graph. This command stashes working tree changes, generates a set of commits from those changes, and commits them to the current branch.
- Adds the Rebase with AI (Preview) command to the command palette and AI Rebase Current Branch onto Commit (Preview) command to the context menu of commits in views and the Commit Graph. This command takes the commits on a branch, reorganizes them into a new set of AI-generated commits, creates a branch at the chosen commit and commits them to the new branch
- These commands also generate a document to explain each generated commit and its contents
- Adds messaging and confirmation on first-time use of the commands to explain how they work (#4367)
- Adds an Undo button to the success notification of the commands which attempts to revert the generated commits/branch (#4366)
- Adds contributors to File History view (#4356)
- Adds support for AI controls from the active organization's security settings on the current account (#4300)
- Adds o3 Pro model and latest Gemini 2.5 Pro preview support to GitLens AI features (#4388)
- Adds Anthropic Claude 4 Opus and Claude 4 Sonnet support to GitLens AI features
- Adds support for Mistral models to GitLens AI features
- Adds a loading message to several GitLens views when the content of the view is still loading
- Adds inline buttons to the stash and commit picker and ensures proper messaging when there are no stashes or commits available
- Adds the Open Worktree in New Window command to branch cards in Home view
Changed
- Automatically stashes (and pops) uncommitted changes on Pull (#4296)
- Improves the interaction experience with Home view (#4302):
- Combines the "Create Pull Request" and "Create with AI" buttons into a split button (#4330)
- On the Home view in the active branch card replaces repository with a breadcrumb that has both the repository and current branch, where the repository is collapsible and is hidden by default (#4332)
- Hides Walkthrough links and buttons in Cursor because they are not applicable (#3837)
- Changes Delete Branch commands to no longer use/open a terminal (#3528)
- Improves the appearance of view headings when collapsed into the grouped view (#4355)
- Uses virtual documents instead of untitled documents for summaries generated by GitLens AI commands, and adds a "regenerate" option to most summaries (#4326)
- Updates search results in some views to update dynamically with a count
- Improves the loading performance of the Worktrees view
- Remembers selected nodes in certain views when they lose and regain focus
- Automatically expands the remote in Remotes view when it is the only remote
Fixed
- Fixes some cases where "element with id is already registered" errors occur across several GitLens views (#3341, #3442, #3862)
- Fixes the Visual File History view from refreshing needlessly when the active editor changes between revisions (#4325)
- Fixes cancellation of prompts on certain AI commands causing an error notification (#4354)
- Fixes files missing in the Repositories view when the "Use compact file layout" option is disabled (#4307)
- Fixes "path is already registered" error after git pull (#922)
- Fixes GitLens file watchers causing high CPU usage in some cases (#4335)
- Fixes some cases where stashes and commits incorrectly appear on branches in the Repositories view (#4353)
v17.1.1
v17.1.0
Added
- Adds AI-powered "Explain" commands for work-in-progress (WIP) changes, commits, stashes, and branches
- Adds 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
- Adds Explain Branch Changes (Preview) and Explain Changes (Preview) actions to branches, commits and stashes in the other GitLens views
- Adds an ✨ Explain button to the editor and status bar blame hovers
- Adds an ✨ Explain button above the commit message in the Inspect view which replaces the Explain panel
- Adds Explain Branch Changes (Preview) and Explain Working Changes (Preview) (when applicable) actions to the
...
menu on the Home view - Adds Explain Branch Changes (Preview), Explain Commit Changes (Preview), Explain Stash Changes (Preview), and Explain Working Changes (Preview) actions to the Command Palette
- Adds updated AI provider and model support for GitLens' AI features
- Adds Ollama and OpenRouter support (#3311, #3906)
- Adds 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 (#4235)
- Adds support for Azure AI (OpenAI-compatible) models
- Adds support for custom OpenAI-compatible providers (#4263)
- Adds
gitlens.ai.enabled
setting to disable all AI-powered features - Adds a walkthrough for AI features
- Adds 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
- Adds 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
orShift
when clicking on the breadcrumbs to open the repository or folder in a new tab
- Hold
- Adds the configuration popover to customize the visualization, including the branch or all branches, timeframe, and how to slice the history
- Adds a scrubber bar to provide an almost time-lapse view for navigating through the changes introduced with each commit in history
- Adds Visualize Repo History and Visualize Branch History actions to the Home view
- Adds Show Visual History command to the Command Palette
- Visualize the history sliced by author (the default) or by branch (when applicable), providing different perspectives on contributions and development lines
- Adds the ability to change a branch's merge target in Home view. (#4224)
- Adds enhanced integration with Azure DevOps, Bitbucket, and Bitbucket Data Center to support associated accounts and pull requests on commits (#4192)
- Adds the ability to search for GitHub Enterprise and GitLab Self-Managed pull requests by URL in Launchpad
- Adds enhanced and improved accuracy and performance of the revision navigation (#4200)
- Adds support for navigating line ranges in addition to individual lines
- Adds "changes" statistics for stashes in the Commit Graph
- Adds Open File at Revision from Remote command to open the specific file revision from a remote file URL
- Adds
Copy SHA
action to editor hovers - Adds avatars to the hidden Branch / Tags popover in the Commit Graph
Changed
- Changes the display of autolinks in the Inspect and Commit Graph Inspect views (#4286).
- Replaces the autolinks panel with a new compact "footer" bar below the commit message
- Optimizes (rewrote) Git execution and parsing for significantly improved performance, especially with large repositories, and reliability
- Improves contributor fetching performance, especially for large repositories, and adds more advanced data for contributor statistics
- Improves performance of loading data for the Commit Graph
- Improves cancellation support in many Git operations for better responsiveness and system resource usage
- Adds
gitlens.advanced.commits.delayLoadingFileDetails
setting to delay loading full commit file details until required to improve performance even more for large repositories
- Improves Commit Graph rendering performance, re-rendering avoidance, and selection responsiveness
- Switches the Commit Graph webview to use Lit and upgraded to React 19 for the graph component
- Improves commit search performance and reliability, epecially when paging in new results
- Improves branch name autolink matching logic for better accuracy and fewer false positives (#3894)
- Improves commit search accuracy and performance both in the Search & Compare view and the Commit Graph
- Improves commit searches in the Search & Compare view to show only the matching files for file or change-based searches
- Improves commit searches in the Search & Compare view to show matching stashes
- Improves accuracy and performance of the File History and Line History views
- Improves performance of the Contributors view, especially with large repositories
- Adds a configurable
gitlens.views.contributors.maxWait
timeout setting for fetching contributors to avoid potentially long waits
- Adds a configurable
- Improves GitHub integration authentication check performance, when the authentication extension is disabled or unavailable (Cursor, Windsurf, etc) (#4065)
- Improves AI model adherence to provided custom instructions (#4267)
- Changes cherry-pick command no longer use/open a terminal (#3531)
- Improves date setting descriptions (#3953)
Fixed
- Fixes an error that can occur when retrieving the active repository, such as when the current file is not part of a repository.
- Fixes cache collision between issues and PRs in autolinks (#4193)
- Fixes incorrect PR Link Across Azure DevOps Projects (#4207)
- Fixes detail view incorrectly parses GitHub account in commit message (#3246)
- Fixes timed out waiting for authentication provider to register in GitLens after update to version 16.3 (#4065)
- Fixes cloud integration sessions not refreshing when they expire mid-session (#4240)
- Fixes "Delete Worktree" doing nothing when the default worktree is already open in another window (#4232)
- Fixes some cases in which Azure DevOps queries fail or return unexpected results (#4271)
- Fixes element with id is already registered for commit searches in the Search & Compare view
- Fixes hierarchical compaction in file trees (e.g., a parent folder disappearing if a subfolder with a similar name exists)
- Fixes cherry-pick commit ordering by falling back to author date if committer date matches
- Fixes issues when using older versions of Git (>= Git 2.7.2)
- Fixes cases where rename detection was not working properly
Removed
- Deprecates the
gk-target-base
Git configuration key
Engineering
v17.0.3
Changed
- Improves AI-related error messages (#4227)
- Shows the default worktree with a branch icon in the Home view
Fixed
- Fixes
undefined
sometimes showing for search results in the Search Commits command and Search & Compare view - Fixes missing account menu buttons for synchronizing account status and managing account
v17.0.2
v17.0.1
Added
- Adds new large prompt warning for GitLens' AI features (#4183)
- Adds a new
gitlens.ai.largePromptWarningThreshold
setting to specify the threshold (in tokens) for when to show a warning about the prompt being too large
- Adds a new
- Adds Generate Commit Message with GitLens and Stash All Changes... buttons to the Source Control toolbar by default — can be configured via the
gitlens.menus
setting
Fixed
v17.0.0
Added
- Adds support for GitKraken AI (Preview), powered by Google Gemini, included with all GitLens Pro subscriptions
- Adds expanded support for GitHub Copilot-provided AI models
- Adds an AI-powered "Create with AI" button to assist with creating pull requests for GitHub and GitLab
- Adds AI-powered changelog generation between two references (#4189)
- Adds a Generate Changelog (Preview)... command to the Command Palette
- Adds a Generate Changelog (Preview)... context menu item to branches and tags in the Commit Graph and in GitLens views
- Adds a Generate Changelog (Preview) context menu item to Behind/Ahead comparison results in Gitlens views
- Adds AI model status and model switcher to the Home view (#4064)
- Adds Anthropic Claude 3.7 Sonnet model for GitLens' AI features (#4101)
- Adds Google Gemini 2.5 Pro (Experimental) and Gemini 2.0 Flash-Lite model for GitLens' AI features (#4104)
- Adds new Bitbucket Cloud and Data Center integration (#3916)
- Adds support for multi-select in GitLens views, enabled by default
- Adds Cherry Pick Commits..., Copy Remote Commit URLs , and Open Commits on Remote actions to multi-selected commits in the Commit Graph and GitLens views
- Adds Add as Co-authors action to multi-selected contributors in GitLens views
- Adds Delete Branches..., Open Branches on Remote, Add to Favorites, and Remove from Favorites actions to multi-selected branches in GitLens views
- Adds Delete Tags... action to multi-selected tags in GitLens views
- Adds Drop Stashes... action to multi-selected stashes in GitLens views
- Adds Delete Worktrees... and Open Worktrees in New Window actions to multi-selected worktrees in GitLens views
- Adds ability to control how worktrees are displayed in the views
- Adds a
gitlens.views.worktrees.worktrees.viewAs
setting to specify whether to show worktrees by name, path, or relative path - Adds a
gitlens.views.worktrees.branches.layout
setting to specify whether to show branch worktrees as a list or tree, similar to branches
- Adds a
- Improves detection in the merge target hover on Home for other cases where a branch was merged and adds other actions for the branch and its merge target (#4124)
- Adds expanded support for creating pull requests to all supported providers (#4142)
- Adds a Merge Changes (Manually)... action to files in GitLens view to merge changes in those files into the working tree
- Adds an Open Changes with Common Base action to comparison results files
Changed
- Improves performance by avoiding eager loading of full commit details for inline blame (#4115)
- Improves performance by removing
--full-history
flag usage in git commands - Updates the Switch AI Model command and flow
- Renames the Switch AI Model command to Switch AI Provider/Model
- Allows the provider to be selected before displaying a list of models
- Adds inline actions to reset or configure a provider at the provider step
- Curated the list of AI models available for GitLens' AI features
- Improves behavior when opening multiple file changes simultaneously
- Improves accuracy of file lists and stats for uncommitted changes
- Changes AI features (stash description, changelog generation) to honor organization settings
Fixed
- Fixes Bitbucket Server remote - "scm/" path prefix not removed (regression) (#3218)
- Fixes large commit messages work poorly on Commit Graph (#4100)
- Fixes Show * View commands fail intermittently (#4127)
- Fixes Load more action not working on incoming changes in Commits/Repositories views (#4154)
- Fixes incorrect settings.json entry for Google Gemini 2.0 Flash Thinking causes linter warning (#4168)
- Fixes multiple autolinks in commit message are broken when enriched (#4069)
- Fixes
gitlens.hovers.autolinks.enhanced
setting is not respected (#4174) - Fixes sign out action on Account popover is actually sign in (#4182)
- Fixes Launchpad view causing an "add remote" prompt on load (#4039)
- Fixes Launchpad indicator not updating when an item is snoozed (#4103)
- Fixes autolinks sometimes not shown in the Inspect view when integrations were disconnected
- Fixes an issue with overlapping popover UI elements
v16.3.3
v16.3.2
Bumps to v16.3.2
v16.3.1
Fixed
- Fixes Generate Commit Message Error - Anthropic (#4071)
- Fixes Settings editor breaking when dragging it to a new tab group (#4061)
- Fixes regression where hovering over the Graph WIP row doesn't show up anymore (#4062)
- Fixes Inspect & Graph Details: autolinks rendering when enabled setting is false (#3841)
- Fixes comparison with Merge Target on Home fails to open a valid comparison (#4060)
- Fixes closing the walkthrough on Home from opening the walkthrough (#4050)
- Fixes horizontal scrollbar from showing up on the old Home view (#4051)
- Fixes a failure when copying changes to a worktree (#4049)