v4.1.0
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 |
---|---|
![]() |
![]() |
To upgrade to this release:
-
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:
- 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.
Combined changelog of jupyterlab-lsp
(4.1.0) and jupyter-lsp
(2.1.0)
- features:
- make
.virtual_documents
optional, with pyright server being trialled as the first opting out (#930)- frontend side: logic for solving URIs will now check if the server does not require it
- server side: added
requires_documents_on_disk
spec field (defaultTrue
, will becomeFalse
in next major version)
- make
- bug fixes:
- maintenance:
- update texlab expectation (#929)
Full Changelog: v4.0.1...v4.1.0