Skip to content

Releases: gitkraken/vscode-gitlens

v6.4.0

12 Dec 19:16
Compare
Choose a tag to compare

Added

  • Adds gitlens.keymap setting to specify the keymap to use for GitLens shortcut keys -- closes #104
    • standard - adds a standard set of shortcut keys
    • chorded - adds a chorded set of shortcut keys that all start with Ctrl+Alt+G (⌥⌘G on macOS)
    • none - no shortcut keys will be added
  • Adds progress indicator to the Show Stashed Changes command (gitlens.showQuickStashList)
  • Adds progress indicator to the Apply Stashed Changes command (gitlens.stashApply)

Changed

  • Overhauls the internal way GitLens deals with Uris and revisions should be far more robust and lead to many fewer edge-case issues
  • Aligns quick pick menu commands more with the GitLens view context menus

Fixed

  • Fixes #220 - Open Revision quick pick results in empty file
  • Fixes so, SO, many bugs through the refactor/overhaul of GitLens' Uri handling

v6.3.0

30 Nov 07:14
Compare
Choose a tag to compare

Added

  • Adds support for files with staged changes
    • Adds new entry in the History View of the GitLens view
    • Adds new entry in the Repository View of the GitLens view
    • Adds blame annotations, navigation & comparison commands, etc
  • Adds support for vscode's Git file revisions (e.g. Open File (HEAD)) and diffs (e.g. Open Changes)
    • Adds new entry in the History View of the GitLens view
    • Adds blame annotations, navigation & comparison commands, etc
  • Adds Git code lens to Git file revisions (GitLens or vscode's)

Fixed

  • Fixes 🤞 #202 - Staged change's vscode diff side-by-side view shows the wrong history
  • Fixes 🤞 #216 - PowerShell session not started if GitLen is enabled
  • Fixes #217 - empty editor has git lens in status bar with old information
  • Fixes #218 - Cannot read property 'replace' of undefined
  • Fixes issue with feedback when searching for commits without any matches
  • Fixes issue where quickpick progress indicators could get stuck

v6.2.0

27 Nov 07:24
Compare
Choose a tag to compare

Added

  • Adds theming support - vscode themes can now specify GitLens colors as well as directly by using workbench.colorCustomization)
    • Adds gitlens.gutterBackgroundColor themable color
    • Adds gitlens.gutterForegroundColor themable color
    • Adds gitlens.gutterUncommittedForegroundColor themable color
    • Adds gitlens.trailingLineBackgroundColor themable color
    • Adds gitlens.trailingLineForegroundColor themable color
    • Adds gitlens.lineHighlightBackgroundColor themable color
    • Adds gitlens.lineHighlightOverviewRulerColor themable color
  • Adds gitlens.advanced.messages setting to specify which messages should be suppressed

Changed

  • Renames gitlens.theme.annotations.file.gutter.separateLines setting to gitlens.annotations.file.gutter.separateLines
  • Changes from using globalState to use gitlens.advanced.messages setting for message suppression - provides more control and avoids strange intermittent with globalState
  • Changes gitlens.strings.codeLens.unsavedChanges.recentChangeAndAuthors setting default to Unsaved changes (cannot determine recent change or authors)
  • Changes gitlens.strings.codeLens.unsavedChanges.recentChangeOnly setting default to Unsaved changes (cannot determine recent change)
  • Changes gitlens.strings.codeLens.unsavedChanges.authorsOnly setting default to Unsaved changes (cannot determine authors)

Removed

  • Removes gitlens.theme.* settings - now using built-in theme support

Fixed

  • Fixes #211 - Unsaved code lens appears on untracked files
  • Fixes issue where Open * in Remote commands are sometimes missing

v6.1.2

21 Nov 06:21
Compare
Choose a tag to compare

Fixed

  • Fixes #207 - Applying and deleting stashes suddenly stopped working
  • Fixes #205 - Toggle Line Blame Annotations disappeared after last update
  • Fixes #203 - Open Changed Files is broken
  • Fixes #176 - Line annotations some times mess with white space

v6.1.1

17 Nov 08:19
Compare
Choose a tag to compare

Fixed

  • Fixes #201 - "Open in Remote" commands should check for branch upstream tracking
  • Fixes #200 - Submodule using terminal command, root directory is incorrect

v6.1.0

13 Nov 22:53
Compare
Choose a tag to compare

Added

  • Adds support for nested repositories and submodules -- closes #198
  • Adds gitlens.advanced.repositorySearchDepth setting to specify how many folders deep to search for repositories

Changed

  • Changes to use diff.guitool first if available, before falling back to diff.tool -- closes #195

Fixed

  • Fixes issue where failed git commands would get stuck in the pending queue causing future similar commands to also fail
  • Fixes issue where changes to git remotes would refresh the entire GitLens view

v6.0.0

09 Nov 04:49
Compare
Choose a tag to compare

