Skip to content

v3.10.0

Compare
Choose a tag to compare
@krassowski krassowski released this 01 Jan 02:38
0de7b96

This release brings:

  • support for special formatting of diagnostics tagged as deprecated code (strike-through), or as unnecessary code (faded out):

    pylsp users: support for Deprecated tag is tracked in python-lsp/python-lsp-server#144, and QuantStack/pyls-memestra#53 for memestra
  • improvements to the signature feature: the text from the signature can be copied, and details can be expanded
  • and enables pre-filtering of completions on first invokation, especially useful for TypeScript server (this new behaviour can be disabled with preFilterMatches 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.

To upgrade to this release:

  1. Make sure your JupyterLab version is 3.1.x or 3.2.x.

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

Changelog of jupyterlab-lsp (3.10.0)

  • features:
    • enable pre-filtering of completion matches by default (#735)
    • add support for diagnostic tags: Deprecated, Unnecessary (#736, #737)
  • bug fixes:
    • squash warnings and errors in web console (#732)
    • fix signature blur and fix formatting when no arguments are present (#734)
    • fixed with enabling of strict null checks:
      • previously changing kernels always led to restarting of LSP connection, even if the kernel language did not change; now the connection will be retained if possible
      • markdownRenderer is no longer implicitly required
      • diagnostics sorting with missing values for source and severity was improved and missing values will be consistently shown at the end
      • diagnostics placeholder was split into Diagnostics are not available and No issues detected, great job! which will now show up properly
  • maintenance:
    • enable strict null checks and other strict settings (#733)
    • specify client capabilities in features instead of hard-coding them (#738)
    • bump minimum required JupyterLab version to 3.1 (>=3.1.0,<4.0.0a0)

Full Changelog: v3.9.3...v3.10.0