LSP4J 0.9.0
LSP4J 0.9.0 has now been released and been contributed to simrel, tagged and uploaded to maven central.
Changelog entry:
- Implemented DAP version 1.36.0
- Implemented DAP version 1.37.0 (except CancelRequest)
- Implemented LSP version 3.15.0 (except Progress)
- Improved compatibility with prior versions of
vscode-languageclient
(#407)
Fixed issues: https://github.com/eclipse/lsp4j/milestone/15?closed=1
Breaking API changes:
-
In DebugProtocol fields which were
@NonNull Long
are nowint
as they
are required. This brings the DAP implementation in LSP4J in line with
the LSP implementation under the same conditions. -
In DebugProtocol fields which were
@NonNull Boolean
are nowboolean
as they are required. This brings the DAP implementation in LSP4J in
line with the LSP implementation under the same conditions. -
In DebugProtocol fields which used to be defined as
Long
are nowInteger
.
This is due to changes in DAP 1.36 and clarification sought from
microsoft/debug-adapter-protocol#90 -
The DebugProtocol's
EvaluateResponse
's fieldmemoryReference
was previously incorrectly
declared asLong
, it is now correctly declared asString
-
CodeActionKindCapabilities.valueSet
marked with@NonNull
-
Parameters for the following requests have been changed from
TextDocumentPositionParams
textDocument/signatureHelp
changed toSignatureHelpParams
textDocument/hover
changed toHoverParams
textDocument/declaration
changed toDeclarationParams
textDocument/definition
changed toDefinitionParams
textDocument/typeDefinition
changed toTypeDefinitionParams
textDocument/implementation
changed toImplementationParams
textDocument/documentHighlight
changed toDocumentHighlightParams
textDocument/prepareRename
changed toPrepareRenameParams
-
The LSP's Protocol
Diagnostic
fieldcode
was previouslyt incorrectly declared asString
,
it is now correctly declared asEither<String, Number>