Added

  • Adds multi-root workspace support -- Learn more
  • Adds new logo/icon
  • Adds indicator dots on the branch node(s) of the GitLens custom view which denote the following:
    • None - no upstream or up-to-date with the upstream
    • Green - ahead of the upstream
    • Red - behind the upstream
    • Yellow - both ahead of and behind the upstream
  • Adds progress indicator to the Search Commits command (gitlens.showCommitSearch)
  • Adds code search support to the Search Commits command (gitlens.showCommitSearch) -- closes #127
    • Use ~<regex> to search for commits with differences whose patch text contains added/removed lines that match <regex>
    • Use =<regex> to search for commits with differences that change the number of occurrences of the specified string (i.e. addition/deletion) in a file
  • Adds support to the Compare File with Branch... command (gitlens.diffWithBranch) work with renamed files -- closes #165
  • Adds Compare File with Branch... command (gitlens.diffWithBranch) to source control resource context menu
  • Adds Open Repository in Remote command (gitlens.openRepoInRemote) to repository node(s) of the GitLens custom view
  • Adds Enable Automatic Refresh command (gitlens.gitExplorer.setAutoRefreshToOn) to the GitLens custom view regardless of the current view
  • Adds Disable Automatic Refresh command (gitlens.gitExplorer.setAutoRefreshToOff) to the GitLens custom view regardless of the current view
  • Adds new Git terminal commands to the GitLens custom view - opens a GitLens terminal and sends the specified Git command to it
    • Adds Checkout Branch (via Terminal) command (gitlens.terminalCheckoutBranch) to branch node(s) of the GitLens custom view
    • Adds Create Branch (via Terminal)... command (gitlens.terminalCreateBranch) to branch node(s) of the GitLens custom view
    • Adds Delete Branch (via Terminal) command (gitlens.terminalDeleteBranch) to branch node(s) of the GitLens custom view
    • Adds Rebase Branch to Remote (via Terminal) command (gitlens.terminalRebaseBranchToRemote) to branch node(s) of the GitLens custom view
    • Adds Squash Branch into Commit (via Terminal) command (gitlens.terminalSquashBranchIntoCommit) to branch node(s) of the GitLens custom view
    • Adds Rebase Commit (via Terminal) command (gitlens.terminalRebaseCommit) to commit node(s) of the GitLens custom view
    • Adds Reset Commit (via Terminal) command (gitlens.terminalResetCommit) to commit node(s) of the GitLens custom view
    • Adds Remove Remote (via Terminal) command (gitlens.terminalRemoveRemote) to remote node(s) of the GitLens custom view
  • Adds ability to specify the url protocol used with user-defined remote services via gitlens.remotes setting -- thanks to PR #192 by Helmut Januschka (@hjanuschka)!

Changed

  • GitLens custom view will no longer show if there is no Git repository -- closes #159
  • Optimizes event handling, executing git commands, and general processing to improve performance and reduce any lag
  • Optimizes current line hover annotations to only be computed on hover (i.e. lazily evaluated) to reduce the compute required when changing lines
  • Protects credentials from possibly being affected by poor network conditions via Git Credential Manager (GCM) for Windows environment variables
  • Delays (slightly) the initial loading of the GitLens custom view to improve startup performance

Fixed

  • Fixes jumpy code lens when deleting characters from a line with a Git code lens
  • Fixes #178 - Slight but noticeable keyboard lag with Gitlens
  • Fixes #183 - Remote with same url should only show once
  • Fixes #185 - Wrong relative date shows on mouse hover
  • Fixes issue where using the Refresh command on a GitLens custom view node refreshed the whole view, rather than just the node
  • Fixes issue where certain commands fail when there is no current branch (rebase, detached HEAD, etc)

v5.7.1

20 Oct 02:57
Compare
Choose a tag to compare

Fixed

  • Fixes #174 - File Blame Annotations No Longer Working (and some other editor-based commands)

v5.7.0

19 Oct 19:52
Compare
Choose a tag to compare

Added

  • Adds Open All Changes (with difftool) command (gitlens.externalDiffAll) - opens all working changes with the configured git difftool -- closes #164
    • Also adds the command to the Source Control group context menu
  • Adds gitlens.gitExplorer.autoRefresh setting to specify whether or not to automatically refresh the GitLens custom view when the repository or the file system changes
  • Adds Enable Automatic Refresh command (gitlens.gitExplorer.setAutoRefreshToOn) to enable the automatic refresh of the GitLens custom view
  • Adds Disable Automatic Refresh command (gitlens.gitExplorer.setAutoRefreshToOff) to disable the automatic refresh of the GitLens custom view
  • Adds Show Files in Automatic View command (gitlens.gitExplorer.setFilesLayoutToAuto) to change to an automatic layout for the files in the GitLens custom view
  • Adds Show Files in List View command (gitlens.gitExplorer.setFilesLayoutToList) to change to a list layout for the files in the GitLens custom view
  • Adds Show Files in Tree View command (gitlens.gitExplorer.setFilesLayoutToTree) to change to a tree layout for the files in the GitLens custom view

Changed

  • Renames Directory Compare command (gitlens.diffDirectory) to Compare Directory with Branch...
  • Renames Directory Compare with Previous Commit in quick pick menus to Compare Directory with Previous Commit
  • Renames Directory Compare with Working Tree in quick pick menus to Compare Directory with Working Tree
  • Changes the marketplace keywords for better discoverability

Fixed

  • Fixes #163 - GitLens can cause git locking in the background
  • Fixes issues tracking the active editor in the History View of the GitLens custom view
  • Fixes issue where the GitLens custom view would refresh more than once when a file system change was detected
  • Fixes issue where opening commit search could be filled out with #00000000

v5.6.5

17 Oct 02:46
Compare
Choose a tag to compare

Removed

  • Removes gitlens.advanced.gitignore.enabled setting since it usage has been replaced by a tracked file cache

Fixed

  • Fixes issues with tracked files which are ignored via .gitignore not working properly