Skip to content

Releases: gitkraken/vscode-gitlens

v12.0.5

17 Mar 22:48
Compare
Choose a tag to compare

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 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 - Should still "detect" repos directly in the workspace folder(s) even if git.autoRepositoryDetection is false
  • Fixes #1829 - Reduce re-rendering by disabling animation in blame info in the status bar
  • Fixes #1864 - Worktrees fail to load in working path with spaces
  • Fixes #1881 - Worktrees icon is very small
  • Fixes #1898 - Hovers display old Gravatar — thanks to PR #1899 by Leo Dan Peña (@amouxaden)
  • Fixes an issue where the Gutter Changes file annotations could be rendered on the wrong lines in certain cases

v12.0.4

11 Mar 03:26
Compare
Choose a tag to compare

Added

  • Adds ability to paste in an authorization URL to complete a GitLens+ sign in

Fixed

  • Fixes #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

v12.0.3

10 Mar 06:24
Compare
Choose a tag to compare

Fixed

  • Fixes #1897 - Repeated GitHub errors when offline

v12.0.2

09 Mar 06:06
Compare
Choose a tag to compare

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

Fixed

  • Fixes #1895 - Honor defaultDateShortFormat setting on Visual File History
  • Fixes #1890 - can no longer see untracked files in stashes

v12.0.1

03 Mar 07:27
Compare
Choose a tag to compare

Added

  • Adds gitlens.defaultDateFormat setting to specify the locale, a BCP 47 language tag, to use for date formatting

Changes

  • 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

Fixed

  • Fixes #1859 - GitLens dates use system locale instead of vscode language setting
  • Fixes #1854 - All repos have the same name
  • Fixes #1866 - Copy SHA and Copy Message don't work from the views (commits, branches, etc)
  • Fixes #1865 - Value shortOffset out of range for Intl.DateTimeFormat options property timeZoneName
  • Fixes #1742 - New file lines keep jumping down
  • Fixes #1846 - Restoring (checkout) a deleted file from a commit doesn't work
  • Fixes #1844 - Autolinked issues aren't properly paged when there are too many commits
  • Fixes #1843 - Compare references doesn't work if you have multiple repos open

v12.0.0

28 Feb 16:27
Compare
Choose a tag to compare

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

    • Access to GitLens+ features require a free account for public repos and a paid account for private repos. All non-GitLens+ features will always continue to be free without an account, so you won't lose access to any of the GitLens features you know and love.

    • 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

    • 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

  • Adds a new GitLens Home view — see welcome content, help resource, 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 in commit messages and associated pull requests

    • Now you can 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) 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 - Ambiguous error message on GitHub authentication errors
  • Fixes #1645 - Possible catastrophic backtracking with large inputs
  • Fixes #1506 - Annoying Github login request
  • Fixes #1735 - "gitlens.hovers.detailsMarkdownFormat" edit error
  • Fixes #1745 - autolinks.url encodes hash char
  • Fixes #1572 - Forced regular expression search in changes
  • Fixes #1473 - Support VSCodium in interactive rebase editor
  • Fixes #1699 - Exception has occurred: RangeError [ERR_OUT_OF_RANGE]
  • Fixes #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

v11.7.0

18 Nov 20:41
Compare
Choose a tag to compare

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) 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) on the VS Code team for the API support
  • Adds Gerrit remote provider support — closes #720 thanks to PR #1535 by Andrew Savage (@andrewsavage1)
  • Adds new Open File command (with Open Revision as an alt-click) to files in comparisons — closes #1710
  • Adds a new Cherry Pick without Committing confirmation option to the Git Command Palette's cherry-pick command — closes #1693
  • Adds a new Merge without Fast-Forwarding or Committing confirmation option to the Git Command Palette's merge command — closes #1178 thanks to PR #1621 by Dmitry Ulupov (@dimaulupov)
  • Adds commit message autolinking of merged pull requests for Azure Repos — closes #1486 thanks to PR #1487 by Mark Molinaro (@markjm)
  • Adds a new AzureDevOps type to gitlens.remotes to better support Azure DevOps remote matching — thanks to PR #1487 by Dmitry Gurovich (@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 - Workitem Link (Hover ) for Repository (DevOps) with Blank is broken
  • Fixes #1695 - gitlens.remotes: ${repo} has '%2520' instead of '%20' for a space
  • Fixes #1531 - Typo in gitlens.defaultGravatarsStyle options — thanks to PR #1532 by Alwin Wang (@alwinw)
  • Fixes #1511 - Avatars are blurry on retina displays — thanks to PR #1595 by Adaex Yang (@adaex)
  • Fixes #1609 - X.globalState.setKeysForSync is not a function — thanks to PR #1610 by Stanislav Lvovsky (@slavik-lvovsky)
  • Fixes #1131 - Order matters for search filters in 'search commits' — with help from PR #1575 by Lior Kletter (@Git-Lior)
  • Fixes #1583 - Should hide the context menu on unrelated tabs — thanks to PR #1589 by Takashi Tamura (@tamuratak)
  • Fixes #1587 - Hover on blame can duplicate — thanks to PR #1588 by Takashi Tamura (@tamuratak)

