Skip to content

Releases: gitkraken/vscode-gitlens

v14.7.0

17 Jan 23:07
5401f66
Compare
Choose a tag to compare

Added

  • Adds the ability to share Cloud Patches with specific members of your GitKraken organization
    • You can now share Cloud Patches exclusively with specific members of your organization by selecting Collaborators Only when viewing or creating a Cloud Patch
    • Click the Invite button at the bottom of the Patch Details view to add members of your organization to collaborate and click Update Patch to save your changes
    • Cloud Patch collaborators will see these Patches under the Shared with Me section of the Cloud Patches view
  • Adds support for deep links to files and code
    • Deep link format: https://gitkraken.dev/link/r/{repoId}/f/{filePath}?[url={remoteUrl}|path={repoPath}]&lines={lines}&ref={ref}
    • Adds Copy Link to File, Copy Link to File at Revision..., and Copy Link to Code commands to the Copy As submenu in the editor context menu and to the Share submenu of files in GitLens views
  • Adds the ability to choose multiple stashes to drop in the Git Command Palette's stash drop command — closes #3102
  • Adds a new prune subcommand to the Git Command Palette's branch command to easily delete local branches with missing upstreams
  • Adds a new Push Stash Snapshot confirmation option to the Git Command Palette's stash push command to save a stash without changing the working tree
  • Adds Copy to search results in the Search & Compare view to copy the search query to more easily share or paste queries into the Commit Graph
  • Adds a status bar indicator when blame annotations (inline, statusbar, file annotations, etc) are paused because the file has unsaved changes (dirty), with a tooltip explaining why and how to configure/change the behavior
  • Adds an experimental gitlens.experimental.allowAnnotationsWhenDirty setting to specify whether file annotations are allowed on files with unsaved changes (dirty) — closes #1988, #3016
    • Use the existing gitlens.advanced.blame.delayAfterEdit setting to control how long to wait (defaults to 5s) before the annotation will update while the file is still dirty, which only applies if the file is under the gitlens.advanced.sizeThresholdAfterEdit setting threshold (defaults to 5000 lines)
  • Adds a gitlens.fileAnnotations.dismissOnEscape setting to specify whether pressing the ESC key dismisses the active file annotations — closes #3016

Changed

  • Changes the commit search by file to allow some fuzziness by default — closes #3086
    • For example, if you enter file:readme.txt, we will treat it as file:**/readme.txt, or if you enter file:readme it will be treated as file:*readme*
  • Improves the Switch command to no longer fail when trying to switch to a branch that is linked to another worktree and instead offers to open the worktree
  • Changes branch/tag "tips" that are show on commits in many GitLens views to be truncated to 11 characters by default to avoid stealing to much real estate

