Skip to content

Releases: gitkraken/vscode-gitlens

v7.5.4

17 Jan 19:31
Compare
Choose a tag to compare

Fixed

  • Fixes #249 - Gitlens disappears from the status bar
  • Fixes issue where Gravatars in the gutter blame annotations weren't restored on tab switch
  • Fixes issue where the id (sha) was missing in the hover blame annotations for uncommitted changes

v7.5.3

15 Jan 19:13
Compare
Choose a tag to compare

Fixed

  • Fixes #245 - CodeLens disappears/and reappears when auto-saving

v7.5.2

15 Jan 15:49
Compare
Choose a tag to compare

Fixed

  • Fixes #242 - Broken "gitlens.blame.line.enabled" setting

v7.5.1

15 Jan 07:42
Compare
Choose a tag to compare

Added

  • Adds Gravatar support to gutter and hover blame annotations
  • Adds gitlens.annotations.file.gutter.gravatars setting to specify whether or not to show gravatar images in the gutter blame annotations
  • Adds support for providing blame annotations, code lens, etc on files with unsaved changes -- closes #112
  • Adds gitlens.defaultDateStyle setting to specify how dates will be displayed by default -- closes #89
  • Adds Compare with Working Tree command (gitlens.explorers.compareWithWorking) to branch, tag, and revision (commit) nodes in the GitLens view to compare the current selection with the current working tree in the GitLens Results view
  • Adds Compare Selected Ancestor with Working Tree command (gitlens.explorers.compareSelectedAncestorWithWorking) to branch nodes in the GitLens view once another branch within the same repository has been selected to compare the merge base of current and previously selected branches with the working tree in the GitLens Results view -- closes #240
  • Adds Merge Branch (via Terminal) command (gitlens.explorers.terminalMergeBranch) to branch nodes in the GitLens view
  • Adds Rebase (Interactive) Branch (via Terminal) command (gitlens.explorers.terminalRebaseBranch) to branch nodes in the GitLens view
  • Adds Cherry Pick Commit (via Terminal) command (gitlens.explorers.terminalRebaseBranch) to revision (commit) nodes in the GitLens & GitLens Results views
  • Adds Revert Commit (via Terminal) command (gitlens.explorers.terminalRevertCommit) to revision (commit) nodes in the GitLens & GitLens Results views
  • Adds Create Tag (via Terminal)... command (gitlens.explorers.terminalCreateTag) to branch and revision (commit) nodes in the GitLens & GitLens Results views
  • Adds Delete Tag (via Terminal) command (gitlens.explorers.terminalDeleteTag) to tag nodes in the GitLens view
  • Adds a helpful notification the first time the GitLens Results view is shown

Changed

  • Switches to the explorer view before showing the GitLens Results view
  • Renames Rebase Commit (via Terminal) command (gitlens.terminalRebaseCommit) to Rebase to Commit (via Terminal)
  • Renames Reset Commit (via Terminal) command (gitlens.terminalResetCommit) to Reset to Commit (via Terminal)
  • Renames Compare Line Revision with Working command (gitlens.diffLineWithWorking) to Compare Line Revision with Working File
  • Renames Open Changes with Working Tree command (gitlens.openChangesWithWorking) to Open Changes with Working File
  • Deprecates gitlens.gitExplorer.gravatarsDefault setting, replaced by gitlens.defaultGravatarsStyle
  • Deprecates gitlens.resultsExplorer.gravatarsDefault setting, replaced by gitlens.defaultGravatarsStyle

Fixed

  • Fixes issue where the GitLens Results view wouldn't properly update when replacing existing results
  • Fixes issue where showing commit search (file-based) results in the GitLens Results view wouldn't only show the matching files -- closes #197
  • Fixes #238 - Show merge commits in file history
  • Fixes issue where the Tags node of the GitLens view wasn't updated on changes
  • Fixes issue where changes to .gitignore weren't detected properly
  • Fixes #241 - Adds default setting for .jsonc files to match Git code lens of .json files
  • Fixes issue where blame annotations and commands were missing from vscode Git staged revision documents
  • Fixes issue where opening changes for renamed files in the GitLens and GitLens Results views wouldn't work properly
  • Fixes issue where file-specific menu commands show up on folders in the explorer

v7.2.0

02 Jan 02:32
Compare
Choose a tag to compare

