From de2fb6468086bc580eab2d3dcb9544cf6afa8383 Mon Sep 17 00:00:00 2001 From: krassowski Date: Sun, 4 Jul 2021 16:26:09 +0100 Subject: [PATCH] Release jupyterlab-lsp 3.8.0 and jupyter-lsp 1.4.0 --- CHANGELOG.md | 24 +++++++++++++++++-- packages/jupyterlab-lsp/package.json | 2 +- packages/metapackage/package.json | 2 +- .../jupyter_lsp/jupyter_lsp/_version.py | 2 +- python_packages/jupyterlab_lsp/setup.cfg | 2 +- 5 files changed, 26 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9433ce012..bc1e5804c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,12 @@ ## Changelog -### `@krassowski/jupyterlab-lsp 3.7.1` (unreleased) +### `@krassowski/jupyterlab-lsp 3.8.0` (2021-07-04) - improvements: - add a note on manually enabling backend extension ([#621], thanks @icankeep) - - in-app troubleshooting/installation help is now offered for servers which are needed but could not be detected (if auto-detection specification for those is present) ([#634]) + - in-app troubleshooting/installation help is now offered for servers which are needed but could not be detected + (if auto-detection specification for those is present) ([#634]) - bug fixes: - fix rename shortcut registration in file editor ([#614]) @@ -18,6 +19,25 @@ [#630]: https://github.com/krassowski/jupyterlab-lsp/pull/630 [#634]: https://github.com/krassowski/jupyterlab-lsp/pull/634 +### `jupyter-lsp 1.4.0` (2021-07-04) + +- features: + + - `troubleshoot` property was added to the language server spec, allowing to describe auto-detection troubleshooting + ([#634]) + - new endpoint `specs` will list all language server specifications known to `jupyter-lsp` allowing frontends + to suggest installation of specific language servers ([#634]) + +- changes: + - `ShellSpec.is_installed()` signature changed; it now accepts the `LanguageServerManagerAPI` rather than the resolved + command location (of `str` type); the specs using only `is_installed_args` are not affected; as this method was only + used by internally by the `__call__` implementation (which was adjusted accordingly) this change should not break + existing specs unless any of these methods were overridden in sub-classes. + - `SpecBase` was moved to `types.py`; it can still be imported from `utils`, but doing so is discouraged + - `ShellSpec.solve()` was added to facilitate discovery of command location + +[#634]: https://github.com/krassowski/jupyterlab-lsp/pull/634 + ### `jupyter-lsp 1.3.0` (2021-06-02) - features: diff --git a/packages/jupyterlab-lsp/package.json b/packages/jupyterlab-lsp/package.json index 47f017b4a..edf1bfa3e 100644 --- a/packages/jupyterlab-lsp/package.json +++ b/packages/jupyterlab-lsp/package.json @@ -1,6 +1,6 @@ { "name": "@krassowski/jupyterlab-lsp", - "version": "3.7.0", + "version": "3.8.0", "description": "Language Server Protocol integration for JupyterLab", "keywords": [ "jupyter", diff --git a/packages/metapackage/package.json b/packages/metapackage/package.json index c23069fb8..9e7f96653 100644 --- a/packages/metapackage/package.json +++ b/packages/metapackage/package.json @@ -1,6 +1,6 @@ { "name": "@krassowski/jupyterlab-lsp-metapackage", - "version": "3.7.0", + "version": "3.8.0", "description": "JupyterLab LSP - Meta Package. All of the packages used by JupyterLab LSP", "homepage": "https://github.com/krassowski/jupyterlab-lsp", "bugs": { diff --git a/python_packages/jupyter_lsp/jupyter_lsp/_version.py b/python_packages/jupyter_lsp/jupyter_lsp/_version.py index 44cc03f2f..9306f9eac 100644 --- a/python_packages/jupyter_lsp/jupyter_lsp/_version.py +++ b/python_packages/jupyter_lsp/jupyter_lsp/_version.py @@ -1,3 +1,3 @@ """ single source of truth for jupyter_lsp version """ -__version__ = "1.3.0" +__version__ = "1.4.0" diff --git a/python_packages/jupyterlab_lsp/setup.cfg b/python_packages/jupyterlab_lsp/setup.cfg index 81adedd48..8ee20f272 100644 --- a/python_packages/jupyterlab_lsp/setup.cfg +++ b/python_packages/jupyterlab_lsp/setup.cfg @@ -32,5 +32,5 @@ zip_safe = False python_requires = >=3.6 install_requires = - jupyter_lsp >=1.1.0 + jupyter_lsp >=1.4.0 jupyterlab >=3.0.0,<4.0.0a0