Skip to content

Commit

Permalink
fix: update protocol version to 15 (#534)
Browse files Browse the repository at this point in the history
* chore: update protocol version to 15

* chore: add branch fix prefix

* chore: add chore to release branch list
  • Loading branch information
ShawkyZ authored Sep 17, 2024
1 parent 939a462 commit c644384
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
uses: mathieudutour/github-tag-action@v6.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
release_branches: main
release_branches: main,fix.*,chore.*
default_bump: patch

- name: Add Credentials
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
## [2.19.0]
- Moved delta scan preview setting to settings page.

## [2.18.2]
- Update Language Server Protocol version to 15.

## [2.18.0]
- Added base branch selection for IaC and OSS

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
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 @@ -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

0 comments on commit c644384

Please sign in to comment.