diff --git a/CHANGELOG.md b/CHANGELOG.md index 17b2710bfe..cc4759927b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 0.140.0 + +### Changes + +- New "Checkout Pull Request in Worktree" option added to the Pull Requests view context menu and the PR description view. + +### Fixes + +- `hasBranch` called with repository name (`pr.base.name`) instead of branch name (`pr.base.ref`) in `reviewManager.ts`. https://github.com/microsoft/vscode-pull-request-github/issues/8668 + +**_Thank You_** + +* [@Will-hxw](https://github.com/Will-hxw): Use `pr.base.ref` instead of `pr.base.name` in `hasBranch` call [PR #8698](https://github.com/microsoft/vscode-pull-request-github/pull/8698) + ## 0.138.0 ### Fixes diff --git a/package-lock.json b/package-lock.json index 472af3d63d..5be7d482d6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "vscode-pull-request-github", - "version": "0.138.0", + "version": "0.140.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "vscode-pull-request-github", - "version": "0.138.0", + "version": "0.140.0", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index a1b337fa84..0515181d94 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "treeItemMarkdownLabel", "treeViewMarkdownMessage" ], - "version": "0.138.0", + "version": "0.140.0", "publisher": "GitHub", "engines": { "node": ">=20", diff --git a/src/@types/vscode.proposed.chatParticipantPrivate.d.ts b/src/@types/vscode.proposed.chatParticipantPrivate.d.ts index 5e354883f7..2276e22cba 100644 --- a/src/@types/vscode.proposed.chatParticipantPrivate.d.ts +++ b/src/@types/vscode.proposed.chatParticipantPrivate.d.ts @@ -256,6 +256,15 @@ declare module 'vscode' { isRateLimited?: boolean; + /** + * If true, the error is an expected operational condition (e.g. user-actionable + * configuration, network connectivity, missing dependency) and should not be + * logged as a `chatAgentError` telemetry event. The error is still surfaced to + * the user. Throwing an `Error` whose `name` is `'ChatExpectedError'` from a + * chat participant handler will set this flag automatically. + */ + isExpectedError?: boolean; + level?: ChatErrorLevel; code?: string; diff --git a/src/@types/vscode.proposed.chatSessionsProvider.d.ts b/src/@types/vscode.proposed.chatSessionsProvider.d.ts index fc12969f6b..b46ec3015d 100644 --- a/src/@types/vscode.proposed.chatSessionsProvider.d.ts +++ b/src/@types/vscode.proposed.chatSessionsProvider.d.ts @@ -752,6 +752,11 @@ declare module 'vscode' { * Represents the current state of user inputs for a chat session. */ export interface ChatSessionInputState { + /** + * Fired when the input state is disposed. + */ + readonly onDidDispose: Event; + /** * Fired when the input state is changed by the user. *