Added

  • Adds on-demand heatmap annotations of the whole file -- closes #182
    • Displays a heatmap (age) indicator near the gutter, which provides an easy, at-a-glance way to tell the age of a line
      • Indicator ranges from bright yellow (newer) to dark brown (older)
  • Adds Toggle File Heatmap Annotations command (gitlens.toggleFileHeatmap) to toggle the heatmap annotations on and off
  • Adds semi-persistent results for commit operations, via the Show Commit Details command (gitlens.showQuickCommitDetails) in the GitLens Results view -- closes #237
  • Adds Show in Results option to the commit details quick pick menu to show the commit in the GitLens Results view
  • Adds Compare with Index (HEAD) command (gitlens.explorers.compareWithHead) to branch, remote branch, tag, and revision (commit) nodes in the GitLens view to compare the current selection with the current index (HEAD) in the GitLens Results view
  • Adds Compare with Remote command (gitlens.explorers.compareWithRemote) to branch nodes in the GitLens view to compare the current selection with its remote tracking branch in the GitLens Results view

Changed

  • Improves startup performance and reduces package size

Fixed

  • Fixes #239 - gitlens.advanced.quickPick.closeOnFocusOut setting should be reversed
  • Fixes #208 - Gitlens doesn't work over UNC

v7.1.0

22 Dec 08:30
Compare
Choose a tag to compare

Added

  • Adds Open Working File command (gitlens.openWorkingFile) - opens the working file for the active file revision -- closes #236
  • Adds Open Revision... command (gitlens.openFileRevision) - opens the selected revision for the active file
  • Adds tags to the Compare File with Branch... command (gitlens.diffWithBranch) -- closes #204
  • Adds tags to the Directory Compare Working Tree with... command (gitlens.diffDirectory) -- closes #204
  • Adds Show Branches and Tags to quick pick menu shown by the Compare File with Revision... command (gitlens.diffWithRevision) -- closes #204
  • Adds Show Branches and Tags to quick pick menu shown by the Open Revision... command (gitlens.openFileRevision) -- closes #204

Changed

  • Improves startup performance by ~65% (on my very fast PC) and reduces package size by over 75%
  • Renames Compare File with Branch... command (gitlens.diffWithBranch) to Compare File with Branch or Tag...

Fixed

  • Fixes issues with commit paging in certain quick pick menus
  • Fixes issues with certain quick pick menu progress indicators getting stuck in some cases
  • Fixes issues with menu choice placements on the editor title menu

v7.0.0

18 Dec 23:20
Compare
Choose a tag to compare

