Skip to content
Open
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
13 changes: 13 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,19 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.96] - 2026-08-03
### Dependencies
- Consolidated the open Dependabot pull requests (#765, #766, #767, #768, #769) into a single update for the VS Code extension: `linkify-it` 5.0.1 to 5.0.2, `fast-uri` 3.1.2 to 3.1.4, `undici` 7.24.6 to 7.29.0, and `brace-expansion` 1.1.14 to 1.1.16 and 5.0.5 to 5.0.8.
- Bumped `vscode-languageclient` from 7.0.0 to 10.1.0 in the extension client, which pulls `vscode-languageserver-protocol` up to 3.18.2 and replaces the transitive `minimatch` 3.1.5 chain with 10.2.5.
- Bumped `@types/vscode` from 1.77.0 to 1.91.0 to match the new minimum VS Code version.
- Bumped `typescript` from 4.9.5 to 5.9.3; the `vscode-languageclient` 10 type declarations use the `NoInfer` utility type, which requires TypeScript 5.4 or newer.
- Pinned `brace-expansion` to 1.1.16 and 5.0.8 and `minimatch` to 10.2.5 rather than the 1.1.18, 5.0.9, and 10.2.6 that Dependabot had selected. Those three releases have since been removed from the npm registry, so the packages could no longer be restored and the build failed with a 404 while fetching them.

### Changed
- Raised the minimum VS Code version supported by the extension from 1.63 to 1.91, which `vscode-languageclient` 10 requires.
- Migrated `client/extension.ts` to the `vscode-languageclient` 8+ client lifecycle: `LanguageClient.start()` returns a promise instead of a disposable and `onReady()` no longer exists, so notification handlers are now registered before the client starts and the client is disposed through the extension context.
- Switched the VS Code extension TypeScript projects to `node16` module resolution, which `vscode-languageclient` 10 requires because it declares its entry points only through `exports`.

## [1.0.95] - 2026-07-31
### Pipeline
- Added `.github/dependabot.yml` so Dependabot consolidates npm, NuGet, and GitHub Actions version updates into a single weekly pull request via a multi-ecosystem group, groups security updates per ecosystem into one pull request each, and labels its pull requests `no changelog` so the changelog gate passes.
Expand Down
26 changes: 14 additions & 12 deletions DevSkim-VSCode-Plugin/client/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,19 +113,21 @@ export function activate(context: ExtensionContext) {
clientOptions
);

// Start the client. This will also launch the server
client.registerProposedFeatures();
const disposable = client.start();

client.onReady().then(() =>

// Notification handlers must be registered before the client starts so no
// message sent during initialization is missed.
client.onNotification(getCodeFixMapping(), (mapping: CodeFixMapping) =>
{
fixer.ensureMapHasMappings(mapping);
});
client.onNotification(getFileVersion(), (fileversion: FileVersion) =>{
fixer.removeFindingsForOtherVersions(fileversion);
});

// Start the client. This will also launch the server
client.start().then(() =>
{
client.onNotification(getCodeFixMapping(), (mapping: CodeFixMapping) =>
{
fixer.ensureMapHasMappings(mapping);
});
client.onNotification(getFileVersion(), (fileversion: FileVersion) =>{
fixer.removeFindingsForOtherVersions(fileversion);
});
client.sendNotification(DidChangeConfigurationNotification.type, { settings: ""});
}
);
Expand All @@ -140,7 +142,7 @@ export function activate(context: ExtensionContext) {
});

// For disposal of the client
context.subscriptions.push(disposable);
context.subscriptions.push(client);
}
});
}
184 changes: 95 additions & 89 deletions DevSkim-VSCode-Plugin/client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions DevSkim-VSCode-Plugin/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
"url": "https://github.com/Microsoft/devskim.git"
},
"engines": {
"vscode": "^1.63.0"
"vscode": "^1.91.0"
},
"dependencies": {
"vscode-languageclient": "^7.0.0"
"vscode-languageclient": "^10.1.0"
},
"devDependencies": {
"@types/vscode": "^1.63.0",
"@types/vscode": "^1.91.0",
"@vscode/test-electron": "^2.5.2"
}
}
3 changes: 2 additions & 1 deletion DevSkim-VSCode-Plugin/client/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"compilerOptions": {
"module": "commonjs",
"module": "node16",
"moduleResolution": "node16",
"target": "es2019",
"lib": [
"ES2019"
Expand Down
Loading
Loading