Skip to content

Releases: gitkraken/vscode-gitlens

v8.2.1

11 Apr 08:36
Compare
Choose a tag to compare

Added

  • Adds better logging for failed git commands

Changed

  • Marks temporary files (used when showing comparisions with previous revisions) as read-only to help avoid accidental edits/saving

Fixed

  • Fixes #320 - Stashes with a single untracked file created with "stash push" aren't shown in the GitLens explorer
  • Fixes #331 - Code lens shows on every import in Python
  • Fixes issues where quick pick menu progress indicators will get stuck in some cases because of a vscode api change in Microsoft/vscode#46102

v8.2.0

31 Mar 18:13
Compare
Choose a tag to compare

Added

  • Adds new stand-alone GitLens History explorer to visualize the history of the current file — undocked version of the GitLens explorer history view

    GitLens History explorer

  • Adds richer tooltips to the GitLens explorer and GitLens Results view, and richer working tree and upstream status to the GitLens explorer

    Rich tooltips

  • Adds an indicator to the GitLens explorer's branch history to mark the synchronization point between the local and remote branch (if available)

    Branch upstream indicator

  • Adds ability to easily switch between relative and absolute dates via the gitlens.defaultDateStyle settings — closes #312

    • Adds ${agoOrDate} and ${authorAgoOrDate} tokens to gitlens.blame.format, gitlens.currentLine.format, gitlens.explorers.commitFormat, gitlens.explorers.stashFormat, and gitlens.statusBar.format settings which will honor the gitlens.defaultDateStyle setting

    General settings

  • Adds annotation format settings (gitlens.*.format) to the interactive settings editor

    Annotation format settings

  • Adds new gitlens.currentLine.scrollable setting to specify whether the current line blame annotation can be scrolled into view when it is outside the viewport — closes #149, #290, #265

    Allow scrolling to annotation setting

  • Adds gitlens.statusBar.reduceFlicker setting to the interactive settings editor

    Reduce status bar flashing setting

  • Adds a one-time notification on startup if the alt-based keyboard shortcuts are in use, with options to easily switch to another set

  • Adds Copy Commit ID to Clipboard (gitlens.copyShaToClipboard) command to changed file nodes in the GitLens explorer and GitLens Results view

  • Adds Copy Commit Message to Clipboard (gitlens.copyMessageToClipboard) command to changed file nodes in the GitLens explorer and GitLens Results view

Changed

  • Moves Keyboard Settings to the General section of the interactive settings editor
  • Renames Compare with Index (HEAD) (gitlens.explorers.compareWithHead) command to Compare with HEAD — closes #309
  • Renames Compare Index (HEAD) with Branch or Tag... (gitlens.diffHeadWithBranch) command to Compare HEAD with Branch or Tag... — closes #309

Removed

  • Removes the unnecessary Show File Blame Annotations (gitlens.showFileBlame) command — Toggle File Blame Annotations (gitlens.toggleFileBlame) provides similar functionality
  • Removes the unnecessary Show Line Blame Annotations (gitlens.showLineBlame) command — Toggle Line Blame Annotations (gitlens.toggleLineBlame) provides similar functionality
  • Removes Open Working File (gitlens.openWorkingFile) command from the editor toolbar when the built-in Open File command is visible
  • Removes Compare with HEAD (gitlens.explorers.compareWithHead), Compare with Working Tree (gitlens.explorers.compareWithWorking), and Compare Compare Ancestry with Working Tree (gitlens.explorers.compareAncestryWithWorking) commands from the current branch since comparing a branch with itself doesn't make sense — closes #309

Fixed

  • Fixes #314 - Toggle line annotation doesn't work properly
  • Fixes #310 - "via Terminal" commands need quoting around work directory
  • Fixes issues with the active repository in the GitLens explorer failed to update properly
  • Fixes issues with Open File, Open Revision, and Show File History commands and images and other binary files
  • Fixes issues preventing nodes in the GitLens explorer from expanding properly in certain cases
  • Fixes issues when refreshing nodes in the GitLens Results view

v8.1.1

12 Mar 05:28
Compare
Choose a tag to compare

Fixed

  • Fixes #276 - Lookup for branches without upstreams fails
  • Fixes the schema of the gitlens.codeLens.scopesByLanguage setting

v8.1.0

07 Mar 07:46
Compare
Choose a tag to compare

Added

  • Adds automatic issue linking to Bitbucket, GitHub, GitLab, and Visual Studio Team Services for commit messages in hovers

    Issue linking in commit messages

  • Adds support to toggle annotations for each file individually or for all files at once — closes #289

    Annotations toggle setting

    • Adds new controls the interactive settings editor (Open Settings from the Command Palette) to configure this new behavior
    • Adds gitlens.blame.toggleMode setting to specify how the gutter blame annotations will be toggled, per file or window
    • Adds gitlens.heatmap.toggleMode setting to specify how the gutter heatmap annotations will be toggled, per file or window
    • Adds gitlens.recentChanges.toggleMode setting to specify how the recently changed lines annotations will be toggled, per file or window
  • Adds icons to remotes in the GitLens explorer based on the remote service provider

  • Adds multi-cursor support to current line annotations — closes #291

