Skip to content

Releases: gitkraken/vscode-gitlens

v14.2.0

04 Aug 16:48
Compare
Choose a tag to compare

Added

  • Improves the Focus view experience
    • Unifies pull requests and issues into a single view
    • Adds tabs to switch between showing Pull Requests, Issues, or All
    • Adds a filter/search box to quickly find pull request or issues by title
    • Adds ability to click on a branch name to show the branch on the Commit Graph
  • Adds a new command Open Changed & Close Unchanged Files... to the command palette, the context menu of the Commit Graph work-in-progress (WIP) row, and the SCM group context menu to open all changed files and close all unchanged files.
  • Adds a new command Reset Current Branch to Tip... to branch context menus in the Commit Graph and in GitLens views to reset the current branch to the commit at the chosen branch's tip.

Changed

  • Changes Compact Graph Column Layout context menu command to Use Compact Graph Column for better clarity
  • Changes Default Graph Column Layout context menu command to Use Expanded Graph Column for better clarity
  • Improves remote parsing for better integration support for some edge cases

Fixed

  • Fixes #2823 - Handle stdout/stderr Buffers in shell run() — thanks to PR #2824 by Victor Hallberg (@mogelbrod)
  • Fixes issues with missing worktrees breaking the Worktrees view and Worktree quick pick menus

v14.1.1

18 Jul 20:37
Compare
Choose a tag to compare

Added

  • Adds the ability to provide a custom url to support Azure-hosted Open AI models — refs #2743

Changed

  • Improves autolink URL generation by improving the "best" remote detection — refs #2425
  • Improves preserving the ref names in deeplinks to comparisons

Fixed

  • Fixes #2744 - GH enterprise access with focus view
  • Fixes deeplink comparison ordering for a better experience
  • Fixes deeplinks to comparisons with working tree not resolving

v14.1.0

13 Jul 17:10
72260dc
Compare
Choose a tag to compare

Added

  • Adds the ability to link a GitKraken Cloud workspace with an associated VS Code workspace
    • Adds ability to automatically add repositories to the current VS Code workspace that were added to its associated GitKraken Cloud workspace, if desired
      • Adds a Change Linked Workspace Auto-Add Behavior... context menu command on the Current Window and linked workspace to control the desired behavior
      • Adds an Add Repositories from Linked Workspace... context menu command on the Current Window item to trigger this manually
    • Adds a new Open VS Code Workspace command to open an existing VS Code workspace associated with a GitKraken Cloud workspace
    • Adds a highlight (green) to the linked GitKraken Cloud workspace when the current VS Code workspace is associated with it in the GitKraken Workspaces view
  • Adds deep link support for comparisons in the Search & Compare view
    • Deep link format: vscode://eamodio.gitlens/r/{repoId}/compare/{ref1}[..|...]{ref2}?[url={remoteUrl}|path={repoPath}]
    • Adds a Share submenu with a Copy Link to Comparison command to comparisions in the Search & Compare view
  • Adds support for Anthropic's Claude 2 AI model
  • Adds a progress notification while repositories are being added to a GitKraken Cloud workspace

Changed

  • Improves scrolling performance on the Commit Graph
  • Renames Convert to VS Code Workspace to Create VS Code Workspace for workspaces in the GitKraken Workspaces view to better reflect the behavior of the action
  • Hides Create VS Code Workspace and Locate All Repositories commands on empty workspaces in the GitKraken Workspaces view

Fixed

  • Fixes #2798 - Improve response from OpenAI if key used is tied to a free account
  • Fixes #2785 - Remote Provider Integration URL is broken — thanks to PR #2786 by Neil Ghosh (@neilghosh)
  • Fixes #2791 - Unable to use contributors link in README.md — thanks to PR #2792 by Leo Dan Peña (@leo9-py)
  • Fixes #2793 - Requesting username change in contributors README page — thanks to PR #2794 by Leo Dan Peña (@leo9-py)
  • Fixes some rendering issues when scrolling in the Commit Graph
  • Fixes an issue with some shared workspaces not showing up in the GitKraken Workspaces view when they should
  • Fixes an issue when adding repositories to a workspace in the GitKraken Workspaces view where the added repository would show as missing until refreshing the view

v14.0.1

19 Jun 19:55
Compare
Choose a tag to compare

