Coding assistance for JupyterLab (code navigation + hover suggestions + linters + autocompletion + rename) using Language Server Protocol
BSD-3-CLAUSE License
Bot releases are visible (Hide)
This is a hotfix release for jupyter-lsp (server extension) only.
pip install jupyterlab-lsp==5.1.0 jupyter-lsp==2.2.5 'jupyterlab>=4.1.0'
# or, for conda:
# > Please note that conda packages may take a day or two since release before becoming available!
# conda install -c conda-forge jupyterlab-lsp=5.1.0 jupyter-lsp=2.2.5 'jupyterlab>=4.1.0'
jedi-language-server
or python-lsp-server
, please make sure to upgrade IPython to 7.20 or newer.jupyter-lsp 2.2.5
Published by krassowski 8 months ago
This is a hotfix release for jupyter-lsp (server extension) only.
pip install jupyterlab-lsp==5.1.0 jupyter-lsp==2.2.4 'jupyterlab>=4.1.0'
# or, for conda:
# > Please note that conda packages may take a day or two since release before becoming available!
# conda install -c conda-forge jupyterlab-lsp=5.1.0 jupyter-lsp=2.2.4 'jupyterlab>=4.1.0'
jedi-language-server
or python-lsp-server
, please make sure to upgrade IPython to 7.20 or newer.jupyter-lsp 2.2.4
Published by krassowski 8 months ago
This release includes a new experimental document outline feature (for file editor) and a number of bug fixes. JupyterLab 4.1 or newer is required for this version.
pip install jupyterlab-lsp==5.1.0 jupyter-lsp==2.2.3 'jupyterlab>=4.1.0'
# or, for conda:
# > Please note that conda packages may take a day or two since release before becoming available!
# conda install -c conda-forge jupyterlab-lsp=5.1.0 jupyter-lsp=2.2.3 'jupyterlab>=4.1.0'
jedi-language-server
or python-lsp-server
, please make sure to upgrade IPython to 7.20 or newer.jupyterlab-lsp 5.1.0
Requires JupyterLab >=4.1.0,<5.0.0a0
extensionFactory
API (#1057):
extensionFactory
API allowing to remove workarounds that were needed to make the extension work in JupyterLab 4.0 (#1057)VirtualDocument
as these were merged upstream and released in JupyterLab 4.1 (#1057)jupyter-lsp 2.2.3
Published by krassowski 9 months ago
This is a small release with two bug fixes for completer and transclusions.
pip install jupyterlab-lsp==5.0.3 jupyter-lsp==2.2.2 'jupyterlab>=4.0.11'
# or, for conda:
# > Please note that conda packages may take a day or two since release before becoming available!
# conda install -c conda-forge jupyterlab-lsp=5.0.3 jupyter-lsp=2.2.2 'jupyterlab>=4.0.11'
jedi-language-server
or python-lsp-server
, please make sure to upgrade IPython to 7.20 or newer.@jupyter-lsp/jupyterlab-lsp 5.0.3
type
is not defined (#1044)Full Changelog: https://github.com/jupyter-lsp/jupyterlab-lsp/compare/v5.0.2...v5.0.3
Published by krassowski 9 months ago
All users should upgrade jupyter-lsp to v2.2.2 which addresses a security vulnerability
pip install jupyterlab-lsp==5.0.2 jupyter-lsp==2.2.2 'jupyterlab>=4.0.9'
# or, for conda:
# > Please note that conda packages may take a day or two since release before becoming available!
# conda install -c conda-forge jupyterlab-lsp=5.0.2 jupyter-lsp=2.2.2 'jupyterlab>=4.0.9'
jedi-language-server
or python-lsp-server
, please make sure to upgrade IPython to 7.20 or newer.@jupyter-lsp/jupyterlab-lsp 5.0.2
jupyter-lsp 2.2.2
extension_points
(#1035)Full Changelog: https://github.com/jupyter-lsp/jupyterlab-lsp/compare/v5.0.1...v5.0.2
Published by krassowski 11 months ago
A first (and extensive) bug fix release for jupyterlab-lsp 5.0.x line supporting JupyterLab 4.0. For older JupyterLab versions please use jupyterlab-lsp 4.x line. Please report any regression on GitHub issue tracker and feel welcome to open a pull request if you would like to contribute an enhancement or a bug fix.
A special shout out to new contributors who contributed to this set of releases: @i-aki-y, @jameshurst, and @zhanba 🎉
pip install jupyterlab-lsp==5.0.1 jupyter-lsp==2.2.1 'jupyterlab>=4.0.9'
# or, for conda:
# > Please note that conda packages may take a day or two since release before becoming available!
# conda install -c conda-forge jupyterlab-lsp=5.0.1 jupyter-lsp=2.2.1 'jupyterlab>=4.0.9'
jedi-language-server
or python-lsp-server
, please make sure to upgrade IPython to 7.20 or newer.@jupyter-lsp/jupyterlab-lsp 5.0.1
%%time
and %%capture
magics #1007 (thanks @i-aki-y!)priority
after pre-setting it with overrides.json
#1027jupyter-lsp 2.2.1
APIHandler
over JupyterHandler
to get CORS OPTIONS #952 (thanks @zhanba!)shutil.which
to discover npm
executable on Windows #955 (thanks @jameshurst!)sys.executable
in stdio tests #998Full Changelog: https://github.com/jupyter-lsp/jupyterlab-lsp/compare/v5.0.0...v5.0.1
Published by krassowski about 1 year ago
This release brings support for JupyterLab 4.0. Known issues/limitations are listed in the changelog below. Please report any other regression on GitHub issue tracker and feel welcome to open a pull request if you would like to contribute an enhancement or a bug fix. For older JupyterLab versions please use jupyterlab-lsp 4.x line.
Extension authors: feature registration is now handled by upstream @jupyterlab/lsp
package; migration overview notes are available in the documentation. Please note that better support for CodeMirror6 integration will be available in JupyterLab 4.1 release.
pip install jupyterlab-lsp==5.0.0 jupyter-lsp==2.2.0 'jupyterlab>=4.0.6'
# or, for conda:
# > Please note that conda packages may take a day or two since release before becoming available!
# conda install -c conda-forge jupyterlab-lsp=5.0.0 jupyter-lsp=2.2.0 'jupyterlab>=4.0.6'
jedi-language-server
or python-lsp-server
, please make sure to upgrade IPython to 7.20 or newer.@jupyterlab/lsp
package@codemirror/linter
to show diagnostics
{pylsp: {flake8: {enabled: true}}}
); the dotted pattern (e.g. {"pylsp.flake8.enabled": true}
) does not lead to such problem.Code Completion
settingsFull Changelog: https://github.com/jupyter-lsp/jupyterlab-lsp/compare/v4.3.0...v5.0.0
Published by krassowski about 1 year ago
This is the second release candidate of v5.0.0, providing support for JupyterLab 4.0. There are no know major bugs at this point - if you see any issues, please report on https://github.com/jupyter-lsp/jupyterlab-lsp/issues. A final release is expected in the upcoming week.
Make sure your JupyterLab version is 4.0.6 or newer and Python version is 3.8 or newer.
Update the extension:
pip install jupyterlab-lsp==5.0.0rc1 jupyter-lsp==2.2.0 jupyterlab==4.0.6
Requires JupyterLab >=4.0.6,<5.0.0a0
Published by krassowski about 1 year ago
Make sure your JupyterLab version is 3.6.x (for JupyterLab 4.0 please use jupyterlab-lsp 5.0) and Python version is 3.8 or newer
Update the extension:
pip install jupyterlab-lsp==4.3.0 jupyter-lsp==2.2.0
# or, for conda:
# > Please note that conda packages may take a day or two since release before becoming available!
# conda install -c conda-forge jupyterlab-lsp=4.3.0 jupyter-lsp=2.2.0
Note:
jedi-language-server
or python-lsp-server
, please make sure to upgrade IPython to 7.20 or newer.python-lsp-server
(which is encouraged), please start by uninstalling python-language-server
and only then install python-lsp-server
; you may also need to replace pyls
occurrences with pylsp
in settings if you modified any.jupyterlab-lsp
(4.3.0)Full Changelog: https://github.com/jupyter-lsp/jupyterlab-lsp/compare/v4.2.0...v4.3.0
Published by krassowski about 1 year ago
This is the first release candidate of v5.0.0, providing support for JupyterLab 4.0. There are no know major bugs at this point - if you see any issues, please report on https://github.com/jupyter-lsp/jupyterlab-lsp/issues.
Make sure your JupyterLab version is 4.0.6 or newer and Python version is 3.8 or newer.
Update the extension:
pip install jupyterlab-lsp==5.0.0rc0 jupyter-lsp==2.2.0 jupyterlab==4.0.6
Requires JupyterLab >=4.0.6,<5.0.0a0
Published by krassowski about 1 year ago
This is a second beta of v5.0.0 providing support for JupyterLab 4.0. There are known upstream bugs in completer, affecting functionality of this extension - you can disable the LSP completer in the settings.
Please report regressions on https://github.com/jupyter-lsp/jupyterlab-lsp/issues.
Make sure your JupyterLab version is 4.0.5 or newer and Python version is 3.8 or newer.
Update the extension:
pip install jupyterlab-lsp==5.0.0b1 jupyter-lsp==2.2.0
Published by krassowski about 1 year ago
This is a first beta of v5.0.0 providing support for JupyterLab 4.0. There are known upstream bugs in completer, affecting functionality of this extension - you can disable the LSP completer in the settings.
Please report regressions on https://github.com/jupyter-lsp/jupyterlab-lsp/issues.
Make sure your JupyterLab version is 4.0.5 or newer and Python version is 3.8 or newer.
Update the extension:
pip install jupyterlab-lsp==5.0.0b0 jupyter-lsp==2.2.0
Published by krassowski about 1 year ago
This is a first release providing support for JupyterLab 4.0. There are known upstream bugs in completer which affect functionality of this extension - you can disable the LSP completer in the settings.
Please report regressions on https://github.com/jupyter-lsp/jupyterlab-lsp/issues.
Make sure your JupyterLab version is 4.0.5 or newer and Python version is 3.8 or newer.
Update the extension:
pip install jupyterlab-lsp==5.0.0a0 jupyter-lsp==2.2.0
Published by krassowski over 1 year ago
This release brings a new configuration option to ignore diagnostics based on severity and compatibility with new versions of bash-language-sever
(which relies entirely on shellcheck
for linting).
New diagnostic severity filter | New bash-language-sever options |
---|---|
Make sure your JupyterLab version is 3.6.x (JupyterLab 4.0 is not yet supported) and Python version is 3.8 or newer
Update the extension:
pip install jupyterlab-lsp==4.2.0 jupyter-lsp==2.2.0
# or, for conda:
# > Please note that conda packages may take a day or two since release before becoming available!
# conda install -c conda-forge jupyterlab-lsp=4.2.0 jupyter-lsp=2.2.0
Note:
jedi-language-server
or python-lsp-server
, please make sure to upgrade IPython to 7.20 or newer.python-lsp-server
(which is encouraged), please start by uninstalling python-language-server
and only then install python-lsp-server
; you may also need to replace pyls
occurrences with pylsp
in settings if you modified any.jupyterlab-lsp
(4.2.0) and jupyter-lsp
(2.2.0)ignoreSeverities
setting (#940)bash-language-sever
4.3.2+ (#938, thanks @ackalker)Full Changelog: https://github.com/jupyter-lsp/jupyterlab-lsp/compare/v4.0.1...v4.1.0
Published by krassowski over 1 year ago
The headline change is this minor release is gradual phasing out of .virtual_documents
; if you are maintaining a specification for a custom language server, switching requires_documents_on_disk
to False
is recommended as it will benefit users with less write operations on disk (with marginal performance gains) and to verify that the server does not need any fixes to support in-memory files.
Users of signature feature will benefit from a better contrast for the highlight of active parameter (if using a server which provides this information), especially in dark mode:
Light mode | Dark mode |
---|---|
Make sure your JupyterLab version is 3.6.0 or newer (3.3+ may work but there is no official support) and Python version is 3.8 or newer
Update the extension:
pip install jupyterlab-lsp==4.1.0 jupyter-lsp==2.1.0
# or, for conda:
# > Please note that conda packages may take a day or two since release before becoming available!
# conda install -c conda-forge jupyterlab-lsp=4.1.0 jupyter-lsp=2.1.0
Note:
jedi-language-server
or python-lsp-server
, please make sure to upgrade IPython to 7.20 or newer.python-lsp-server
(which is encouraged), please start by uninstalling python-language-server
and only then install python-lsp-server
; you may also need to replace pyls
occurrences with pylsp
in settings if you modified any.jupyterlab-lsp
(4.1.0) and jupyter-lsp
(2.1.0).virtual_documents
optional, with pyright server being trialled as the first opting out (#930)
requires_documents_on_disk
spec field (default True
, will become False
in next major version)Full Changelog: https://github.com/jupyter-lsp/jupyterlab-lsp/compare/v4.0.1...v4.1.0
Published by krassowski over 1 year ago
This is a minor bug-fix only release restoring support for settings defined in overrides.json
file and fixing pyright schema.
Make sure your JupyterLab version is 3.6.0 or newer (3.3+ may work but there is no official support) and Python version is 3.8 or newer
Update the extension:
pip install jupyterlab-lsp==4.0.1 jupyter-lsp==2.0.1
# or, for conda:
# > Please note that conda packages may take a day or two since release before becoming available!
# conda install -c conda-forge jupyterlab-lsp=4.0.1 jupyter-lsp=2.0.1
Note:
jedi-language-server
or python-lsp-server
, please make sure to upgrade IPython to 7.20 or newer.python-lsp-server
(which is encouraged), please start by uninstalling python-language-server
and only then install python-lsp-server
; you may also need to replace pyls
occurrences with pylsp
in settings if you modified any.jupyterlab-lsp
(4.0.1) and jupyter-lsp
(2.0.1)Full Changelog: https://github.com/jupyter-lsp/jupyterlab-lsp/compare/v4.0.0...v4.0.1
Published by krassowski over 1 year ago
This is a release with breaking changes (most notable migration to @jupyter-lsp
organisation) and a number of improvements, notably:
Jump-to received a selector to resolve jump target when multiple targets exist
Make sure your JupyterLab version is 3.6.0 or newer (3.3+ may work but there is no official support) and Python version is 3.8 or newer
Update the extension:
pip install jupyterlab-lsp==4.0.0 jupyter-lsp==2.0.0
# or, for conda:
# > Please note that conda packages may take a day or two since release before becoming available!
# conda install -c conda-forge jupyterlab-lsp=4.0.0 jupyter-lsp=2.0.0
Note:
jedi-language-server
or python-lsp-server
, please make sure to upgrade IPython to 7.20 or newer.python-lsp-server
(which is encouraged), please start by uninstalling python-language-server
and only then install python-lsp-server
; you may also need to replace pyls
occurrences with pylsp
in settings if you modified any.jupyterlab-lsp
(4.0.0
) and jupyter-lsp
(2.0.0)serverSettings
) in specs (#856)undefined
being inserted for path-like completion items with no insertText
(#833)--channel
to conda instruction for texlab (#789, thanks @justin-f-perez).lsp_symlink
workaround ([#828])importlib_metadata
(or importlib.metadata
on 3.10+) for entry_points
(#882)entry_point
discovery is deferred until server has started, improvingjupyter_server
startup time (#852)Full Changelog: https://github.com/jupyter-lsp/jupyterlab-lsp/compare/v3.10.2...v4.0.0
Published by krassowski about 2 years ago
This is a bug-fix-only release with improvements to completer and websocket URL.
Make sure your JupyterLab version is 3.2.x. or 3.3.x (3.1.x may work but there is no official support)
Update the extension:
pip install jupyterlab-lsp==3.10.2 jupyter-lsp==1.5.1
# or, for conda:
# > Please note that conda packages may take a day or two since release before becoming available!
# conda install -c conda-forge jupyterlab-lsp=3.10.2 jupyter-lsp=1.5.1
Note:
jedi-language-server
or python-lsp-server
, please make sure to upgrade IPython to 7.20 or newer.python-lsp-server
(which is encouraged), please start by uninstalling python-language-server
and only then install python-lsp-server
; you may also need to replace pyls
occurrences with pylsp
in settings if you modified any.jupyterlab-lsp
(3.10.2
)Full Changelog: https://github.com/jupyter-lsp/jupyterlab-lsp/compare/v3.10.1...v3.10.2
Published by krassowski over 2 years ago
This is a bug-fix-only release fixing navigation (jump to) for files with names including special characters which require encoding (like @
) and a compatibility fix to make all settings render correctly in the new JupyterLab 3.3 Settings Editor UI; this does not yet include server settings which are work in progress.
Make sure your JupyterLab version is 3.2.x. or 3.3.x (3.1.x may work but there is no official support)
Update the extension:
pip install jupyterlab-lsp==3.10.1 jupyter-lsp==1.5.1
# or, for conda:
# > Please note that conda packages may take a day or two since release before becoming available!
# conda install -c conda-forge jupyterlab-lsp=3.10.1 jupyter-lsp=1.5.1
Note:
jedi-language-server
or python-lsp-server
, please make sure to upgrade IPython to 7.20 or newer.python-lsp-server
(which is encouraged), please start by uninstalling python-language-server
and only then install python-lsp-server
; you may also need to replace pyls
occurrences with pylsp
in settings if you modified any.jupyterlab-lsp
(3.10.1
)Full Changelog: https://github.com/jupyter-lsp/jupyterlab-lsp/compare/v3.10.0...v3.10.1
Published by krassowski almost 3 years ago
This release brings:
pylsp
users: support for Deprecated
tag is tracked in https://github.com/python-lsp/python-lsp-server/issues/144, and https://github.com/QuantStack/pyls-memestra/pull/53 for memestrapreFilterMatches
setting if it is not optimal for language servers you use).Additionally a number of bug fixes and improvements to the codebase are included in this release.
This is the last release under the @krassowski namespace. The next release is planned to be version 4.0 under a new @jupyter-lsp namespace; no action should be needed for users of prebuilt (pip or conda/mamba-installable) version of the extension; other users and dependants will need to install the new package.
Make sure your JupyterLab version is 3.1.x or 3.2.x.
Update the extension:
pip install jupyterlab-lsp==3.10.0 jupyter-lsp==1.5.1
# or, for conda:
# > Please note that conda packages may take a day or two since release before becoming available!
# conda install -c conda-forge jupyterlab-lsp=3.10.0 jupyter-lsp=1.5.1
Note:
jedi-language-server
or python-lsp-server
, please make sure to upgrade IPython to 7.20 or newer.python-lsp-server
(which is encouraged), please start by uninstalling python-language-server
and only then install python-lsp-server
; you may also need to replace pyls
occurrences with pylsp
in settings if you modified any.jupyterlab-lsp
(3.10.0
)markdownRenderer
is no longer implicitly requiredsource
and severity
was improved and missing values will be consistently shown at the endDiagnostics are not available
and No issues detected, great job!
which will now show up properlyFull Changelog: https://github.com/jupyter-lsp/jupyterlab-lsp/compare/v3.9.3...v3.10.0