Skip to content

Releases: swyddfa/lsp-devtools

pytest-lsp v1.0.0b1 - 2024-09-04

04 Sep 19:24
Compare
Choose a tag to compare
Pre-release

v1.0.0b1 - 2024-09-04

Breaking Changes

  • Drop Python 3.8 support (#178)
  • Drop support for pytest v7 (#180)

Misc

  • Migrate to pygls v2 (#177)
  • Add support for Python 3.13 (#180)
  • Bump minimum pytest-asyncio verision to v0.24 (#182)

pytest-lsp v0.4.3 - 2024-08-28

28 Aug 18:58
Compare
Choose a tag to compare

v0.4.3 - 2024-08-28

Fixes

pytest-lsp v0.4.2 - 2024-05-22

22 May 18:51
Compare
Choose a tag to compare

v0.4.2 - 2024-05-22

Client Capabilities

  • Add client capabilities for Neovim v0.10.0 (#164)

Misc

  • Start testing against pytest v8 (#145)

lsp-devtools v0.2.3 - 2024-05-22

22 May 18:49
Compare
Choose a tag to compare

v0.2.3 - 2024-05-22

Enhancements

  • The lsp-devtools agent now forwards the server's stderr channel (#165)

Fixes

  • All lsp-devtools commands should no longer crash when encountering messages containing unicode characters (#157)
  • Commands like lsp-devtools record should now continue to function after encountering an error (#158)

pytest-lsp v0.4.1 - 2024-02-07

07 Feb 21:59
Compare
Choose a tag to compare

v0.4.1 - 2024-02-07

Enhancements

  • When a test fails pytest-lsp will now show the server's stderr output (if any) (#143)

Client Capabilities

  • Add client capabilities for Emacs v29.1 (#142)

Fixes

  • LspSpecificationWarnings will no longer be incorrectly emitted when a client does indeed support window/workDoneProgress/create requests (#119)

Misc

  • Bump minimum version of pytest-asyncio to 0.23.0 (#126)

lsp-devtools v0.2.2 - 2024-01-29

29 Jan 00:29
Compare
Choose a tag to compare

v0.2.2 - 2024-01-29

Enhancements

  • Added formatters json and json-compact that can be used within format strings. (#130)
  • When not printing messages to stdout, the lsp-devtools record command now displays a nice visualisation of the traffic between client and server - so that you can see that it's doing something (#134)

Fixes

  • The lsp-devtools record command will now produce valid JSON when using the --to-file option without an explicitly provided format string. (#130)
  • The lsp-devtools agent now watches for the when the server process exits and closes itself down also. (#132)
  • Commands like lsp-devtools record should now exit cleanly when hitting Ctrl-C (#133)

pytest-lsp v0.4.0 - 2023-11-13

13 Nov 20:22
Compare
Choose a tag to compare

v0.4.0 - 2023-11-13

Features

  • The test LanguageClient now supports workspace/configuration requests (#90)
  • pytest-lsp's LanguageClient is now able to handle window/workDoneProgress/create requests. (#91)
  • pytest-lsp is now able to integrate with lsp-devtools, run pytest with the --lsp-devtools flag to enable the integration. (#97)

Enhancements

  • It is now possible to select a specific version of a client when using the client_capabilities() function.
    e.g. client-name@latest, client-name@v2 or client-name@2.1.3. pytest-lsp will choose the latest available version of the client that satisfies the given constraint. (#101)

Client Capabilities

  • Add client capabilities for Neovim versions v0.7.0 and v0.8.0 (#89)
  • Add client capabilities for Neovim v0.9.1 (#100)

lsp-devtools v0.2.1 - 2023-11-13

13 Nov 20:29
Compare
Choose a tag to compare

v0.2.1 - 2023-11-13

Enhancements

  • If the agent is unable to connect to a server app immediately, it will now retry indefinitely until it succeeds or the language server exits (#77)
  • It is now possible to select completion items in the lsp-devtools client (#108)
  • Commands like lsp-devtools record and lsp-devtools inspect will no longer exit/stop capturing messages after the first LSP session exits (#110)

pytest-lsp v0.3.1 - 2023-10-06

06 Oct 21:58
Compare
Choose a tag to compare

v0.3.1 - 2023-10-06

This release includes some minor breaking changes if you were using the lower-level APIs e.g make_client_server.

See this commit for a sample migration

Enhancements

  • pytest-lsp's LanguageClient is now based on the one provided by pygls. The main benefit is that the server connection is now based on an asyncio.subprocess.Process removing the need for pytest-lsp to constantly check to see if the server is still running. (#61)
  • Fixtures created with the @pytest_lsp.fixture decorator can now request additional pytest fixtures (#71)
  • It is now possible to set the environment variables that the server under test is launched with. (#72)
  • It is now possible to test any JSON-RPC based server with pytest-lsp. Note however, this support will only ever extend to managing the client-server connection. (#73)

Misc

  • make_test_client has been renamed to make_test_lsp_client (#73)
  • Drop support for Python 3.7, add support for Python 3.12 (#75)

lsp-devtools v0.2.0 - 2023-10-06

06 Oct 21:53
Compare
Choose a tag to compare

v0.2.0 - 2023-10-06

Features

  • Experimental Add proof of concept lsp-devtools client command that builds on textual's TextArea widget to offer an interactive language server client. (#83)

Fixes

  • The lsp-devtools agent command no longer fails to exit once an LSP session closes. (#17)
  • lsp-devtools record no longer emits a ResourceWarning (#28)
  • As a consequence of the new architecture, commands like lsp-devtools record no longer miss the start of an LSP session (#29)
  • lsp-devtools agent no longer emits Unable to send data, no available transport! messages (#38)

Misc

  • The lsp-devtools agent now uses a TCP connection, which should make distribution easier (#37)

  • Drop Python 3.7 support (#77)

  • The lsp-devtools capabilities command has been removed in favour of lsp-devtools record

    The lsp-devtools tui command has been renamed to lsp-devtools inspect (#83)