Changed

  • Renames Compare Selected Ancestor with Working Tree command to Compare Ancestry with Working Tree and removes the need to select a branch first, since all compares are performed with the working tree — closes #279

Removed

  • Removes tag icons from the GitLens explorer

Fixed

  • Fixes #294 - Keyboard shortcuts will now default to chorded to avoid conflicts. Only affects new installs or if you remove the gitlens.keymap setting
  • Fixes issue where Recent Changes annotations weren't restored properly on tab switch
  • Fixes quick pick menu issue with commits with newlines in the message

v8.0.2

19 Feb 19:54
Compare
Choose a tag to compare

Fixed

  • Fixes button colors on the Welcome and Settings pages to follow the color theme properly

v8.0.1

19 Feb 09:07
Compare
Choose a tag to compare

Added

  • Adds Compare Index (HEAD) with Branch or Tag... (gitlens.explorers.diffHeadWithBranch) command - compares the index (HEAD) to the selected branch or tag — thanks to PR #278 by Geoffrey (@g3offrey)!
  • Adds Compare Working Tree with Branch or Tag... (gitlens.explorers.diffWorkingWithBranch) command - compares the working tree to the selected branch or tag
  • Adds gitlens.statusBar.reduceFlicker setting to specify whether to reduce the status bar "flickering" when changing lines by not first clearing the previous blame information — closes #272
  • Adds the Open File (gitlens.explorers.openFile) command to the GitLens explorer's inline toolbar for file nodes
  • Adds the Clear Results (gitlen.resultsExplorer.clearResultsNode) command to the GitLens Results view's inline toolbar for results nodes
  • Adds the Swap Comparision (gitlen.resultsExplorer.swapComparision) command to the GitLens Results view's inline toolbar and context menu for comparision results nodes
  • Adds Push to Commit (via Terminal) (gitlens.explorers.terminalPushCommit) command to commit nodes on the current branch in the GitLens explorer

v8.0.0

07 Feb 18:44
Compare
Choose a tag to compare

Added

  • Adds an all-new GitLens welcome page via the Welcome (gitlens.showWelcomePage) command — provides a welcome / onboarding experience — closes #51
  • Adds an all-new GitLens Settings editor via the Open Settings (gitlens.showSettingsPage) command — provides an easy-to-use WYSIWYG settings editor for many of GitLen's features — closes #167
  • Adds a tree layout option to branches in the GitLens explorer — closes #258 thanks to PR #260 by Yukai Huang (@Yukaii)!
  • Adds Follow Renames command (gitlens.gitExplorer.setRenameFollowingOn) to the GitLens explorer History view to follow file renames in the history
  • Adds Don't Follow Renames command (gitlens.gitExplorer.setRenameFollowingOff) to the GitLens explorer History view to not follow file renames in the history
  • Adds gitlens.advanced.fileHistoryFollowsRenames setting to specify whether file histories will follow renames -- will affect how merge commits are shown in histories — closes #259
  • Adds gitlens.hovers.enabled setting to specify whether to provide any hovers
  • Adds gitlens.hovers.annotations.enabled setting to specify whether to provide any hovers when showing blame annotations
  • Adds gitlens.hovers.currentLine.enabled setting to specify whether to provide any hovers for the current line
  • Adds gitlens.showWhatsNewAfterUpgrades setting to specify whether to show What's New after upgrading to new feature releases
  • Adds debug option to the gitlens.outputLevel setting — outputs git commands to a new output channel called GitLens (Git)

