Skip to content

Releases: gitkraken/vscode-gitlens

v11.3.0

05 Mar 06:50

Choose a tag to compare

Added

  • Adds new status indicators (decorations), on the right, and themeable colorizations to branches in the views
    • — indicates that the branch is the current branch
    • + green colorization — indicates that the branch has unpushed changes (ahead)
    • + red colorization — indicates that the branch has unpulled changes (behind)
    • ⮟⮝ + yellow colorization — indicates that the branch has diverged from its upstream; meaning it has both unpulled and unpushed changes
    • ⮙+ + green colorization — indicates that the branch hasn't yet been published to an upstream remote
  • Adds new status indicators (decorations), on the right, and themeable colorizations to files in the views
    • M — indicates that the file is/was modified
    • A + green colorization — indicates that the file is/was added
    • D + red colorization — indicates that the file is/was deleted
    • R + green colorization — indicates that the file is/was renamed
    • C + green colorization — indicates that the file is/was copied
    • I + grey colorization — indicates that the file is ignored
    • U + green colorization — indicates that the file is untracked
  • Adds a new built-in Create Pull Request flow that starts opening a pull request on github.com
  • Adds a new Open Blame Prior to Change command (gitlens.openBlamePriorToChange) to open the blame of prior revision of the selected line in the current file — closes #1014
  • Adds new Git code lens action options
    • Opens the commit on the remote service (when available) and Copies the remote commit url to the clipboard (when available)
    • Opens the file revision on the remote service (when available) and Copies the remote file revision url to the clipboard (when available)
    • Toggles the file heatmap
    • Toggles the file changes since before the commit
    • Toggles the file changes from the commit
  • Adds new status bar blame action options
    • Opens the commit on the remote service (when available) and Copies the remote commit url to the clipboard (when available) — closes #1378
    • Opens the file revision on the remote service (when available) and Copies the remote file revision url to the clipboard (when available)
    • Toggles the file heatmap
    • Toggles the file changes since before the commit
    • Toggles the file changes from the commit
  • Adds Publish Repository command (gitlens.publishRepository) to publish the repository to a remote provider
  • Adds supported remote types in README — thanks to PR #1371 by Vladislav Guleaev (@vguleaev)
  • Adds a new Reset Avatar Cache command (gitlens.resetAvatarCache) to clear the avatar cache

Changed

  • Changes the Blame Previous Revision command on the hover to Open Blame Prior to this Change
  • Changes the Blame Previous Revision command icon on the hover to the versions codicon

Fixed

  • Fixes 1372 - Unexpected repository detection on editor startup after recent updates
  • Fixes 1394 - Repository view settings appear disabled
  • Fixes 1391 - Branch names are not properly escaped in git commands
  • Fixes 1336 - Need to allow GitLens to connect to GitHub in every Codespace (requires VS Code v1.54-insiders or later)
  • Fixes 1363 - Error 'Unable to open compare', when git setting log.showsignature is active
  • Fixes 1368 - Suppress message "GitLens was unable to find Git"
  • Fixes an issue where the rebase status in the views could get "stuck" after a rebase completed
  • Fixes typo in README — thanks to PR #1374 by David Rees (@studgeek)

v11.2.1

03 Feb 01:23

Choose a tag to compare

Changed

  • Changes to additionally show merged pull requests at the root of the Commits and Repositories views

Fixed

  • Fixes #1361 - Interactive rebase editor fails when opened in a VS Code window that doesn't have the repository opened
  • Fixes #1357 - Branch sorting may be reversed — thanks to PR #1358 by sueka (@sueka)

v11.2.0

02 Feb 07:45

Choose a tag to compare

