Skip to content

Commit

Permalink
pytest-lsp v0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 6, 2023
1 parent c236579 commit 777e87d
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 11 deletions.
2 changes: 1 addition & 1 deletion lib/pytest-lsp/.bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.3.0
current_version = 0.3.1
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(.dev(?P<dev>\d+))?
Expand Down
21 changes: 21 additions & 0 deletions lib/pytest-lsp/CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
v0.3.1 - 2023-10-06
-------------------

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 <https://github.com/swyddfa/lsp-devtools/issues/61>`_)
- Fixtures created with the `@pytest_lsp.fixture` decorator can now request additional pytest fixtures (`#71 <https://github.com/swyddfa/lsp-devtools/issues/71>`_)
- It is now possible to set the environment variables that the server under test is launched with. (`#72 <https://github.com/swyddfa/lsp-devtools/issues/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 <https://github.com/swyddfa/lsp-devtools/issues/73>`_)


Misc
^^^^

- ``make_test_client`` has been renamed to ``make_test_lsp_client`` (`#73 <https://github.com/swyddfa/lsp-devtools/issues/73>`_)
- Drop support for Python 3.7, add support for Python 3.12 (`#75 <https://github.com/swyddfa/lsp-devtools/issues/75>`_)


v0.3.0 - 2023-05-19
-------------------

Expand Down
2 changes: 0 additions & 2 deletions lib/pytest-lsp/changes/61.enhancement.rst

This file was deleted.

1 change: 0 additions & 1 deletion lib/pytest-lsp/changes/71.enhancement.rst

This file was deleted.

1 change: 0 additions & 1 deletion lib/pytest-lsp/changes/72.enhancement.rst

This file was deleted.

2 changes: 0 additions & 2 deletions lib/pytest-lsp/changes/73.enhancement.rst

This file was deleted.

1 change: 0 additions & 1 deletion lib/pytest-lsp/changes/73.misc.rst

This file was deleted.

1 change: 0 additions & 1 deletion lib/pytest-lsp/changes/75.misc.rst

This file was deleted.

2 changes: 1 addition & 1 deletion lib/pytest-lsp/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "pytest-lsp"
version = "0.3.0"
version = "0.3.1"
description = "pytest plugin for end-to-end testing of language servers"
readme = "README.md"
requires-python = ">=3.8"
Expand Down
2 changes: 1 addition & 1 deletion lib/pytest-lsp/pytest_lsp/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import importlib.resources as resources # type: ignore[no-redef]


__version__ = "0.3.0"
__version__ = "0.3.1"
logger = logging.getLogger(__name__)


Expand Down

0 comments on commit 777e87d

Please sign in to comment.