Skip to content

Releases: gitkraken/vscode-gitlens

v5.5.0

09 Oct 04:07
Compare
Choose a tag to compare

Added

  • Adds a quick-access command bar to the bottom of the details hover annotations

    Details Blame Annotation (hover)

    • Provides Open Changes, Blame Previous Revision, Open in Remote, and Show More Actions command buttons
  • Adds support for remembering file annotations when switching tabs

  • Adds full GitLens support for file revisions -- file & line annotations, commands, etc

Changed

  • Changes gitlens.annotations.file.gutter.hover.wholeLine setting to default to true

Removed

  • Removes peek-style file & blame history explorers - see #66 for more details
    • Removes Open Blame History Explorer command (gitlens.showBlameHistory)
    • Removes Open File History Explorer command (gitlens.showFileHistory)
    • Removes "gitlens.showBlameHistory" & "gitlens.showFileHistory" option from gitlens.codeLens.recentChange.command setting
    • Removes "gitlens.showBlameHistory" & "gitlens.showFileHistory" option from gitlens.codeLens.authors.command setting
    • Removes "gitlens.showBlameHistory" & "gitlens.showFileHistory" option from gitlens.statusBar.command setting
  • Removes gitlens.advanced.toggleWhitespace.enabled setting -- as it is no longer required

Fixed

  • Fixes #161 - Remove colors from output of git command calls

v5.4.0

30 Sep 14:52
Compare
Choose a tag to compare

Added

  • Adds support for user-defined remote services via gitlens.remotes setting -- closes #148
  • Adds Open Changes (with difftool) command (gitlens.externalDiff) - opens the changes of a file or set of files with the configured git difftool -- thanks to PR #154 by Chris Kaczor (@ckaczor)!
    • Adds to the source control group and source control resource context menus

v5.3.0

27 Sep 02:20
Compare
Choose a tag to compare

Added

  • Adds new file layouts to the GitLens custom view
    • auto - automatically switches between displaying files as a tree or list based on the gitlens.gitExplorer.files.threshold setting and the number of files at each nesting level
    • list - displays files as a list
    • tree - displays files as a tree
  • Adds gitlens.gitExplorer.files.layout setting to specify how the GitLens custom view will display files
  • Adds gitlens.gitExplorer.files.compact setting to specify whether or not to compact (flatten) unnecessary file nesting in the GitLens custom view
  • Adds gitlens.gitExplorer.files.threshold setting to specify when to switch between displaying files as a tree or list based on the number of files in a nesting level in the GitLens custom view
  • Adds ${directory} token to the file formatting settings

Changed

  • Changes ${path} token to be the full file path in the file formatting settings

Fixed

  • Fixes #153 - New folders treated as files in "Changed Files" section of the sidebar component

v5.2.0

24 Sep 03:44
Compare
Choose a tag to compare

Added

  • Adds new Changed Files node to the Repository Status node of the GitLens custom view's Repository View -- closes #139
    • Provides a at-a-glance view of all "working" changes
    • Expands to a file-based view of all changed files in the working tree (enabled via "gitlens.insiders": true) and/or all files in all commits ahead of the upstream
  • Adds optional (on by default) working tree status information to the Repository Status node in the GitLens custom view
  • Adds auto value to gitlens.gitExplorer.view setting - closes #150
  • Adds gitlens.gitExplorer.enabled setting to specify whether or not to show the GitLens custom view - closes #144
  • Adds gitlens.gitExplorer.includeWorkingTree setting to specify whether or not to include working tree files inside the Repository Status node of the GitLens custom view
  • Adds gitlens.gitExplorer.statusFileFormat setting to the format of the status of a working or committed file in the GitLens custom view

Changed

  • Changes the sorting (now alphabetical) of files shown in the GitLens custom view
  • Changes the default of the gitlens.gitExplorer.view setting to auto
  • Changes the default of the gitlens.gitExplorer.commitFormat setting to add parentheses around the commit id
  • Removes many menu items from editor/title & editor/title/context by default -- can be re-enabled via the gitlens.advanced.menus setting

