Skip to content

Commit 2533ce6

Browse files
authored
0.168.0 (#9024)
* 0.168.0 * Include setting
1 parent e62a2ad commit 2533ce6

11 files changed

Lines changed: 42 additions & 32 deletions

‎CHANGELOG.md‎

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

3+
## 0.168.0
4+
5+
### Changes
6+
7+
- Add support for stacked pull requests. Set `githubPullRequests.experimental.stacks` to `true` to enable this feature.
8+
9+
![Add existing pull requests to stack](./documentation/changelog/0.168.0/add-prs-to-stack.png)
10+
11+
![Stack shows in pull request webview](./documentation/changelog/0.168.0/show-pr-stack-in-webview.png)
12+
13+
![Unstack all pull requests in a stack](./documentation/changelog/0.168.0/unstack-a-stack.png)
14+
15+
- Show branch deletion options in a modal dialog after merging a pull request.
16+
- Support configuring and selecting between multiple GitHub Enterprise instances.
17+
18+
### Fixes
19+
20+
- Multiple accounts don't work for any but the first account added. https://github.com/microsoft/vscode-pull-request-github/issues/8789
21+
322
## 0.166.1
423

524
### Fixes
103 KB
Loading
154 KB
Loading
48 KB
Loading

‎documentation/releasing.md‎

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,5 @@
11
# How to release
22

3-
## Authentication API dependency
4-
5-
Enterprise API destinations use the selected session's `authorizationServer`,
6-
with `/login/oauth` removed, rather than either Enterprise configuration setting.
7-
This requires the **proposed** `authIssuers` API from
8-
[microsoft/vscode#337846](https://github.com/microsoft/vscode/pull/337846),
9-
merged at `2f84f5b38264788d80a9399413cc47cb2a17db51` on the 1.140 development line.
10-
The engine floor is now **1.141.0** for the plural `github-enterprise.uris`
11-
setting and provider lifecycle from
12-
[microsoft/vscode#338080](https://github.com/microsoft/vscode/pull/338080).
13-
Insiders users are expected to use the latest build; the brief compatibility
14-
gap in early 1.141 Insiders snapshots is accepted, without a runtime version
15-
check or legacy-setting write fallback. Confirm stable 1.141 contains the
16-
upstream change before stable rollout. Production
17-
allowlisting is a separate [vscode-distro](https://github.com/microsoft/vscode-distro)
18-
change. Missing enterprise metadata is explicitly unavailable, without a
19-
configuration fallback. Public GitHub/PAT authentication does not require it.
20-
21-
Setup writes only `github-enterprise.uris`. Legacy `github-enterprise.uri` is
22-
still read when no eligible plural value is configured; explicit `[]` disables
23-
Enterprise instances. This extension continues to use one selected Enterprise
24-
account/client at a time, separate from GitHub.com. Release messaging must
25-
explain the **Select Account** action, which opens this extension's GitHub
26-
Enterprise account preferences (or starts first-time sign-in), not advertise
27-
simultaneous multi-host operation. The scoped picker uses VS Code's
28-
`_manageAccountPreferencesForExtension` command with the extension ID and
29-
`github-enterprise` provider ID; include that path in release validation.
30-
313
## Release steps
324

335
1. Edit version in [package.json](https://github.com/Microsoft/vscode-pull-request-github/blob/main/package.json)

‎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
@@ -45,7 +45,7 @@
4545
"treeItemMarkdownLabel",
4646
"treeViewMarkdownMessage"
4747
],
48-
"version": "0.166.1",
48+
"version": "0.168.0",
4949
"publisher": "GitHub",
5050
"engines": {
5151
"node": ">=20",

‎src/@types/vscode.proposed.authIssuers.d.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
declare module 'vscode' {
7+
8+
// https://github.com/microsoft/vscode/issues/248775
9+
710
export interface AuthenticationSession {
811
/**
912
* The authorization server that issued this session, when provided by the authentication provider.

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,15 @@ declare module 'vscode' {
4949
ranges: Range[];
5050
}
5151

52+
/** The Auto routing tier a request was resolved with. */
53+
export type ChatAutoModeTier = 'efficiency' | 'balance' | 'intelligence' | 'fast';
54+
5255
export class ChatResponseTextEditPart {
5356
uri: Uri;
5457
edits: TextEdit[];
5558
isDone?: boolean;
59+
/** The Auto routing tier that produced these edits, for edit attribution. */
60+
autoTier?: ChatAutoModeTier;
5661
constructor(uri: Uri, done: true);
5762
constructor(uri: Uri, edits: TextEdit | TextEdit[]);
5863
}
@@ -61,6 +66,8 @@ declare module 'vscode' {
6166
uri: Uri;
6267
edits: NotebookEdit[];
6368
isDone?: boolean;
69+
/** The Auto routing tier that produced these edits, for edit attribution. */
70+
autoTier?: ChatAutoModeTier;
6471
constructor(uri: Uri, done: true);
6572
constructor(uri: Uri, edits: NotebookEdit | NotebookEdit[]);
6673
}
@@ -1055,6 +1062,10 @@ declare module 'vscode' {
10551062
}
10561063

10571064
export interface LanguageModelToolInvocationOptions<T> {
1065+
/**
1066+
* The selected model. Access throws if an explicit selection cannot be resolved through the language model API.
1067+
* Tools that do not use a model can run without accessing this property.
1068+
*/
10581069
model?: LanguageModelChat;
10591070
chatStreamToolCallId?: string;
10601071
}

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,13 @@ declare module 'vscode' {
239239
*/
240240
readonly modeInstructions2?: ChatRequestModeInstructions;
241241

242+
/** Whether this request was initiated by the system rather than the user. */
243+
readonly isSystemInitiated?: boolean;
244+
242245
/**
243246
* @hidden
244247
*/
245-
constructor(prompt: string, command: string | undefined, references: ChatPromptReference[], participant: string, toolReferences: ChatLanguageModelToolReference[], editedFileEvents: ChatRequestEditedFileEvent[] | undefined, id: string | undefined, modelId: string | undefined, modeInstructions2: ChatRequestModeInstructions | undefined);
248+
constructor(prompt: string, command: string | undefined, references: ChatPromptReference[], participant: string, toolReferences: ChatLanguageModelToolReference[], editedFileEvents: ChatRequestEditedFileEvent[] | undefined, id: string | undefined, modelId: string | undefined, modeInstructions2: ChatRequestModeInstructions | undefined, isSystemInitiated?: boolean);
246249
}
247250

248251
export class ChatResponseTurn2 {

0 commit comments

Comments
 (0)