Skip to content

Releases: jupyter-lsp/jupyterlab-lsp

v5.2.0

18 Jul 21:39
eb44f58
Compare
Choose a tag to compare

To upgrade to this release:

  1. Make sure your JupyterLab version is 4.1.0 or newer and Python version is 3.9 or newer.
  2. Update the extension:
    pip install jupyterlab-lsp==5.2.0 jupyter-lsp==2.2.6 '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.2.0 jupyter-lsp=2.2.6 'jupyterlab>=4.1.0'
  3. 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.

Changelog

@jupyter-lsp/jupyterlab-lsp 5.2.0
  • enhancements:

    • allow to disable LSP toolbar item in Notebook view (#1139)
  • bug fixes:

    • fixed jump to definition for notebooks that have special characters in filename and position for external jumps (#1128)
  • maintenance:

    • fixed tests, all green now!
    • we are no longer testing against pypy - contributions to restore it welcome!
jupyter-lsp 2.2.6
  • bug fixes:
    • fix for potential data loss on invalid JP_LSP_VIRTUAL_DIR (#1140)

v5.1.1

29 May 08:25
73e390a
Compare
Choose a tag to compare

To upgrade to this release:

  1. Make sure your JupyterLab version is 4.1.0 or newer and Python version is 3.9 or newer.
  2. Update the extension:
    pip install jupyterlab-lsp==5.1.1 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.1 jupyter-lsp=2.2.5 'jupyterlab>=4.1.0'
  3. 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.

Changelog

jupyterlab-lsp 5.1.1
  • bug fixes:

    • don't look at editor under the mouse on mouse motion when the widget adapter is not connected (#1113)
    • fix auto-completer to trigger only on trigger characters, not on every character (#1117)
  • maintenance:

    • dropped Python 3.8 and Node 18, added newer version to testing matrix

jupyter-lsp 2.2.5

09 Apr 17:59
b159ae2
Compare
Choose a tag to compare

This is a hotfix release for jupyter-lsp (server extension) only.

To upgrade to this release:

  1. Make sure your JupyterLab version is 4.1.0 or newer and Python version is 3.8 or newer.
  2. Update the extension:
    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'
  3. 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.

Changelog

jupyter-lsp 2.2.5
  • bug fixes:
    • fix for environment variables leaking into the parent environment (#1078)

jupyter-lsp 2.2.4

05 Mar 12:26
71c8e0c
Compare
Choose a tag to compare

This is a hotfix release for jupyter-lsp (server extension) only.

To upgrade to this release:

  1. Make sure your JupyterLab version is 4.1.0 or newer and Python version is 3.8 or newer.
  2. Update the extension:
    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'
  3. 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.

Changelog

jupyter-lsp 2.2.4
  • bug fixes:
    • fix websocket handler incorrectly inheriting from APIHandler rather than JupyterHandler (#1069)
    • remove unused notebook config entry point (#1069)
    • support latest version of typescript-language-server (#1064)

v5.1.0

26 Feb 15:48
18d5c8c
Compare
Choose a tag to compare

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.

To upgrade to this release:

  1. Make sure your JupyterLab version is 4.1.0 or newer and Python version is 3.8 or newer.
  2. Update the extension:
    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'
  3. 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.

Changelog

jupyterlab-lsp 5.1.0

Requires JupyterLab >=4.1.0,<5.0.0a0

  • new features:
    • populate table of contents with code symbols outline (experimental, file editor only)
  • bug fixes:
    • fix settings reconciliation for nested properties (#1051)
    • fix a regression introduced in v5.0.2 which meant that overrides for native kernel and context completion providers were never active (#1057)
    • reduces some warnings in places known to have false positives to debug statements (#1057)
    • highlights no longer get instantly removed when navigating to a beginning of cell from another cell (#1057)
    • with the use of the new extensionFactory API (#1057):
      • LSP features work more reliably as the correct virtual document and editor is known rather than found from heuristics
      • LSP CodeMirror extensions are not added to editors which do not have an LSP-enabled editor reducing spurious warnings and improving performance
      • LSP CodeMirror extensions are only added once the LSP server was connected
  • maintenance:
    • use new extensionFactory API allowing to remove workarounds that were needed to make the extension work in JupyterLab 4.0 (#1057)
    • remove no-longer needed patches for VirtualDocument as these were merged upstream and released in JupyterLab 4.1 (#1057)
    • update coverage, robot version and reporting approaches (#1052)
    • build against JupyterLab 4.1, fix tests (#1057)
    • bump ip from 2.0.0 to 2.0.1 (#1055)
jupyter-lsp 2.2.3
  • maintenance:
    • updates pyright config schema to v1.1.350

v5.0.3

04 Feb 20:44
5afe3b4
Compare
Choose a tag to compare

This is a small release with two bug fixes for completer and transclusions.

To upgrade to this release:

  1. Make sure your JupyterLab version is 4.0.11 or newer and Python version is 3.8 or newer.
  2. Update the extension:
    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'
  3. 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.

Changelog

@jupyter-lsp/jupyterlab-lsp 5.0.3
  • bug fixes:
    • fix nested transclusions in JupyterLab 4.0.7+ (#1045)
    • fix completions when type is not defined (#1044)

Full Changelog: v5.0.2...v5.0.3

v5.0.2

17 Jan 22:55
4ad12f2
Compare
Choose a tag to compare

All users should upgrade jupyter-lsp to v2.2.2 which addresses a security vulnerability

To upgrade to this release:

  1. Make sure your JupyterLab version is 4.0.9 or newer and Python version is 3.8 or newer.
  2. Update the extension:
    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'
  3. 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.

Changelog

@jupyter-lsp/jupyterlab-lsp 5.0.2
  • bug fixes:
    • fix native JupyterLab completion not working when LSP completion plugin is disabled (#1036)
jupyter-lsp 2.2.2
  • bug fixes:

    • address warning about renamed extension_points (#1035)
    • fix compatibility with jupyter server 1.x
    • fix an authentication-related security vulnerability (see the advisory for details)
  • enhancements:

    • add authorization support (lsp resource, jupyter-server v2+ only) - this allows server operators for fine grained access control, e.g. in case if specific users (such as guest or read-only users) should not be allowed to access LSP; this is in addition to authentication fixes

Full Changelog: v5.0.1...v5.0.2

v5.0.1

26 Nov 21:44
73ee344
Compare
Choose a tag to compare

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 🎉

To upgrade to this release:

  1. Make sure your JupyterLab version is 4.0.6 or newer and Python version is 3.8 or newer.
  2. Update the extension:
    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'
  3. 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.

Changelog

@jupyter-lsp/jupyterlab-lsp 5.0.1
  • bug fixes:
    • fix false “undefined name” in %%time and %%capture magics #1007 (thanks @i-aki-y!)
    • fix completion items for paths and other long items being cut off #1025
    • workaround issue with markdown lost on edit #1016
    • fix latex/Greek letters insertion and other completions which do not match prefix (do not pre-filter completions from kernel) #1022
    • fix completions in Console #1023
    • fix customising priority after pre-setting it with overrides.json #1027
    • fix jump to definitions in a file inside root in Pyright on Windows #1024
    • fix typos in setting title and help message #999 and #1010
  • maintenance:
    • fix bootstrap script #1021
    • bump axios from 1.2.1 to 1.6.2 #1019
    • bump @babel/traverse from 7.22.5 to 7.23.4 #1020
jupyter-lsp 2.2.1
  • bug fixes:
    • use APIHandler over JupyterHandler to get CORS OPTIONS #952 (thanks @zhanba!)
    • use shutil.which to discover npm executable on Windows #955 (thanks @jameshurst!)
  • maintenance:
    • resolve traitlets type warnings, lint, remove six #1015
    • use sys.executable in stdio tests #998

Full Changelog: v5.0.0...v5.0.1

v5.0.0

08 Oct 12:30
7522350
Compare
Choose a tag to compare

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.

To upgrade to this release:

  1. Make sure your JupyterLab version is 4.0.6 or newer and Python version is 3.8 or newer.
  2. Update the extension:
    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'
  3. 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.

Changelog

  • enhancements:
    • uses toast notifications instead of messages on status bar
    • diagnostics panel will be re-opened on reload
  • maintenance:
    • support JupyterLab 4
    • use upstream @jupyterlab/lsp package
    • use camelCase convention in TypeScript/JavaScript code
    • use @codemirror/linter to show diagnostics
      • this comes with a different style of underlines and custom tooltips
  • known issues/limitations:
    • configuration of language servers via JSON Settings Editor may result in a spurious warning due to a transitive clash with settings from the UI editor when using nested pattern (e.g. {pylsp: {flake8: {enabled: true}}}); the dotted pattern (e.g. {"pylsp.flake8.enabled": true}) does not lead to such problem.
    • enabling auto-invoke of completer requires toggling checkbox in both native and LSP Code Completion settings
    • robot mode does not support JupyterLab 4.0, hence robot LSP will not work either
    • renaming in docker files may not work on certain variables due to upstream tokenizer issue

Full Changelog: v4.3.0...v5.0.0

v5.0.0rc1

01 Oct 12:00
7679546
Compare
Choose a tag to compare

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.

To test this release:

  1. Make sure your JupyterLab version is 4.0.6 or newer and Python version is 3.8 or newer.

  2. Update the extension:

    pip install jupyterlab-lsp==5.0.0rc1 jupyter-lsp==2.2.0 jupyterlab==4.0.6

Changes compared to last 5.0.0rc0

  • restored re-use of standalone virtual documents for transculsions

Requires JupyterLab >=4.0.6,<5.0.0a0