Fixed

  • Fixes #146 - Blame gutter annotation issue when commit contains emoji
  • Fixes an issue when running Open File in Remote with a multi-line selection wasn't properly opening the selection in GitLab -- thanks to PR #145 by Amanda Cameron (@AmandaCameron)!
  • Fixes an issue where the gitlens.advanced.menus setting wasn't controlling all the menu items properly

v5.2.0-beta

20 Sep 05:46
Compare
Choose a tag to compare
v5.2.0-beta Pre-release
Pre-release

Added

  • Adds working tree status (enabled via "gitlens.insiders": true) to the Repository Status node in the GitLens custom view
  • Adds new Changed Files node to the Repository Status node of the GitLens custom view's Repository View -- closes #139
    • Provides a at-a-glance view of all "working" changes
    • Expands to a file-based view of all changed files in the working tree (enabled via "gitlens.insiders": true) and/or all files in all commits ahead of the upstream
  • Adds gitlens.gitExplorer.enabled setting to specify whether or not to show the GitLens custom view - closes #144
  • Adds gitlens.gitExplorer.statusFileFormat setting to the format of the status of a working or committed file in the GitLens custom view

Changed

  • Changes the sorting (now alphabetical) of files shown in the GitLens custom view
  • Changes the default of the gitlens.gitExplorer.commitFormat setting to add parentheses around the commit id
  • Removes many menu items from editor/title & editor/title/context by default -- can be re-enabled via the gitlens.advanced.menus setting

Fixed

  • Fixes #146 - Blame gutter annotation issue when commit contains emoji
  • Fixes an issue when running Open File in Remote with a multi-line selection wasn't properly opening the selection in GitLab -- thanks to PR #145 by Amanda Cameron (@AmandaCameron)!
  • Fixes an issue where the gitlens.advanced.menus setting wasn't controlling all the menu items properly

v5.1.1-beta

18 Sep 02:45
Compare
Choose a tag to compare
v5.1.1-beta Pre-release
Pre-release

Added

  • Adds new Changed Files node to the Repository Status node of the GitLens custom view's Repository View (enabled via "gitlens.insiders": true) -- closes #139
    • Provides a file-based view of all the changed files in the working tree and/or files in commits that haven't yet been pushed upstream
  • Adds gitlens.gitExplorer.enabled setting to specify whether or not to show the GitLens custom view - closes #144

Changed

  • Chnages the default of the gitlens.gitExplorer.commitFormat setting to add parentheses around the commit id
  • Removes many menu items from editor/title & editor/title/context by default -- can be re-enabled via the gitlens.advanced.menus setting

Fixed

  • Fixes an issue when running Open File in Remote with a multi-line selection wasn't properly opening the selection in GitLab -- thanks to PR #145 by Amanda Cameron (@AmandaCameron)!
  • Fixes an issue where the gitlens.advanced.menus setting wasn't controlling all the menu items properly

v5.1.0

16 Sep 01:06
Compare
Choose a tag to compare

Added

  • Adds full (multi-line) commit message to the details hover annotations -- closes #116
  • Adds an external link icon to the details hover annotations to run the Open Commit in Remote command (gitlens.openCommitInRemote)

Changed

  • Optimizes performance of the providing blame annotations, especially for large files (saw a ~78% improvement on some files)
  • Optimizes date handling (parsing and formatting) for better performance and reduced memory consumption

Removed

  • Removes gitlens.annotations.file.recentChanges.hover.wholeLine setting as it didn't really make sense

Fixed

  • Fixes an issue where stashes with only untracked files would not show in the Stashes node of the GitLens custom view
  • Fixes an issue where stashes with untracked files would not show its untracked files in the GitLens custom view

v5.1.0-beta

15 Sep 07:31
Compare
Choose a tag to compare
v5.1.0-beta Pre-release
Pre-release

Added

  • Adds an external link icon to the details hover annotations to run the Open Commit in Remote command (gitlens.openCommitInRemote)
  • Adds full (multi-line) commit message to the details hover annotations

Changed

  • Optimizes performance of the providing blame annotations, especially for large files (saw a ~78% improvement on some files)
  • Optimizes date handling (parsing and formatting) for better performance and reduced memory consumption

Removed

  • Removes gitlens.annotations.file.recentChanges.hover.wholeLine setting as it didn't really make sense

