Skip to content

v4.1.0

Compare
Choose a tag to compare
@krassowski krassowski released this 24 Apr 19:04
b576383

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
Screenshot from 2023-04-16 15-43-42 Screenshot from 2023-04-16 15-43-50

To upgrade to this release:

  1. 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

  2. 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
  3. 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 or python-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 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.

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 (default True, will become False in next major version)
  • bug fixes:
    • fix contrast of mark highlights in dark mode (#928)
    • fix conflict with block/rectangular selections on Alt + 🖱️ click (#927)
  • maintenance:
    • update texlab expectation (#929)

Full Changelog: v4.0.1...v4.1.0