Added

  • Adds rebase and/or merge status when applicable to the Commits and Repositories views
    • Merging into <branch> or Resolve conflicts before merging into <branch> — lists any conflicted files. Conflicted files show comparisons with the common base of the current and incoming changes to aid in resolving the conflict by making it easier to see where changes originated
      Merging
    • Rebasing <branch> or Resolve conflicts to continue rebasing <branch> — shows the number of rebase steps left, the commit the rebase is paused at, and lists any conflicted files. Conflicted files show comparisons with the common base of the current and incoming changes to aid in resolving the conflict by making it easier to see where changes originated
      Rebasing
  • Adds rebase and/or merge conflict status when applicable to the File History and Line History views
    • Merge Changes — show comparisons with the common base of the current and incoming changes to aid in resolving the conflict by making it easier to see where changes originated
      Merge Conflicts
  • Adds status indicator colors to pull request icons in GitLens views
  • Adds a new Quick Open File History command to all places where Open File History already exists — closes #1156
  • Adds the Add Remote command to the branch status in the Branches, Commits, and Repositories views when there are no Git remotes configured
  • Adds a new Browse Repository from Before Here (gitlens.browseRepoBeforeRevision) and Browse Repository from Before Here in New Window (gitlens.browseRepoBeforeRevisionInNewWindow) commands
  • Adds Repository from Before Here and Repository from Before Here in New Window to the Browse submenu of commits in the views
  • Adds a new Copy Current Branch Name (gitlens.copyCurrentBranch) command to copy the current branch name to the clipboard — closes #1306 — thanks to PR #1307 by Ken Hom (@kh0m)
  • Adds a Switch to Text button on the Interactive Rebase Editor to open the text rebase todo file — note that closing either document will start the rebase
  • Adds a notification which asks if you want to create a pull request after publishing a new branch
  • Adds CodeStream partnership
  • Adds a gitlens.views.branches.reveal setting to specify whether to reveal branches in the Branches view, otherwise they will be revealed in the Repositories view
  • Adds a gitlens.views.commits.reveal setting to specify whether to reveal commits in the Commits view, otherwise they will be revealed in the Repositories view
  • Adds a gitlens.views.remotes.reveal setting to specify whether to reveal remotes in the Remotes view, otherwise they will be revealed in the Repositories view
  • Adds a gitlens.views.stashes.reveal setting to specify whether to reveal stashes in the Stashes view, otherwise they will be revealed in the Repositories view
  • Adds a gitlens.views.tags.reveal setting to specify whether to reveal tags in the Tags view, otherwise they will be revealed in the Repositories view
  • Adds a gitlens.advanced.abbreviateShaOnCopy setting to specify to whether to copy full or abbreviated commit SHAs to the clipboard. Abbreviates to the length of gitlens.advanced.abbreviatedShaLength — closes #1062 — thanks to PR #1316 by Brendon Smith (@br3ndonland)
  • Adds a gitlens.advanced.externalDiffTool setting to specify an optional external diff tool to use when comparing files. Must be a configured Git difftool.
  • Adds a gitlens.advanced.externalDirectoryDiffTool setting to specify an optional external diff tool to use when comparing directories. Must be a configured Git difftool.
  • Adds a new regex option to gitlens.remotes to better support custom remote matching — closes #1196

Changed

  • Changes gitlens.statusBar.reduceFlicker to be on by default and improves it's display — closes #1353
  • Changes the Interactive Rebase Editor to abort the rebase if you just close it without choosing an action
  • Changes Push to Commit... on the HEAD commit to be Push instead as there is no need for a commit specific push in that case
  • Renames Browse from Here command to Browse Repository from Here in the command palette and quick pick menus
  • Renames Browse from Here in New Window command to Browse Repository from Here in New Window in the command palette and quick pick menus
  • Renames Browse from Here to Repository from Here on the Browse submenu of commits in the views
  • Renames Browse from Here in New Window to Repository from Here in New Window on the Browse submenu of commits in the views

Fixed

  • Fixes #1267 - File history fails on Git for Windows 2.27 ("There are no editors open that can provide file history information.")
  • Fixes #1006 - "GitLens: Open File on Remote" opens wrong Bitbucket URL
  • Fixes #901 - Bitbucket Server fails when url = https://DOMAIN/stash/scm/PROJECT/REPO.git
  • Fixes #1354 - Stuck after merge a branch with a single quote in the name
  • Fixes #863 - Pulling all repositories doesn't work unless built-in Git knows about the repo (requires VS Code v1.53 or later)
  • Fixes #1332 - Stashes created with command line don't show up in the "Stashes" section
  • Fixes #1045 - View File History not working - absolute path used — thanks to PR #1334 by egfx-notifications (@egfx-notifications)
  • Fixes #1323 - Interactive rebase hangs
  • Fixes #1183 - stash all changes has no effect when the number of files is large
  • Fixes #1308 - Escape quotes for PRs titles
  • Fixes #1309 - "Fetch" not working on remote branches
  • Fixes an issue where many views wouldn't refresh properly when going from no items to some items
  • Fixes an issue where Publish Branch was incorrectly showing up on remote branches
  • Fixes an issue where the Open Directory Compare * commands failed to work
  • Fixes an issue where pinning a file/line to the File History view or Line History view would get lost if the view was collapsed and expanded