Changed

  • Changes view's contextual title to "GL" to appear more compact when rearranging views

Fixed

  • Fixes 2731 - Bug on Focus View Help Popup z-order
  • Fixes 2742 - Search & Compare: Element with id ... is already registered
  • Fixes an issue where the links in the Search & Compare view failed to open the specific search type
  • Fixes an issue when searching for commits and the results contain stashes

v14.0.0

14 Jun 22:18
Compare
Choose a tag to compare

Added

  • Adds an all-new Welcome experience to quickly get started with GitLens and discover features — even if you are familiar with GitLens, definitely check it out!
  • Adds a new streamlined Get Started with GitLens walkthrough
  • Adds an all-new Home view for quick access to GitLens features and GitKraken Account for managing your account
  • Adds a new reimagined views layout — see discussion #2721 for more details
    • Rearranges the GitLens views for greater focus and productivity, including the new GitLens Inspect and moved some of our views from Source Control into either GitLens or GitLens Inspect.
    • Adds a new GitLens Inspect activity bar icon focuses on providing contextual information and insights to what you're actively working on
    • Adds a Reset Views Layout command to reset all the GitLens views to the new default layout
  • Adds an all-new GitKraken Workspaces ☁️ feature as a side bar view, supporting interaction with local and cloud GitKraken workspaces, lists of repositories tied to your account.
    • Create, view, and manage repositories on GitKraken cloud workspaces, which are available with a GitKraken account across the range of GitKraken products
    • Automatically or manually link repositories in GitKraken cloud workspaces to matching repositories on your machine
    • Quickly create a GitKraken cloud workspace from the repositories in your current window
    • Open a GitKraken cloud workspace as a local, persisted, VS Code workspace file (further improvements coming soon)
    • Open a cloud workspace or repository in a new window (or your current window)
    • See your currently open repositories in the Current Window section
    • Explore and interact with any repository in a GitKraken cloud workspace, some actions are currently limited to repositories which are open in your current window — ones highlighted in green
    • (Coming soon) Share your GitKraken cloud workspaces with your team or organization
  • Adds new Commit Graph ✨ features and improvements
    • Makes the Panel layout the default for easy access to the Commit Graph with a dedicated details view
    • Adds two new options to the graph header context menu
      • Reset Columns to Default Layout - resets column widths, ordering, visibility, and graph column mode to default settings
      • Reset Columns to Compact Layout - resets column widths, ordering, visibility, and graph column mode to compact settings
    • Adds a Toggle Commit Graph command to quickly toggle the graph on and off (requires the Panel layout)
    • Adds a Toggle Maximized Commit Graph command to maximize and restore the graph for a quick full screen experience (requires the Panel layout)
    • Enables the Minimap by default, as its no longer experimental, to provide a quick overview of of commit activity above the graph
      • Adds ability to toggle between showing commits vs lines changed in the minimap (note: choosing lines changed requires more computation)
      • Adds a legend and quick toggles for the markers shown on the minimap
      • Defers the loading of the minimap to avoid impacting graph performance and adds a loading progress indicator
      • Adds a gitlens.graph.minimap.enabled setting to specify whether to show the minimap
      • Adds a gitlens.graph.minimap.dataType setting to specify whether to show commits or lines changed in the minimap
      • Adds a gitlens.graph.minimap.additionalTypes setting to specify additional markers to show on the minimap
    • Makes the Changes column visible by default (previously hidden)
      • Defers the loading of the Changes column to avoid impacting graph performance and adds a loading progress indicator to the column header
      • Adds a changed file count in addition to the changed lines visualization
      • Improves the rendering of the changed line visualization and adds extra width to the bar for outlier changes so that they stand out a bit more
    • Adds an Open Repo on Remote button to left of the repo name in the graph header
    • Improves contextual help on the search input as you type
    • Improves tooltips on Branch/Tag icons to be more uniform and descriptive
    • Adds new context menu options to the Commit Graph Settings (cog, above the scrollbar) to toggle which scroll marker to show
    • Improves alignment of scroll markers on the scrollbar, and adds a gap between the last column and the scrollbar
  • Adds the ability to choose which AI provider, OpenAI or Anthropic, and AI model are used for GitLens' experimental AI features
    • Adds a Switch AI Model command to the command palette and from the Explain (AI) panel on the Commit Details view
    • Adds a gitlens.ai.experimental.provider setting to specify the AI provider to use (defaults to openai)
    • Adds a gitlens.ai.experimental.openai.model setting to specify the OpenAI model (defaults to gpt-3.5-turbo) — closes #2636 thanks to PR #2637 by Daniel Rodríguez (@sadasant)
    • Adds a gitlens.ai.experimental.anthropic.model setting to specify the Anthropic model (defaults to claude-v1)
  • Adds expanded deep link support
    • Adds cloning, adding a remote, and fetching from the target remote when resolving a deep link
    • Adds deep linking to a repository with direct file path support
  • Adds the automatic restoration of all GitLens webviews when you restart VS Code
  • Adds ability to control encoding for custom remote configuration — closes #2336
  • Improves performance and rendering of the Visual File History and optimizes it for usage in the side bars
    • Adds a Full history option to the Visual File History — closes #2690
    • Adds a loading progress indicator
  • Adds Reveal in File Explorer command to repositories
  • Adds Copy SHA command to stashes
  • Adds new icons for virtual repositories

