Releases: gitkraken/vscode-gitlens
Releases · gitkraken/vscode-gitlens
v15.0.3
v15.0.2
v15.0.1
Bumps to v15.0.1
v15.0.0
Added
- Adds Launchpad
preview
, a new Pro feature bringing your GitHub pull requests into a unified, categorized list to keep you focused and your team unblocked- Open using the new GitLens: Open Launchpad command
- Categorizes pull requests by status
- Current Branch: Pull requests associated with your current branch
- Ready to Merge: Pull requests without conflicts, ci failures, change suggestions or other issues preventing merge
- Blocked: Pull requests with conflicts, CI failures, or that have no reviewers assigned
- Needs Your Review: Pull requests waiting for your review
- Requires Follow-Up: Pull requests that have been reviewed and need follow-up
- Draft: Draft pull requests
- Pinned: Pull requests you have pinned
- Snoozed: Pull requests you have snoozed
- Other: Other pull requests
- Action on a pull request directly from the Launchpad:
- Merge a pull request
- Open a pull request on GitHub
- Switch to or create a branch or worktree for a pull request to review changes
- Display a pull request's details in the Overview
- Open a pull request's changes in the multi-diff editor
- View a pull request's branch in the Commit Graph
- View or create code suggestions for a pull request
- Pin or snooze a pull request in the Launchpad
- Adds a status bar indicator of the Launchpad
- Opens the Launchpad when clicked
- Shows the top pull request and its status in the status bar
- Also highlights your top pull request in the launchpad when opened from the indicator
- Provides a summary of your most critical pull requests on hover
- Each summary line includes a link to open the Launchpad to that category
- Adds new settings for the Launchpad and indicator
gitlens.launchpad.ignoredRepositories
: Array of repositories withowner/name
format to ignore in the Launchpadgitlens.launchpad.staleThreshold
: Value in days after which a pull request is considered stale and moved to the Other categorygitlens.launchpad.indicator.enabled
: Specifies whether to show the Launchpad indicator in the status bargitlens.launchpad.indicator.icon
: Specifies the style of the Launchpad indicator icongitlens.launchpad.indicator.label
: Specifies the style of the Launchpad indicator labelgitlens.launchpad.indicator.groups
: Specifies which critical categories of pull requests to summarize in the indicator tooltipgitlens.launchpad.indicator.useColors
: Specifies whether to use colors in the indicatorgitlens.launchpad.indicator.openInEditor
: Specifies whether to open the Launchpad in the editor when clickedgitlens.launchpad.indicator.polling.enabled
: Specifies whether to regularly check for changes to pull requestsgitlens.launchpad.indicator.polling.interval
: Specifies the interval in minutes to check for changes to pull requests
- Adds new features that make code reviews easier
- Adds Code Suggest
preview
, a cloud feature, that frees your code reviews from unnecessary restrictions- Create a Code Suggestion from the Inspect: Overview tab when on a PR's branch
- Upon creation of a Code Suggestion, a comment will appear on the pull request
- Code Suggestions can be viewed and apply directly from gitkraken.dev, or open in GitKraken Desktop or GitLens.
- See a PR's Code Suggestions from anywhere we currently display PR information in our views (Commits, Branches, Remotes)
- You can additionally start Code Suggestions from the Launchpad
- Adds a Pull Request view to view PR commits and review file changes
- Adds a Pull Request badge to the Graph and the Inspect Overview
- Adds Code Suggest
- Adds rich Jira Cloud integration
- Enables rich automatic Jira autolinks in commit messages everywhere autolinks are supported in GitLens
- Adds a Cloud Integrations button to the GitKraken Account view and a new
GitLens: Manage Cloud Integrations
command to manage connected cloud integrations - Adds a Manage Jira button to Inspect and a link in Autolink settings to connect to Jira
- Adds support for Google Gemini for GitLens' experimental AI features
- Adds a
gitlens.ai.experimental.gemini.model
setting to specify the Gemini model
- Adds a
- Adds support for the latest OpenAI and Anthropic models for GitLens' experimental AI features
- Adds a new
gitlens.views.collapseWorktreesWhenPossible
setting to specify whether to try to collapse the opened worktrees into a single (common) repository in the views when possible
Changed
- Reworks Commit Details, now called the Inspect view
- Revamps the Working Changes tab into the Overview tab
- Provides richer branch status information and branch switching
- Adds Push, Pull, and Fetch actions
- Richer Pull Request Information
- Open details in the Pull Request view
- Links to open and compare changes
- List of the PR's Code Suggestions
- Create a Code Suggestion by clicking the Suggest Changes for PR button
- Improves contributor and team member picking for the adding co-authors, Code Suggest, and Cloud Patches
- Improves performance when creating colors derived from the VS Code theme
- Changes the command to open the Launchpad in the editor (formerly Focus View) from GitLens: Show Focus to GitLens: Open Launchpad in Editor
- Renames the setting
gitlens.focus.allowMultiple
togitlens.launchpad.allowMultiple
- Updates most deep link prompts to quick picks or quick inputs, moves most prompts to before a repository is opened.
- Updates Pro upgrade links to use the newer gitkraken.dev site
Fixed
- Fixes #3221 - Cannot use word "detached" in branch names
- Fixes #3197 - Only emojify standalone emojis — thanks to PR #3208 by may (@m4rch3n1ng)
- Fixes #3180 - Focus View feedback button is not working
- Fixes #3179 - The checkmarks in cherry pick are not displayed
- Fixes #3249 - Error "Cannot read properties of null (reading 'map')
- Fixes #3198 - Repository location in cloud workspace doesn't work when the repo descriptor does not contain a url
- Fixes #3143 - File Annotation icon isn't themed according to the icons...
v14.9.1
v14.9.0
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
Fixed
- Fixes incorrect organization self-hosting message when creating a Cloud Patch
v14.8.1
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
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 togitlens.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 Code1.85
withmultiDiffEditor.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 Code1.85
withmultiDiffEditor.experimental.enabled
enabled
- Requires VS Code
- 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 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)
- 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 togitlens.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 thegitlens.advanced.sizeThresholdAfterEdit
setting threshold (defaults to 5000 lines)
- Renames the
- 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 togitlens.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
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
- Deep link format:
- 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 thegitlens.advanced.sizeThresholdAfterEdit
setting threshold (defaults to 5000 lines)
- Use the existing
- Adds a
gitlens.fileAnnotations.dismissOnEscape
setting to specify whether pressing theESC
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 asfile:**/readme.txt
, or if you enterfile:readme
it will be treated asfile:*readme*
- For example, if you enter
- 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