v3.7.0
This release adds autodetection of pyright sever (thanks @yuntan), ability to choose which server is used if multiple are installed (using priority
setting), support for log messages and message requests from LSP servers, ability to disable kernel or LSP completions (thanks @Carreau), and compatibility with RetroLab (previously JupyterLab Classic, thanks @jtpio).
To upgrade to this release:
-
Make sure your JupyterLab version is 3.0.x
-
Update the extension:
pip install jupyterlab-lsp==3.7.0 jupyter-lsp==1.3.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=3.7.0 jupyter-lsp=1.3.0
-
Note:
- If installing this extension for the first time, please read the full installation instructions as language servers of your choice need to be installed too, and additional configuration can make your experience smoother.
- If you wish to use
jedi-language-server
orpython-lsp-server
, please make sure to upgrade IPython to 7.20 or newer. - If you wish to migrate to
python-lsp-server
(which is encouraged), please start by uninstallingpython-language-server
and only then installpython-lsp-server
; you may also need to replacepyls
occurrences withpylsp
in settings if you modified any.
Changelog:
-
features:
- add ability to deactivate Kernel completions or LSP completion through the settings (#586, thanks @Carreau)
- allow to set a priority for LSP server, allowing to choose which server to use when multiple servers are installed (#588)
- add auto-detection of pyright server (#587, thanks @yuntan)
- update from JupyterLab Classic to RetroLab (#602)
- log server messages in user-accessible console (#606)
-
bug fixes:
- workaround url-parse issue causing problems when using JupyterLab 3.0.15 or newer (#599)
-
other changes:
- drop Node 10 (EOL 2 weeks ago) testing on CI, add Node 15 (#587)
- update lsp-ws-connection dependencies (#606)
- old emit-based API of lsp-ws-connection is new deprecated and will be removed in the next major version; please use
serverNotifications
,clientNotifications
,clientRequests
andserverRequests
instead (#606)