v0.22.0
LSP4J 0.22.0 has now been released and been contributed to simrel, tagged and uploaded to maven central.
Changelog entry
v0.22.0 (February 2024)
Fixed issues: https://github.com/eclipse-lsp4j/lsp4j/milestone/29?closed=1
- The
org.eclipse.lsp4j.websocket
bundle has been deprecated in preparation for removal in the future.- Please migrate to
org.eclipse.lsp4j.websocket.jakarta
- The
org.eclipse.lsp4j.websocket
bundle is no longer included in the SDK feature nor published to Eclipse SimRel - See #647 for detailed discussion.
- Please migrate to
Breaking API changes:
- The Message class now has a new transient field,
jsonHandler
, to enable thetoString
implementation to properly format messages when custom type adapters are used.- For consumers that have their own custom serializers or other reflective message processors they may need to be updated to ensure that transient fields are skipped, for example by using
Modifier.isTransient
- See #768 for detailed discussion.
- For consumers that have their own custom serializers or other reflective message processors they may need to be updated to ensure that transient fields are skipped, for example by using
- The name field in WorkspaceFolder is no longer optional according to the specification.
- See #741 for detailed discussion.
- The LSP4J generator when applied to
@JsonRpcData
annotated classes generates a dependency on packageorg.eclipse.lsp4j.jsonrpc.util
in theorg.eclipse.lsp4j.jsonrpc
bundle.- This removes the implied requirement in LSP4J 0.21.0 that there are classes called
ToStringBuilder
andPreconditions
in a sub-package calledutil
;
instead, the generator now uses classesToStringBuilder
andPreconditions
in packageorg.eclipse.lsp4j.jsonrpc.util
. - Duplicate classes
ToStringBuilder
andPreconditions
have been removed fromorg.eclipse.lsp4j.util
andorg.eclipse.lsp4j.debug.util
packages. - See #742 for detailed discussion.
- This removes the implied requirement in LSP4J 0.21.0 that there are classes called
japicmp report: https://download.eclipse.org/lsp4j/updates/releases/0.22.0/japicmp-report/
What's Changed
- Prepare repo for 0.22.0 development by @jonahgraham in #733
- Run workflow on Windows, macOS and Linux by @jonahgraham in #736
- Avoid use of absolute path where BND can't handle it by @jonahgraham in #737
- Using internals which may not be visible #738 by @dhuebner in #739
- update to guava 32 and orbit 2023-09 by @cdietrich in #749
- update to guava 32.1.2 by @cdietrich in #755
- Add response JSON adapter for
textDocument/inlineValue
by @pisv in #754 - Changelog entry for 0.21.1 by @jonahgraham in #762
- added matrix notification to build by @cdietrich in #765
- Update to Xtend 2.32.0 by @cdietrich in #766
- Make name field in WorkspaceFolder required by @jnt0r in #767
- fix: SemanticTokens.getData() returns null for instances via default ctor by @sebthom in #773
- Update documentation by @pisv in #777
- Update CHANGELOG for 0.21.2 by @jonahgraham in #787
- Use/allow latest versions of dependencies for guava and jakarta.websocket by @jonahgraham in #791
- Remove java files from the runtime jar by @raylras in #764
- Use configured gson instance for toString by @henryju in #772
- Remove outdated usage of Gradle wrapper for Oomph by @jonahgraham in #794
- fix javadoc warning by @jonahgraham in #795
- Modernize Gradle by @cdietrich in #781
- Supply a ToStringBuilder in common location by @jonahgraham in #798
- Document the LSP4J JSON-RPC generator a little by @jonahgraham in #799
- Supply a Preconditions in common location by @pisv in #800
- Deprecate lsp4j.websocket in preparation for removal in the future. by @jonahgraham in #803
- Update documentation for common location of Preconditions by @jonahgraham in #804
- Prepare repo for 0.22.0 release by @jonahgraham in #805
New Contributors
- @jnt0r made their first contribution in #767
- @sebthom made their first contribution in #773
- @raylras made their first contribution in #764
- @henryju made their first contribution in #772
Full Changelog: v0.21.0...v0.22.0