From bb2c3b8bd290bc6d42433934049e146af8fc0c69 Mon Sep 17 00:00:00 2001 From: Connor Peet Date: Wed, 23 Sep 2026 09:17:57 -0700 Subject: [PATCH] chore: prep v1.140.0 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- CHANGELOG.md | 9 ++++ package-lock.json | 4 +- package.json | 2 +- src/test/completion/completion.test.ts | 63 ++++++++++++++------------ 4 files changed, 46 insertions(+), 32 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ebefb7eae..f754a497a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,15 @@ This changelog records changes to stable releases since 1.50.2. "TBA" changes he Nothing, yet +## 1.140 (September 2026) + +- feat: add `debug.javascript.resolveDebugEntrypoint` to opt out of compiled entrypoint resolution ([#2349](https://github.com/microsoft/vscode-js-debug/pull/2349)) +- fix: restore standalone debugger bundle builds after adding entrypoint resolution configuration ([#2369](https://github.com/microsoft/vscode-js-debug/pull/2369)) +- fix: support Unicode identifiers in completions ([#2393](https://github.com/microsoft/vscode-js-debug/pull/2393)) +- fix: avoid template local clashes for primitive completions ([#2411](https://github.com/microsoft/vscode-js-debug/pull/2411)) +- fix: honor explicit pause requests while smart stepping ([#2413](https://github.com/microsoft/vscode-js-debug/pull/2413)) +- fix: restore debugger attach retries on Node 24.20 ([#2417](https://github.com/microsoft/vscode-js-debug/pull/2417)) + ## 1.117 (April 2026) - feat: add debug configuration provider for integrated browser ([#2347](https://github.com/microsoft/vscode-js-debug/pull/2347)) diff --git a/package-lock.json b/package-lock.json index 59fd79ecc..f5ee71d47 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "js-debug", - "version": "1.117.0", + "version": "1.140.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "js-debug", - "version": "1.117.0", + "version": "1.140.0", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index ee034238c..4d062129e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "js-debug", "displayName": "JavaScript Debugger", - "version": "1.117.0", + "version": "1.140.0", "publisher": "ms-vscode", "author": { "name": "Microsoft Corporation" diff --git a/src/test/completion/completion.test.ts b/src/test/completion/completion.test.ts index 9da7df54b..dcbc16ce2 100644 --- a/src/test/completion/completion.test.ts +++ b/src/test/completion/completion.test.ts @@ -310,9 +310,10 @@ describe('completion', () => { ]); }); - - itIntegrates('completes primitive when name clashes with template locals (#2399)', async ({ r }) => { - const p = await r.launch(` + itIntegrates( + 'completes primitive when name clashes with template locals (#2399)', + async ({ r }) => { + const p = await r.launch(` `); - const untilStopped = p.dap.once('stopped'); - p.load(); + const untilStopped = p.dap.once('stopped'); + p.load(); - const frame = ( - await p.dap.stackTrace({ - threadId: (await untilStopped).threadId!, - }) - ).stackFrames[0]; + const frame = ( + await p.dap.stackTrace({ + threadId: (await untilStopped).threadId!, + }) + ).stackFrames[0]; - const forN = await p.dap.completions({ - text: 'n.', - column: 3, - frameId: frame.id, - }); - expect(forN.targets.some(t => t.label === 'toFixed')).to.equal( - true, - `expected number completions for n., got ${JSON.stringify(forN.targets.slice(0, 5))}`, - ); + const forN = await p.dap.completions({ + text: 'n.', + column: 3, + frameId: frame.id, + }); + expect(forN.targets.some(t => t.label === 'toFixed')).to.equal( + true, + `expected number completions for n., got ${JSON.stringify(forN.targets.slice(0, 5))}`, + ); - const forTarget = await p.dap.completions({ - text: 'target.', - column: 8, - frameId: frame.id, - }); - expect(forTarget.targets.some(t => t.label === 'toLowerCase' || t.label === 'length')).to.equal( - true, - `expected string completions for target., got ${JSON.stringify(forTarget.targets.slice(0, 5))}`, - ); - }); + const forTarget = await p.dap.completions({ + text: 'target.', + column: 8, + frameId: frame.id, + }); + expect(forTarget.targets.some(t => t.label === 'toLowerCase' || t.label === 'length')).to + .equal( + true, + `expected string completions for target., got ${ + JSON.stringify(forTarget.targets.slice(0, 5)) + }`, + ); + }, + ); itIntegrates('$returnValue', async ({ r }) => { const getFrameId = async () =>