Skip to content

Releases: gitkraken/vscode-gitlens

v15.0.4

20 May 23:01
Compare
Choose a tag to compare

Added

  • Adds a Copy as Markdown context menu command to autolinks in the Autolinked Issues and Pull Requests section in the Search & Compare view
  • Adds a Connect Remote Integration command to the Autolinked Issues and Pull Requests section in the Search & Compare view
  • Adds gitlens.currentLine.fontFamily, gitlens.currentLine.fontSize, gitlens.currentLine.fontStyle, gitlens.currentLine.fontWeight settings to specify the font (family, size, style, and weight respectively) of the Inline Blame annotation — closes #3306
  • Adds gitlens.blame.fontStyle settings to specify the font style of the File Blame annotations

Changed

  • Improves the Copy context menu command on autolinks in the Autolinked Issues and Pull Requests section in the Search & Compare view
  • Changes the Open Issue on Remote context menu command on autolinks to Open URL in the Autolinked Issues and Pull Requests section in the Search & Compare view
  • Changes the Copy Issue URL context menu command on autolinks to Copy URL in the Autolinked Issues and Pull Requests section in the Search & Compare view
  • Renames the Connect to Remote command to Connect Remote Integration
  • Renames the Disconnect from Remote command to Disconnect Remote Integration

Fixed

  • Fixes #3299 - Branches view no longer displays text colors for branch status after updating to v15.0.0 or above
  • Fixes #3277 (in pre-release only) - Unable to pull branch when the local branch whose name differs from its tracking branch
  • Fixes "hang" in Worktrees view when a worktree is missing
  • Fixes an issue where the Commit Graph header bar sometimes pushes "Fetch" to the right
  • Fixes an issue where the autolink type (issue vs pull request) was not shown properly in the Autolinked Issues and Pull Requests section in the Search & Compare view

v15.0.3

14 May 23:15
8a34758
Compare
Choose a tag to compare
  • Fixes #3288 - Branch, Tags, Stashes, Local Branch, and Remote Branch "Markers" Are Missing/Removed From Minimap

v15.0.2

14 May 18:46
Compare
Choose a tag to compare
  • Fixes #3270 - GitLens erroneously thinks certain branches are worktrees under some conditions

v15.0.1

14 May 12:07
Compare
Choose a tag to compare
Bumps to v15.0.1

v15.0.0

14 May 11:30
Compare
Choose a tag to compare

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 with owner/name format to ignore in the Launchpad
      • gitlens.launchpad.staleThreshold: Value in days after which a pull request is considered stale and moved to the Other category
      • gitlens.launchpad.indicator.enabled: Specifies whether to show the Launchpad indicator in the status bar
      • gitlens.launchpad.indicator.icon: Specifies the style of the Launchpad indicator icon
      • gitlens.launchpad.indicator.label: Specifies the style of the Launchpad indicator label
      • gitlens.launchpad.indicator.groups: Specifies which critical categories of pull requests to summarize in the indicator tooltip
      • gitlens.launchpad.indicator.useColors: Specifies whether to use colors in the indicator
      • gitlens.launchpad.indicator.openInEditor: Specifies whether to open the Launchpad in the editor when clicked
      • gitlens.launchpad.indicator.polling.enabled: Specifies whether to regularly check for changes to pull requests
      • gitlens.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 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 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 to gitlens.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

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)