From a651e5343073653197d856e234aa96df77aa04d6 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Tue, 10 Mar 2026 18:24:01 -0700 Subject: [PATCH 01/15] Update serialize-javascript. (#14262) * Update serialize-javascript. --- .github/actions/package-lock.json | 20 +++++--------------- .github/actions/package.json | 3 +++ Extension/package.json | 3 ++- Extension/yarn.lock | 17 ++++------------- 4 files changed, 14 insertions(+), 29 deletions(-) diff --git a/.github/actions/package-lock.json b/.github/actions/package-lock.json index 1e8c19569..d14093aa0 100644 --- a/.github/actions/package-lock.json +++ b/.github/actions/package-lock.json @@ -5359,16 +5359,6 @@ ], "license": "MIT" }, - "node_modules/randombytes": { - "version": "2.1.0", - "resolved": "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha1-32+ENy8CcNxlzfYpE0mrekc9Tyo=", - "dev": true, - "license": "MIT", - "dependencies": { - "safe-buffer": "^5.1.0" - } - }, "node_modules/readdirp": { "version": "3.6.0", "resolved": "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/readdirp/-/readdirp-3.6.0.tgz", @@ -5550,13 +5540,13 @@ } }, "node_modules/serialize-javascript": { - "version": "6.0.2", - "resolved": "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/serialize-javascript/-/serialize-javascript-6.0.2.tgz", - "integrity": "sha1-3voeBVyDv21Z6oBdjahiJU62psI=", + "version": "7.0.4", + "resolved": "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/serialize-javascript/-/serialize-javascript-7.0.4.tgz", + "integrity": "sha1-xRdzW9W3Yx3R/Bke4Zy7cT/44Fw=", "dev": true, "license": "BSD-3-Clause", - "dependencies": { - "randombytes": "^2.1.0" + "engines": { + "node": ">=20.0.0" } }, "node_modules/shebang-command": { diff --git a/.github/actions/package.json b/.github/actions/package.json index 565e4e1eb..d9b5c37d8 100644 --- a/.github/actions/package.json +++ b/.github/actions/package.json @@ -38,5 +38,8 @@ "ts-node": "^10.9.1", "typescript": "^4.7.4", "yargs": "^17.5.1" + }, + "overrides": { + "serialize-javascript": "^7.0.4" } } diff --git a/Extension/package.json b/Extension/package.json index 596af3080..76b57ad96 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -6880,6 +6880,7 @@ }, "resolutions": { "postcss": "^8.4.31", - "gulp-typescript/**/glob-parent": "^5.1.2" + "gulp-typescript/**/glob-parent": "^5.1.2", + "serialize-javascript": "^7.0.4" } } \ No newline at end of file diff --git a/Extension/yarn.lock b/Extension/yarn.lock index 6f268d098..c86ee4fb7 100644 --- a/Extension/yarn.lock +++ b/Extension/yarn.lock @@ -5125,13 +5125,6 @@ queue-microtask@^1.2.2: resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" integrity sha1-SSkii7xyTfrEPg77BYyve2z7YkM= -randombytes@^2.1.0: - version "2.1.0" - resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" - integrity sha1-32+ENy8CcNxlzfYpE0mrekc9Tyo= - dependencies: - safe-buffer "^5.1.0" - rc-config-loader@^4.1.3: version "4.1.4" resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/rc-config-loader/-/rc-config-loader-4.1.4.tgz#6cc79042ac193ebed9f082fcba7b823d9dc143cc" @@ -5450,12 +5443,10 @@ semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.5.2, semver@^7.5.4, semve resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/semver/-/semver-7.7.4.tgz#28464e36060e991fa7a11d0279d2d3f3b57a7e8a" integrity sha1-KEZONgYOmR+noR0CedLT87V6foo= -serialize-javascript@^6.0.2: - version "6.0.2" - resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/serialize-javascript/-/serialize-javascript-6.0.2.tgz#defa1e055c83bf6d59ea805d8da862254eb6a6c2" - integrity sha1-3voeBVyDv21Z6oBdjahiJU62psI= - dependencies: - randombytes "^2.1.0" +serialize-javascript@^6.0.2, serialize-javascript@^7.0.4: + version "7.0.4" + resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/serialize-javascript/-/serialize-javascript-7.0.4.tgz#c517735bd5b7631dd1fc191ee19cbb713ff8e05c" + integrity sha1-xRdzW9W3Yx3R/Bke4Zy7cT/44Fw= set-function-length@^1.2.2: version "1.2.2" From 38e074451af83d85ee99e9553905ba09d8bab802 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Wed, 11 Mar 2026 11:08:50 -0700 Subject: [PATCH 02/15] Fix warning "Cannot find" instead of "Path is not a file" for compilerPath. (#14265) --- Extension/src/LanguageServer/configurations.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Extension/src/LanguageServer/configurations.ts b/Extension/src/LanguageServer/configurations.ts index 814ccb41a..ce2fd780a 100644 --- a/Extension/src/LanguageServer/configurations.ts +++ b/Extension/src/LanguageServer/configurations.ts @@ -1672,10 +1672,10 @@ export class CppProperties { if (!isCl && compilerPathAndArgs.compilerPath) { const compilerPathMayNeedQuotes: boolean = !resolvedCompilerPath.startsWith('"') && resolvedCompilerPath.includes(" ") && compilerPathAndArgs.compilerArgsFromCommandLineInPath.length > 0; let pathExists: boolean = true; - const existsWithExeAdded: (path: string) => boolean = (path: string) => isWindows && !path.startsWith("/") && util.checkFileExistsSync(path + ".exe"); + const existsWithExeAdded: (path: string) => boolean = (path: string) => isWindows && !path.startsWith("/") && fs.existsSync(path + ".exe"); resolvedCompilerPath = compilerPathAndArgs.compilerPath; - if (!util.checkFileExistsSync(resolvedCompilerPath)) { + if (!fs.existsSync(resolvedCompilerPath)) { if (existsWithExeAdded(resolvedCompilerPath)) { resolvedCompilerPath += ".exe"; } else { @@ -1686,7 +1686,7 @@ export class CppProperties { } else if (rootUri) { // Test if it was a relative path. const absolutePath: string = rootUri.fsPath + path.sep + resolvedCompilerPath; - if (!util.checkFileExistsSync(absolutePath)) { + if (!fs.existsSync(absolutePath)) { if (existsWithExeAdded(absolutePath)) { resolvedCompilerPath = absolutePath + ".exe"; } else { From e83f3620505f471d28d32e6a83b4f5fd4592eed8 Mon Sep 17 00:00:00 2001 From: Rohan Santhosh Kumar Date: Thu, 12 Mar 2026 18:35:31 +0800 Subject: [PATCH 03/15] docs: remove duplicate word in developer readme (#14266) Co-authored-by: rohan436 --- Extension/readme.developer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Extension/readme.developer.md b/Extension/readme.developer.md index daa622396..cf4afbae2 100644 --- a/Extension/readme.developer.md +++ b/Extension/readme.developer.md @@ -52,7 +52,7 @@ The `launch.json` entries now specify a `preLaunchTask` that will build the exte the `yarn watch` command, and will wait until the build is ready. The watch command will continue to watch from that point. -If the extension is already built, the the watch will be very quick. +If the extension is already built, the watch will be very quick. ### From Inside VS Code There are two tasks that can be run from inside VS Code to build the extension. From a9609ef47b9b864f5090c56f3cd1edf43f41dd51 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 13 Mar 2026 17:20:35 -0700 Subject: [PATCH 04/15] Bump undici from 7.22.0 to 7.24.0 in /Extension (#14272) Bumps [undici](https://github.com/nodejs/undici) from 7.22.0 to 7.24.0. - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](https://github.com/nodejs/undici/compare/v7.22.0...v7.24.0) --- updated-dependencies: - dependency-name: undici dependency-version: 7.24.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Extension/yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Extension/yarn.lock b/Extension/yarn.lock index c86ee4fb7..6e74863fe 100644 --- a/Extension/yarn.lock +++ b/Extension/yarn.lock @@ -6275,9 +6275,9 @@ undici-types@~7.18.0: integrity sha1-KTV6iee3ykrvO/D9P9DNc4hCKek= undici@^7.19.0: - version "7.22.0" - resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/undici/-/undici-7.22.0.tgz#7a82590a5908e504a47d85c60b0f89ca14240e60" - integrity sha1-eoJZClkI5QSkfYXGCw+JyhQkDmA= + version "7.24.0" + resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/undici/-/undici-7.24.0.tgz#c7349cdede0db44226b5930783b11207831a5eaf" + integrity sha1-xzSc3t4NtEImtZMHg7ESB4MaXq8= unicorn-magic@^0.1.0: version "0.1.0" From de84f488f2bdd033d1cd4c8ad6d6119f91c34f93 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 13 Mar 2026 17:44:51 -0700 Subject: [PATCH 05/15] Bump undici from 7.22.0 to 7.24.0 in /ExtensionPack (#14273) Bumps [undici](https://github.com/nodejs/undici) from 7.22.0 to 7.24.0. - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](https://github.com/nodejs/undici/compare/v7.22.0...v7.24.0) --- updated-dependencies: - dependency-name: undici dependency-version: 7.24.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sean McManus --- ExtensionPack/package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ExtensionPack/package-lock.json b/ExtensionPack/package-lock.json index 90554893b..751d3016e 100644 --- a/ExtensionPack/package-lock.json +++ b/ExtensionPack/package-lock.json @@ -3776,9 +3776,9 @@ "license": "MIT" }, "node_modules/undici": { - "version": "7.22.0", - "resolved": "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/undici/-/undici-7.22.0.tgz", - "integrity": "sha1-eoJZClkI5QSkfYXGCw+JyhQkDmA=", + "version": "7.24.0", + "resolved": "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/undici/-/undici-7.24.0.tgz", + "integrity": "sha1-xzSc3t4NtEImtZMHg7ESB4MaXq8=", "dev": true, "license": "MIT", "engines": { From d84696e9a76334cbda25e581e2c422a3a11d6827 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 13 Mar 2026 17:50:54 -0700 Subject: [PATCH 06/15] Bump undici from 7.22.0 to 7.24.0 in /Themes (#14274) Bumps [undici](https://github.com/nodejs/undici) from 7.22.0 to 7.24.0. - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](https://github.com/nodejs/undici/compare/v7.22.0...v7.24.0) --- updated-dependencies: - dependency-name: undici dependency-version: 7.24.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sean McManus --- Themes/package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Themes/package-lock.json b/Themes/package-lock.json index 20934f09c..8c8fb2656 100644 --- a/Themes/package-lock.json +++ b/Themes/package-lock.json @@ -3776,9 +3776,9 @@ "license": "MIT" }, "node_modules/undici": { - "version": "7.22.0", - "resolved": "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/undici/-/undici-7.22.0.tgz", - "integrity": "sha1-eoJZClkI5QSkfYXGCw+JyhQkDmA=", + "version": "7.24.0", + "resolved": "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/undici/-/undici-7.24.0.tgz", + "integrity": "sha1-xzSc3t4NtEImtZMHg7ESB4MaXq8=", "dev": true, "license": "MIT", "engines": { From 1a661ebd5be16595f2a9a8a78c3db36b96550b6b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 13 Mar 2026 19:06:19 -0700 Subject: [PATCH 07/15] Bump undici from 6.23.0 to 6.24.0 in /.github/actions (#14275) Bumps [undici](https://github.com/nodejs/undici) from 6.23.0 to 6.24.0. - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](https://github.com/nodejs/undici/compare/v6.23.0...v6.24.0) --- updated-dependencies: - dependency-name: undici dependency-version: 6.24.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/package-lock.json | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/actions/package-lock.json b/.github/actions/package-lock.json index d14093aa0..6732b99a1 100644 --- a/.github/actions/package-lock.json +++ b/.github/actions/package-lock.json @@ -4182,6 +4182,20 @@ "dev": true, "license": "ISC" }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha1-ysZAd4XQNnWipeGlMFxpezR9kNY=", + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, "node_modules/function-bind": { "version": "1.1.2", "resolved": "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/function-bind/-/function-bind-1.1.2.tgz", @@ -5886,9 +5900,9 @@ } }, "node_modules/undici": { - "version": "6.23.0", - "resolved": "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/undici/-/undici-6.23.0.tgz", - "integrity": "sha1-eVMId0TZCVqW8RXeMUDKOCiv86Q=", + "version": "6.24.0", + "resolved": "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/undici/-/undici-6.24.0.tgz", + "integrity": "sha1-rTa4ebSILRSt3BPdZB2n7XrHYjo=", "license": "MIT", "engines": { "node": ">=18.17" From 9d161fb3458833989c80dfcdfabe7f006ce49ccd Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Mon, 16 Mar 2026 11:12:04 -0700 Subject: [PATCH 08/15] Update. (#14277) --- Extension/package.json | 4 +++- Extension/yarn.lock | 23 ++++++++++++++--------- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/Extension/package.json b/Extension/package.json index 76b57ad96..db5dd9c9c 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -6881,6 +6881,8 @@ "resolutions": { "postcss": "^8.4.31", "gulp-typescript/**/glob-parent": "^5.1.2", - "serialize-javascript": "^7.0.4" + "serialize-javascript": "^7.0.4", + "@azure/msal-browser": "^4.29.1", + "flatted": "^3.4.1" } } \ No newline at end of file diff --git a/Extension/yarn.lock b/Extension/yarn.lock index 6e74863fe..7a848acc6 100644 --- a/Extension/yarn.lock +++ b/Extension/yarn.lock @@ -97,18 +97,23 @@ "@typespec/ts-http-runtime" "^0.3.0" tslib "^2.6.2" -"@azure/msal-browser@^4.2.0": - version "4.29.0" - resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/@azure/msal-browser/-/msal-browser-4.29.0.tgz#6d711acd3b463b46bdae05445b83547816fb8f5c" - integrity sha1-bXEazTtGO0a9rgVEW4NUeBb7j1w= +"@azure/msal-browser@^4.2.0", "@azure/msal-browser@^4.29.1": + version "4.29.1" + resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/@azure/msal-browser/-/msal-browser-4.29.1.tgz#01dc1d2f6ed325e32c03d3939c171f4f4d20a56d" + integrity sha1-AdwdL27TJeMsA9OTnBcfT00gpW0= dependencies: - "@azure/msal-common" "15.15.0" + "@azure/msal-common" "15.16.1" "@azure/msal-common@15.15.0": version "15.15.0" resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/@azure/msal-common/-/msal-common-15.15.0.tgz#05e758b41923499af7ca0965edaafc28a2acf615" integrity sha1-BedYtBkjSZr3ygll7ar8KKKs9hU= +"@azure/msal-common@15.16.1": + version "15.16.1" + resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/@azure/msal-common/-/msal-common-15.16.1.tgz#5df3697ec0d53d08278f2536d53bd52214e52c39" + integrity sha1-XfNpfsDVPQgnjyU21TvVIhTlLDk= + "@azure/msal-node@^3.5.0": version "3.8.8" resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/@azure/msal-node/-/msal-node-3.8.8.tgz#e7f161ceea81ea41b4ea6eaeadb5bfda35f8d0ba" @@ -3031,10 +3036,10 @@ flat@^5.0.2: resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/flat/-/flat-5.0.2.tgz#8ca6fe332069ffa9d324c327198c598259ceb241" integrity sha1-jKb+MyBp/6nTJMMnGYxZglnOskE= -flatted@^3.2.9: - version "3.3.3" - resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/flatted/-/flatted-3.3.3.tgz#67c8fad95454a7c7abebf74bb78ee74a44023358" - integrity sha1-Z8j62VRUp8er6/dLt47nSkQCM1g= +flatted@^3.2.9, flatted@^3.4.0: + version "3.4.1" + resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/flatted/-/flatted-3.4.1.tgz#84ccd9579e76e9cc0d246c11d8be0beb019143e6" + integrity sha1-hMzZV5526cwNJGwR2L4L6wGRQ+Y= flush-write-stream@^1.0.2: version "1.1.1" From 886008ce8439dd0e92708ea91a7d012d0a071066 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Mon, 16 Mar 2026 11:20:36 -0700 Subject: [PATCH 09/15] Stop using yarn with extension pack (#14278) * Use npm instead of yarn for the extension package vsix. --- Build/package/jobs_package_vsix.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Build/package/jobs_package_vsix.yml b/Build/package/jobs_package_vsix.yml index c2a4b17fa..95d65b430 100644 --- a/Build/package/jobs_package_vsix.yml +++ b/Build/package/jobs_package_vsix.yml @@ -38,9 +38,6 @@ jobs: inputs: version: 22.x - - task: geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@3 - displayName: Use Yarn 1.x - - script: IF EXIST %SYSTEMDRIVE%\Users\%USERNAME%\.npmrc del %SYSTEMDRIVE%\Users\%USERNAME%\.npmrc displayName: Delete .npmrc if it exists @@ -51,9 +48,9 @@ jobs: script: | export SRC_DIR=$(echo $BUILD_SOURCESDIRECTORY | sed 's|\\|/|g') cd "$SRC_DIR/${{ parameters.srcDir }}" - yarn install + npm install if [ $? -ne 0 ]; then - echo "yarn install failed, sleeping for 30s before retrying..." + echo "npm install failed, sleeping for 30s before retrying..." sleep 30 exit 1 fi From b0efdb562807b31ed64bc8ed4cab5000d168fec0 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Mon, 16 Mar 2026 11:25:12 -0700 Subject: [PATCH 10/15] Update changelog for 1.31.2. (#14271) * Update changelog for 1.31.2. --- Extension/CHANGELOG.md | 6 ++++++ Extension/package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index f2c163a43..9106be83a 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -1,5 +1,11 @@ # C/C++ for Visual Studio Code Changelog +## Version 1.31.2: March 17, 2026 +### Bug Fixes +* Fix an incorrect warning message with `c_cpp_properties.json` squiggles. [PR #14265](https://github.com/microsoft/vscode-cpptools/pull/14265) +* Fix cpptools getting stuck if C/C++ DevTools sends a workspace symbol request when the database is empty. [#14268](https://github.com/microsoft/vscode-cpptools/issues/14268) +* Update clang-tidy and clang-format from 22.1.0 to 22.1.1 (bug fixes). + ## Version 1.31.1: March 10, 2026 ### Enhancements * Update clang-tidy and clang-format from 21.1.4 to 22.1.0. diff --git a/Extension/package.json b/Extension/package.json index db5dd9c9c..46f8b48b4 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -2,7 +2,7 @@ "name": "cpptools", "displayName": "C/C++", "description": "C/C++ IntelliSense, debugging, and code browsing.", - "version": "1.31.1-main", + "version": "1.31.2-main", "publisher": "ms-vscode", "icon": "LanguageCCPP_color_128x.png", "readme": "README.md", From c9e571a889710b129a09f5e7947c9b67b044f2d2 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Mon, 16 Mar 2026 15:57:42 -0700 Subject: [PATCH 11/15] Fix a yarn.lock mismatch. (#14282) --- Extension/yarn.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Extension/yarn.lock b/Extension/yarn.lock index 7a848acc6..f9954bfba 100644 --- a/Extension/yarn.lock +++ b/Extension/yarn.lock @@ -3036,7 +3036,7 @@ flat@^5.0.2: resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/flat/-/flat-5.0.2.tgz#8ca6fe332069ffa9d324c327198c598259ceb241" integrity sha1-jKb+MyBp/6nTJMMnGYxZglnOskE= -flatted@^3.2.9, flatted@^3.4.0: +flatted@^3.2.9, flatted@^3.4.1: version "3.4.1" resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/flatted/-/flatted-3.4.1.tgz#84ccd9579e76e9cc0d246c11d8be0beb019143e6" integrity sha1-hMzZV5526cwNJGwR2L4L6wGRQ+Y= From 3a4df8c0037d421c847ec8c66168ba586101b3c4 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Tue, 17 Mar 2026 11:09:39 -0700 Subject: [PATCH 12/15] Update flatted. It was already updated in the Extension folder. (#14285) --- .github/actions/package-lock.json | 6 +++--- .github/actions/package.json | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/actions/package-lock.json b/.github/actions/package-lock.json index 6732b99a1..9b6afff06 100644 --- a/.github/actions/package-lock.json +++ b/.github/actions/package-lock.json @@ -4132,9 +4132,9 @@ } }, "node_modules/flatted": { - "version": "3.3.4", - "resolved": "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/flatted/-/flatted-3.3.4.tgz", - "integrity": "sha1-CYbmgQCPDxP1jhhlbEeWdoLbX/Y=", + "version": "3.4.1", + "resolved": "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/flatted/-/flatted-3.4.1.tgz", + "integrity": "sha1-hMzZV5526cwNJGwR2L4L6wGRQ+Y=", "dev": true, "license": "ISC" }, diff --git a/.github/actions/package.json b/.github/actions/package.json index d9b5c37d8..ba4922359 100644 --- a/.github/actions/package.json +++ b/.github/actions/package.json @@ -40,6 +40,7 @@ "yargs": "^17.5.1" }, "overrides": { - "serialize-javascript": "^7.0.4" + "serialize-javascript": "^7.0.4", + "flatted": "^3.4.1" } } From 7fe4f030bd67266c246cb1a5832118923ab9d5b3 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Tue, 17 Mar 2026 11:16:44 -0700 Subject: [PATCH 13/15] Upate @azure/msal-browser for the ExtensionPack. (#14286) --- ExtensionPack/package-lock.json | 18 ++++++++++++++---- ExtensionPack/package.json | 3 +++ Themes/package-lock.json | 18 ++++++++++++++---- Themes/package.json | 3 +++ 4 files changed, 34 insertions(+), 8 deletions(-) diff --git a/ExtensionPack/package-lock.json b/ExtensionPack/package-lock.json index 751d3016e..09e6d2016 100644 --- a/ExtensionPack/package-lock.json +++ b/ExtensionPack/package-lock.json @@ -164,18 +164,28 @@ } }, "node_modules/@azure/msal-browser": { - "version": "4.29.0", - "resolved": "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/@azure/msal-browser/-/msal-browser-4.29.0.tgz", - "integrity": "sha1-bXEazTtGO0a9rgVEW4NUeBb7j1w=", + "version": "4.29.1", + "resolved": "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/@azure/msal-browser/-/msal-browser-4.29.1.tgz", + "integrity": "sha1-AdwdL27TJeMsA9OTnBcfT00gpW0=", "dev": true, "license": "MIT", "dependencies": { - "@azure/msal-common": "15.15.0" + "@azure/msal-common": "15.16.1" }, "engines": { "node": ">=0.8.0" } }, + "node_modules/@azure/msal-browser/node_modules/@azure/msal-common": { + "version": "15.16.1", + "resolved": "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/@azure/msal-common/-/msal-common-15.16.1.tgz", + "integrity": "sha1-XfNpfsDVPQgnjyU21TvVIhTlLDk=", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, "node_modules/@azure/msal-common": { "version": "15.15.0", "resolved": "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/@azure/msal-common/-/msal-common-15.15.0.tgz", diff --git a/ExtensionPack/package.json b/ExtensionPack/package.json index 6374ded6d..307410660 100644 --- a/ExtensionPack/package.json +++ b/ExtensionPack/package.json @@ -43,5 +43,8 @@ ], "devDependencies": { "@vscode/vsce": "^3.7.1" + }, + "overrides": { + "@azure/msal-browser": "^4.29.1" } } diff --git a/Themes/package-lock.json b/Themes/package-lock.json index 8c8fb2656..c9a006175 100644 --- a/Themes/package-lock.json +++ b/Themes/package-lock.json @@ -164,18 +164,28 @@ } }, "node_modules/@azure/msal-browser": { - "version": "4.29.0", - "resolved": "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/@azure/msal-browser/-/msal-browser-4.29.0.tgz", - "integrity": "sha1-bXEazTtGO0a9rgVEW4NUeBb7j1w=", + "version": "4.29.1", + "resolved": "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/@azure/msal-browser/-/msal-browser-4.29.1.tgz", + "integrity": "sha1-AdwdL27TJeMsA9OTnBcfT00gpW0=", "dev": true, "license": "MIT", "dependencies": { - "@azure/msal-common": "15.15.0" + "@azure/msal-common": "15.16.1" }, "engines": { "node": ">=0.8.0" } }, + "node_modules/@azure/msal-browser/node_modules/@azure/msal-common": { + "version": "15.16.1", + "resolved": "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/@azure/msal-common/-/msal-common-15.16.1.tgz", + "integrity": "sha1-XfNpfsDVPQgnjyU21TvVIhTlLDk=", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, "node_modules/@azure/msal-common": { "version": "15.15.0", "resolved": "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/@azure/msal-common/-/msal-common-15.15.0.tgz", diff --git a/Themes/package.json b/Themes/package.json index 74b4ef61d..69a60f779 100644 --- a/Themes/package.json +++ b/Themes/package.json @@ -64,5 +64,8 @@ }, "devDependencies": { "@vscode/vsce": "3.7.1" + }, + "overrides": { + "@azure/msal-browser": "^4.29.1" } } From 7a4b4ddb377dde6356abc4719301fe8ce555a5cd Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Tue, 17 Mar 2026 13:26:35 -0700 Subject: [PATCH 14/15] Update changelog and version for 1.31.3. (#14288) --- Extension/CHANGELOG.md | 29 ++++++++--------------------- Extension/package.json | 2 +- 2 files changed, 9 insertions(+), 22 deletions(-) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index 9106be83a..3897a6b8d 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -1,33 +1,20 @@ # C/C++ for Visual Studio Code Changelog -## Version 1.31.2: March 17, 2026 -### Bug Fixes -* Fix an incorrect warning message with `c_cpp_properties.json` squiggles. [PR #14265](https://github.com/microsoft/vscode-cpptools/pull/14265) -* Fix cpptools getting stuck if C/C++ DevTools sends a workspace symbol request when the database is empty. [#14268](https://github.com/microsoft/vscode-cpptools/issues/14268) -* Update clang-tidy and clang-format from 22.1.0 to 22.1.1 (bug fixes). - -## Version 1.31.1: March 10, 2026 -### Enhancements -* Update clang-tidy and clang-format from 21.1.4 to 22.1.0. -* Update support for the latest compiler versions. - -### Bug Fixes -* Fix workspace symbol search with `scope::variable` not working after symbols are deleted and then added back. [#14200](https://github.com/microsoft/vscode-cpptools/issues/14200) -* Fix bugs where a path was checked for existence but not whether it was a file or a folder. [#14257](https://github.com/microsoft/vscode-cpptools/issues/14257) -* Add IntelliSense support for `__builtin_is_implicit_lifetime`. -* Fix three IntelliSense process crashes. -* Fix a bug with `-embed-directory`. -* Add some missing translations. - -## Version 1.31.0: February 19, 2026 -### Enhancements +## Version 1.31.3: March 23, 2026 * Add support for `program` in attach debug configurations. [#14046](https://github.com/microsoft/vscode-cpptools/issues/14046) * Thanks for the contribution. [@Subham-KRLX (Subham)](https://github.com/Subham-KRLX) [PR #14108](https://github.com/microsoft/vscode-cpptools/pull/14108) +* Update clang-tidy and clang-format from 21.1.4 to 22.1.1. +* Update support for the latest compiler versions. * Update SQLite to the latest version. ### Bug Fixes * Fix an IntelliSense error with deducing `this` (explicit object member functions) with conversion operators. [#14140](https://github.com/microsoft/vscode-cpptools/issues/14140) * Fix `embed-dir` compiler arguments not being handled for IntelliSense. [#14154](https://github.com/microsoft/vscode-cpptools/issues/14154) +* Fix workspace symbol search with `scope::variable` not working after symbols are deleted and then added back. [#14200](https://github.com/microsoft/vscode-cpptools/issues/14200) +* Fix bugs where a path was checked for existence but not whether it was a file or a folder. [#14257](https://github.com/microsoft/vscode-cpptools/issues/14257) +* Add IntelliSense support for `__builtin_is_implicit_lifetime`. +* Fix three IntelliSense process crashes. +* Fix some missing translations. ## Version 1.30.5: February 9. 2026 ### Bug Fix diff --git a/Extension/package.json b/Extension/package.json index 46f8b48b4..cd8467bea 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -2,7 +2,7 @@ "name": "cpptools", "displayName": "C/C++", "description": "C/C++ IntelliSense, debugging, and code browsing.", - "version": "1.31.2-main", + "version": "1.31.3-main", "publisher": "ms-vscode", "icon": "LanguageCCPP_color_128x.png", "readme": "README.md", From 577a7b8361a7e35ef3f607730be9c229d3031171 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Tue, 17 Mar 2026 13:36:02 -0700 Subject: [PATCH 15/15] Fix a changelog typo missed in the last PR. (#14290) --- Extension/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index 3897a6b8d..b77d45c17 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -16,7 +16,7 @@ * Fix three IntelliSense process crashes. * Fix some missing translations. -## Version 1.30.5: February 9. 2026 +## Version 1.30.5: February 9, 2026 ### Bug Fix * Fix a potential language server deadlock after editing code.