- Action to navigate directly to pull request query in settings.json
- Cannot set branch tile when starting working on an issue despite useBranchForIssues=prompt. microsoft#3032
- No issue hovers in code editor. microsoft#3013
- Pending checks section is empty. microsoft#2949
Thank You
- @burkeholland (Burke Holland)
- @nicholas-l (Nicholas Latham): Allow authentication for github enterprise PR #3064
- Don't ask for auth upon activation. microsoft#3044
- Variable in settings for lowercase branch names when working on and issue
{
"githubIssues.issueBranchTitle": "${sanitizedLowercaseIssueTitle}"
}
- issueBranchTitle not Working as Expected. microsoft#2259
- Skipped status check is shown as pending. microsoft#2580
Thank You
- fix: make pending checks "show" button / link accessible. 2972 by @moshfeu
- Fixes Tick SVG doesn't look right #2950. 2971 by @burkeholland
- Create commit select horizontal padding is too high. 2970 by @burkeholland
- Focus border is used on assignees when it's not focused. 2967 by @burkeholland
- Button sizes don't look right when PR title is wrapped. 2966 by @burkeholland
- Respect remote link type for upstream. 2929 by @burkeholland
- Fixes #2259. 2909 by @burkeholland
- Lowercase branch names. 2986 by @burkeholland
- GitHub permalinks: Deduplicate the line number if the range is one line. 2980 by @lgarron
- Skipped status check is shown as pending. 3005 by @burkeholland
- PR created x minutes ago is cut off in small tabs. 2985 by @burkeholland
- All comments can be collapsed using the UI.
- All comments can be expanded and collapsed via the commands GitHub Pull Requests: Expand All Comments and GitHub Pull Requests: Collapse All Comments.
- The expand/collapse state of pull request comments can be set with the setting
githubPullRequests.commentExpandState
. - Adopted the new multiling string support for settings.
- Improved the language on the sidebar view to better indicate that you can submit a review.
- Copy GitHub Permalink is missing line info. microsoft#2924
- Old image version is not shown when viewing a checked-out pull request change for an image. microsoft#2914
- Extension asks to create pull request when remote is not github. microsoft#2879
- Edits to comments on PRs not being applied. microsoft#2869
- Could not resolve conversation on old PR. microsoft#2857
- Issue queries have the wrong owner. microsoft#2836
- PR description should auto fill when the PR is a single commit. microsoft#2540
Thank You
- Always show action bar in PR overview header. 2849 by @joshuaobrien
- When using a branch name as a PR title, ensure the first letter is capitalized. 2848 by @joshuaobrien
- Include PR template in PR description if there is just one commit. 2846 by @joshuaobrien
- Let the view know about the review status of the PR. 1833 by @RishabhKothaari
- Fix Copy Permalink commands for github.dev. microsoft#2903
- Do not preload mentionable users when a PR isn't checked out. microsoft#2892
- "Start working" on an issue has been expanded to let you work on issues outside of the repo you currently have open.
- Improved UX for merged PRs in the sidebar view.
- Comments can be deleted from the overview path. microsoft#2855
- Comments no longer get stuck "pending". microsoft#2822
- Comments are visible in diffs opened from the commits file view. microsoft#2688
- "Webview is disposed" error is fixed. microsoft#2444
Thank You
- Fix check fork details #2806 by @binsee
- chore: replace deprecated vscode-test with @vscode/test-electron #2842 by @iChenLei
- Status bar entries use the new
createStatusBarItem
API to show better names.
- Placeholder avatar is shown correctly with GitHub Enterprise. microsoft#2771
- Error messages no longer shown when there's a non-GitHub remote. microsoft#2768
- Copying a permalink doesn't require sign in. microsoft#2761
- There's a new timeout for listing branches so that repositories with many branches don't hang. microsoft#2753
- "There are updates" notification is shown less often and can be permanently hidden. microsoft#2628
- And more!
Thank You
- Fix broken pull request files pagination #2766 by @habibm
- Fix links in the readme for the marketplace: microsoft#2769
- Thanks to a community PR from @kabel, there is support for GitHub Enterprise. See the discussion in the PR for how to get set up.
- Files that have been marked as viewed on GitHub show a checkmark decoration in the pull request tree. Each file in the tree has an inline action for marking it as viewed or not viewed.
- Conversations can be marked as resolved within the editor. Resolved conversations collapse by default.
- The commented decoration in tree views has been updated to a speech bubble for clarity.
- The "Delete Review" and "Finish Review" buttons have been removed from the comment widget. Instead there is a "Go to Review" button which shows all comments in the pending review and allows choosing how to submit the review, as an approval or requesting changes.
- The "All" category of the pull request tree is expanded by default.
- Thanks to @icatalina, there is a new
githubPullRequests.terminalLinksHandler
setting to choose how create pull request links should be handled from the terminal.
- Fixed vulnerability described in CVE-2021-28470
-
For forked repositories, an upstream remote is automatically added if it doesn't exist.
-
The
githubPullRequests.focusedMode
setting is enabled by default, causing the "Focused Mode" view for a checked out pull request to be visible in the Pull Request view container. -
Thanks to @TanushN and @rohanshiva, the pull request description page now supports adding and removing assignees and milestones.
-
The pull request create view now allows selecting both the source and target branch instead of always using the current branch as the source.
- Using ${user} twice in the
githubPullRequests.queries
no longer results in an error. - Local branches are pruned when deleting the remote branch after merging a pull request.
-
The views of the extension have been split into two viewlets: one with the GitHub logo which contains the overview of pull requests, and issues, and one containing views for the active pull request.
-
The focused mode view has actions to refresh the view and open the description page.
-
Thanks to @TanushN and @rohanshiva, assignees and the milestone are displayed on the description page.
-
Resolved conversations are rendered as collapsed on the description page.
- Update the new "Create Pull Request" icon to be a sharper image.
-
Creating a pull request now uses views in the activity bar. You can enter the details of the pull request and view the diff between the current branch and the base branch.
-
When you publish a branch using the terminal, clicking on the resulting link can also be used to start the create pull request flow.
-
The command to create a pull request now also appears in the SCM view.
- Thanks to @IllusionMH, timestamps in the commit list do not text wrap.
-
File changes in the Pull Request view are expanded by default.
-
The timestamp in the pull request description has hover with the exact time.
-
There's a new command to "Leave Review Mode". It checks-out the default branch for the repository and remove the comment UI, just like the "Leave Review mode" button in the pull request description.
-
The "Description" node in the Pull Request tree has an inline action to checkout the pull request.
-
The Pull Request view lists the PR number first in the title, and also moves the "Draft" indication to be more prominent.
-
Thanks to @ejkim1996, there is an action to toggle between viewing files in a tree structure and viewing them as a flat list in the Changes in Pull Request view.
-
When a pull request is checked out, opening a file associated with it will automatically reveal this it in the CHanges in Pull Request view.
-
Clicking on a comment link on the pull request description page now always opens the associated file.
-
Thanks to @KaiSforza, the
The remote <remoteName> is not a GitHub repository.
error is now surpressed for remotes outside of those set ingithubPullRequests.remotes
.
- Adopt latest API changes for TreeItem in VS Code 1.52.0
- Adopt latest API changes for VS Code 1.52.0.
- Revert previous changes for proposed API changes since the minimum engine version is currently set to 1.50.0.
- Adopt latest proposed API changes.
-
GitHub permalinks in issue hovers for files that exist in your current workspace will be opened locally.
-
We are trying out a new "focused review" mode which changes the layout when you checkout a PR. You can try it with the
githubPullRequests.focusedMode
setting. -
Issue suggestions are now shown in code comment editors.
-
When you Start Working on an issue, it will be assigned to you if you permissions in the repository allow it.
-
Thanks to @rishab-pdx, the description page of the pull request now has an action to copy the link to the PR.
- Instead of showing two login buttons (one each in the Pull Requests and Issues views), we now show a login view.
- Editor tab titles are now shortened to the file name when viewing diffs from a pull request, and are suffixed with
(Pull Request)
.
- Fixes loading the extension in VSCode Insider's 1.50
- Pull requests and issues now follows a multi-repo model. This means that if you have folders in your workspace from different repositories you'll see the issues and pull requests from the repositories at the same time. You can also have pull requests checked out from multiple repositories.
- There is new setting,
githubPullRequests.pullRequestDescription
, to control how the description is set when creating a pull request. By default, this uses the pull request template in the repository if it exists, but can also be changed to use the latest commit message, a custom message input at create time, or to ask which of these options to use. Thank you to @heaths for this feature!
- GitHub Action based status checks are now rendered on the description page.
- Commenting on stale pull requests is better handled.
- When you try to Start Working on Issue in a repository where you don't have permission to push, you now have the option to fork the repository. This flow will fork the repository and configure your remotes.
- When attempting to push changes to a repository that you do not have permissions to push to, the extension will now prompt you to fork the repository and push to that instead.
- Updated the version of @octokit/rest to ^18.0.0. This is was a big refactor, but should result in better performance.
- The setting
githubIssues.workingIssueBranch
is deprecated in favor of the better namedgithubIssues.issueBranchTitle
. - The
githubIssues.issueBranchTitle
setting is now validated.
- Adopt latest authentication provider API changes
- The Issues view now shows the markdown card on hover.
- Label suggestions are provided in the new issue editor.
- Hovers work for issues formatted as GH-123.
- The
githubIssues.issueBranchTitle
setting can take the new variable${sanitizedIssueTitle}
. - If you have uncommitted changes in your issue branch when you try to create a pull request, you'll be prompted to commit them.
- Closed issues in the Issues view use the closed icon.
- The Pull Requests and Issues views use the visually appealing welcome mechanism to display the Sign in button.
- Users are only fetched when needed, not on every startup (1869)
- For hovers, the max issue number for the repo is checked to reduce false positives(1860)
- Improved display of labels in issue hovers by swapping out the existing svg version of the labels for a newly supported html version.
- When creating a GitHub permalink, we now try to pick the "best" remote if the currently opened repository has several remotes. The priority of remote is
upstream
,ups
,origin
, then other names. The first remote from that ordering which contains the same commit that the current branch is on will be used in the permalink. - Issue creation now better takes into account the file that you're coming from when you create an issue instead of only listening for repository change when a different repository is selected in the SCM view.
- The new issue editor now lets you edit the title, assignees, labels, and description.
- User and issue completions now only show in plaintext and in comments! No more noisy issue suggestions when you trigger suggest in code.
- Issues shown in the completion suggestion are now deduped, even when the
githubIssues.queries
result in having the same issue twice (1800). - There is not longer a notification shown when running GitHub Issues: Copy GitHub Permalink (1787).
- Comments are removed when showing issue hovers (1763).
- The Issues view now has a loading state that matches the Pull Requests view.
- Better support in multiroot workspaces (1741).
We have been working on a new set of GitHub issue related features. Take a look at our documentation for more details on these and how to use them!
- New issues view that supports custom queries
- User and issue completions in editors, which can be configured per language or disabled
- Hover for issues and users in the editor
- Issue completions within the commit input box in the SCM viewlet
- "Start working on issue" action which automatically create a branch, seed the commit message 1546
- Create pull request from current issue
- Adopt new VSCode Authentication Provider API 1616
- Change activity bar icon to pull request icon 1617
- Add a button to fetch when viewing partial content 1462 by @RikkiGibson
- Support mentionable users in LiveShare extension 'suggested' contacts 1694
- Contribute a GitHub repository picker to the
Git: Clone
command 1547 - Create a GitHub repository from a git workspace 1664
- Update dependencies
- Remove nonstandard anyways 1602 by @curtisgibby
- Update remotes setting description 1478
- Fix display of review comment summary on description page 1486
- Fix creation of PRs when source branch is not listed in remotes setting 1326
- Improve remote selection wording 866
- Reorder comment reaction menu to match GitHub 1532
- Do not duplicate comments on tree refresh 1492
- Remove branching logic for graphql 1431
- Set 'authServer' query parameter when opening login url 1440
- Prevent reflow of PR title on hover 1450
- Show rendered markdown after editing on description page 1457
- Better error handling for deleting local branches 1465
- Migrate to asExternalUri API 1475
We saw a huge amount of community participation this release, thank you so much to everyone who contributed!
- Option to view changed files in a tree instead of a list 653 by @yulrizka
- Allow choosing title when creating pull request 906 by @nminchow
- Add context menu actions to open original/modified file 35 by @anoadragon453 and @Tunous
- Add pending label to comments of pending reviews on timeline 1369 by @akosasante
- Support images in tree diff views 1356
- When file change patch is empty, directly fetch the file contents instead of showing notification to open on GitHub 305
- Add a quote reply action for comments on the description page 1396 by @shaodahong
- Clicking status bar item brings up configuration actions 360
- Sign-out picker: do not close on focus lost 1348
- Align "Request Changes" and "Approve" by comment 297 by @guilherme-gm
- Align commit hash in PR description and avoid breaking username on hyphen 1353 by @JeffreyCA
- Show "Successfully signed in" in status bar after login instead of notification 1347 by @JeffreyCA
- Check status bar item exists before setting text 1251
- Add confirmation dialog to delete review 1364
- Address @octokit/rest deprecation warnings 1367
- Correctly handle undefined path for empty files 1372
- Fetch branch prior to checking if its behind remote 1368
- Use path relative to the git repo instead of workspace 1374
- Editing comment on description page does not immediately update text 1383
- Cancel edit reverts to the wrong value of comment when re-editing 1157
- Fix commenting ranges for deleted files 1384
- Fix description page styling when reloading on high contrast theme 897
- Make comment drag handle transparent 1361 by @JeffreyCA
- Fix failure to detect remote is github when it has www subdomain 903
- Prevent Checkout/Refresh being selected on description page 628
- Prevent double selection when using secondary actions in the tree 1270
- Preserve expansion state of tree view items on checkout 1392
- Fix TypeError "Cannot read property 'comments' of undefined" while loading description page 1307
- Prevent links from overflowing the description area 806 by @lifez
- Ensure tree decorations are updated as comments change 664
- Support permanently ignoring sign in notification 1389
- Show PR actions only to users with push access 967 by @IllusionMH
- Preserve tree state on reload 1036 and 1409
- Use
asWebviewUri
API to get webview script URI by @IllusionMH - Remove useless conditional in preview header by @emtei
- Fix for displaying invalid pull request messages by @emtei
- Disable selection line numbers in diffs on the description page 354
- Better support for merging when in dirty state 1405
- Explain self assignment in pullRequestNode 1421 by @emtei
- Add back "Outdated" label to comments on description page 1407
- Fix invalid graphql url for github enterprise 1381 by @yulrizka
- Display "pending" mergeability state on description page and poll for updates 1412
- When assigning reviewers, limit list to assignable users and improve ordering 1424 by @IllusionMH
- Improve visibility of PR controls to take into account user write permissions 1408 and 1065 by @IllusionMH
- Adopt
createAppUri
API in authentication flow 1354
- Comments sometimes duplicated on diff files from pull request tree #1337
- Pull request tree incorrectly shows 'No git repositories found' #1334
- Add support for deleting a PR after close or merge #350
- Update GraphQL timeline event query
- Update dependencies
- Fix formatting of GitHub errors #1298
- Show error when user doesn't have permission to push to remote #1299
- Remove usage of rootPath and fix suggested edits #1312
- Disable 'Checkout' and 'Exit Review Mode' buttons while actions are in progress #1312
- Calculate unique branch name for PRs from forks #1294
- Fix 'Error: No matching file found' problem when adding comments #1308
- Initialize extension with repository that is currently selected in the source control view #1330
- Handle error on unshallow #1328
- Use pull request template when creating PR #798
- Improvements to pull request tree display message when loading or not signed in (#1269)(microsoft#1269)
- Change telemetry library to application insights [#1264)(microsoft#1264)
- Update icons to match new VSCode icon style (#1261)(microsoft#1261)
- Update dependencies
- Set a default array for
githubPullRequests.remotes
#1289 - Fix spacing between textbox and buttons on description page #1287
- Fix updates to comment thread cache when creating the first comment in a thread #1282
- Fix updates to outdated comments (#1279)[microsoft#1279]
- Ensure comment commands are limited to GitHub Pull Request comment widgets #1277
- Fix error when trying to add reviewers on description page #1181
- Enable removing a label on description page #1258
Thank You
- Description view of PR: make whole commit line clickable #1259 by @tobudim
- Sort description view labels case sensitively #1008 by @haryps
- Adopt new commenting api #1168
- Set tree selection on tree node when clicking on an inline action 1245
- Command palette sign in not working #1213
- Limit comment areas on the base side of diff editors to deleted lines #153
- Ensure extension activates when ssh config contains "Host +" #1255
- Update wording of sign in notification #757
- Address @octokit/rest deprecations #1227
- Do not show commands before extension has fully activated #1198
- Description page is blank after ## 0.7.0 upgrade #1175
- Change "wants to merge" text when viewing merged PR #1027
- Correct text alignment in merged timeline events #1199
- Update UI after adding reviewers or labels #1191
- Update PR details after merge #1183
- Display a message before opening file diffs in the browser #442, thank you @malwilley!
- Swap order of PR branch and target branch #784
Engineering
- Description view is now rendered with React #1096
- Performance improvement
- Pull Request Tree GitHub Enterprise Avatars #1121
- Unable to expand PRs whose branch contains a # character #1059
- Fix git onDidOpenRepository eventing #1122
- Introduce new comment provider API #972
- Fix rendering of checkboxes on description page #1038
- Fix #1082 to make sure commands are scoped to the correct tree
- Fix #291 to use monospace font for code blocks on description page
- Fix description not displaying after creating a pull request #1041
Breaking Changes
- From 0.5.0, you at least need VSCode 1.32 to install and run the extension.
- Add support for reacting to comments #46
- Display reviewers on the description page, and support adding and removing them #412
- Support adding and removing labels from the description page #933
- Fix #936, pending review not correctly detected in "Changes in Pull Request" tree
- Fix #929, description textarea not cleared when approving or requesting changes
- Fix #912, approving the PR scrolls to the top of the page
New settings
githubPullRequests.showInSCM
can be used to configure where theGitHub Pull Requests
tree is shown, either the new GitHub viewlet or the SCM viewlet where it was before. By default, the tree is shown in the GitHub viewlet.
Thank You
Breaking Changes
- From 0.4.0, you at least need VSCode 1.31 to install and run the extension.
- Display mergeability on PR description page #773
- Add an inline action to open the description to the side #310
- Add refresh button to the description page #771
- Improve performance of checkout by minimally fetching data and lazily loading #796
- Update the styling of the description page #763
- Support navigating to a file from the description page #750
- Linkify issue references on the description page #566
- Show user's role (collaborator, contributor, etc.) by comments on the description #303
- Support starting, deleting, and finishing a complete review #546
- Allow selecting the merge method on the description page #826
- Autocompletions for usernames within editor comments #842
As part of this release, we have begun adopting GitHub's GraphQL API in some places to support new features and improve performance. The reviews feature and linkifying of issue references depend on the GraphQL API. This API is not available for GitHub Enterprise, so please note that these features will not be available for those projects.
New settings
githubPullRequests.remotes
can be used to configure what remotes pull requests should be displayed from. By default, the extension will look forupstream
andorigin
remotes by convention and fetch from these, or will fetch from any other remotes if these are not present.githubPullRequests.defaultMergeMethod
specifies which merge method (merge
,rebase
, orsquash
) to select by default, both on the description page and when using theMerge Pull Request
command. This is set tomerge
by default.
Thank You
- Fix log output PR #804 by @Ikuyadeu
- Update setting description to use non deprecated key PR #916 by @mkonikov
- Honor the new
git.openDiffOnClick
setting #753 - Prompt to stage all changes when running the suggest changes with nothing staged #744
- Add an inline "Open File" action in the "Changes in Pull Request" tree and match styling of git changes #738
- Display the full file path using the tree item's description, matching other views #730
- Parse auth callback state parameter on client side instead of mkaing a request to the auth server #715
- Fix #735, ensure correct head parameter is used when creating PR
- Fix #727, make sure review state is always cleared when switching branches
- Fix #728, keep description page data up to date when updating title and description
- Add status check information on PR description page #713
- Add button for creating a pull request on PR tree view #709
- Add "Suggest Edit" command #688
- Fix #689, by [@JefferyCA], do not render markdown block comments
- Fix #553, don't prevent checkout when there are unrelated working tree changes
- Fix #576, handle GitHub enterprise behind a SSO wall
Breaking Changes
- From 0.3.0, you at least need VSCode 1.30 (including Insiders) to install and run the extension.
Thank You
- Fix [#607], read
~/.ssh/config
to resolve hosts - Fix [#572], by [@yoh1496], add support for GitHub Enterprise behind a proxy
- Fix [#658], ensure correct button enablement when reloading pending comment from cache
- Fix [#649], make sure selecting a different folder is responsive after adding it to the workspace
- Add support for editing and deleting comments #107
- Fix #110, by [@JeffreyCA], add hyperlinks to timestamps
- Fix #624, by [@JeffreyCA], improve comment header wording
- Fix #568, by [@jerrymajewski], show author information in PR tooltip
- Fix #543, by [@malwilley], preserve description page scroll position when focus changes
- Fix #587, by [@mmanela], show correct error message for empty comment case
- Migrate hosts setting to
githubPullRequests
namespace, by [@wyze] - Fix #573, provide auth fallback when protocol handler fails
Breaking Changes
- From 0.2.0, you at least need VSCode 1.28 to install and run the extension.
Fixes
- Fix #565, inline links in description page.
- Fix #531 by @wyze, state is incorrectly shown as Closed when it should be Merged
- Fix #273, support ssh remotes.
- Fix #537 by @justinliew, show pull request id in title.
- Fix #491 by @shatgupt, allow vertical resizing of comment box.
- Fix #319, improve keyboard focus.
- Fix #352 by @Ikuyadeu, support merging pull request
- Fix #464 by @wyze, show labels on PR description
- Fix #562 by @emtei, prevent PR creation date collision with subtitle
- Fix for native promise polyfill removal from VSCode extension host in Insiders 1.29
- Fix for #500 and #440, more lenient remote parsing
- Fix for #383, move to github.com domain for the authentication server
- Fix for #498, make sure comments gets updated on refresh event
- Fix for #496, linkify urls on the description page
- FIx for #507, loosen scope restrictions for older version of GitHub Enterprise
- Fix for #449, authentication blocked when
docs-article-templates
extension is installed - Fix for #429, avoid unneccessary refreshes of the tree view
- Do not ship
.vscode-test/**
files