Removed

  • Removes the gitlens.repositories.enabled setting, since the view is toggleable as any other view now
  • Removes the gitlens.lineHistory.enabled setting, since the view is toggleable as any other view now
  • Removes the Hide Repositories view command, since the view is toggleable as any other view now
  • Removes the Hide Line History view command, since the view is toggleable as any other view now

v11.1.3

05 Jan 06:31

Choose a tag to compare

Fixed

  • Fixes #1303 - Open on Remote is creating invalid URLs for Azure Devops — thanks to PR #1304 by Travis Collins (@TravisTX)

v11.1.2

03 Jan 08:00

Choose a tag to compare

Changes

  • Improves the performance of the Stashes and Contributors views

Fixed

  • Fixes #1302 - Welcome screen on every editor window is very tedious
  • Fixes #1285 - Uncommitted staged changes after pull
  • Fixes #1294 - Error when open commits list
  • Fixes the outdated documentation url on the Connect Remote Provider quick pick menu — thanks to PR #1300 by Ahmadou Waly NDIAYE (@sir-kain)

v11.1.0

24 Dec 05:35

Choose a tag to compare

Added

  • Refines the Repositories view to better align its features with all the new views
    • Adds menu toggles and the settings below to allow for far greater customization of the sections in the Repositories view
    • Adds a gitlens.views.repositories.branches.showBranchComparison setting to specify whether to show a comparison of the branch with a user-selected reference (branch, tag. etc) under under each branch in the Repositories view
    • Adds a gitlens.views.repositories.showBranches setting to specify whether to show the branches for each repository
    • Adds a gitlens.views.repositories.showCommits setting to specify whether to show the commits on the current branch for each repository
    • Adds a gitlens.views.repositories.showContributors setting to specify whether to show the contributors for each repository
    • Adds a gitlens.views.repositories.showIncomingActivity setting to specify whether to show the experimental incoming activity for each repository
    • Adds a gitlens.views.repositories.showRemotes setting to specify whether to show the remotes for each repository
    • Adds a gitlens.views.repositories.showStashes setting to specify whether to show the stashes for each repository
    • Adds a gitlens.views.repositories.showTags setting to specify whether to show the tags for each repository
    • Adds a gitlens.views.repositories.showUpstreamStatus setting to specify whether to show the upstream status of the current branch for each repository
    • Adds all of the settings above to the Repositories view section in the GitLens Interactive Settings
  • Adds better visibility to the, hidden by default, Repositories and Line History views
    • Adds a Repositories view toggle command to the Commits view's context menu
    • Adds a Line History view toggle command to the File History view's context menu
    • Re-adds the Line History view settings to the GitLens Interactive Settings
  • Adds usage-based sorting (on by default) to the Git Command Palette
    • Adds a gitlens.gitCommands.sortBy setting to specify how Git commands are sorted in the Git Command Palette
  • Adds ability to show gutter heatmap in the gutter and/or on the scroll bar — closes #297
    • Adds a gitlens.heatmap.locations setting to specify where the indicators of the gutter heatmap annotations will be shown
  • Adds a gitlens.fileAnnotations.command setting to specify whether the file annotations button in the editor title shows a menu or immediately toggles the specified file annotations — closes #1165 thanks to PR #1171 by Raaj Patil (@arrpee)
    • Adds this new option to the Menus & Toolbars section of the GitLens Interactive Settings
  • Adds an Open File on Remote From... command (gitlens.openFileOnRemoteFrom) to open a file or revision on a specific branch or tag on the remote provider — closes #1071
  • Adds a Copy Remote File Url From... command (gitlens.copyRemoteFileUrlFrom) to copy the url of a file or revision on a specific branch or tag the remote provider — closes #1071
  • Adds a Commit submenu to files in the File History and Line History views — closes #1044
  • Adds a Push to Commit... command to unpublished commits in the Commits, Branches, and Repositories views, and to to unpublished files in the File History and Line History views
  • Adds a welcome, i.e. richer empty state, to the Search & Compare view
  • Adds dynamic updating of the last fetched date/time in the Commits and Repositories views
  • Adds a Connect to Remote command (gitlens.connectRemoteProvider) to connect to a supported remote service to enable a rich integration
  • Adds a Disconnect from Remote command (gitlens.disconnectRemoteProvider) to disconnect from a connected remote service
  • Adds a gitlens.integrations.enabled setting to specify whether to enable rich integrations with any supported remote services — see #1208
  • Adds a gitlens.terminalLinks.enabled setting to specify whether to enable terminal links — autolinks in the integrated terminal to quickly jump to more details for commits, branches, tags, and more — closes #1284
  • Adds a gitlens.defaultTimeFormat setting to specify how times will be formatted by default
  • Adds a gitlens.showWelcomeOnInstall setting to specify whether to show the Welcome (Quick Setup) experience on first install — closes #1049 thanks to PR #1258 by Rickard (@rickardp)
  • Adds a ⭐ star as a favorite indicator on branches in the quick pick menus
  • Adds ability to toggle the Toggle Compare with: Working Tree / Branch command before a comparision is chosen
  • Adds extensibility APIs
    • Adds an action runner extensibility point to provide a runner (handler) for the new createPullRequest and openPullRequest actions — see gitlens.d.ts for API definitions
    • Preview APIs are only available in the Insiders edition