Fixed

  • Fixes an issue where stashes with only untracked files would not show in the Stashes node of the GitLens custom view

v5.0.0

12 Sep 23:08
Compare
Choose a tag to compare

Added

  • Adds an all-new GitLens custom view to the Explorer activity

    • Repository View - provides a full repository explorer

      GitLens Repository view

      • Repository Status node — provides the status of the repository

        • Provides the name of the current branch, its upstream tracking branch (if available), and its upstream status (if available)
        • Provides indicator dots on the repository icon which denote the following:
          • None - up-to-date with the upstream
          • Green - ahead of the upstream
          • Red - behind the upstream
          • Yellow - both ahead of and behind the upstream
        • Provides additional nodes, if the current branch is not synchronized with the upstream, to quickly see and explore the specific commits ahead and/or behind the upstream
        • Provides a context menu with Open Repository in Remote, and Refresh commands
      • Branches node — provides a list of the local branches

        • Indicates which branch is the current branch and optionally shows the remote tracking branch
        • Expand each branch 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 changed file with Open Changes, Open Changes with Working Tree, Open File, Open Revision, Open File in Remote, Open Revision in Remote, Apply Changes, Show File History, and Show Commit File Details commands
          • 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, and Refresh commands
          • Provides a context menu on each branch with Open Branch in Remote, and Refresh commands
        • Provides a context menu with Open Branches in Remote, and Refresh commands
      • Remotes node — provides a list of remotes

        • Indicates the direction of the remote (fetch, push, both), remote service (if applicable), and repository path
        • Expand each remote to see its list of branches
          • Expand each branch 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 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 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, and Refresh commands
          • Provides a context menu on each remote with Open Branches in Remote, Open Repository in Remote, and Refresh commands
        • Provides a context menu with a Refresh command
      • Stashes node — provides a list of stashed changes

        • Expand each stash to quickly see the set of files stashed, complete with status indicators for adds, changes, renames, and deletes
        • Provides a context menu with Stash Changes, and Refresh commands
        • Provides a context menu on each stash with Apply Stashed Changes (confirmation required), Delete Stashed Changes (confirmation required), Open All Changes, Open All Changes with Working Tree, Open Files, Open Revisions, Copy Commit Message to Clipboard, and Refresh commands
        • Provides a context menu on each stashed file with Apply Changes, Open Changes, Open Changes with Working Tree, Open File, Open Revision, Open File in Remote, and Show File History commands
    • History View - provides the revision history of the active file

      GitLens History view

      • Automatically updates to track the active editor
      • Provides a context menu with Open File, Open File in Remote, and Refresh commands
      • Provides a context menu on each revision (commit) 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
    • Quickly switch between views using the Switch to Repository View or Switch to History View commands

    • Provides toolbar commands to Search Commits, Switch to Repository View or Switch to History View, and Refresh

  • Adds all-new interactivity to the hover annotations

    Hover Annotations

    • Adds the following command-links to the details hover annotation
      • Clicking the commit id will run the Show Commit Details command (gitlens.showQuickCommitDetails)
    • Adds the following command-links to the changes hover annotation
      • Clicking on Changes will run the Compare File Revisions command (gitlens.diffWith)
      • Clicking the current and previous commit ids will run the Show Commit Details command (gitlens.showQuickCommitDetails)
  • Adds support for remote services with custom domains -- closes #120

  • Adds support for the Bitbucket Server (previously called Stash) remote service -- closes #120

  • Adds gitlens.blame.ignoreWhitespace setting to specify whether or not to ignore whitespace when comparing revisions during blame operations -- closes #138

  • Adds Compare File Revisions command (gitlens.diffWith) - compares the specified file revisions

  • Adds Open Branches in Remote command (gitlens.openBranchesInRemote) - opens the branches in the supported remote service

  • Adds Stash Changes command (gitlens.stashSave) to the source control group context menu -- can now stash a group of files

  • Adds Stash Changes command (gitlens.stashSave) to the source control resource context menu -- can now stash individual files (works with multi-select too!)

  • Adds gitlens.gitExplorer.view setting to specify the starting view (mode) of the GitLens custom view

  • Adds gitlens.gitExplorer.showTrackingBranch setting to specify whether or not to show the tracking branch when displaying local branches in the GitLens custom view

  • Adds gitlens.gitExplorer.commitFormat setting to specify the format of committed changes in the GitLens custom view

  • Adds gitlens.gitExplorer.commitFileFormat setting to specify the format of a committed file in the GitLens custom view

  • Adds gitlens.gitExplorer.stashFormat setting to specify the format of stashed changes in the GitLens custom view

  • Adds gitlens.gitExplorer.stashFileFormat setting to specify the format of a stashed file in the GitLens custom view

  • Adds ${filePath} token to file formatting settings