Fixed

  • Fixes #3087 - Terminal executed commands fail if the GitLens terminal is closed
  • Fixes #2784 - Git stash push error
  • Fixes #2926 in more cases - "Open File at Revision" has incorrect editor label if revision contains path separator — thanks to PR #3060 by Ian Chamberlain (@ian-h-chamberlain)
  • Fixes #3066 - Editing a large file and switching away to another file without saving causes current line blame to disappear; thanks to PR #3067 by Brandon Cheng (@gluxon)
  • Fixes #3063 - Missing icons in GitLens Settings UI
  • Fixes issue with Switch command not honoring the confirmation setting
  • Fixes worktree delete from offering to delete main worktree (which isn't possible)
  • Fixes worktree delete on windows when the worktree's folder is missing

Removed

  • Removes the gitlens.experimental.nativeGit setting as it is now the default experience — closes #3055

v14.6.1

14 Dec 20:13
Compare
Choose a tag to compare

Fixed

  • Fixes #3057 - Uncommitted changes cause an error when gitlens.defaultDateSource is "committed"

v14.6.0

13 Dec 21:49
Compare
Choose a tag to compare

Added

  • Adds the ability to specify who can access a Cloud Patch when creating it
    • Anyone with the link — allows anyone with the link and a GitKraken account to access the Cloud Patch
    • Members of my Org with the link — allows only members of your selected GitKraken organization with the link to access the Cloud Patch
    • (Coming soon to GitLens) Ability to explicitly share to specific members from your organization and add them as collaborators on a Cloud Patch
    • Cloud Patches that have been explicitly shared with you, i.e. you are a collaborator, now will appear in the Cloud Patches view under Shared with Me
  • Adds timed snoozing for items in the Focus View — choose from a selection of times when snoozing and the item will automatically move out of the snoozed tab when that time expires
  • Adds the ability to open folder changes — closes #3020
    • Adds Open Folder Changes with Revision... & Open Folder Changes with Branch or Tag... commands to the Command Palette and to the Explorer and Source Control views
    • Requires VS Code 1.85 or later and multiDiffEditor.experimental.enabled to be enabled
  • Adds last modified time of the file when showing blame annotations for uncommitted changes
  • Adds search results to the minimap tooltips on the Commit Graph
  • Adds support for Anthropic's Claude 2.1 model for GitLens' experimental AI features
  • Adds a status indicator when the upstream branch is missing in Commits view
  • Adds support for opening renamed/deleted files using the Open File at Revision... & Open File at Revision from... commands by showing a quick pick menu if the requested file doesn't exist in the selected revision — closes #708 thanks to PR #2825 by Victor Hallberg (@mogelbrod)
  • Adds an Open Changes submenu to comparisons in the Search & Compare view
  • Adds experimental gitlens.experimental.openChangesInMultiDiffEditor setting to specify whether to open multiple changes in VS Code's experimental multi-diff editor (single tab) or in individual diff editors (multiple tabs)
    • Adds an inline Open All Changes command to commits, stashes, and comparisons in the views
    • Changes Open All Changes & Open All Changes with Working Tree commands to use the new multi-diff editor when enabled
    • Adds Open All Changes, Individually & Open All Changes with Working Tree, Individually commands to provide access to the previous behavior
    • Requires VS Code 1.85 or later and multiDiffEditor.experimental.enabled to be enabled
  • Adds a confirmation prompt when attempting to undo a commit with uncommitted changes
  • Adds a [Show|Hide] Merge Commits toggle to the Contributors view
  • Adds Open in Integrated Terminal command to repositories in the views — closes #3053
  • Adds Open in Terminal & Open in Integrated Terminal commands to the upstream status in the Commits view
  • Adds the ability to choose an active GitKraken organization in the Account View for users with multiple GitKraken organizations.

Changed

  • Improves AI model choice selection for GitLens' experimental AI features
  • Improves performance when logging is enabled
  • Changes the contextual view title from GL to GitLens

Fixed

  • Fixes #2663 - Debounce bug: file blame isn't cleared when editing document while text in output window changes
  • Fixes #3050 - Opening revision of a renamed file is broken
  • Fixes #3019 - Commits Views not working
  • Fixes #3026 - Gitlens stopped working in sub-repositories
  • Fixes #2746 - Remove 'undo commit' command from gitlens inspect
  • Fixes #2482 - Unresponsive "commits" view and "branches" view update due to git log
  • Fixes duplicate entries in the Search & Compare view when adding a new comparison from outside the view and before the view has loaded
  • Fixes Load more in the File History view when the file has been renamed
  • Fixes broken Open Changed & Close Unchanged Files (gitlens.views.openOnlyChangedFiles) command in the views
  • Fixes issues with Contributors view updating when changing toggles
  • Fixes issues with Open [Previous] Changes with Working File command in comparisons
  • Fixes banner styling on the Commit Graph

v14.5.2

01 Dec 03:52
Compare
Choose a tag to compare

Added

  • Adds cyber week promotion

v14.5.1

21 Nov 18:09
Compare
Choose a tag to compare

Added

  • Adds support for OpenAI's GPT-4 Turbo and latest Anthropic models for GitLens' experimental AI features — closes #3005

Changed

  • Improves the performance of the Commit Graph when loading a large number of commits
  • Refines AI prompts to provide better commit message generation and explanation results
  • Updates Files Changed panel of Commit Details, which now supports indent settings and adds better accessibility

Fixed

  • Fixes #3023 - "Unable to show blame. Invalid or missing blame.ignoreRevsFile" with valid ignore revs file
  • Fixes #3018 - Line blame overlay is broken when commit message contains a )
  • Fixes #2625 - full issue ref has escape characters that break hover links
  • Fixes stuck busy state of the Commit Details Explain AI panel after canceling a request
  • Fixes cloud patch deep links requiring a paid plan (while in preview)

v14.5.0

14 Nov 00:29
5ae5567
Compare
Choose a tag to compare

Added

  • Adds a preview of Cloud Patches, an all-new ☁️ feature — engage in early collaboration before the pull request:
    • Share your work with others by creating a Cloud Patch from Working Changes, Commits, Stashes or Comparisons
    • View Cloud Patches from URLs shared to you and apply them to your working tree or to a new or existing branch
    • Manage your Cloud Patches from the new Cloud Patches view in the GitLens side bar
    • Adds a Share as Cloud Patch... command to the command palette and to the Share submenu in applicable GitLens views
    • Adds a gitlens.cloudPatches.enabled setting to specificy whether to enable Cloud Patches (defaults to true)
  • Adds support to open multiple instances of the Commit Graph, Focus, and Visual File History in the editor area
    • Adds a Split Commit Graph command to the Commit Graph tab context menu
    • Adds a gitlens.graph.allowMultiple setting to specify whether to allow opening multiple instances of the Commit Graph in the editor area
    • Adds a Split Focus command to the Focus tab context menu
    • Adds a gitlens.focus.allowMultiple setting to specify whether to allow opening multiple instances of the Focus in the editor area
    • Adds a Split Visual File History command to the Visual File History tab context menu
    • Adds a gitlens.visualHistory.allowMultiple setting to specify whether to allow opening multiple instances of the Visual File History in the editor area
  • Adds a Generate Commit Message (Experimental) button to the SCM input when supported (currently 1.84.0-insider only)
    • Adds a gitlens.ai.experimental.generateCommitMessage.enabled setting to specify whether to enable GitLens' experimental, AI-powered, on-demand commit message generation — closes #2652
  • Improves the experience of the Search Commits quick pick menu
    • Adds a stateful authors picker to make it much easier to search for commits by specific authors
    • Adds a file and folder picker to make it much easier to search for commits containing specific files or in specific folders
  • Adds ability to sort repositories in the views and quick pick menus — closes #2836 thanks to PR #2991
    • Adds a gitlens.sortRepositoriesBy setting to specify how repositories are sorted in quick pick menus and views by Aidos Kanapyanov (@aidoskanapyanov)
  • Adds a [Show|Hide] Merge Commits toggle to the Commits_ view — closes #1399 thanks to PR #1540 by Shashank Shastri (@Shashank-Shastri)
  • Adds a Filter Commits by Author... commands to the Commits view and comparisons context menus to filter commits in the Commits view by specific authors
  • Adds ability to publish to a remote branch to a specific commit using the Push to Commit command
  • Adds an Open Comparison on Remote command to comparisons in views
  • Adds a Share > Copy Link to Repository command on branches in the views
  • Adds Share > Copy Link to Branch and Share > Copy Link to Repository commands on the current branch status in the Commits view
  • Adds a Clear Reviewed Files command to comparisons to clear all reviewed files — closes #2987
  • Adds a Collapse command to many view nodes
  • Adds a gitlens.liveshare.enabled setting to specify whether to enable integration with Visual Studio Live Share

Changed

  • Improves accuracy, performance, and memory usage related to parsing diffs, used in Changes hovers, Changes file annotations, etc
  • Improves confirmation messaging in the Git Command Palette
  • Refines merge/rebase messaging when there is nothing to do — refs #1660
  • Improves view messaging while loading/discovering repositories
  • Honors VS Code's git.useForcePushWithLease and git.useForcePushIfIncludes settings when force pushing
  • Changes File Heatmap annotations to not color the entire line by default. Want it back, add line to the gitlens.heatmap.locations setting

Fixed

  • Fixes #2997 - "push to commit" pushes everything instead of up to the selected commit
  • Fixes #2615 - Source Control views disappear after opening a file beyond a symbolic link
  • Fixes #2443 - UNC-PATH: File History changes not displaying any changes when open
  • Fixes #2625 - full issue ref has escape characters that break hover links
  • Fixes #2987 - Unable to remove all marks on reviewed files with a single operation
  • Fixes #2923 - TypeError: Only absolute URLs are supported
  • Fixes #2926 - "Open File at Revision" has incorrect editor label if revision contains path separator
  • Fixes #2971 - [Regression] The branch column header text disappears when you have a hidden ref
  • Fixes #2814 - GitLens Inspect: "Files Changed" not following when switching between commits in File History
  • Fixes #2952 - Inline blame not working because of missing ignoreRevsFile
  • Fixes issue where Changes hovers and Changes file annotations sometimes weren't accurate
  • Fixes intermittent issue where inline blame and other revision-based editor features are unavailable when repository discovery takes a bit
  • Fixes intermittent issues where details sometimes get cleared/overwritten when opening the Commit Details view
  • Fixes issue when clicking on commits in the Visual File History to open the Commit Details view
  • Fixes issue opening stashes in the Commit Details view from the Stashes view
  • Fixes issue where GitHub/GitLab enriched autolinks could incorrectly point to the wrong repository
  • Fixes issue showing folder history in the File History view when there are uncommitted changes (staged or unstaged)
  • Fixes issue when pushing to a remote branch with different name than the local
  • Fixes tooltip styling/theming on the Commit Graph
  • Fixes issues staged files in repositories not "opened" (discovered) by the built-in Git extension

v14.4.1

25 Oct 19:46
Compare
Choose a tag to compare

Fixed

  • Fixes Otel library regressions

v14.4.0

13 Oct 23:59
7db0ad0
Compare
Choose a tag to compare

Added

  • Adds a Working Changes tab to the Commit Details and Graph Details views to show your working tree changes
    • Adds Stage Changes and Unstage Changes commands to files on the Working Changes tab
  • Adds a [Show|Hide] Merge Commits toggle to the File History view — closes #2104 & #2944
    • Adds a gitlens.advanced.fileHistoryShowMergeCommits setting to specify whether merge commits will be show in file histories
  • Adds deep link support for workspaces in the GitKraken Workspaces view
    • Deep link format: https://gitkraken.dev/link/workspaces/{workspaceId}
    • Adds a Share submenu with a Copy Link to Workspace command to workspaces in the GitKraken Workspaces view

Changed

  • Improves performance of inline blame, status bar blame, and hovers especially when working with remotes with connected integrations
  • Changes the File History view to follow renames and filters out merge commits by default — closes #2104 & #2944
  • Changes the File History view to allow following renames while showing history across all branches (which was a previous limitation of Git) — closes #2828
  • Changes to use our own implementation of fetch, push, and pull Git operations, rather than delegating to VS Code to avoid limitations especially with GitKraken Workspaces. Please report any issues and you can revert this (for now) by setting "gitlens.experimental.nativeGit" to "false" in your settings
  • Relaxes PR autolink detection for Azure DevOps to use PR <number> instead of Merged PR <number> — closes #2908
  • Changes wording on Reset Stored OpenAI Key command to Reset Stored AI Key to reflect support for other providers

Fixed

  • Fixes #2941 - Invalid Request when trying to generate a commit message using Anthropic API
  • Fixes #2940 - Can't use Azure OpenAI model because i can't save the openai key because of the verification
  • Fixes #2928 - Apply Changes should create new files when needed
  • Fixes #2896 - Repositories view stuck in loading state
  • Fixes #2460 - Gitlens Remote provider doesn't work properly in "Commit graph" view
  • Fixes issue with "View as [List|Tree]" toggle not working in the Commit Details view
  • Fixes an issue with deep links sometimes failing to properly resolve when a matching repository without the remote is found
  • Fixes an issue in the Commit Graph where commits not in the history of a merge commit were showing in the same column
  • Fixes Reset Stored AI Key command to work for the current provider
  • Fixes an issue with parsing some renames in log output

v14.3.0

07 Sep 21:30
Compare
Choose a tag to compare

Added

  • Adds checkboxes to files in the Search & Compare view to allow for tracking review progress — closes #836
  • Allows the Commit Graph to be open in the panel and in the editor area simultaneously
  • Adds an Open Changes button to commits in the file history quick pick menu — closes #2641 thanks to PR #2800 by Omar Ghazi (@omarfesal)

Changed

  • Changes the gitlens.graph.layout setting to be a default preference rather than a mode change

Fixed

  • Fixes #2885 - Folder History not show changed files of commit
  • Fixes issues with opening changes (diffs) of renamed files
  • Fixes issues with deep links including when opening VS Code from the deep link

v14.2.1

10 Aug 21:12
Compare
Choose a tag to compare

Added

  • Adds a Refresh action to the Commit Details view

Fixed

  • Fixes #2850 - For custom remotes, the URL resulting from the branches is truncated
  • Fixes #2841 - Error when trying to browse commits
  • Fixes #2847 - 14.2.0 Breaks "pull" action works fine in 14.1.1