Skip to content
Merged

0.150.0 #8798

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions build/filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ module.exports.unicodeFilter = [
'**',
// except specific files
'!documentation/**/*',
'!src/@types/vscode.proposed*.d.ts',
'!**/ThirdPartyNotices.txt',
'!**/LICENSE.{txt,rtf}',
'!**/LICENSE',
Expand Down
12 changes: 10 additions & 2 deletions build/hygiene.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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)) {
Expand All @@ -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]) {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"treeItemMarkdownLabel",
"treeViewMarkdownMessage"
],
"version": "0.148.0",
"version": "0.150.0",
"publisher": "GitHub",
"engines": {
"node": ">=20",
Expand Down
2 changes: 0 additions & 2 deletions src/@types/vscode.proposed.chatParticipantAdditions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 0 additions & 2 deletions src/@types/vscode.proposed.chatParticipantPrivate.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/

// version: 15

declare module 'vscode' {

/**
Expand Down
6 changes: 2 additions & 4 deletions src/@types/vscode.proposed.chatSessionsProvider.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
*
Expand All @@ -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;
Expand Down