Changed

  • Changes the Incoming Activity section of the Repositories view to be hidden by default, as it is still experimental
  • Changes the options on the Git Command Palette's revert command to now be Revert (--no-edit) and Revert & Edit (--edit) — closes #1269
  • Changes the thickness (boldness) of a handful of icons to better match VS Code codicons

Fixed

  • Fixes #1016 - "Last fetched" message is also updated when fetch failed
  • Fixes #1218 - Opening Ahead/Behind files isn't showing the desire diff (e.g. diff with the merge base)
  • Fixes #1255 - Repository folders are missing repository actions (e.g. favorites, close repo, etc)
  • Fixes #1246 - Gutter Blame avatar does not use Gravatar fallback style
  • Fixes #1208 - Connect to Github notification is noisy
  • Fixes #526 - FAILED in gitlens.outputLevel=verbose; likely due to regex not in quotes
  • Fixes #1222 - GitLens: Open Associated Pull Request doesn't work
  • Fixes #1223 - commit pane, ${tips} does not show tags
  • Fixes #1225 - Changes hover is wrong if the original/new line number doesn't match
  • Fixes #1045 - View File History not working - absolute path used — thanks to PR #1209 by Mike Surcouf (@mikes-gh)
  • Fixes #1087 - Error retrieving line history from UNC path — thanks to PR #1209 by Mike Surcouf (@mikes-gh)
  • Fixes #1176 - Can't selectively apply stash
  • Fixes #1212 - Stashes list doesn't refresh on deletion
  • Fixes #1191 - "Gitlens › Views › Repositories: Auto Refresh" not working
  • Fixes #1202 - "Copy Remote File Url" url-encodes the URL
  • Fixes an issue where Gutter * file annotations wouldn't dynamically update when changing certain default configuration settings
  • Fixes an issue where git shortlog could hang (when there is no HEAD)
  • Fixes an issue where GitLens: Show Repositories View command wouldn't work unless the view was enabled first
  • Fixes an issue where GitLens: Show Line History View command wasn't showing up unless the view was enabled first
  • Fixes an issue where trying to force push the current branch would fail
  • Fixes an issue where Push to Commit... would incorrectly show a repository picker
  • Fixes an issue where the Add Remote command wasn't working
  • Fixes an issue where the gitlens.sortBranchesBy and gitlens.sortTagsBy settings where not honored in many quick pick menus
  • Fixes an issue where the Toggle Compare with: Working Tree / Branch command was showing incorrectly on the branch comparisons

v11.0.6

28 Nov 07:32

Choose a tag to compare

Changed

  • Changes the Where did my views go? view to show on this next upgrade, since somehow (still not sure how) it was never shown to many (most?) users
  • Changes GitHub connection rejection to be per-workspace (rather than global)

Fixed

  • Fixes #1205 - Setting heatmap's coldColor and hotColor breaks file blame & related functionality
  • Fixes invalid branch status showing up for remote branches

v11.0.5

23 Nov 17:18

Choose a tag to compare

Fixed

  • Fixes #1204 - Compare file changes: "new" and "old" sides of the compare are backwards

v11.0.4

23 Nov 05:01

Choose a tag to compare

Fixed

  • Fixes #1161 - Compare file differences between branches
  • Fixes #1157 - GitLens report X files changed when comparing working tree with a branch having identical files

v11.0.3

22 Nov 21:38

Choose a tag to compare

Fixed

  • Fixes #1163 - Use Interactive Rebase Editor when run from GitLens command (regardless of Git config)
  • Fixes #1197 - Can't squash commit in interactive rebase editor
  • Fixes the gitlens.codeLens.scopes setting json schema