Skip to content
Merged
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
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# PowerShell Extension Release History

## v2023.4.1-preview
### Tuesday, April 25, 2023

#### [vscode-powershell](https://github.com/PowerShell/vscode-powershell)

- 🐛 🛫 [vscode-powershell #4543](https://github.com/PowerShell/vscode-powershell/pull/4543) - Update startup logic to handle session failure reasons.
- #️⃣ 🙏 [vscode-powershell #4534](https://github.com/PowerShell/vscode-powershell/pull/4534) - Add ESBuild Problem Matcher Extension. (Thanks @JustinGrote!)
- 🐛 🙏 [vscode-powershell #4521](https://github.com/PowerShell/vscode-powershell/pull/4532) - Handle end-of-support PowerShell with error message.
- ✨ 👷 [vscode-powershell #4518](https://github.com/PowerShell/vscode-powershell/pull/4518) - Enable Mocha Test Explorer Integration. (Thanks @JustinGrote!)
- 🐛 🔍 [vscode-powershell #4517](https://github.com/PowerShell/vscode-powershell/pull/4517) - Fix `attachDotnetDebugger` with custom config. (Thanks @fflaten!)
- 🐛 🔍 [vscode-powershell #4516](https://github.com/PowerShell/vscode-powershell/pull/4516) - Add new debug configurations to `package.json`. (Thanks @JustinGrote!)

#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) v3.8.4

- 🐛 🛫 [vscode-powershell #4509](https://github.com/PowerShell/PowerShellEditorServices/pull/2018) - Set session failure with reason when applicable.
- ✨ 📖 [PowerShellEditorServices #2016](https://github.com/PowerShell/PowerShellEditorServices/pull/2016) - Add guide to configure Neovim. (Thanks @csc027!)

## v2023.4.0-preview
### Wednesday, April 12, 2023

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "powershell",
"displayName": "PowerShell",
"version": "2023.4.0",
"version": "2023.4.1",
"preview": false,
"publisher": "ms-vscode",
"description": "Develop PowerShell modules, commands and scripts in Visual Studio Code!",
Expand Down
20 changes: 13 additions & 7 deletions test/features/DebugSession.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -430,12 +430,9 @@ describe("DebugSessionFeature", () => {
});

describe("DebugSessionFeature E2E", function slowTests() {
this.slow(20000); // Will warn if test takes longer than 10s and show red if longer than 20s
this.timeout(30000);
this.slow(20 * 1000); // Will warn if test takes longer than 10s and show red if longer than 20s
this.timeout(5 * 60 * 1000); // Give it five minutes, some CI is slow!

if (process.platform == "darwin") {
this.timeout(60000); // The MacOS test runner is sloooow in Azure Devops
}
before(async () => {
// Registers and warms up the debug adapter and the PowerShell Extension Terminal
await ensureEditorServicesIsConnected();
Expand All @@ -446,7 +443,9 @@ describe("DebugSessionFeature E2E", function slowTests() {
let startDebugSession: DebugSession;
let stopDebugSession: DebugSession;
const interactiveSessionConfig = defaultDebugConfigurations[DebugConfig.InteractiveSession];
// Asserts dont seem to fire in this event or the event doesnt resolve in the test code flow, so we need to "extract" the values for later use by the asserts
// Asserts don't seem to fire in this event or the event doesn't resolve
// in the test code flow, so we need to "extract" the values for later
// use by the asserts

const startDebugEvent = debug.onDidStartDebugSession((newDebugSession) => {
startDebugEvent.dispose();
Expand All @@ -470,11 +469,18 @@ describe("DebugSessionFeature E2E", function slowTests() {

describe("Binary Modules", () => {
let binaryModulePath: Uri;
before(async () => {

before(async function binarySetup() {
if (process.env.BUILD_SOURCEBRANCHNAME === "release") {
// The binary modules tests won't work in the release pipeline
// due to dependency requirements.
this.skip();
}
binaryModulePath = Uri.joinPath(workspace.workspaceFolders![0].uri, "BinaryModule");
BuildBinaryModuleMock();
await ensureEditorServicesIsConnected();
});

afterEach(async () => {
// Cleanup E2E testing state
await debug.stopDebugging(undefined);
Expand Down