Changed

  • Changes Show Stashed Changes option icon in repository status quick pick menu to match the GitLens custom view
  • Changes Stash Changes option icon in stashed changes quick pick menu to a plus (+)
  • Renames Compare File with Previous command (gitlens.diffWithPrevious) to Compare File with Previous Revision
  • Renames Compare File with Next Commit command (gitlens.diffWithNext) to Compare File with Next Revision
  • Renames Compare File with Working Tree command (gitlens.diffWithWorking) to Compare File with Working Revision
  • Renames Compare Line Commit with Previous command (gitlens.diffLineWithPrevious) to Compare Line Revision with Previous
  • Renames Compare Line Commit with Working Tree command (gitlens.diffLineWithWorking) to Compare Line Revision with Working

Removed

  • Removes Git Stashes custom view view - as it's functionality has been folded into the new GitLens custom view
  • Removes gitlens.stashExplorer.stashFormat setting
  • Removes gitlens.stashExplorer.stashFileFormat setting
  • Removes Stash Unstaged Changes option from stashed changes quick pick menu -- didn't work as intended
  • Removes the seeding of the commit search command from the clipboard

Fixed

  • Fixes an issue where double hover annotations could be shown on blank lines
  • Fixes an issue where remote branches couldn't be opened properly in their remote service
  • Fixes #130 - First-run "Thank you for choosing GitLens! [...]" info message shown on every start up
  • Fixes an issue where sometimes diffs (via branch name) wouldn't open properly
  • Fixes an issue where remotes are queried more than once on startup

v5.0.0-beta.2

12 Sep 03:55
Compare
Choose a tag to compare
v5.0.0-beta.2 Pre-release
Pre-release