Changed

  • Changes header on GitLens Settings to be consistent with the new Welcome experience
  • Reduces the visual noise of currently inaccessible ✨ features in the side bars
  • Performance: Improves rendering of large commits on the Commit Details view
  • Performance: Defers possibly duplicate repo scans at startup and waits until repo discovery is complete before attempting to find other repos
  • Security: Disables Git access in Restricted Mode (untrusted)
  • Security: Avoids dynamic execution in string interpolation

Fixed

  • Fixes #2738 - Element with id ... is already registered
  • Fixes #2728 - Submodule commit graph will not open in the panel layout
  • Fixes #2734 - 🐛 File History: Browse ... not working
  • Fixes #2671 - Incorrect locale information provided GitLens
  • Fixes #2689 - GitLens hangs on github.dev on Safari
  • Fixes #2680 - Git path with spaces is not properly quoted in the command
  • Fixes #2677 - Merging branch produces path error
  • Fixes an issue with comparison commands on File/Line History views
  • Fixes an issue with stale state on many webviews when shown after being hidden
  • Fixes an issue with fetch/push/pull on the Commit Graph header
  • Fixes an issue where Branch / Tag items on the Commit Graph sometimes wouldn't expand on hover
  • Fixes an issue where some command were showing up on unsupported schemes
  • Fixes an issue where the file/line history views could break because of malformed URIs

v13.6.0

11 May 23:00
Compare
Choose a tag to compare

Added

  • Adds the ability to rename stashes — closes #2538
    • Adds a new Rename Stash... command to the Stashes view
  • Adds new Commit Graph features and improvements
    • Adds a Push or Pull toolbar button depending the current branch being ahead or behind it's upstream
    • Adds support for the Commit Graph over Visual Studio Live Share sessions
    • Adds the ability to move all of the columns, including the ones that were previously unmovable
    • Automatically switches column headers from text to icons when the column's width is too small for the text to be useful
    • Automatically switches the Author column to shows avatars rather than text when the column is sized to its minimum width
  • Adds the ability to search stashes when using the commit search via the Commit Graph, Search & Compare view, or the Search Commits command
  • Adds an Open Visual File History command to the new File History submenu on existing context menus
  • Allows the Repositories view for virtual repositories
  • Honors the git.repositoryScanIgnoredFolders VS Code setting
  • Adds Share, Open Changes, and Open on Remote (Web) submenus to the new editor line numbers (gutter) context menu
  • Adds an Open Line Commit Details command to the Open Changes submenus on editor context menus
  • Adds an Open Changes submenu to the row context menu on the Commit Graph