Changed

  • Renames GitLens view to GitLens explorer
  • Renames Show Files in Automatic View (gitlens.gitExplorer.setFilesLayoutToAuto) command to Automatic Layout
  • Renames Show Files in List View (gitlens.gitExplorer.setFilesLayoutToList) command to List Layout
  • Renames Show Files in Tree View (gitlens.gitExplorer.setFilesLayoutToTree) command to Tree Layout
  • Renames Show Files in Automatic View (gitlens.resultsExplorer.setFilesLayoutToAuto) command to Automatic Layout
  • Renames Show Files in List View (gitlens.resultsExplorer.setFilesLayoutToAuto) command to List Layout
  • Renames Show Files in Tree View (gitlens.resultsExplorer.setFilesLayoutToAuto) command to Tree Layout
  • Overhauls GitLen's settings for better clarity and ease-of-use
  • Renames gitlens.annotations.file.gutter.gravatars setting to gitlens.blame.avatars
  • Renames gitlens.annotations.file.gutter.compact setting to gitlens.blame.compact
  • Renames gitlens.annotations.file.gutter.dateFormat setting to gitlens.blame.dateFormat
  • Renames gitlens.annotations.file.gutter.format setting to gitlens.blame.format
  • Renames gitlens.annotations.file.gutter.heatmap.enabled setting to gitlens.blame.heatmap.enabled
  • Renames gitlens.annotations.file.gutter.heatmap.location setting to gitlens.blame.heatmap.location
  • Renames gitlens.blame.file.lineHighlight.enabled setting to gitlens.blame.highlight.enabled
  • Renames gitlens.blame.file.lineHighlight.locations setting to gitlens.blame.highlight.locations
  • Renames gitlens.annotations.file.gutter.separateLines setting to gitlens.blame.separateLines
  • Renames gitlens.codeLens.locations setting to gitlens.codeLens.scopes
  • Renames gitlens.codeLens.perLanguageLocations setting to gitlens.codeLens.scopesByLanguage
  • Renames gitlens.codeLens.customLocationSymbols setting to gitlens.codeLens.symbolScopes
  • Renames gitlens.annotations.line.trailing.dateFormat setting to gitlens.currentLine.dateFormat
  • Renames gitlens.blame.line.enabled setting to gitlens.currentLine.enabled
  • Renames gitlens.annotations.line.trailing.format setting to gitlens.currentLine.format
  • Renames gitlens.gitExplorer.gravatars setting to gitlens.explorers.avatars
  • Renames gitlens.gitExplorer.commitFileFormat setting to gitlens.explorers.commitFileFormat
  • Renames gitlens.gitExplorer.commitFormat setting to gitlens.explorers.commitFormat
  • Renames gitlens.gitExplorer.stashFileFormat setting to gitlens.explorers.stashFileFormat
  • Renames gitlens.gitExplorer.stashFormat setting to gitlens.explorers.stashFormat
  • Renames gitlens.gitExplorer.statusFileFormat setting to gitlens.explorers.statusFileFormat
  • Renames gitlens.annotations.file.gutter.hover.changes setting to gitlens.hovers.annotations.changes
  • Renames gitlens.annotations.file.gutter.hover.details setting to gitlens.hovers.annotations.details
  • Renames gitlens.annotations.file.gutter.hover.wholeLine setting to gitlens.hovers.annotations.over
  • Renames gitlens.annotations.line.trailing.hover.changes setting to gitlens.hovers.currentLine.changes
  • Renames gitlens.annotations.line.trailing.hover.details setting to gitlens.hovers.currentLine.details
  • Renames gitlens.annotations.line.trailing.hover.wholeLine setting to gitlens.hovers.currentLine.over
  • Renames gitlens.recentChanges.file.lineHighlight.locations setting to gitlens.recentChanges.highlight.locations

Removed

  • Removes gitlens.codeLens.debug setting, use gitlens.debug instead
  • Removes gitlens.blame.file.annotationType setting, use gitlens.hovers.annotations.enabled
  • Removes gitlens.blame.line.annotationType setting, use gitlens.currentLine.enabled or gitlens.hovers.currentLine.enabled instead
  • Removes gitlens.resultsExplorer.gravatars setting, use gitlens.explorers.avatars instead
  • Removes gitlens.resultsExplorer.commitFileFormat setting, use gitlens.explorers.commitFileFormat instead
  • Removes gitlens.resultsExplorer.commitFormat setting, use gitlens.explorers.commitFormat instead
  • Removes gitlens.resultsExplorer.showTrackingBranch setting
  • Removes gitlens.resultsExplorer.stashFileFormat setting, use gitlens.explorers.stashFileFormat instead
  • Removes gitlens.resultsExplorer.stashFormat setting, use gitlens.explorers.stashFormat instead
  • Removes gitlens.resultsExplorer.statusFileFormat setting, use gitlens.explorers.statusFileFormat instead
  • Removes gitlens.annotations.file.hover.changes setting, use gitlens.hovers.annotations.changes instead
  • Removes gitlens.annotations.file.hover.details setting, use gitlens.hovers.annotations.details instead
  • Removes gitlens.annotations.file.hover.heatmap.enabled setting
  • Removes gitlens.annotations.file.recentChanges.hover.changes setting, use gitlens.hovers.annotations.changes instead
  • Removes gitlens.annotations.file.recentChanges.hover.details setting, use gitlens.hovers.annotations.details instead
  • Removes gitlens.annotations.line.hover.changes setting, use gitlens.hovers.annotations.changes instead
  • Removes gitlens.annotations.line.hover.details setting, use gitlens.hovers.annotations.details instead

Fixed

  • Fixes #35 - Copy Commit Sha to Clipboard not working (linux)
  • Fixes issue where the last commit of a file history would be broken (failed to parse correctly)
  • Fixes issue with Open Working File command (gitlens.openWorkingFile) failing when a file was renamed

v7.5.10

01 Feb 05:06
Compare
Choose a tag to compare

Added

  • Adds support for custom remotes with split project/repo url structure -- closes #267

Fixed

  • Fixes #266 - Wrong time in Popup
  • Fixes #259 (again) - File history lists unrelated merge commits

v7.5.9

30 Jan 05:50
Compare
Choose a tag to compare

Fixed

  • Fixes #265 - Delete line pushes screen to the right (even if word wrap is on)

v7.5.8

30 Jan 03:22
Compare
Choose a tag to compare

Fixed

  • Fixes regression working with submodules
  • Fixes #262 - GitLens only available in SCM diff windows
  • Fixes #261 - Unable to open compare. The file is probably not under source control
  • Fixes missing avatars in file blame annotations in non-compact mode
  • Fixes file blame annotation highlight not being restored properly on tab switch