Skip to content

Commit

Permalink
chore: bump ls version protocol [IDE-482] (#495)
Browse files Browse the repository at this point in the history
* chore: bump ls version protocol
  • Loading branch information
ShawkyZ authored Jul 24, 2024
1 parent 0bfd4bd commit f4d4a03
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Snyk Security Changelog

## [2.16.1]
- updated the language server protocol version to 13 to support delta findings.

## [2.16.0]
- Reorganize settings page into categorized sections:
- General Settings
Expand Down
2 changes: 1 addition & 1 deletion src/snyk/common/constants/languageServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Language Server name, used e.g. for the output channel
export const SNYK_LANGUAGE_SERVER_NAME = 'Snyk Language Server';
// The internal language server protocol version for custom messages and configuration
export const PROTOCOL_VERSION = 12;
export const PROTOCOL_VERSION = 13;

// LS protocol methods (needed for not having to rely on vscode dependencies in testing)
export const DID_CHANGE_CONFIGURATION_METHOD = 'workspace/didChangeConfiguration';
Expand Down
2 changes: 1 addition & 1 deletion src/test/unit/common/languageServer/languageServer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ suite('Language Server', () => {
enableTrustedFoldersFeature: 'true',
trustedFolders: ['/trusted/test/folder'],
insecure: 'true',
requiredProtocolVersion: '12',
requiredProtocolVersion: '13',
scanningMode: 'auto',
folderConfigs: [],
};
Expand Down

0 comments on commit f4d4a03

Please sign in to comment.