# Change Log All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] ### Added - Adds new _Commit Graph_ features and improvements - Adds a new experimental minimap of commit activity to the _Commit Graph_ - Adds a new experimental _Changes_ column visualizing commit changes - Adds markers to the _Commit Graph_ scroll area indicating the location of the selected row, search results, current branch, upstream, and more - Adds the ability to show upstream (ahead/behind) status on local branches with remotes - Adds a double-click action on the status to pull (when behind) or push (when ahead) pending changes - Adds context menu actions to _Push_, _Pull_, and _Fetch_ the local branch - Adds a `gitlens.graph.showUpstreamStatus` setting to toggle upstream (ahead/behind) indicators on branches - Adds the ability to show any associated pull requests with branches - Adds a double-click action on the PR icon to open the PR in the browser - Adds context menu actions to _Open Pull Request on Remote_ and _Copy_ the PR URL - Adds a `gitlens.graph.pullRequests.enabled` setting to toggle PR icons — closes [#2450](https://github.com/gitkraken/vscode-gitlens/issues/2450) - Adds a context menu to the WIP row — closes [#2458](https://github.com/gitkraken/vscode-gitlens/issues/2458) - Adds a double-click action on commit rows to open the _Commit Details_ view - Improves Author and Avatar tooltips to now also show the contributor's email address, if available - Improves Date tooltips to now always show both the absolute and relative date - Improves the Worktree creation experience - Adds a prompt after the worktree is created to choose how to open the worktree - Adds a `worktrees.openAfterCreate` setting to specify how and when to open a worktree after it is created - Ensures new worktrees are created from the "main" repo, if already in a worktree - Adds a new _remote_ command to the _Git Command Palette_ to add, prune, and remove remotes - Adds a _Create Worktree for Pull Request via GitLens..._ context menu command on pull requests in the _GitHub Pull Requests and Issues_ extension's views - Adds settings to control the format of commits in the GitLens views ### Changed - Greatly reduces the size of many of GitLens' bundles which improves startup time - GitLens' extension bundle for desktop (node) is now ~18% smaller - GitLens' extension bundle for web (vscode.dev/github.dev) is now ~37% smaller - GitLens' Commit Graph webview bundle is now ~31% smaller - Changes the _Contributors_ view to be shown by default on the _GitLens_ sidebar ### Removed - Removes the use of an external color library for the _File Heatmap_ annotations and webview themes — reduces the bundled extension size ### Fixed - Fixes [#2473](https://github.com/gitkraken/vscode-gitlens/issues/2473) - Commit graph status bar show wrong last fetched date - Fixes [#2409](https://github.com/gitkraken/vscode-gitlens/issues/2409) - Commit Graph Show Current Branch Only shows unrelated commits from other branches - Fixes an issue where pinning not being respected in Commit Details view - Fixes graph issue where search results that are merge commits are not highlighted when the `gitlens.graph.dimMergeCommits` setting is enabled - Fixes graph issue where rows with tags belonging to a hovered branch are not highlighted when the `gitlens.graph.highlightRowsOnRefHover` setting is enabled ## [13.2.0] - 2022-12-20 ### Added - Adds many all-new _Commit Graph_ features and improvements - Adds the ability to filter commits, branches, stashes, and tags - Adds a new _Filter Graph_ dropdown button at the start of the search bar - Adds ability to quickly switch between _Show All Local Branches_ and _Show Current Branch Only_ branch filtering options - _Show All Local Branches_ — displays all local branches (default) - _Show Current Branch Only_ — displays only the current branch and it's upstream remote (if exists and _Hide Remote Branches_ isn't enabled) - Adds ability to hide all remote branches, stashes, and tags - Adds the ability to dim (deemphasize) merge commits - Adds a new header bar to provide quick access to common actions - Shows the currently selected repository with the ability to switch repositories when clicked (if multiple repositories are open) - Shows the current branch with the ability to switch branches when clicked - Provides a fetch action which also shows the last fetched time - Also, moves GitLens+ feature status and feedback links to the top right - Adds new ability to reorder columns by dragging and dropping column headers (not all columns are reorderable) - Adds new keyboard shortcuts - Use `shift+down arrow` and `shift+up arrow` to move to the parent/child of the selected commit row - Holding the `ctrl` key with a commit row selected will highlight rows for that commit's branch - Adds new settings - Adds a `gitlens.graph.dimMergeCommits` setting to specify whether to dim (deemphasize) merge commit rows - Adds a `gitlens.graph.scrollRowPadding` setting to specify the number of rows from the edge at which the graph will scroll when using keyboard or search to change the selected row ### Changed - Increases the delay to highlight associated rows when hovering over a branch to 1s in the _Commit Graph_ ### Removed - Removes the status bar from the _Commit Graph_ as it was replaced by the new header bar ### Fixed - Fixes [#2394](https://github.com/gitkraken/vscode-gitlens/issues/2394) - Work in progress file diff compares working tree with working tree, instead of working tree with head - Fixes [#2207](https://github.com/gitkraken/vscode-gitlens/issues/2207) - Error when trying to push individual commit - Fixes [#2301](https://github.com/gitkraken/vscode-gitlens/issues/2301) - Create Worktree button doesn't work in certain cases - Fixes [#2382](https://github.com/gitkraken/vscode-gitlens/issues/2382) - commits disappearing from commit details view when they shouldn't - Fixes [#2318](https://github.com/gitkraken/vscode-gitlens/issues/2318) - GitLens need to login again after VS Code insiders upgrade every day - Fixes [#2377](https://github.com/gitkraken/vscode-gitlens/issues/2377) - Missing Azure Devops Icon - Fixes [#2380](https://github.com/gitkraken/vscode-gitlens/issues/2380) - Autolink fails with curly braces - Fixes [#2362](https://github.com/gitkraken/vscode-gitlens/issues/2362) - Visual File History becomes unavailable when the workspace contains private repo - Fixes [#2381](https://github.com/gitkraken/vscode-gitlens/issues/2381) - can't use scrollbar in 'Commit Graph' view - Fixes an issue where focusout hides toolbar actions for the graph - Fixes an issue where _Switch to Another Branch..._ doesn't work in the Graph editor toolbar - Fixes graph issue with row highlighting/dimming sticking when the graph loses focus - Fixes graph issue with branches remaining hovered/extended when the mouse leaves the graph ## [13.1.1] - 2022-11-21 ### Fixed - Fixes [#2354](https://github.com/gitkraken/vscode-gitlens/issues/2354) - 'GitLens: Compare working three with...' Not able to select branch using keyboard - Fixes [#2359](https://github.com/gitkraken/vscode-gitlens/issues/2359) - rebase view shows 2 user icons even when they're the same ## [13.1.0] - 2022-11-17 ### Added - Adds _Commit Graph_ enhancements - Adds the ability to set keyboard shortcuts to commits and stashes on the _Commit Graph_ — closes [#2345](https://github.com/gitkraken/vscode-gitlens/issues/2345) - Keyboard shortcuts can be applied to many of the `gitlens.graph.*` commands and should use `gitlens:webview:graph:focus && !gitlens:webview:graph:inputFocus` for their "When Expression" to only apply when the _Commit Graph_ is focused - For example, add the following to your `keybindings.json` to allow Ctrl+C to copy the selected commit's SHA to the clipboard ```json { "key": "ctrl+c", "command": "gitlens.graph.copySha", "when": "gitlens:webview:graph:focus && !gitlens:webview:graph:inputFocus" } ``` - Automatically selects the `HEAD` commit in the _Commit Graph_ when switching branches - Improves performance of updating the _Commit Graph_ when the repository changes - Improves performance by avoiding unnecessary updates to the _Commit Details_ view when selection changes - Adds a `@me` search filter to the search box - Adds history navigation to the search box in the _Commit Graph_ - When the search field is focused, use the `up arrow` and `down arrow` to navigate through any previous searches that yielded results - Adds ability to reset to any commit in the _Commit Graph_ and GitLens views — closes [#2326](https://github.com/gitkraken/vscode-gitlens/issues/2326) - Adds _Interactive Rebase Editor_ performance and UX improvements - Changes the header and footer to always be visible - Shows the _Commit Details_ view on commit selection - Adds a `gitlens.rebaseEditor.showDetailsView` setting to specify when to show the _Commit Details_ view for the selected row in the _Interactive Rebase Editor_ - Adds full (multiline) commit message - Adds the `f` fixup shortcut key to UI - Consolidates the UI for author and committer information into a stack of avatars - Adds emoji support for commit messages — closes [#1789](https://github.com/gitkraken/vscode-gitlens/issues/1789) - Ensures that large rebases show rich commit details - Adds _Commit Details_ view improvements - Adds custom and non-rich integration-based autolinks and improves autolink display - Improves performance by avoiding unnecessary updates - Avoids "pinning" commits by default when opened from the _Commit Graph_, _Visual File History_, quick picks, etc - Adds a _Open in Commit Graph_ button even when showing uncommitted changes - Adds new sections and settings to the GitLens Interactive Settings - Adds a new _Commit Details_ view section - Adds a new _Terminal Links_ section - Adds autolink configuration to the _Hovers_ section - Adds a `@me` search filter to commit search in the _Search & Compare_ view and quick pick - Adds product usage telemetry - Honors the overall VS Code telemetry settings and add a `gitlens.telemetry.enabled` setting opt-out specifically for GitLens ### Changed - Changes the _Home_ view to always be available and polishes the experience - Changes SHA terminal links to use the _Commit Details_ view — closes [#2320](https://github.com/gitkraken/vscode-gitlens/issues/2320) - Adds a `gitlens.terminalLinks.showDetailsView` setting to specify whether to show the _Commit Details_ view when clicking on a commit link - Changes to uses VS Code as Git's `core.editor` for terminal run commands — closes [#2134](https://github.com/gitkraken/vscode-gitlens/issues/2134) thanks to [PR #2135](https://github.com/gitkraken/vscode-gitlens/pull/2135) by Nafiur Rahman Khadem ([@ShafinKhadem](https://github.com/ShafinKhadem)) - Adds a `gitlens.terminal.overrideGitEditor` setting to specify whether to use VS Code as Git's `core.editor` for GitLens terminal commands - Polishes webview (_Commit Graph_, _Interactive Rebase Editor_, etc) scroll bars to match VS Code's style and behavior ### Fixed - Fixes [#2339](https://github.com/gitkraken/vscode-gitlens/issues/2339) - Commit details "Autolinks" group shows wrong count - Fixes [#2346](https://github.com/gitkraken/vscode-gitlens/issues/2346) - Multiple cursors on the same line duplicate inline annotations; thanks to [PR #2347](https://github.com/gitkraken/vscode-gitlens/pull/2347) by Yonatan Greenfeld ([@YonatanGreenfeld](https://github.com/YonatanGreenfeld)) - Fixes [#2344](https://github.com/gitkraken/vscode-gitlens/issues/2344) - copying abbreviated commit SHAs is not working - Fixes [#2342](https://github.com/gitkraken/vscode-gitlens/issues/2342) - Local remotes are incorrectly treated as private - Fixes [#2052](https://github.com/gitkraken/vscode-gitlens/issues/2052) - Interactive Rebase fails to start when using xonsh shell due to command quoting - Fixes [#2141](https://github.com/gitkraken/vscode-gitlens/issues/2141) - GitLens' rebase UI randomly fails loading interactive rebase when performed outside of VSC - Fixes [#1732](https://github.com/gitkraken/vscode-gitlens/issues/1732) - Phantom rebase-merge directory (`rm -rf ".git/rebase-merge"`) - Fixes [#1652](https://github.com/gitkraken/vscode-gitlens/issues/1652) - Closing interactive rebase editor after "git rebase --edit" aborts rebase-in-progress - Fixes [#1549](https://github.com/gitkraken/vscode-gitlens/issues/1549) - Fetch does not work when local branch name differs from remote branch name - Fixes [#2292](https://github.com/gitkraken/vscode-gitlens/issues/2292) - Push button in BranchTrackingStatusNode of non-current branch does not trigger "Push force" - Fixes [#1488](https://github.com/gitkraken/vscode-gitlens/issues/1488) - Open Folder History not working with non-English language pack - Fixes [#2303](https://github.com/gitkraken/vscode-gitlens/issues/2303) - "Googlesource" gerrit only supports two levels of domain — thanks to [PR #2304](https://github.com/gitkraken/vscode-gitlens/pull/2304) by Matt Buckley ([@Mattadore](https://github.com/Mattadore)) - Fixes [#2315](https://github.com/gitkraken/vscode-gitlens/issues/2315) - Commit details secondary side bar banner doesn't stay dismissed - Fixes [#2329](https://github.com/gitkraken/vscode-gitlens/issues/2329) - Remember UI settings in Commit Details panel - Fixes [#1606](https://github.com/gitkraken/vscode-gitlens/issues/1606) - Adjusts capitalization of "URL" — thanks to [PR #2341](https://github.com/gitkraken/vscode-gitlens/pull/2341) by Dave Nicolson ([@dnicolson](https://github.com/dnicolson)) - Fixes issue where we weren't honoring the default gravatar style (`gitlens.defaultGravatarsStyle`) in certain cases - Fixes graph issue where stashes are sometimes assigned the wrong column - Fixes graph issue with commit rows being incorrectly hidden in some cases - Fixes graph issue with merge commits not being hidden correctly in some cases - Fixes some graph issues with hover on branch/tag labels ## [13.0.4] - 2022-11-03 ### Fixed - Fixes [#2298](https://github.com/gitkraken/vscode-gitlens/issues/2298) - Commit Graph does not update to current branch correctly - Fixes [#2300](https://github.com/gitkraken/vscode-gitlens/issues/2300) - extra non-functional toolbar buttons when viewing PR diffs in VSCode web - Fixes [#2281](https://github.com/gitkraken/vscode-gitlens/issues/2281) - Push and Pull buttons missing from the commits view w/ integrations disabled - Fixes [#2276](https://github.com/gitkraken/vscode-gitlens/issues/2276) - Search commit by Sha not working in Gitlens side bar - Fixes issues with PR uris (scheme: `pr`) from not working properly, especially with virtual repositories ## [13.0.3] - 2022-10-20 ### Added - Adds a banner to the _Commit Details_ view to let users know they can move the view to the Secondary Side Bar ### Changed - Changes the _Commit Graph_ settings for improved clarity and ordering ### Fixed - Fixes [#2271](https://github.com/gitkraken/vscode-gitlens/issues/2271) - Terminal commands should wrap path with quote to deal with path contains space - Fixes an issue where the _Commit Details_ view fails to show the full commit message and changed files when following editor lines ## [13.0.2] - 2022-10-17 ### Added - ✨ All GitLens+ features on public and local repos are now available to everyone — no account required! - We are excited to bring the power of GitLens+ features to more people without gates - ✨ Commit Graph is out of preview! - Contextual right-click menus with popular actions for commits, branches, tags, and authors - Double-click on a branch or tag to quickly switch your working tree to it - Rich search features to find exactly what you're looking for: - Powerful filters to search by commit, message, author, a changed file or files, or even a specific code change - Searches look at ALL commits in a repository, not just what's shown in the graph - PR support for connected rich integrations (GitHub/GitLab) - Significant performance improvements when opening the graph and loading in additional commits - Personalization of your graph experience - Show and hide remotes, branches, tags, and columns - Settings UI for easy fine-grain control over advanced settings - And so much more! - Adds an all-new GitLens _Home_ view to help you get started with GitLens and GitLens+ features - Adds autolinks and improves formatting of the commit message in the _Commit Details_ view - Adds `View as Tree` toggle option for changed files in the _Commit Details_ view - Adds an `Open in Commit Graph` action to branches, commits, stashes, and tags in GitLens views, hovers, and commit quick pick menus - Adds a `Reveal in Side Bar` action to hovers ### Changed - Changes the `Show Commit` action in the hovers to `Open Details` and opens the _Commit Details_ view ### Fixed - Fixes [#2203](https://github.com/gitkraken/vscode-gitlens/issues/2203) - Autolinks missing under commit details - Fixes [#2230](https://github.com/gitkraken/vscode-gitlens/issues/2230) - j and k are inverted in ascending rebase order - Fixes [#2195](https://github.com/gitkraken/vscode-gitlens/issues/2195) - Cannot open new files from commit details - Fixes Commit Details view showing incorrect diffs for certain commits - Fixes Commit Details view showing incorrect actions for uncommitted changes - Fixes prioritization of multiple PRs associated with the same commit to choose a merged PR over others - Fixes Graph not showing account banners when access is not allowed and trial banners were previously dismissed ## [12.2.2] - 2022-09-06 ### Fixed - Fixes [#2177](https://github.com/gitkraken/vscode-gitlens/issues/2177) - Open Changes action unresponsive in Source Control view - Fixes [#2185](https://github.com/gitkraken/vscode-gitlens/issues/2185) - Commits view files are sometimes not shown when expanding folders - Fixes [#2180](https://github.com/gitkraken/vscode-gitlens/issues/2180) - Tree files view of commits is broken - Fixes [#2187](https://github.com/gitkraken/vscode-gitlens/issues/2187) - scm/title commands shown against non-Git SCM providers — thanks to [PR #2186](https://github.com/gitkraken/vscode-gitlens/pull/2186) by Matt Seddon ([@mattseddon](https://github.com/mattseddon)) ## [12.2.1] - 2022-09-01 ### Fixed - Fixes [#2185](https://github.com/gitkraken/vscode-gitlens/issues/2185) - Commits view files are sometimes not shown when expanding folders - Fixes [#2180](https://github.com/gitkraken/vscode-gitlens/issues/2180) - Tree files view of commits is broken - Fixes [#2179](https://github.com/gitkraken/vscode-gitlens/issues/2179) - Commit Graph content not displayed - Fixes regression with _Contributors_ view not working ## [12.2.0] - 2022-08-30 ### Added - ✨ Adds an all-new [**Commit Graph**](https://github.com/gitkraken/vscode-gitlens#commit-graph-), a [GitLens+ feature](https://gitkraken.com/gitlens/plus-features) — helps you to easily visualize branch structure and commit history. Not only does it help you verify your changes, but also easily see changes made by others and when ![Commit Graph illustration](https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/commit-graph-illustrated.png) - Adds a [**Commit Details view**](https://github.com/gitkraken/vscode-gitlens#commit-details-view-) — provides rich details for commits and stashes - Contextually updates as you navigate: - lines in the text editor - commits in the _Commit Graph_, _Visual File History_, or _Commits_ view - stashes in the _Stashes_ view - Alternatively, you can search for or choose a commit directly from the view - ✨ Adds [**rich integration**](https://github.com/gitkraken/vscode-gitlens#remote-provider-integrations-) with GitHub Enterprise — closes [#1210](https://github.com/gitkraken/vscode-gitlens/issues/1210) - Adds associated pull request to line annotations and hovers ![Pull requests on line annotation and hovers](https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/hovers-current-line-details.png) - Adds associated pull request to status bar blame ![Pull requests on status bar](https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/status-bar.png) - Adds GitHub avatars - Adds associated pull requests to branches and commits in GitLens views - Adds rich autolinks for GitHub issues and merge requests, including titles, status, and authors - Adds rich support to _Autolinked Issues and Pull Requests_ within comparisons to list autolinked GitHub issues and merge requests in commit messages - Adds new stash behaviors to use the Source Control (commit message) input box — closes [#2081](https://github.com/gitkraken/vscode-gitlens/issues/2081) - When a stash is applied or popped and the Source Control input is empty, we will now update the Source Control input to the stash message - When stashing changes and the Source Control input is not empty, we will now default the stash message input to the Source Control input value - Adds the ability to search (/ or Ctrl+F) for text on the Interactive Rebase Editor — closes [#2050](https://github.com/gitkraken/vscode-gitlens/issues/2050) - Adds stats (additions & deletions) to files nodes in comparisons — closes [#2078](https://github.com/gitkraken/vscode-gitlens/issues/2078) thanks to help via [PR #2079](https://github.com/gitkraken/vscode-gitlens/pull/2079) by Nafiur Rahman Khadem ([@ShafinKhadem](https://github.com/ShafinKhadem)) - Adds the ability to uniquely format uncommitted changes for the current line blame annotations — closes [#1987](https://github.com/gitkraken/vscode-gitlens/issues/1987) - Adds a `gitlens.currentLine.uncommittedChangesFormat` setting to specify the uncommitted changes format of the current line blame annotation. **NOTE**: Setting this to an empty string will disable current line blame annotations for uncommitted changes - Adds variable expansion support to the `gitlens.worktrees.defaultLocation` setting - `${userHome}` — the path of the user's home folder - `${workspaceFolder}` — the path of the folder opened in VS Code containing the specified repository - `${workspaceFolderBasename}` — the name of the folder opened in VS Code containing the specified repository without any slashes (/) - Adds owner avatars to remotes in the _Remotes_ view for GitHub remotes ### Changed - Greatly improves performance of many view interactions when connected to a rich integration and pull request details are enabled, including: - Showing and refreshing the _Commits_ view - Expanding commits, branches, and worktrees - Remembers chosen filter on files nodes in comparisons when refreshing - Changes display of filtered state of files nodes in comparisons - Improves diff stat parsing performance and reduced memory usage - Disallows comparisons with the working tree on the right-side (left-side still works as expected) and disables swapping - Uses VS Code as `core.editor` in rebase — closes [#2084](https://github.com/gitkraken/vscode-gitlens/issues/2084) thanks to [PR #2085](https://github.com/gitkraken/vscode-gitlens/pull/2085) by Nafiur Rahman Khadem ([@ShafinKhadem](https://github.com/ShafinKhadem)) ### Fixed - Fixes [#2017](https://github.com/gitkraken/vscode-gitlens/issues/2017) - Gitlens+ pro keeps signing out - Fixes [#1935](https://github.com/gitkraken/vscode-gitlens/issues/1935) - Constant prompt "Your github credentials do not have the required access" - Fixes [#2067](https://github.com/gitkraken/vscode-gitlens/issues/2067) - Your 'github' credentials are either invalid or expired - Fixes [#2167](https://github.com/gitkraken/vscode-gitlens/issues/2167) - Rollup diff between working tree and fetched remote doesn't show changes - Fixes [#2166](https://github.com/gitkraken/vscode-gitlens/issues/2166) - Don't always prompt for GitHub authentication on virtual repositories - Fixes [#2156](https://github.com/gitkraken/vscode-gitlens/issues/2156) - Reduce extension package size - Fixes [#2136](https://github.com/gitkraken/vscode-gitlens/issues/2136) - Search & Compare quickpick shouldn't select the mode text when opening - Fixes [#1896](https://github.com/gitkraken/vscode-gitlens/issues/1896) - Cannot read property 'fsPath' of undefined - Fixes [#1550](https://github.com/gitkraken/vscode-gitlens/issues/1550) - Push button in commit widget does not trigger "Push force" when ALT is pressed. - Fixes [#1991](https://github.com/gitkraken/vscode-gitlens/issues/1991) - Git lens status bar entry has an incomprehensible accessibility label - Fixes [#2125](https://github.com/gitkraken/vscode-gitlens/issues/2125) - "git log" command in version 12.x is very slow - Fixes [#2121](https://github.com/gitkraken/vscode-gitlens/issues/2121) - Typo in GitLens header — thanks to [PR #2122](https://github.com/gitkraken/vscode-gitlens/pull/2122) by Chase Knowlden ([@ChaseKnowlden](https://github.com/ChaseKnowlden)) - Fixes [#2082](https://github.com/gitkraken/vscode-gitlens/issues/2082) - GitLens Home view unreadable in certain themes - Fixes [#2070](https://github.com/gitkraken/vscode-gitlens/issues/2070) - Quoted HTML / JSX syntax is not escaped correctly - Fixes [#2069](https://github.com/gitkraken/vscode-gitlens/issues/2069) - Heatmap - incorrect behavior of gitlens.heatmap.fadeLines with gitlens.heatmap.ageThreshold - Fixes an issue where choosing "Hide Current Branch Pull Request" from the _Commits_ view overflow menu wouldn't hide the PR node - Fixes an issue where stashes without a message aren't displayed properly - Fixes an issue where the _Stashes_ view empty state isn't displayed properly when there are no stashes - Fixes typos via [PR #2086](https://github.com/gitkraken/vscode-gitlens/pull/2086) by stampyzfanz ([@stampyzfanz](https://github.com/stampyzfanz)), and [PR #2043](https://github.com/gitkraken/vscode-gitlens/pull/2043), [PR #2040](https://github.com/gitkraken/vscode-gitlens/pull/2040), [PR #2042](https://github.com/gitkraken/vscode-gitlens/pull/2042) by jogo- ([@jogo-](https://github.com/jogo-)) ## [12.1.2] - 2022-07-12 ### Fixed - Fixes [#2048](https://github.com/gitkraken/vscode-gitlens/issues/2048) - Gitlens not loading in vscode.dev ## [12.1.1] - 2022-06-16 ### Added - Adds getting started tutorial video to the Welcome, Get Started walkthrough, GitLens Home view, and README ### Fixed - Fixes [#2037](https://github.com/gitkraken/vscode-gitlens/issues/2037) - Autolinks can end up getting saved with invalid (cached) properties ## [12.1.0] - 2022-06-14 ### Added - ✨ Adds [**rich integration**](https://github.com/gitkraken/vscode-gitlens#remote-provider-integrations-) with GitLab and GitLab self-managed instances — closes [#1236](https://github.com/gitkraken/vscode-gitlens/issues/1236) - Adds associated pull request to line annotations and hovers ![Pull requests on line annotation and hovers](https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/hovers-current-line-details.png) - Adds associated pull request to status bar blame ![Pull requests on status bar](https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/status-bar.png) - Adds GitLab avatars - Adds associated pull requests to branches and commits in GitLens views - Adds rich autolinks for GitLab issues and merge requests, including titles, status, and authors - Adds rich support to _Autolinked Issues and Pull Requests_ within comparisons to list autolinked GitLab issues and merge requests in commit messages - Additional thanks to Kevin Paxton ([kpaxton](https://github.com/kpaxton)) for help and contributions on this feature - Adds editor line highlighting and code fading (dimming) to the _File Heatmap_ annotations to make it easier to tell recent vs old lines of code - Adds a `line` option to `gitlens.heatmap.locations` setting to specify whether to add a line highlight to the _File Heatmap_ annotations - Adds a `gitlens.heatmap.fadeLines` setting to specify whether to fade out older lines when showing the _File Heatmap_ annotations - Adds editor line highlighting to the _File Changes_ annotations for easier discovery of the added or changed lines - Adds a `line` option to `gitlens.changes.locations` setting to specify whether to add a line highlight to the _File Changes_ annotations - Adds "vanilla" [Gerrit](https://www.gerritcodereview.com/) remote provider support — closes [#1953](https://github.com/gitkraken/vscode-gitlens/issues/1953) thanks to [PR #1954](https://github.com/gitkraken/vscode-gitlens/pull/1954) by Felipe Santos ([@felipecrs](https://github.com/felipecrs)) - Adds "Oldest first" toggle to Interactive Rebase — closes [#1190](https://github.com/gitkraken/vscode-gitlens/issues/1190) - Adds a `gitlens.rebaseEditor.ordering` setting to specify how Git commits are displayed in the _Interactive Rebase Editor_ - Adds new and improved Autolink support - Adds an _Autolinks_ section in the _GitLens Settings Editor_ to visually add and update autolink entries — closes [#1315](https://github.com/gitkraken/vscode-gitlens/issues/1315) - Adds improved support to _Autolinked Issues and Pull Requests_ within comparisons to list autolinked issues in commit messages - You can now see all autolinks found in the commits in the comparison regardless of whether it's a provider-based autolink or a custom (user-provided) autolink - Adds _Open Current Branch on Remote_ to the Command Palette — closes [#1718](https://github.com/gitkraken/vscode-gitlens/issues/1718) ### Changed - Improves how stashes are shown in the _Stashes_ view by separating the associated branch from the stash message — closes [#1523](https://github.com/gitkraken/vscode-gitlens/issues/1523) - Changes previous Gerrit remote support to Google Source remote support — thanks to [PR #1954](https://github.com/gitkraken/vscode-gitlens/pull/1954) by Felipe Santos ([@felipecrs](https://github.com/felipecrs)) - Renames "Gutter Blame" annotations to "File Blame" - Renames "Gutter Changes" annotations to "File Changes" - Renames "Gutter Heatmap" annotations to "File Heatmap" ### Fixed - Fixes [#2033](https://github.com/gitkraken/vscode-gitlens/issues/2033) - Diffing, applying, and restoring untracked files in a stash doesn't work - Fixes [#2028](https://github.com/gitkraken/vscode-gitlens/issues/2028) - Branch names with special characters '<' also causes errors on the command line — thanks to [PR #2030](https://github.com/gitkraken/vscode-gitlens/pull/2030) by mcy-kylin ([@mcy-kylin](https://github.com/mcy-kylin)) - Fixes [#2028](https://github.com/gitkraken/vscode-gitlens/issues/2028) - Branch names with special characters like ';$|>' causes errors on the command line (terminal executed git commands) - Fixes [#2021](https://github.com/gitkraken/vscode-gitlens/issues/2021) - GitLab remote provider uses legacy routes — thanks to [PR #2022](https://github.com/gitkraken/vscode-gitlens/pull/2022) by Brian Williams ([@Brcrwilliams](https://github.com/Brcrwilliams)) - Fixes [#1998](https://github.com/gitkraken/vscode-gitlens/issues/1998) - Settings: time format reads 'Example date' instead of 'Example time' — thanks to [PR #1999](https://github.com/gitkraken/vscode-gitlens/pull/1999) by Barney Carroll ([@barneycarroll](https://github.com/barneycarroll)) - Fixes [#2012](https://github.com/gitkraken/vscode-gitlens/issues/2012) - 'Gitlens: Open Changes with Revision...' results in error - Fixes [#2014](https://github.com/gitkraken/vscode-gitlens/issues/2014) - '#' encoded incorrectly - Fixes [#1787](https://github.com/gitkraken/vscode-gitlens/issues/1787) - Remove '-review' from Gerrit Remote reviewDomain() — thanks to [PR #1954](https://github.com/gitkraken/vscode-gitlens/pull/1954) by Felipe Santos ([@felipecrs](https://github.com/felipecrs)) - Fixes [#1902](https://github.com/gitkraken/vscode-gitlens/issues/1902) - Support replacing mirror/replica domain with main domain for remote provider — thanks to [PR #1954](https://github.com/gitkraken/vscode-gitlens/pull/1954) by Felipe Santos ([@felipecrs](https://github.com/felipecrs)) ## [12.0.7] - 2022-05-25 ### Fixed - Fixes [#1979](https://github.com/gitkraken/vscode-gitlens/issues/1979) - GitLens stopped working in v12.0.0 and later - Fixes [#1882](https://github.com/gitkraken/vscode-gitlens/issues/1882) - Blame annotations not showing anymore after update - Fixes [#1776](https://github.com/gitkraken/vscode-gitlens/issues/1776) - Can't follow symlinks - Fixes [#2000](https://github.com/gitkraken/vscode-gitlens/issues/2000) - File Changes annotations fail to display in certain cases - Fixes [#1936](https://github.com/gitkraken/vscode-gitlens/issues/1936) - Broken repositories view - Fixes an issue where commit messages in views incorrectly had ellipsis at the end - Fixes an issue where clicking on tokens on the Settings editor popup wouldn't add the token into the input ## [12.0.6] - 2022-04-12 ### Fixed - Fixes [#1928](https://github.com/gitkraken/vscode-gitlens/issues/1928) - Unable to get absolute uri between ex.txt and z:; Base path 'z:' must be an absolute path — thanks to [PR #1929](https://github.com/gitkraken/vscode-gitlens/pull/1929) by Ross Smith II ([@rasa](https://github.com/rasa)) - Fixes [#1932](https://github.com/gitkraken/vscode-gitlens/issues/1932) - Pull request autolink doesn't work for Bitbucket Server 7 — thanks to [PR #1933](https://github.com/gitkraken/vscode-gitlens/pull/1933) by Sam Martin ([@smartinio](https://github.com/smartinio)) - Fixes [#1938](https://github.com/gitkraken/vscode-gitlens/issues/1938) - Git CodeLens causes line jumping on new virtual files - Fixes [#1925](https://github.com/gitkraken/vscode-gitlens/issues/1925) - Branches from remotes outside the repo aren't showing associated pull requests (for connected remotes) - Fixes [#1920](https://github.com/gitkraken/vscode-gitlens/issues/1920) - Can't view tags on torvalds/linux - Fixes [#1923](https://github.com/gitkraken/vscode-gitlens/issues/1923) - View titles fail to update properly when number of "opened" repos changes - Fixes smooth scrolling and TOC jumping issues on the GitLens Interactive Settings ## [12.0.5] - 2022-03-17 ### Changed - Changes the current line blame hover to show at the cursor, rather than the start of the line, when showing the hover over the whole line (e.g. line & annotation) - Changes [**_Gutter Changes_**](https://github.com/gitkraken/vscode-gitlens#gutter-changes-) file annotations to be theme-aware - Changes to honor the new(ish) `git.repositoryScanMaxDepth` setting if the `gitlens.advanced.repositorySearchDepth` setting isn't specified ### Fixed - Fixes [#1909](https://github.com/gitkraken/vscode-gitlens/issues/1909) - Should still "detect" repos directly in the workspace folder(s) even if `git.autoRepositoryDetection` is `false` - Fixes [#1829](https://github.com/gitkraken/vscode-gitlens/issues/1829) - Reduce re-rendering by disabling animation in blame info in the status bar - Fixes [#1864](https://github.com/gitkraken/vscode-gitlens/issues/1864) - Worktrees fail to load in working path with spaces - Fixes [#1881](https://github.com/gitkraken/vscode-gitlens/issues/1881) - Worktrees icon is very small - Fixes [#1898](https://github.com/gitkraken/vscode-gitlens/issues/1898) - Hovers display old Gravatar — thanks to [PR #1899](https://github.com/gitkraken/vscode-gitlens/pull/1899) by Leo Dan Peña ([@amouxaden](https://github.com/amouxaden)) - Fixes an issue where the [**_Gutter Changes_**](https://github.com/gitkraken/vscode-gitlens#gutter-changes-) file annotations could be rendered on the wrong lines in certain cases ## [12.0.4] - 2022-03-10 ### Added - Adds ability to paste in an authorization URL to complete a GitLens+ sign in ### Fixed - Fixes [#1888](https://github.com/gitkraken/vscode-gitlens/issues/1888) - Gitlens breaks vscode auto repository detection settings - Fixes an issue where the Visual File History wasn't correctly opening the commit file details quick pick menu - Fixes an issue where the _Open Visual File History of Active File_ command wasn't showing in the Command Palette ## [12.0.3] - 2022-03-10 ### Fixed - Fixes [#1897](https://github.com/gitkraken/vscode-gitlens/issues/1897) - Repeated GitHub errors when offline ## [12.0.2] - 2022-03-09 ### Added - Adds proxy support to network requests - By default, uses a proxy configuration based on VS Code settings or OS configuration - Adds a `gitlens.proxy` setting to specify a GitLens specific proxy configuration ### Changed - Changes local repositories to be considered public rather than private for GitLens+ features (so only a free account would be required) - Changes relative dates >= 1 year but < 2 years to be shown in months for better granularity - related to [#1546](https://github.com/gitkraken/vscode-gitlens/issues/1546) ### Fixed - Fixes [#1895](https://github.com/gitkraken/vscode-gitlens/issues/1895) - Honor defaultDateShortFormat setting on Visual File History - Fixes [#1890](https://github.com/gitkraken/vscode-gitlens/issues/1890) - can no longer see untracked files in stashes ## [12.0.1] - 2022-03-03 ### Added - Adds `gitlens.defaultDateFormat` setting to specify the locale, a [BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag#List_of_major_primary_language_subtags), to use for date formatting ### Changed - Removes dependency on GitKraken Authentication extension - Changes date formatting to follow the VS Code language locale by default - Changes framing of premium features into GitLens+ - Changes repository naming to better reflect its folder name, related to [#1854](https://github.com/gitkraken/vscode-gitlens/issues/1854) ### Fixed - Fixes [#2117](https://github.com/gitkraken/vscode-gitlens/issues/2117) - Gitlens freaks out when I'm off VPN - Fixes [#1859](https://github.com/gitkraken/vscode-gitlens/issues/1859) - GitLens dates use system locale instead of vscode language setting - Fixes [#1854](https://github.com/gitkraken/vscode-gitlens/issues/1854) - All repos have the same name - Fixes [#1866](https://github.com/gitkraken/vscode-gitlens/issues/1866) - Copy SHA and Copy Message don't work from the views (commits, branches, etc) - Fixes [#1865](https://github.com/gitkraken/vscode-gitlens/issues/1865) - Value shortOffset out of range for Intl.DateTimeFormat options property timeZoneName - Fixes [#1742](https://github.com/gitkraken/vscode-gitlens/issues/1742) - New file lines keep jumping down - Fixes [#1846](https://github.com/gitkraken/vscode-gitlens/issues/1846) - Restoring (checkout) a deleted file from a commit doesn't work - Fixes [#1844](https://github.com/gitkraken/vscode-gitlens/issues/1844) - Autolinked issues aren't properly paged when there are too many commits - Fixes [#1843](https://github.com/gitkraken/vscode-gitlens/issues/1843) - Compare references doesn't work if you have multiple repos open ## [12.0.0] - 2022-02-28 ### Added - Adds (preview) VS Code for Web support! - Get the power and insights of GitLens for any GitHub repository directly in your browser on vscode.dev or github.dev - Introducing GitLens+ features — [learn about GitLens+ features](https://gitkraken.com/gitlens/plus-features) - GitLens+ adds all-new, completely optional, features that enhance your current GitLens experience when you sign in with a free account. A free GitLens+ account gives you access to these new GitLens+ features on local and public repos, while a paid account allows you to use them on private repos. All other GitLens features will continue to be free without an account, so you won't lose access to any of the GitLens features you know and love, EVER. - Visual File History — a visual way to analyze and explore changes to a file - The Visual File History allows you to quickly see the evolution of a file, including when changes were made, how large they were, and who made them ![Visual File History view](https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/visual-file-history-illustrated.png) - Worktrees — allow multiple branches to be checked-out at once - Worktrees allow you to easily work on different branches of a repository simultaneously. You can create multiple working trees, each of which can be opened in individual windows or all together in a single workspace ![Worktrees view](https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/worktrees-illustrated.png) - Adds a new GitLens Home view — see welcome content, help resources, and subscription information - Adds a _Get Started with GitLens_ walkthrough to introduce new (and existing) users to many of the powerful features of GitLens — try it via _GitLens: Get Started_ from the Command Palette - Adds a new _Autolinked Issues and Pull Requests_ node to comparisons to list autolinked issues and pull requests in commit messages to quickly see all the issues fixed in a release and more - Currently only supported for connected GitHub remote providers - Adds the ability to choose a stash when opening or comparing file revisions, via the _Open Changes with Revision..._ & _Open File at Revision..._ commands - Adds improved hover information, including status and color-coding, shown on pull requests in the GitLens views - Adds a `gitlens.codeLens.dateFormat` setting to specify how to format absolute dates in the Git CodeLens - Adds an easier method to choose a specific commit to the _Git Command Palette_'s _merge_ & _rebase_ commands - Adds a new commit format token: `${link}` ### Changed - Completely refactors the internals of GitLens into a new flexible Git provider model to allow GitLens to work on the web and in virtual environments like vscode.dev and github.dev - Improves the user experience of the commit details and file details quick pick menus - Commands are now grouped and easier to understand and access — thanks to Tyler Leonhardt ([@tylerLeonhardt](https://github.com/tylerLeonhardt)) on the VS Code team for the quick pick API additions - Improves performance and reduces latency across many workflows - Improves startup performance on previously opened workspaces by remembering details from the last time the workspace was opened - Improves performance of the all GitLens webviews, most noticeable on the GitLens settings editor - Improves GitLens view refreshing when folders are added or removed from a workspace - Changes the icon of the _Open Changes_ action on the hovers to be clearer - Changes footnotes in hovers to be above the command bar rather than below - Reworks many internal Git parsers to reduce memory usage and improve performance ### Fixed - Fixes [#1818](https://github.com/gitkraken/vscode-gitlens/issues/1818) - Ambiguous error message on GitHub authentication errors - Fixes [#1645](https://github.com/gitkraken/vscode-gitlens/issues/1645) - Possible catastrophic backtracking with large inputs - Fixes [#1506](https://github.com/gitkraken/vscode-gitlens/issues/1506) - Annoying Github login request - Fixes [#1735](https://github.com/gitkraken/vscode-gitlens/issues/1735) - "gitlens.hovers.detailsMarkdownFormat" edit error - Fixes [#1745](https://github.com/gitkraken/vscode-gitlens/issues/1745) - autolinks.url encodes hash char - Fixes [#1572](https://github.com/gitkraken/vscode-gitlens/issues/1572) - Forced regular expression search in changes - Fixes [#1473](https://github.com/gitkraken/vscode-gitlens/issues/1473) - Support VSCodium in interactive rebase editor - Fixes [#1699](https://github.com/gitkraken/vscode-gitlens/issues/1699) - Exception has occurred: RangeError [ERR_OUT_OF_RANGE] - Fixes [#1601](https://github.com/gitkraken/vscode-gitlens/issues/1601) - Add a better time sample in "Dates & Times" setting - Fixes performance issue with the rich hover on the status bar blame - Fixes cross repository branch switching via the _Git Command Palette_ - Fixes an issue with TOC entries in the VS Code settings editor - Fixes issues using quotes when searching for commits in certain scenarios - Fixes issues when revealing items in GitLens views the item wouldn't get selected properly - Fixes issues with retries on _Git Command Palette_ command steps - Fixes code splitting issue where GitHub support wasn't split out of the main bundle for better loading performance - Fixes issue with quotes and commit search - Fixes a leaked disposable on cancellable promises ## [11.7.0] - 2021-11-18 ### Added - Adds a new rich commit details hover to the blame information in the status bar - Adds a `gitlens.statusBar.tooltipFormat` setting to specify the format (in markdown) of hover shown over the blame information in the status bar - Adds a new rich hover to the GitLens mode in the status bar - Adds functional groupings to all GitLens settings when using the VS Code settings UI. Groups will be displayed in the table of contents in the settings UI — thanks to Raymond Zhao ([@rzhao271](https://github.com/rzhao271)) on the VS Code team for allowing extensions to add groups to VS Code settings UI - Adds new action buttons on many quick pick menu options, including in the _Git Command Palette_ — thanks to Tyler Leonhardt ([@tylerLeonhardt](https://github.com/tylerLeonhardt)) on the VS Code team for the API support - Adds [Gerrit](https://www.gerritcodereview.com/) remote provider support — closes [#720](https://github.com/gitkraken/vscode-gitlens/issues/720) thanks to [PR #1535](https://github.com/gitkraken/vscode-gitlens/pull/1535) by Andrew Savage ([@andrewsavage1](https://github.com/andrewsavage1)) - Adds new _Open File_ command (with _Open Revision_ as an `alt-click`) to files in comparisons — closes [#1710](https://github.com/gitkraken/vscode-gitlens/issues/1710) - Adds a new _Cherry Pick without Committing_ confirmation option to the _Git Command Palette_'s _cherry-pick_ command — closes [#1693](https://github.com/gitkraken/vscode-gitlens/issues/1693) - Adds a new _Merge without Fast-Forwarding or Committing_ confirmation option to the _Git Command Palette_'s _merge_ command — closes [#1178](https://github.com/gitkraken/vscode-gitlens/issues/1178) thanks to [PR #1621](https://github.com/gitkraken/vscode-gitlens/pull/1621) by Dmitry Ulupov ([@dimaulupov](https://github.com/dimaulupov)) - Adds commit message autolinking of merged pull requests for Azure Repos — closes [#1486](https://github.com/gitkraken/vscode-gitlens/issues/1486) thanks to [PR #1487](https://github.com/gitkraken/vscode-gitlens/pull/1487) by Mark Molinaro ([@markjm](https://github.com/markjm)) - Adds a new `AzureDevOps` type to `gitlens.remotes` to better support Azure DevOps remote matching — thanks to [PR #1487](https://github.com/gitkraken/vscode-gitlens/pull/1487) by Dmitry Gurovich ([@yrtimiD](https://github.com/yrtimiD)) ### Changed - Changes the _No Fast-forward Merge_ confirmation option in the _Git Command Palette_'s _merge_ command to _Merge without Fast-Forwarding_ ### Fixed - Fixes [#1669](https://github.com/gitkraken/vscode-gitlens/issues/1669) - Workitem Link (Hover ) for Repository (DevOps) with Blank is broken - Fixes [#1695](https://github.com/gitkraken/vscode-gitlens/issues/1695) - gitlens.remotes: ${repo} has '%2520' instead of '%20' for a space - Fixes [#1531](https://github.com/gitkraken/vscode-gitlens/issues/1531) - Typo in `gitlens.defaultGravatarsStyle` options — thanks to [PR #1532](https://github.com/gitkraken/vscode-gitlens/pull/1532) by Alwin Wang ([@alwinw](https://github.com/alwinw)) - Fixes [#1511](https://github.com/gitkraken/vscode-gitlens/issues/1511) - Avatars are blurry on retina displays — thanks to [PR #1595](https://github.com/gitkraken/vscode-gitlens/pull/1595) by Adaex Yang ([@adaex](https://github.com/adaex)) - Fixes [#1609](https://github.com/gitkraken/vscode-gitlens/issues/1609) - X.globalState.setKeysForSync is not a function — thanks to [PR #1610](https://github.com/gitkraken/vscode-gitlens/pull/1610) by Stanislav Lvovsky ([@slavik-lvovsky](https://github.com/slavik-lvovsky)) - Fixes [#1131](https://github.com/gitkraken/vscode-gitlens/issues/1131) - Order matters for search filters in 'search commits' — with help from [PR #1575](https://github.com/gitkraken/vscode-gitlens/pull/1575) by Lior Kletter ([@Git-Lior](https://github.com/Git-Lior)) - Fixes [#1583](https://github.com/gitkraken/vscode-gitlens/issues/1583) - Should hide the context menu on unrelated tabs — thanks to [PR #1589](https://github.com/gitkraken/vscode-gitlens/pull/1589) by Takashi Tamura ([@tamuratak](https://github.com/tamuratak)) - Fixes [#1587](https://github.com/gitkraken/vscode-gitlens/issues/1587) - Hover on blame can duplicate — thanks to [PR #1588](https://github.com/gitkraken/vscode-gitlens/pull/1588) by Takashi Tamura ([@tamuratak](https://github.com/tamuratak)) ## [11.6.1] - 2021-10-08 ### Changed - GitLens joins forces with GitKraken! — [Learn more](https://gitkraken.com/blog/gitkraken-acquires-gitlens-for-visual-studio-code) ## [11.6.0] - 2021-07-13 ### Added - Adds new _Open Previous Changes with Working File_ command to commit files in views — closes [#1529](https://github.com/gitkraken/vscode-gitlens/issues/1529) - Adopts new vscode `createStatusBarItem` API to allow for independent toggling — closes [#1543](https://github.com/gitkraken/vscode-gitlens/issues/1543) ### Changed - Dynamically generates hashes and nonces for webview `