Changed

  • Refines and reorders many of the GitLens context menus and additions to VS Code context menus
    • Moves Copy Remote * URL commands from the Copy As submenu into the Share submenu in GitLens views
    • Adds a Share submenu to Source Control items
    • Moves Copy SHA and Copy Message commands on commits from the Copy As submenu into the root of the context menu
    • Moves Copy Relative Path command on files from the Copy As submenu into the root of the context menu
    • Moves file history commands into a File History submenu
    • Moves Open * on Remote commands into Open on Remote (Web) submenu
    • Renames the Commit Changes submenu to Open Changes
    • Renames Show Commit command to Quick Show Commit and Show Line Commit command to Quick Show Line Commit for better clarity as it opens a quick pick menu
  • Changes the file icons shown in many GitLens views to use the file type's theme icon (by default) rather than the status icon
    • Adds a gitlens.views.commits.files.icon setting to specify how the Commits view will display file icons
    • Adds a gitlens.views.repositories.files.icon setting to specify how the Repositories view will display file icons
    • Adds a gitlens.views.branches.files.icon setting to specify how the Branches view will display file icons
    • Adds a gitlens.views.remotes.files.icon setting to specify how the Remotes view will display file icons
    • Adds a gitlens.views.stashes.files.icon setting to specify how the Stashes view will display file icons
    • Adds a gitlens.views.tags.files.icon setting to specify how the Tags view will display file icons
    • Adds a gitlens.views.worktrees.files.icon setting to specify how the Worktrees view will display file icons
    • Adds a gitlens.views.contributors.files.icon setting to specify how the Contributors view will display file icons
    • Adds a gitlens.views.searchAndCompare.files.icon setting to specify how the Search & Compare view will display file icons
  • Renames Delete Stash... command to Drop Stash... in the Stashes view
  • Removes the commit icon when hiding avatars in the Commits view to allow for a more compact layout
  • Limits Git CodeLens on docker files — closes #2153
  • Shows progress notification for deep links earlier in the process — closes #2662

Fixed

  • Fixes #2664 - Terminal run Git command can be "corrupted" if there is previous text waiting in the terminal
  • Fixes #2660 - Commands executed in the terminal fail to honor found Git path
  • Fixes #2654 - Toggle zen mode not working until you restart vscode
  • Fixes #2629 - When on VSCode web, add handling for failing repo discovery
  • Fixes many issues with using GitLens over Visual Studio Live Share sessions
  • Fixes mouse scrubbing issues with the minimap on the Commit Graph
  • Fixes Refresh Repository Access and Reset Repository Access Cache commands to always be available
  • Fixes state not being restored on the Home webview
  • Fixes getting the oldest unpushed commit when there is more than 1 remote
  • Fixes an issue with the quick input on the Git Command Palette unexpectedly going back to the previous step
  • Fixes GitLens access tooltip not being visible when hovering in the Commit Graph
  • Fixes last fetched messaging in the Commit Graph when its never been fetched

Removed

  • Removes "Open Commit on Remote" command from the VS Code Timeline view as it can no longer be supported — see microsoft/vscode/#177319

v13.5.0

07 Apr 17:37
Compare
Choose a tag to compare

Added

  • Adds the ability to switch to an alternate panel layout for the Commit Graph — closes #2602 and #2537
    • Adds a new context menu from the Commit Graph Settings (cog) to switch between the "Editor" and "Panel" layouts
    • Adds a gitlens.graph.layout setting to specify the layout of the Commit Graph
      • editor - Shows the Commit Graph in an editor tab
      • panel - Shows the Commit Graph in the bottom panel with an additional Commit Graph Details view alongside on the right
  • Adds new Commit Graph features and improvements
    • Adds a compact layout to the Graph column of the Commit Graph
      • Adds a context menu option to the header to toggle between the "Compact" and "Default" layouts — closes #2611
    • Shows pull request icons on local branches when their upstream branch is associated with a pull request
    • Adds tooltips to work-in-progress (WIP) and stash nodes
    • Adds a "Publish Branch" context menu action to local branches without an upstream branch — closes #2619
    • Lowers the minimum width of the "Branch / Tag" column
  • Adds actions to Focus View Pull Requests
    • Switch to or create a local branch
    • Create or open a worktree from the branch
  • Adds a Generate Commit Message (Experimental)... command to the SCM context menus

Changed

  • Reduces the size of the GitLens (desktop) bundle which reduces memory usage and improves startup time — ~7% smaller (1.21MB -> 1.13MB)
    • Consolidates the "extension" side of all the GitLens webviews/webview-views into a unified controller and code-splits each webview/webview-view into its own bundle
      • Allows for very minimal code to be loaded for each webview/webview-view until its used, so if you never use a webview you never "pay" the cost of loading it
  • Changes Open Associated Pull Request command to support opening associated pull requests with the current branch or the HEAD commit if no branch association was found — closes #2559
  • Improves the "pinning" of the Commit Details view
    • Avoids automatically pinning
    • Changes the pinned state to be much more apparent
  • Changes Commit Details to always open diffs in the same editor group as the currently active editor — closes #2537

