github gitkraken/vscode-gitlens v19.7.0

42 minutes ago

Changed

  • Changes the icon for a pull request waiting in a merge queue to a pull request with a clock badge, so it reads as queued at a glance in the Commit Graph, views, hovers, autolinks, and Launchpad (#6126)
  • Improves editing of multi-line settings in the Settings editor — the AI custom instructions and the commit and stash tooltip formats now use a multi-line text box (#1586)
  • Adds high contrast light defaults for GitLens' theme colors — blame text, branch status decorations, pull request and issue icons, Commit Graph lanes and pale markers, and Launchpad's attention and mergeable indicators now stand out more clearly against white (#2119)
  • Removes an unused inline script from the Interactive Rebase Editor and Cloud Patch details webviews (#6201)
  • Hardens how commit messages and pull request and issue text are rendered in hovers, view tooltips, the Commit Graph and Inspect — links in that text can only open web or mail addresses, and only GitLens' own actions can run commands (#6200)
  • Changes Commit Graph shortcut overrides (gitlens.graph.shortcuts.overrides) to accept modifier and key names in any case, as VS Code keybindings do — Alt+KeyM, alt+arrowup and f3 now work; single characters still match exactly, so h and H stay distinct
  • Improves memory use and large-commit performance when reading commit history — GitLens retains less of Git's raw output, especially when a search keeps only a small share of the commits it reads, and commits with very large patches or file lists are parsed more efficiently (#5659)

Removed

  • Removes Claude Sonnet 4.5 from the Anthropic provider ahead of Anthropic's November 30, 2026 retirement — if a GitLens AI feature was set to use it, GitLens asks you to choose a replacement when you next run that feature's AI action (#6164)

Fixed

  • Fixes choosing an AI model for composing commits, reviewing changes, resolving conflicts, or as the default not being saved when it matched a model just chosen elsewhere — each choice is now saved independently (#6332)
  • Fixes the Create Cloud Patch button staying disabled after dismissing the account prompt or submitting without a title (#6242)
  • Fixes the confirmation toggle in Launchpad adding an invalid launchpad:command value to gitlens.gitCommands.skipConfirmations that made selecting a pull request do nothing — Launchpad, Start Work and Start PR Review no longer offer the toggle, Stash Apply and Stash Pop now honor their documented values, and the setting now accepts the add remote, rename stash and open worktree values (#5645)
  • Fixes the Commit Graph showing a blank view and editor with a Git version older than 2.17, which lacks worktree support (#4363)
  • Fixes the Show Commit Graph button in Source Control opening the parent repository's graph for a submodule or nested repository that GitLens hasn't detected yet (#4566)
  • Fixes the Commit Graph details panel continuing to show the previous repository's commit after switching repositories (#5362)
  • Fixes Commit Graph branch and tag pills expanding past the graph's right edge on hover when the Branches / Tags column is last — the expanded pill now grows leftward when that keeps it inside the graph (#2667)
  • Fixes Launchpad showing "needs reviewers" for GitHub pull requests on repositories that don't require a review (#5863)
  • Fixes the Commit Graph side bar's Pull Requests panel showing GitHub pull requests that are waiting on code owner or team reviews as needing reviewers or ready to merge (#6206)
  • Fixes hard-to-read branch and tag names in the Commit Graph with light themes — lane-colored names are darkened just enough to stay legible while keeping their lane's hue, and the current branch's pill and marker no longer put white text on a light green (#4548)
  • Fixes faint inline blame annotations in high contrast dark themes (#2058)
  • Fixes Commit Graph ref pills keeping highlights that no longer describe them (#5764)
    • Stops painting another branch or tag in the current branch's color when the current branch is hidden behind the +N badge
    • Clears a branch, tag, or worktree's find highlight as soon as the query no longer matches it, instead of when the finder closes
  • Fixes a remote URL with an @ in its path being recognized as a repository on a different host — e.g. https://example.com/x@github.com/owner/repo.git as GitHub's owner/repo (#6185)
  • Fixes the Commit Graph's branch details offering Create a Pull Request and Recompose Branch for a branch whose work already landed in its merge target (#6190)
  • Fixes the Commit Graph header hiding Publish Branch for a branch whose pull request merged into a branch other than its merge target, such as a stacked parent (#6191)
  • Fixes the Commit Graph header's Publish Branch going stale after the branch's merge target changes, and depending on whether Working Changes was selected (#6205)
    • Shows or hides Publish Branch as soon as Change Merge Target changes whether the branch's work landed, without reopening the Commit Graph
    • Hides Publish Branch for a branch that landed by squash or fast-forward merge whichever row is selected, not only while Working Changes is
    • Stops Publish Branch from briefly appearing when a fetch prunes the remote branch of a branch that already landed, or when Working Changes refreshes
  • Fixes the Commit Graph's Overview cards not showing that a branch landed, or offering its cleanup, until hovered — the current branch's card now offers Delete Branch (or Delete Worktree) in place of Publish, Push and Pull as soon as its work lands, and a branch's merged state on its card or hover updates when its merge target changes or it gets new commits
  • Fixes the Commit Graph's branch details, merge target popover and Working Changes disagreeing on whether cleaning up a landed branch deletes the branch or its worktree — each now names what the action actually deletes
  • Fixes the Commit Graph's branch details and Working Changes offering to delete a branch that has new commits since its pull request merged and its remote branch was deleted — they now lead with Publish N New Commits, and Create a Pull Request follows once published (#6205)
  • Fixes the merge target popover and the Commit Graph's branch details not saying when a branch's pull request merged into a branch other than its merge target (#6205)
  • Fixes deleting a branch that landed by squash, rebase or fast-forward merge giving no reason why it counts as merged — the delete confirmation, and git's not fully merged prompt, now say where its work landed, including when the branch's worktree is deleted from another window (#6205)
  • Fixes the merge target popover offering Rebase and Merge onto the branch's own upstream, which Pull handles, and its compact tooltip saying Merged for a branch that is only likely merged or merged locally (#6205)
  • Fixes the merge target status chip having no accessible name or role for screen readers (#6205)
  • Fixes the Commit Graph header, Overview cards and Working Changes offering Push and Force Push for a branch whose pull request is in the merge queue
  • Fixes the Commit Graph offering Force Push for a branch whose work already landed in its merge target, where all it could do is overwrite what the remote branch gained since
  • Fixes the Commit Graph's Working Changes and branch details briefly offering Publish, Delete Local Branch, Push or Create a Pull Request while still checking whether the branch landed
  • Fixes the Commit Graph's branch details, Overview cards and branch hovers suggesting Switch to Branch for a branch whose work already landed — its Overview card offers Delete Branch instead
  • Fixes the Inspect view not autolinking issues and pull requests in the first commit it shows, and changes to the gitlens.views.commitDetails.autolinks.enabled setting not applying to the commit already shown (#6204)
  • Fixes merge, cherry-pick, and revert conflicts — and Show conflicts in the Interactive Rebase Editor — opening a Commit Graph that can't show them when it isn't available for the account or repository; the conflict now opens in the Source Control view instead (#5675)
  • Fixes the Delay Loading File Details setting (gitlens.advanced.commits.delayLoadingFileDetails) not being editable from the Settings editor — it now shows a dropdown again (#5816)
  • Fixes errors in blame, views, and remote links when a custom remote's (gitlens.remotes) regex matches the full remote URL without capturing both the domain and the path — the entry is now skipped for that remote, and the Settings editor explains that full URL matches need two capture groups (#4852)
  • Fixes Compare Working Tree to Here doing nothing on a commit, stash, or tag in the Commit Graph — it only worked on branches (#5352)
  • Fixes the Commit Graph's Changes column opt-in prompt squashing its Show button and cutting off its Hide link when the rows area is short — the prompt now drops its explanation, then the Hide link, rather than clipping them (#5607)
  • Fixes the Commit Graph's hidden branches and tags menu running off the screen when many refs are hidden — the list now scrolls and Show All stays in reach (#2925)
  • Fixes the Commit Graph button missing from the Source Control view for GitHub repositories opened with Remote Repositories (#3144)
  • Fixes opening and copying remote links for repositories cloned through the SSH hosts for port 443 of Bitbucket (altssh.bitbucket.org), GitHub (ssh.github.com), and GitLab (altssh.gitlab.com) — Bitbucket and GitHub repositories weren't recognized at all, and GitLab links pointed at the SSH host (#6174)
  • Fixes links to a repository cloned through the SSH hosts for port 443 of Bitbucket (altssh.bitbucket.org), GitHub (ssh.github.com), and GitLab (altssh.gitlab.com) asking to add a new remote when opened in a clone of the same repository that uses the regular address (#6234)
  • Fixes a Commit Graph shortcut override (gitlens.graph.shortcuts.overrides) with a misspelled or unknown key name (e.g. alt+Bogus) silently replacing a working shortcut with one that can never fire — the override is now ignored and the default shortcut kept, as with an unknown modifier, and the reason is logged to the GitLens output channel (#5831)
  • Fixes File History and the Commit Graph erroring or skipping a commit whose message or author name contains an ASCII record (0x1E) or group (0x1D) separator character — also fixes tags and stashes with these characters in their messages, Line History treating a commit as changing nothing when its history read was cut short, and a commit's changed files going missing when its diff contains these characters (#5659)
  • Fixes Copy Remote File URL and Open File on Remote linking to a backwards line range (e.g. #L3-L2 instead of #L3) when the cursor is at the start of a line with nothing selected (#6186)
  • Fixes Copy Link to Code including an extra line when the selection ends at the start of a line (e.g. lines=2-5 instead of lines=2-4) (#6278)
  • Fixes Jira and Linear autolinks not picking up projects or teams added or removed on the tracker for as long as you keep viewing commits, and up to an hour after (#6183)
  • Fixes Commit Graph branch pills sometimes never getting their pull request badge or upstream status after the graph opens (#6281)
  • Fixes the Search Commits results location (gitlens.gitCommands.search.showResultsInSideBar) and GitKraken CLI Insiders (gitlens.gitkraken.cli.insiders.enabled) settings not being editable from the Settings editor — they now show dropdowns again (#6235)
  • Fixes GitLens briefly locking the Git index (index.lock) in the background when files are touched without changing, such as by a formatter, which could make your own git add or commit fail at the same moment (Git 2.46 or later)
  • Fixes file changes going undetected, leaving views, the Commit Graph and Inspect stale, for a repository or worktree inside a folder whose name ends in .git (such as worktrees kept inside a bare repository) or inside a node_modules folder
  • Fixes the Branches and Worktrees views showing a branch as still checked out in a worktree after that worktree switched branches outside of GitLens
  • Fixes commit lists, File History, contributors, and the Commit Graph sometimes showing cut-short results with nothing more to load after a Git read was cancelled partway through
  • Fixes Create Patch, Copy as Patch, cloud patches, stashing selected files, copying changes to a worktree, and AI commit messages and explanations getting wrong or empty changes when Git is configured with an external diff tool (diff.external), diff.noprefix or custom diff prefixes, diff.suppressBlankEmpty, or diff.submodule=log
  • Fixes commit details never loading, and commit lists stalling for minutes, for a commit that moves and edits thousands of files — GitLens now falls back to Git's default rename limit for that read
  • Fixes a page of commits coming back empty when one of its commits changes an unusually large number of files
  • Fixes Git commands on Windows not stopping when they time out or are cancelled, such as a fetch from a remote that never responds
  • Fixes unexpected credential prompts, and waits of up to a minute, when looking up a remote's default branch for a repository missing refs/remotes/<remote>/HEAD — the lookup no longer prompts, each network request times out after 10 seconds, and GitLens waits up to a minute after a failure before trying again
  • Fixes incorrect or missing file names in commit and stash file lists, diffs, blame, and File History, including names with quotes or tabs
  • Fixes a commit's pull request going missing from hovers, Inspect and other views after a single failed lookup — a server error, network failure, or rate limit was remembered as the commit having no pull request until reload; failed lookups are now retried with a back-off, and Open Pull Request on Remote reports a failed lookup instead of saying the commit has no pull request
    • Fixes GitHub pull requests not being found for a commit when the remote's owner is spelled in a different letter case than on GitHub
    • Fixes Bitbucket Cloud never showing its notice about the missing commit links app
    • Fixes a failed GitLab project lookup hiding that repository's merge requests, metadata, and issues

Don't miss a new vscode-gitlens release

NewReleases is sending notifications on new releases.