From 4b82cb4758abe4987af1585524799e7048b4fdd1 Mon Sep 17 00:00:00 2001 From: Alex Ross <38270282+alexr00@users.noreply.github.com> Date: Tue, 16 Jun 2026 15:46:39 +0200 Subject: [PATCH] 0.150.0 --- CHANGELOG.md | 7 +++++++ build/filters.js | 1 + build/hygiene.js | 12 ++++++++++-- package-lock.json | 4 ++-- package.json | 2 +- .../vscode.proposed.chatParticipantAdditions.d.ts | 2 -- .../vscode.proposed.chatParticipantPrivate.d.ts | 2 -- src/@types/vscode.proposed.chatSessionsProvider.d.ts | 6 ++---- 8 files changed, 23 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2549b3aabb..ac9758f460 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 0.150.0 + +### Fixes + +- New PR title doesn't match behavior on github.com. https://github.com/microsoft/vscode-pull-request-github/issues/8771 +- PRs not shown in panel when workspace folder is a manually-created git worktree. https://github.com/microsoft/vscode-pull-request-github/issues/8756 + ## 0.148.0 ### Changes diff --git a/build/filters.js b/build/filters.js index b64bd3adf2..95672b1ff2 100644 --- a/build/filters.js +++ b/build/filters.js @@ -25,6 +25,7 @@ module.exports.unicodeFilter = [ '**', // except specific files '!documentation/**/*', + '!src/@types/vscode.proposed*.d.ts', '!**/ThirdPartyNotices.txt', '!**/LICENSE.{txt,rtf}', '!**/LICENSE', diff --git a/build/hygiene.js b/build/hygiene.js index 76df48120e..9f6b4c5bd0 100644 --- a/build/hygiene.js +++ b/build/hygiene.js @@ -26,6 +26,14 @@ function hygiene(some) { let errorCount = 0; + function getFileLines(file) { + if (!file.__lines) { + file.__lines = file.contents.toString('utf8').split(/\r\n|\r|\n/); + } + + return file.__lines; + } + const unicode = es.through(function (file) { const lines = file.contents.toString('utf8').split(/\r\n|\r|\n/); file.__lines = lines; @@ -54,7 +62,7 @@ function hygiene(some) { }); const indentation = es.through(function (file) { - const lines = file.__lines; + const lines = getFileLines(file); lines?.forEach((line, i) => { if (/^\s*$/.test(line)) { @@ -77,7 +85,7 @@ function hygiene(some) { }); const copyrights = es.through(function (file) { - const lines = file.__lines; + const lines = getFileLines(file); for (let i = 0; i < copyrightHeaderLines.length; i++) { if (lines[i] !== copyrightHeaderLines[i]) { diff --git a/package-lock.json b/package-lock.json index d4659c6552..d4c1a4c70d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "vscode-pull-request-github", - "version": "0.148.0", + "version": "0.150.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "vscode-pull-request-github", - "version": "0.148.0", + "version": "0.150.0", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 388c22181e..8f4262d094 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "treeItemMarkdownLabel", "treeViewMarkdownMessage" ], - "version": "0.148.0", + "version": "0.150.0", "publisher": "GitHub", "engines": { "node": ">=20", diff --git a/src/@types/vscode.proposed.chatParticipantAdditions.d.ts b/src/@types/vscode.proposed.chatParticipantAdditions.d.ts index 40babc9343..f399f3b4b7 100644 --- a/src/@types/vscode.proposed.chatParticipantAdditions.d.ts +++ b/src/@types/vscode.proposed.chatParticipantAdditions.d.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -// version: 3 - declare module 'vscode' { export interface ChatParticipant { diff --git a/src/@types/vscode.proposed.chatParticipantPrivate.d.ts b/src/@types/vscode.proposed.chatParticipantPrivate.d.ts index 9cbc18c074..ca8685d874 100644 --- a/src/@types/vscode.proposed.chatParticipantPrivate.d.ts +++ b/src/@types/vscode.proposed.chatParticipantPrivate.d.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -// version: 15 - declare module 'vscode' { /** diff --git a/src/@types/vscode.proposed.chatSessionsProvider.d.ts b/src/@types/vscode.proposed.chatSessionsProvider.d.ts index 386bea6d01..6a6e761d5d 100644 --- a/src/@types/vscode.proposed.chatSessionsProvider.d.ts +++ b/src/@types/vscode.proposed.chatSessionsProvider.d.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -// version: 3 - declare module 'vscode' { /** * Represents the status of a chat session. @@ -342,7 +340,7 @@ declare module 'vscode' { * also applying to this item. * * On first access of state for {@link resource}, the host adopts the entry - * stored under `legacyResource` forward - copying it onto {@link resource} and + * stored under `legacyResource` forward — copying it onto {@link resource} and * removing the legacy entry. The migration is transparent: no events fire and * the effective user-visible state is unchanged. * @@ -351,7 +349,7 @@ declare module 'vscode' { * items. * * The legacy URI's scheme must match {@link resource}'s scheme; otherwise the - * field is ignored. Multi-hop migrations are not supported - providers should + * field is ignored. Multi-hop migrations are not supported — providers should * collapse intermediate hops on their side and emit the original URI. */ readonly legacyResource?: Uri;