Skip to content

v0.22.0

Latest
Compare
Choose a tag to compare
@jonahgraham jonahgraham released this 13 Feb 20:40
· 35 commits to main since this release
e36b339

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.

Breaking API changes:

  • The Message class now has a new transient field, jsonHandler, to enable the toString 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.
  • 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 package org.eclipse.lsp4j.jsonrpc.util in the org.eclipse.lsp4j.jsonrpc bundle.
    • This removes the implied requirement in LSP4J 0.21.0 that there are classes called ToStringBuilder and Preconditions in a sub-package called util;
      instead, the generator now uses classes ToStringBuilder and Preconditions in package org.eclipse.lsp4j.jsonrpc.util.
    • Duplicate classes ToStringBuilder and Preconditions have been removed from org.eclipse.lsp4j.util and org.eclipse.lsp4j.debug.util packages.
    • See #742 for detailed discussion.

japicmp report: https://download.eclipse.org/lsp4j/updates/releases/0.22.0/japicmp-report/

What's Changed

New Contributors

Full Changelog: v0.21.0...v0.22.0