Skip to content

tower-lsp 0.12.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@ebkalderon ebkalderon released this 09 Aug 10:33
· 232 commits to master since this release

Added

  • Add private subcrate tower-lsp-macros for internal use only (PR #202).
  • Implement cancellation support via $/cancelRequest (PR #202).
  • Officially support serving over TCP (PR #198).

Changed

  • Update lsp-types crate from 0.74 to 0.79.
  • Have language servers store Client directly as struct field (PR #199).
  • Replace jsonrpc-core with minimal JSON-RPC implementation (PR #202).
  • Redefine LspService as Service<Incoming, Response = Option<Outgoing>>.
  • Implement FusedStream for MessageStream.

Fixed

  • Fix typo which caused workspace/didChangeConfiguration to break (PR #195).
  • Implement proper parse error recovery in LSP codec (PR #201).
  • Refuse to accept further requests after shutdown has been called once.

Removed

  • Remove dependency on jsonrpc-core, as tower-lsp no longer relies on it.
  • Remove LspService::with_handler() constructor (PR #202).