Fixed

  • Fixes #2597 - Allow disabling "Open worktree for pull request via GitLens..." from repository context menu
  • Fixes #2612 - Clarify GitLens telemetry settings
  • Fixes #2583 - Regression with Open Worktree for Pull Request via GitLens... command
  • Fixes #2252 - "Copy As"/"Copy Remote File Url" copies %23 instead of # in case of Gitea — thanks to PR #2603 by WofWca (@WofWca)
  • Fixes #2582 - Visual File History background color when in a panel
  • Fixes #2609 - If you check out a branch that is hidden, GitLens should show the branch still
  • Fixes #2595 - Error when stashing changes
  • Fixes tooltips sometimes failing to show in Commit Graph rows when the Date column is hidden
  • Fixes an issue with incorrectly showing associated pull requests with branches that are partial matches of the true branch the pull request is associated with

v13.4.0

16 Mar 17:31
Compare
Choose a tag to compare

Added

  • Adds an experimental Generate Commit Message (Experimental) command to use OpenAI to generate a commit message for staged changes
    • Adds a gitlens.experimental.generateCommitMessagePrompt setting to specify the prompt to use to tell OpenAI how to structure or format the generated commit message — can have fun with it and make your commit messages in the style of a pirate, etc
  • Adds auto-detection for .git-blame-ignore-revs files and excludes the commits listed within from the blame annotations
  • Adds a Open Git Worktree... command to jump directly to opening a worktree in the Git Command Palette
  • Adds a Copy Relative Path context menu action for active editors and file nodes in sidebar views
  • Adds the ability to see branches and tags on remote repositories (e.g. GitHub) on the Commit Graph
    • Currently limited to only showing them for commits on the current branch, as we aren't yet able to show all commits on all branches

Changed

  • Improves the display of items in the Commit Graph
    • When showing local branches, we now always display the upstream branches in the minimap, scrollbar markers, and graph rows
    • When laying out lanes in the Graph column, we now bias to be left aligned when possible for an easier to read and compact graph visualization
  • Improves Open Worktree for Pull Request via GitLens... command to use the qualified remote branch name, e.g. owner/branch, when creating the worktree
  • Removes Insiders edition in favor of the pre-release edition

Fixed

  • Fixes #2550 - Related pull request disappears after refresh
  • Fixes #2549 - toggle code lens does not work with gitlens.codeLens.enabled == false
  • Fixes #2553 - Can't add remote url with git@ format
  • Fixes #2083, #2539 - Fix stashing staged changes — thanks to PR #2540 by Nafiur Rahman Khadem (@ShafinKhadem)
  • Fixes #1968 & #1027 - Fetch-> fatal: could not read Username — thanks to PR #2481 by Skyler Dawson (@foxwoods369)
  • Fixes #2495 - Cannot use gitlens+ feature on public repo in some folders
  • Fixes #2530 - Error when creating worktrees in certain conditions
  • Fixed #2566 - hide context menu in output panel — thanks to PR #2568 by hahaaha (@hahaaha)

v13.3.2

06 Mar 22:16
Compare
Choose a tag to compare

Changed

  • Reduces the size of the GitLens bundle which improves startup time
    • GitLens' extension bundle for desktop (node) is now ~24% smaller (1.58MB -> 1.21MB)
    • GitLens' extension bundle for web (vscode.dev/github.dev) is now ~6% smaller (1.32MB -> 1.24MB)

Fixed

  • Fixes #2533 - Current Branch Only graph filter sometimes fails
  • Fixes #2504 - Graph header theme colors were referencing the titlebar color properties
  • Fixes #2527 - shows added files for Open All Changes
  • Fixes #2530 (potentially) - Error when creating worktrees in certain conditions
  • Fixes an issue where trial status can be shown rather than a purchased license

v13.3.1

24 Feb 16:16
Compare
Choose a tag to compare

Fixed

  • Fixes graph issue where scroll markers do not update until mouseover when changing the gitlens.graph.scrollMarkers.additionalTypes setting.