Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update protocol version to 15 #533

Closed
wants to merge 1 commit into from
Closed
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
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.19.1]
- Update Language Server Protocol version to 15.

## [2.19.0]
- Moved delta scan preview setting to settings page.

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 = 14;
export const PROTOCOL_VERSION = 15;

// LS protocol methods (needed for not having to rely on vscode dependencies in testing)
export const DID_CHANGE_CONFIGURATION_METHOD = 'workspace/didChangeConfiguration';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ suite('Language Server', () => {
enableTrustedFoldersFeature: 'true',
trustedFolders: ['/trusted/test/folder'],
insecure: 'true',
requiredProtocolVersion: '14',
requiredProtocolVersion: '15',
scanningMode: 'auto',
folderConfigs: [],
authenticationMethod: 'oauth',
Expand Down
Loading