Skip to content

Commit 7ef467d

Browse files
authored
0.150.0 (#8798)
1 parent d0a960e commit 7ef467d

8 files changed

Lines changed: 23 additions & 13 deletions

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## 0.150.0
4+
5+
### Fixes
6+
7+
- New PR title doesn't match behavior on github.com. https://github.com/microsoft/vscode-pull-request-github/issues/8771
8+
- PRs not shown in panel when workspace folder is a manually-created git worktree. https://github.com/microsoft/vscode-pull-request-github/issues/8756
9+
310
## 0.148.0
411

512
### Changes

build/filters.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ module.exports.unicodeFilter = [
2525
'**',
2626
// except specific files
2727
'!documentation/**/*',
28+
'!src/@types/vscode.proposed*.d.ts',
2829
'!**/ThirdPartyNotices.txt',
2930
'!**/LICENSE.{txt,rtf}',
3031
'!**/LICENSE',

build/hygiene.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ function hygiene(some) {
2626

2727
let errorCount = 0;
2828

29+
function getFileLines(file) {
30+
if (!file.__lines) {
31+
file.__lines = file.contents.toString('utf8').split(/\r\n|\r|\n/);
32+
}
33+
34+
return file.__lines;
35+
}
36+
2937
const unicode = es.through(function (file) {
3038
const lines = file.contents.toString('utf8').split(/\r\n|\r|\n/);
3139
file.__lines = lines;
@@ -54,7 +62,7 @@ function hygiene(some) {
5462
});
5563

5664
const indentation = es.through(function (file) {
57-
const lines = file.__lines;
65+
const lines = getFileLines(file);
5866

5967
lines?.forEach((line, i) => {
6068
if (/^\s*$/.test(line)) {
@@ -77,7 +85,7 @@ function hygiene(some) {
7785
});
7886

7987
const copyrights = es.through(function (file) {
80-
const lines = file.__lines;
88+
const lines = getFileLines(file);
8189

8290
for (let i = 0; i < copyrightHeaderLines.length; i++) {
8391
if (lines[i] !== copyrightHeaderLines[i]) {

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"treeItemMarkdownLabel",
4242
"treeViewMarkdownMessage"
4343
],
44-
"version": "0.148.0",
44+
"version": "0.150.0",
4545
"publisher": "GitHub",
4646
"engines": {
4747
"node": ">=20",

src/@types/vscode.proposed.chatParticipantAdditions.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
// version: 3
7-
86
declare module 'vscode' {
97

108
export interface ChatParticipant {

src/@types/vscode.proposed.chatParticipantPrivate.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
// version: 15
7-
86
declare module 'vscode' {
97

108
/**

src/@types/vscode.proposed.chatSessionsProvider.d.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
// version: 3
7-
86
declare module 'vscode' {
97
/**
108
* Represents the status of a chat session.
@@ -342,7 +340,7 @@ declare module 'vscode' {
342340
* also applying to this item.
343341
*
344342
* On first access of state for {@link resource}, the host adopts the entry
345-
* stored under `legacyResource` forward - copying it onto {@link resource} and
343+
* stored under `legacyResource` forward copying it onto {@link resource} and
346344
* removing the legacy entry. The migration is transparent: no events fire and
347345
* the effective user-visible state is unchanged.
348346
*
@@ -351,7 +349,7 @@ declare module 'vscode' {
351349
* items.
352350
*
353351
* The legacy URI's scheme must match {@link resource}'s scheme; otherwise the
354-
* field is ignored. Multi-hop migrations are not supported - providers should
352+
* field is ignored. Multi-hop migrations are not supported providers should
355353
* collapse intermediate hops on their side and emit the original URI.
356354
*/
357355
readonly legacyResource?: Uri;

0 commit comments

Comments
 (0)