Added

  • Adds a new Active Repository node to the Repository View of the GitLens view -- closes #224

    • Automatically updates to track the repository of the active editor
    • Only visible if there is more than 1 repository within the workspace
  • Adds a new Tags node to the Repository View of the GitLens view -- closes #234

    • Provides a list of tags
    • Expand each tag to easily see its revision (commit) history
      • Expand each revision (commit) to quickly see the set of files changed, complete with status indicators for adds, changes, renames, and deletes
        • Provides a context menu on each revision (commit) with Open Commit in Remote, Open All Changes, Open All Changes with Working Tree, Open Files, Open Revisions, Copy Commit ID to Clipboard, Copy Commit Message to Clipboard, Show Commit Details, Compare with Selected, Select for Compare, Rebase Commit (via Terminal), Reset Commit (via Terminal), and Refresh commands
          • Provides a context menu on each changed file with Open Changes, Open Changes with Working Tree, Open File, Open Revision, Open File in Remote, Open Revision in Remote, Apply Changes, and Show Commit File Details commands
      • Provides a context menu on each tag with Compare with Selected, Select for Compare, Open Directory Compare with Working Tree, and Refresh commands
    • Provides a context menu with a Refresh command
  • Adds Gravatar support to the GitLens view

    • Adds gitlens.gitExplorer.gravatars setting to specify whether or not to show gravatar images instead of commit (or status) icons in the GitLens view
    • Adds gitlens.gitExplorer.gravatarsDefault setting to specify the style of the gravatar default (fallback) images in the GitLens view
      identicon - a geometric pattern
      mm - (mystery-man) a simple, cartoon-style silhouetted outline of a person (does not vary by email hash)
      monsterid - a monster with different colors, faces, etc
      retro - 8-bit arcade-style pixelated faces
      robohash - a robot with different colors, faces, etc
      wavatar - faces with differing features and backgrounds
    • Adds gitlens.resultsExplorer.gravatars setting to specify whether or not to show gravatar images instead of commit (or status) icons in the GitLens Results view
    • Adds gitlens.resultsExplorer.gravatarsDefault setting to specify the style of the gravatar default (fallback) images in the GitLens Results view
      identicon - a geometric pattern
      mm - (mystery-man) a simple, cartoon-style silhouetted outline of a person (does not vary by email hash)
      monsterid - a monster with different colors, faces, etc
      retro - 8-bit arcade-style pixelated faces
      robohash - a robot with different colors, faces, etc
      wavatar - faces with differing features and backgrounds
  • Adds Select for Compare command (gitlens.explorers.selectForCompare) to branch, remote branch, tag, and revision (commit) nodes in the GitLens view to mark the base reference of a comparision

  • Adds Compare with Selected command (gitlens.explorers.compareWithSelected) to branch, remote branch, tag, and revision (commit) nodes in the GitLens view once another reference within the same repository has been selected to compare the current selection with the previously selected reference in the GitLens Results view

  • Adds an all-new, on-demand GitLens Results view to the Explorer activity

    • Provides semi-persistent results for commit search operations, via Show Commit Search command (gitlens.showCommitSearch), and file history operations, via Show File History command (gitlens.showQuickFileHistory)

      • Expand each revision (commit) to quickly see the set of files changed, complete with status indicators for adds, changes, renames, and deletes
        • Provides a context menu on each revision (commit) with Open Commit in Remote, Open All Changes, Open All Changes with Working Tree, Open Files, Open Revisions, Copy Commit ID to Clipboard, Copy Commit Message to Clipboard, Show Commit Details, Compare with Selected, Select for Compare, Rebase Commit (via Terminal), Reset Commit (via Terminal), and Refresh commands
          • Provides a context menu on each changed file with Open Changes, Open Changes with Working Tree, Open File, Open Revision, Open File in Remote, Open Revision in Remote, Apply Changes, and Show Commit File Details commands
    • Provides semi-persistent results for revision comparison operations, via Select for Compare command (gitlens.explorers.selectForCompare) and Compare with Selected command (gitlens.explorers.compareWithSelected)

      • Commits node — provides a list of the commits between the compared revisions (branches or commits)
        • Expand each revision (commit) to quickly see the set of files changed, complete with status indicators for adds, changes, renames, and deletes
          • Provides a context menu on each revision (commit) with Open Commit in Remote, Open All Changes, Open All Changes with Working Tree, Open Files, Open Revisions, Copy Commit ID to Clipboard, Copy Commit Message to Clipboard, Show Commit Details, Compare with Selected, Select for Compare, Rebase Commit (via Terminal), Reset Commit (via Terminal), and Refresh commands
            • Provides a context menu on each changed file with Open Changes, Open Changes with Working Tree, Open File, Open Revision, Open File in Remote, Open Revision in Remote, Apply Changes, and Show Commit File Details commands
      • Changed Files node — provides a list of all the files changed between the compared revisions (branches or commits)
        • Expands to a file-based view of all changed files
          • Provides a context menu on each changed file with Open Changes, Open Changes with Working Tree, Open File, Open Revision, Open File in Remote, Open Revision in Remote, Apply Changes, and Show Commit File Details commands
      • Provides a context menu with Open Directory Compare and Refresh commands
    • Provides toolbar commands to Search Commits, Keep Results, Refresh, Show Files in Automatic View or Show Files in List View or Show Files in Tree View, and Close

  • Adds Apply Changes option to the commit/stash file quick pick menu -- closes #232

  • Adds Show All Commits option to the commit search quick pick menu to show all the results, if there are more than the threshold

  • Adds Show in Results option to the commit search quick pick menu to show the results in the GitLens Results view

  • Adds Show in Results option to the file history quick pick menu to show the history in the GitLens Results view

Changed

  • Improves startup performance a bit
  • Renames Compare Directory with Branch... command (gitlens.diffDirectory) to Directory Compare Working Tree with...
  • Renames Compare Directory with Previous Revision in quick pick menus to Open Directory Compare with Previous Revision
  • Renames Compare Directory with Working Tree in quick pick menus to Open Directory Compare with Working Tree

Fixed

  • Fixes #228 - Gutter blame spills over heatmap
  • Fixes incorrect blame highlighting -- thanks to PR #231 by Alexey Vasyukov (@notmedia)!
  • Fixes issue with the Open in File/Revision option in the file history quick pick menu
  • Fixes issues with Git warnings when parsing log status output (can cause the GitLens view to not show data in some cases)
  • Fixes 🤞 #226 - Annotations show in Debug Console

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