Skip to content

v12.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 30 Aug 19:41
· 3030 commits to main since this release

Added

  • ✨ Adds an all-new Commit Graph, a GitLens+ feature — 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
  • Adds a 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
    • Alteratively, you can search for or choose a commit directly from the view
  • ✨ Adds rich integration with GitHub Enterprise — closes #1210
    • Adds associated pull request to line annotations and hovers
      Pull requests on line annotation and hovers
    • Adds associated pull request to status bar blame
      Pull requests on status bar
    • 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
    • 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
  • Adds stats (additions & deletions) to files nodes in comparisons — closes #2078 thanks to help via PR #2079 by Nafiur Rahman Khadem (@ShafinKhadem)
  • Adds the ability to uniquely format uncommitted changes for the current line blame annotations — closes #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 thanks to PR #2085 by Nafiur Rahman Khadem (@ShafinKhadem)

Fixed

  • Fixes #2017 - Gitlens+ pro keeps signing out
  • Fixes #1935 - Constant prompt "Your github credentials do not have the required access"
  • Fixes #2067 - Your 'github' credentials are either invalid or expired
  • Fixes #2167 - Rollup diff between working tree and fetched remote doesn't show changes
  • Fixes #2166 - Don't always prompt for GitHub authentication on virtual repositories
  • Fixes #2156 - Reduce extension package size
  • Fixes #2136 - Search & Compare quickpick shouldn't select the mode text when opening
  • Fixes #1896 - Cannot read property 'fsPath' of undefined
  • Fixes #1550 - Push button in commit widget does not trigger "Push force" when ALT is pressed.
  • Fixes #1991 - Git lens status bar entry has an incomprehensible accessibility label
  • Fixes #2125 - "git log" command in version 12.x is very slow
  • Fixes #2121 - Typo in GitLens header — thanks to PR #2122 by Chase Knowlden (@ChaseKnowlden)
  • Fixes #2082 - GitLens Home view unreadable in certain themes
  • Fixes #2070 - Quoted HTML / JSX syntax is not escaped correctly
  • Fixes #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 by stampyzfanz (@stampyzfanz), and PR #2043, PR #2040, PR #2042 by jogo- (@jogo-)