diff --git a/lib/pytest-lsp/.bumpversion.cfg b/lib/pytest-lsp/.bumpversion.cfg index b4298ec..88b4b41 100644 --- a/lib/pytest-lsp/.bumpversion.cfg +++ b/lib/pytest-lsp/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.3.0 +current_version = 0.3.1 commit = False tag = False parse = (?P\d+)\.(?P\d+)\.(?P\d+)(.dev(?P\d+))? diff --git a/lib/pytest-lsp/CHANGES.rst b/lib/pytest-lsp/CHANGES.rst index 842238d..4989cab 100644 --- a/lib/pytest-lsp/CHANGES.rst +++ b/lib/pytest-lsp/CHANGES.rst @@ -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 `_) +- 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 `_) + + v0.3.0 - 2023-05-19 ------------------- diff --git a/lib/pytest-lsp/changes/61.enhancement.rst b/lib/pytest-lsp/changes/61.enhancement.rst deleted file mode 100644 index b3deb12..0000000 --- a/lib/pytest-lsp/changes/61.enhancement.rst +++ /dev/null @@ -1,2 +0,0 @@ -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. diff --git a/lib/pytest-lsp/changes/71.enhancement.rst b/lib/pytest-lsp/changes/71.enhancement.rst deleted file mode 100644 index d1d97a9..0000000 --- a/lib/pytest-lsp/changes/71.enhancement.rst +++ /dev/null @@ -1 +0,0 @@ -Fixtures created with the `@pytest_lsp.fixture` decorator can now request additional pytest fixtures diff --git a/lib/pytest-lsp/changes/72.enhancement.rst b/lib/pytest-lsp/changes/72.enhancement.rst deleted file mode 100644 index 5afc834..0000000 --- a/lib/pytest-lsp/changes/72.enhancement.rst +++ /dev/null @@ -1 +0,0 @@ -It is now possible to set the environment variables that the server under test is launched with. diff --git a/lib/pytest-lsp/changes/73.enhancement.rst b/lib/pytest-lsp/changes/73.enhancement.rst deleted file mode 100644 index dbe479e..0000000 --- a/lib/pytest-lsp/changes/73.enhancement.rst +++ /dev/null @@ -1,2 +0,0 @@ -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. diff --git a/lib/pytest-lsp/changes/73.misc.rst b/lib/pytest-lsp/changes/73.misc.rst deleted file mode 100644 index e4049c7..0000000 --- a/lib/pytest-lsp/changes/73.misc.rst +++ /dev/null @@ -1 +0,0 @@ -``make_test_client`` has been renamed to ``make_test_lsp_client`` diff --git a/lib/pytest-lsp/changes/75.misc.rst b/lib/pytest-lsp/changes/75.misc.rst deleted file mode 100644 index 99f8272..0000000 --- a/lib/pytest-lsp/changes/75.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Drop support for Python 3.7, add support for Python 3.12 diff --git a/lib/pytest-lsp/pyproject.toml b/lib/pytest-lsp/pyproject.toml index a797d67..872a8dd 100644 --- a/lib/pytest-lsp/pyproject.toml +++ b/lib/pytest-lsp/pyproject.toml @@ -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" diff --git a/lib/pytest-lsp/pytest_lsp/client.py b/lib/pytest-lsp/pytest_lsp/client.py index 7a60d18..98e6d65 100644 --- a/lib/pytest-lsp/pytest_lsp/client.py +++ b/lib/pytest-lsp/pytest_lsp/client.py @@ -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__)