Skip to content

Releases: gitkraken/vscode-gitlens

v14.9.1

24 Apr 19:33
Compare
Choose a tag to compare

Added

  • Adds workshop registration to welcome page — resolves #3241

v14.9.0

06 Mar 21:17
Compare
Choose a tag to compare

Added

  • Adds support for Anthropic's Claude 3 Opus & Sonnet models for GitLens' experimental AI features
  • Adds a Compare with Common Base command to branches in the Commit Graph and views to review the changes if the selected branch were to be merged by comparing the common ancestor (merge base) with the current branch to the selected branch
  • Adds an Open All Changes with Common Base command to branches in the Commit Graph and views to review the changes if the selected branch were to be merged in the multi-diff editor
  • Adds a Stash All Changes command to Source Control repository toolbar (off by default)
  • Adds the repository name as a prefix to worktree name when adding to the current workspace
  • Adds a better message when stashing only untracked files without including untracked files

Changed

  • Re-adds Add to Workspace option when creating a worktree — closes #3160
  • Changes Commit Graph date style to default to the default date style — refs #3153
  • Renames the Compare Ancestry with Working Tree command on branches to Compare Common Base with Working Tree for better clarity
  • Improves File Blame annotations performance and layout accuracy with certain character sets
  • Improves string formatting performance

Fixed

  • Fixes #3146 - Search & Compare fails to remember items after restart
  • Fixes #3152 - Fixes double encoding of redirect URLs during account sign-in which affects certain environments
  • Fixes #3153 - gitlens.defaultDateStyle not working in Commit Details view
  • Fixes the Open Pull Request Changes & Compare Pull Request commands to scope the changes only to the pull request
  • Fixes broken Compare Common Base with Working Tree (previously Compare Ancestry with Working Tree)
  • Fixes issue when switching to a worktree via branch switch when there are multiple repos in the workspace

v14.8.2

16 Feb 19:49
Compare
Choose a tag to compare

Fixed

  • Fixes incorrect organization self-hosting message when creating a Cloud Patch

v14.8.1

15 Feb 18:30
72fc9c3
Compare
Choose a tag to compare

Added

  • Adds a Create New Branch... option to the Git Switch to... command to easily create a new branch to switch to — closes #3138
  • Adds the ability to start a new trial from the Account View and feature gates for users without a Pro account whose Pro trial has been expired for over 90 days.

Fixed

  • Fixes AI features not being displayed when signed-out of an account

v14.8.0

08 Feb 21:35
Compare
Choose a tag to compare

Added

  • Adds support for Cloud Patches hosted on your own dedicated storage for the highest level of security (requires an Enterprise plan)
  • Improves worktree usage, discoverability, and accessibility
    • Simplifies the create worktree and open worktree flows — reduces number of steps and options presented
    • Adds Create Branch in New Worktree confirmation option when creating branches, e.g. via the GitLens: Git Create Branch... command
    • Adds Create Worktree for Branch, Create Worktree for Local Branch, and Create Worktree for New Local Branch confirmation options when switching branches, e.g. via the GitLens: Git Switch to... command
    • Adds a Copy Working Changes to Worktree... command to the Commit Graph and command palette to copy the current working changes to an existing worktree
    • Avoids prompt to add a (required) remote and instead auto-adds the remote during worktree creation from a pull request
  • Adds ability to open multiple changes in VS Code's new multi-diff editor, previously experimental and now enabled by default
    • 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
    • Renames the gitlens.experimental.openChangesInMultiDiffEditor setting to gitlens.views.openChangesInMultiDiffEditor, which is enabled by default, to specify whether to open changes in the multi-diff editor (single tab) or in individual diff editors (multiple tabs)
    • Requires VS Code 1.86 or later, or VS Code 1.85 with multiDiffEditor.experimental.enabled enabled
  • Adds new comparison features to pull requests in GitLens views
    • Adds an Open Pull Request Changes context menu command on pull requests in the Commit Graph and other GitLens views to view pull request changes in a multi-diff editor (single tab)
      • Requires VS Code 1.86 or later, or VS Code 1.85 with multiDiffEditor.experimental.enabled enabled
    • Adds a Compare Pull Request context menu command on pull requests in the Commit Graph and other GitLens views to open a comparison between the head and base of the pull request for easy reviewing
  • Adds an Open in Commit Graph context menu command on pull requests in GitLens view to open the tip commit in the Commit Graph
  • Adds ability to copy changes, commits, stashes, and comparison as a patch to the clipboard
    • Adds a Copy as Patch context menu command on files, commits, stashes, and comparisons in GitLens views
    • Adds a Copy as Patch context menu command on files in the Changes and Staged Changes groups as well as the groups themselves in the Source Control view
    • Adds a Apply Copied Patch command in the command palette to apply a patch from the clipboard
  • Adds an Open All Changes inline button to branch status (upstream) and branch status files in GitLens views
  • Adds an Open Changes submenu to branch status (upstream) and branch status files in GitLens views
  • Adds ability to preserve inline and file annotations while editing, previously experimental and now enabled by default
    • Renames the gitlens.experimental.allowAnnotationsWhenDirty setting to gitlens.fileAnnotations.preserveWhileEditing, which is enabled by default, to specify whether file annotations will be preserved while editing — 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 an Open File Annotation Settings command to the File Annotations submenu in the editor toolbar to open the GitLens Settings editor to the file annotations sections
  • Adds gitlens.blame.fontFamily, gitlens.blame.fontSize, gitlens.blame.fontWeight settings to specify the font (family, size, and weight respectively) of the File Blame annotations — closes #3134
  • Adds Copy Link to Code, Copy Link to File, and Copy Link to File at Revision... commands to the Share submenu in the editor line number (gutter) context menu
  • Adds an alternate flow (pick another file) when using the Open File at Revision... and Open Changes with Revision... commands to open a file that has been renamed and the rename is currently unstaged — closes #3109
  • Adds access to most Git Command Palette commands directly to the command palette
  • Adds Rename Stash... options to stash quick pick menus
  • Adds support for the latest GPT-4 Turbo models

Changed

  • Changes adds avatars to commits in quick pick menus
  • Changes the pull request to be first item in the Commits view, when applicable
  • Changes the branch comparison to be below the branch status in the Commits view to keep top focus on the status over the comparison
  • Renames "Open Worktree for Pull Request via GitLens..." to "Checkout Pull Request in Worktree (GitLens)..."
  • Renames the gitlens.experimental.openChangesInMultiDiffEditor setting to gitlens.views.openChangesInMultiDiffEditor as it is no longer experimental and enabled by default

Fixed

  • Fixes #3115 - Always-on file annotations
  • Fixes ahead/behind diffs on files (root) in the Commits view to correctly show the diff of the range rather than the base to the working tree
  • Fixes missing repository icons in the Repositories view
  • Fixes #3116 - Fix typos in README.md and package.json — thanks to PR #3117 by yutotnh (@yutotnh)

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)