Added

  • Adds an all-new GitLens custom view to the Explorer activity

    • Repository View - provides a full repository explorer

      GitLens Repository view

      • Repository Status node — provides the status of the repository

        • Provides the name of the current branch, its upstream tracking branch (if available), and its upstream status (if available)
        • Provides indicator dots on the repository icon which denote the following:
          • None - up-to-date with the upstream
          • Green - ahead of the upstream
          • Red - behind the upstream
          • Yellow - both ahead of and behind the upstream
        • Provides additional nodes, if the current branch is not synchronized with the upstream, to quickly see and explore the specific commits ahead and/or behind the upstream
        • Provides a context menu with Open Repository in Remote, and Refresh commands
      • Branches node — provides a list of the local branches

        • Indicates which branch is the current branch and optionally shows the remote tracking branch
        • Expand each branch 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 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 revision (commit) with Open Commit in Remote, Copy Commit ID to Clipboard, Copy Commit Message to Clipboard, Open Files, Open Revisions, Show Commit Details, and Refresh commands
          • Provides a context menu on each branch with Open Branch in Remote, and Refresh commands
        • Provides a context menu with Open Branches in Remote, and Refresh commands
      • Remotes node — provides a list of remotes

        • Expand each remote to see its list of branches
          • Expand each branch 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 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 revision (commit) with Open Commit in Remote, Copy Commit ID to Clipboard, Copy Commit Message to Clipboard, Open Files, Open Revisions, Show Commit Details, and Refresh commands
          • Provides a context menu on each remote with Open Branches in Remote, Open Repository in Remote, and Refresh commands
        • Provides a context menu with a Refresh command
      • Stashes node — provides a list of stashed changes

        • Expand each stash to quickly see the set of files stashed, complete with status indicators for adds, changes, renames, and deletes
        • Provides a context menu with Stash Changes, and Refresh commands
        • Provides a context menu on each stash with Apply Stashed Changes (confirmation required), Delete Stashed Changes (confirmation required), Copy Commit Message to Clipboard, Open Files, Open Revisions, and Refresh commands
        • Provides a context menu on each stashed file with Open Changes, Open Changes with Working Tree, Open File, Open Revision, Open File in Remote, Apply Changes, and Show File History commands
    • History View - provides the revision history of the active file

      GitLens History view

      • Automatically updates to track the active editor
      • Provides a context menu with Open File, Open File in Remote, and Refresh commands
      • Provides a context menu on each revision (commit) 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
    • Quickly switch between views using the Switch to Repository View or Switch to History View commands

    • Provides toolbar commands to Search Commits, Switch to Repository View or Switch to History View, and Refresh

  • Adds command-links to the details hover annotation

    • Clicking the commit id will run the Show Commit Details command (gitlens.showQuickCommitDetails)
  • Adds command-links to the changes hover annotation

    • Clicking on Changes will run the Compare File Revisions command (gitlens.diffWith)
    • Clicking the current and previous commit ids will run the Show Commit Details command (gitlens.showQuickCommitDetails)
  • Adds support for custom remote services - see #120

  • Adds support for the Bitbucket Server (previously called Stash) remote service - see #120

  • Adds Compare File Revisions command (gitlens.diffWith) - compares the specified file revisions

  • Adds Open Branches in Remote command (gitlens.openBranchesInRemote) - opens the branches in the supported remote service

  • Adds Stash Changes command (gitlens.stashSave) to the source control group context menu -- can now stash a group of files

  • Adds Stash Changes command (gitlens.stashSave) to the source control resource context menu -- can now stash individual files (works with multi-select too!)

  • Adds gitlens.gitExplorer.view setting to specify the starting view (mode) of the GitLens custom view

  • Adds gitlens.gitExplorer.showTrackingBranch setting to specify whether or not to show the tracking branch when displaying local branches in the GitLens custom view

  • Adds gitlens.gitExplorer.commitFormat setting to specify the format of committed changes in the GitLens custom view

  • Adds gitlens.gitExplorer.commitFileFormat setting to specify the format of a committed file in the GitLens custom view

  • Adds gitlens.gitExplorer.stashFormat setting to specify the format of stashed changes in the GitLens custom view

  • Adds gitlens.gitExplorer.stashFileFormat setting to specify the format of a stashed file in the GitLens custom view

  • Adds ${filePath} token to file formatting settings

Changed

  • Changes Show Stashed Changes option icon in repository status quick pick menu to match the GitLens custom view
  • Changes Stash Changes option icon in stashed changes quick pick menu to a plus (+)
  • Renames Compare File with Previous command (gitlens.diffWithPrevious) to Compare File with Previous Revision
  • Renames Compare File with Next Commit command (gitlens.diffWithNext) to Compare File with Next Revision
  • Renames Compare File with Working Tree command (gitlens.diffWithWorking) to Compare File with Working Revision
  • Renames Compare Line Commit with Previous command (gitlens.diffLineWithPrevious) to Compare Line Revision with Previous
  • Renames Compare Line Commit with Working Tree command (gitlens.diffLineWithWorking) to Compare Line Revision with Working

Removed

  • Removes Git Stashes custom view view - as it's functionality has been folded into the new GitLens custom view
  • Removes gitlens.stashExplorer.stashFormat setting
  • Removes gitlens.stashExplorer.stashFileFormat setting
  • Removes Stash Unstaged Changes option from stashed changes quick pick menu -- didn't work as intended
  • Removes the seeding of the commit search command from the clipboard

Fixed

  • Fixes an issue where double hover annotations could be shown on blank lines
  • Fixes an issue where remote branches couldn't be opened properly in their remote service
  • Fixes #130 - First-run "Thank you for choosing GitLens! [...]" info message shown on every start up
  • Fixes #120 - Feature Request: "Open in Remote" support for custom repositories
  • Fixes an issue where sometimes diffs (via branch name) wouldn't open properly
  • Fixes an issue where remotes are queried more than once on startup