Skip to content

tower-lsp 0.11.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@ebkalderon ebkalderon released this 30 Apr 06:22
· 261 commits to master since this release

Changed

  • Update lsp-types crate from 0.73 to 0.74 (PR #178). This introduces breaking changes to the following LanguageServer trait method signatures:
    • hover()
    • signatureHelp()
    • goto_declaration()
    • goto_definition()
    • goto_type_definition()
    • goto_implementation()
    • document_highlight()
  • Make LanguageServer::initialize() handler async fn (PR #182).
  • Accept stdin and stdout handles that are not Send + 'static. This permits the use of std::io::Cursor or Vec<u8> as mock stdio sources for tests, and passing in &mut handles is now supported as well (PR #184).

Fixed

  • Fix broken bidirectional request/response routing (PR #184). The original implementation introduced in version 0.9.0 would deadlock under certain conditions.