Skip to content

Releases: microsoft/vscode-pull-request-github

0.126.0

12 Jan 11:13
7a55676

Choose a tag to compare

0.126.0

Changes

  • A multi-diff editor can be opened for a pull request by URI. For example, vscode-insiders://github.vscode-pull-request-github/open-pull-request-changes?uri=https://github.com/microsoft/vscode-css-languageservice/pull/460.
  • There's an option to "Checkout on Codespace" from the pull request description webview.
  • ctrl/cmd + R when the pull request description webview is focused will refresh the webview.
  • You can "Reveal in Explorer" from files in the "Changes in Pull Request" view and the "Pull Requests" views.
  • Commit SHAs in PR file comments will be linkified.
  • Set "githubPullRequests.pullRequestDescription": "branchName" to have the pull request title pre-filled with the branch name when creating a new pull request.
  • The command "GitHub Issues: Open Issue on GitHub" can be used when your cursor is in an issue reference (e.g., #1234) in a text file to open the issue on GitHub.
  • Set "githubPullRequests.commentExpandState": "collapsePreexisting" to have pre-existing comments collapsed by default when opening a pull request description webview, while new comments remain expanded.
  • Choose which PR template to use when creating a new pull request (requires that "githubPullRequests.pullRequestDescription": "template" is set).

Button to change pull request template

  • Metadata from issue templates (e.g., assignees, labels) is now applied when creating a new issue from a template.
  • Issues created from TODO comments are assigned to the current user by default.
  • "githubPullRequests.createOnPublishBranch" can be set to "always" to always create a pull request when publishing a branch.
  • Open pull requests can be converted to drafts from the pull request description webview.

Convert to draft

  • We attempt to unwrap shortened commit lines in the pull request description webview to improve readability.
  • Copilot can generate descriptions for existing pull requests. "Edit" the description then use the sparkle icon to have Copilot generate a description.

Generate description for an existing pull request

  • Instead of checking out the default branch when you're done with a PR, you can configure that the PR base branch is checked out with "githubPullRequests.postDone": "checkoutPullRequestBaseBranch".
  • You can change the base branch of a PR from the pull request description webview.

Change base branch

  • PR branches can be configured to be automatically deleted when the PR is merged from this extension with the setting "githubPullRequests.deleteBranchAfterMerge": true.
  • When opening a folder for the first time, existing PR branches will be discovered and added to the "Local Pull Request Branches" view.

Fixes

  • Switch branch quick pick is not showing all branches. #8351
  • Auto-merge options aren't properly updated when base repo changes. #8195
  • Required check item renders strangely. #8176
  • Request review from Copilot. #6830
  • Make clear in which repo a pull request is stored. #6674
  • Show Changes Since Last Review should not consider pending reviews as "Last Review". #6226
  • Extension mistakenly thinks I'm using GH Enterprise with global "url aliasing". #4551

0.124.0

17 Dec 17:13
19bdd2c

Choose a tag to compare

0.124.0

Changes

  • The active pull request or issue webview title is now included as implicit context when using Copilot Chat. You can click on the implicit context item to include all the PR information in your prompt.

Pull request title as implicit context in Chat

  • Pull request and issue context can also be manually added to Chat from the "Add Context" menu.

Explicit Chat context

  • Single button for marking Copilot pull requests as ready for review, approved, and automerge (if enabled).

Single button to mark Copilot pull requests

  • The "Copy link" action for individual comments shows in the pull request description webview.
  • Comments that are part of an un-submitted review (only visible to you) now show with at "comment draft" icon in the editor gutter and in the Comments view.
  • For commits where checks have run, the commit status icon now shows next to each commit in the pull request description webview.

Fixes

  • Comments don't show when PR is on non-default repo. #8050
  • ignoreSubmodules is honored differently for Pull Requests and Issues view. #7741

Thank You

0.122.1

19 Nov 17:17
473f96e

Choose a tag to compare

0.122.1

Fixes

  • Only one reviewer can be seen on the PR page. #8131
  • Drop down not doing anything. #8149
  • Pull in icon fixes. #8159

0.122.0

13 Nov 11:32
6f20916

Choose a tag to compare

0.122.0

Changes

  • Auto-generated PR descriptions (via githubPullRequests.pullRequestDescription) will respect the repository PR template if there is one.
  • Icons in the Pull Requests view now render with codicons instead of Unicode characters.
  • Drafts in the Pull Requests view now render in italics instead of having a [DRAFT] prefix.

Pull Requests view showing codicon labels and italic draft PR titles

  • Emoji completions for :smile: style emojis are now available in review comments.

Emoji completions in review comments

Markdown alerts in review comments

  • Opening an empty commit from a pull request webview shows an editor with a message instead of showing a notification.
  • Pull requests can be opened from from a url, for example: vscode-insiders://github.vscode-pull-request-github/checkout-pull-request?uri=https://github.com/microsoft/vscode-css-languageservice/pull/460
  • Icons are up-to-date with VS Code's latest icons.
  • If you start a review and want to cancel it, there's now a "Cancel Review" button in the pull request webview.

Cancel review button

Fixes

  • Reactions to code comments are not showing up (Web). #2195
  • Editing a comment freezes VS Code. microsoft/vscode#274455
  • Github Pull Request tab won't open if branch names are reused. #8007
  • Icons are misaligned. #7998
  • "Git is not installed or otherwise not available" even though it is. #5454

Thank You

0.120.2

30 Oct 16:08
57b6fec

Choose a tag to compare

0.120.2

Fixes

  • Unable to open PR webview within VSCode. #8028

0.120.1

17 Oct 10:24
7f0fc29

Choose a tag to compare

0.120.1

Fixes

  • Extension cannot find git repo when VS Code didn't open the git root directory. #7964

0.120.0

09 Oct 18:12
827d698

Choose a tag to compare

0.120.0

Changes

  • The #openPullRequest tool recognizes open PR diffs and PR files as being the "open pull request".
  • All Copilot PR notifications can be marked as ready using the right-click context menu on the Copilot section header in the Pull Requests view.
  • The setting githubIssues.issueAvatarDisplay can be used to control whether the first assignee's avatar or the author's avatar is shown in the Issues view.
  • Instead of always running the pull request queries that back the Pull Requests view when refreshing, we now check to see if there are new PRs in the repo before running the queries. This should reduce API usage when there are no new PRs.
  • The "Copy link" action is back near the PR title in the pull request description webview.
  • You can configure that the default branch is pulled when you're "done" with a PR using "githubPullRequests.postDone": "checkoutDefaultBranchAndPull".

Fixes

  • Unable to get list of users to assign them to a pull request. #7908
  • Error notifications when using GitHub Enterprise Server. #7901
  • Ignore worktrees that aren't in one of the workspace folders. #7896
  • Typing "#" and then Enter or Tab opens the GitHub issue queries settings. #7838
  • Unexpected branch switching when githubIssues.useBranchForIssues = off. #7827
  • Extension enters rapid refresh loop, causing high API usage and rate limiting. #7816
  • GitHub PR view highlights all repos with Copilot notification. #7852
  • Wrong commit is checked out when local branch exists with the same name. #7702
  • Visual Label not provided for "Title" and "Description" field. #7595
  • VSCode unresponsive during GitHub Pull Requests PR checkout (large number of files changed). #6952
  • extension explodes and kicks back out to GITHUB: LOGIN when non github repos are in working directory (specifically codeberg). #6945

0.118.2

26 Sep 09:23
a1d9a72

Choose a tag to compare

0.118.2

Fixes

  • Long coding agent problem statement results in unrecoverable error (Truncate coding agent problem_statement). #7861

0.118.1

15 Sep 23:35
0f81ea8

Choose a tag to compare

0.118.1

Fixes

  • No logs available for this session race condition. #7783

0.118.0

11 Sep 15:53
896fb88

Choose a tag to compare

0.118.0

Changes

  • There's a new code action "Delegate to coding agent" which shows on TODO comments. The "to do" keywords are configurable using the existing setting ``.

Todo comment with "delegate to coding agent" action

  • More of the new Copilot coding agent user entry points prompt for sign in if you aren't already signed in to GitHub (GitHub Copilot Coding Agent view in Chat Sessions, #copilotCodingAgent tool, "Delegate to coding agent" button).
  • Some of the individual extension views used the same icon, making it difficult to distinguish between them if you drag them into their own view container. To solve this, several views use a new icon: "Pull Requests" uses github-inverted, "Active Pull Request" tree view uses diff-multiple, "Active Pull Request" webview view uses code-review.
  • The "sidebar" content (reviewers, assignees, labels, etc.) in the pull request description webview have always moved above the pull request body when the webview width is narrow. Now, it also collapses into a compact, readonly view, which can be expanded to make modifications.

Collapsed sidbar content on a narrow view

  • Pull request and issue webviews restore after reload.
  • The new #openPullRequest tool in Copilot Chat lets you reference the pull request currently open in a webview. The #activePullRequest tool continues to reference the pull request currently checked out.
  • The "Edit Query" command in the "Pull Requests" view has an option to edit the query with Copilot.
  • Setting "githubPullRequests.ignoreSubmodules": true will cause the extension to ignore submodules when looking for pull requests.
  • In the "Issues" view, you can right click on an issue and "Assign to Coding Agent".

Fixes

  • Only update coding agent PRs when view is open. #7643
  • Chat participant not honoring selected tools and thinks they are all selected. #7637
  • Red "closed" on closed issues is confusing. #7628
  • github-pull-request_activePullRequest returns empty comments array. #7601
  • Allows me to believe I assigned an issue on a repo where I lack that permission. #7534
  • clicked comment with no contents gave weird state. #7476
  • In GH PR review page, headers have redundant url content. #7509
  • Spurious error when checking out a PR with untracked files. #7294

Thank You