Skip to content

Update oldest supported VS Code version to align with languageclient requirements - #4583

Merged
datho7561 merged 1 commit into
redhat-developer:mainfrom
datho7561:update-oldest-supported-vscode
Nov 30, 2026
Merged

datho7561 merged 1 commit into
redhat-developer:mainfrom
datho7561:update-oldest-supported-vscode

Conversation

@datho7561

Copy link
Copy Markdown
Contributor
  • We claim to support VS Code 1.77.0 and newer in the package.json, but in practice we don't actually support that version, and it crashes when people who still have much older VS Code versions try to use it. Bumping the version listed in the package.json will prevent people that have an old version of VS Code from installing a new, incompatible version of vscode-java.
  • The limitation for how old of a version of VS Code we support is set by vscode-languageclient. In order to support a newer version of the protocol, vscode-languageclient requires that VS Code itself has the features of the newer protocol version implemented and accessible through the public API. vscode-languageclient@10.1.0 says that it supports VS Code as old as 1.91.0, but depends on the TypeScript types for VS Code 1.106.0, so I bumped the oldest supported VS Code version to 1.106.0.
  • This should be safe to do, since 1.106.0 is over a year old, and Microsoft only supports the latest version of VS Code (They don't backport fixes or anything as far as I know).

Fixes #4516

…requirements

- We claim to support VS Code 1.77.0 and newer in the package.json,
  but in practice we don't actually support that version,
  and it crashes when people who still have much older VS Code versions try to use it.
  Bumping the version listed in the package.json will prevent people that have an old version of VS Code
  from installing a new, incompatible version of vscode-java.
- The limitation for how old of a version of VS Code we support is set by vscode-languageclient.
  In order to support a newer version of the protocol, vscode-languageclient
  requires that VS Code itself has the features of the newer protocol version implemented
  and accessible through the public API.
  `vscode-languageclient@10.1.0` says that it supports VS Code as old as 1.91.0,
  but depends on the TypeScript types for VS Code 1.106.0, so I bumped the oldest supported
  VS Code version to 1.106.0.
- This should be safe to do, since 1.106.0 is over a year old,
  and Microsoft only supports the latest version of VS Code
  (They don't backport fixes or anything as far as I know).

Fixes redhat-developer#4516

Signed-off-by: David Thompson <davthomp@redhat.com>
@datho7561
datho7561 force-pushed the update-oldest-supported-vscode branch from c18944d to b6b1445 Compare November 30, 2026 20:09
@datho7561
datho7561 merged commit f651783 into redhat-developer:main Nov 30, 2026
2 checks passed
@datho7561
datho7561 deleted the update-oldest-supported-vscode branch November 30, 2026 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Red Hat Not Activating

1 participant