v11.6.0

13 Jul 05:53
Compare
Choose a tag to compare

Added

  • Adds new Open Previous Changes with Working File command to commit files in views — closes #1529
  • Adopts new vscode createStatusBarItem API to allow for independent toggling — closes #1543

Changed

  • Dynamically generates hashes and nonces for webview <script> and <style> tags for better security

Fixed

  • Fixes #1432 - Unhandled Timeout Promise
  • Fixes #1562 - Yarn audit fails with 2 high sev vulnerabilities (dev dependencies only) — thanks to PR #1563 by Ivan Volzhev (@ivolzhevbt)
  • Fixes #1566 - Bug: unable to open 'pr.url' when clicking PR link
  • Fixes #1545 - Missing branch comparison controls in versions 11.5.0 and 11.5.1
  • Fixes #1548 - "Don't show again" on debug log warning doesn't work
  • Fixes #1449 - Configured remotes not showing up in quickpick menu when opening commit on remote
  • Fixes issues where auto-linking of GitHub 3rd party issue links didn't always work
  • Fixes issue with long commit messages on rebase editor
  • Fixes compatibility issue with Live Share

v11.5.1

14 Jun 15:05
Compare
Choose a tag to compare

Fixed

  • Fixes up/down order of the alternate shortcuts on the Interactive Rebase Editor

v11.5.0

14 Jun 06:07
Compare
Choose a tag to compare

Added

  • Adds support for Workspace Trust
  • Adds rich hovers to commits in the views — including associated pull requests (when connected to GitHub) and auto-linked issues
  • Adds a new section for associated pull requests (when connected to GitHub) and auto-linked issues to the Details hover
  • Adds the ability to filter comparisons to show only either the left-side or right-side file differences
  • Adds the Open Folder History command to root folders — closes #1505
  • Adds alternate j/k and shift+j/shift+k keyboard shortcuts to the Interactive Rebase Editor — closes #1538
  • Adds the ability to show contributor statistics, files changed as well as lines added and deleted (can take a while to compute depending on the repository) — closes #1489
    • Adds a Show Statistics / Hide Statistics toggle to the ... menu of the Contributors view
    • Adds a gitlens.views.contributors.showStatistics setting to specify whether to show contributor statistics in the Contributors view
  • Adds Create Pull Request... inline command to branches in the views

Changed

  • Adopts more VS Code codicons
  • Changes the Restore command title to Restore (Checkout) — closes #1493
  • Changes Compare with Working icon to better align with VS Code compare changes codicon
  • Renames the Discuss / Collab... button on the Details hover to Team...
  • Reverses the resulting comparison of the Compare with HEAD, Compare with Working, and Compare with Upstream commands in the views

Fixed

  • Fixes #1538 - Wrong initial keyboard focus in interactive rebase
  • Fixes #1498 - "Search & Compare" broken entries
  • Fixes #1507 - Communicate git error instead of "unable to find git"
  • Fixes #1512 - Git tag command can add an extra -m
  • Fixes #1402 - File history missing commits from other branches
  • Fixes an issue where the current line blame intermittently fails to appear
  • Fixes an issue where auto-linking of GitHub 3rd party issue links was broken
  • Fixes an issue where view decorations on macOS wouldn't show the correct icon