Releases: jupyter-lsp/jupyterlab-lsp
jupyter-lsp 2.2.5
This is a hotfix release for jupyter-lsp (server extension) only.
To upgrade to this release:
- Make sure your JupyterLab version is 4.1.0 or newer and Python version is 3.8 or newer.
- 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'
- 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.
Changelog
jupyter-lsp 2.2.5
- bug fixes:
- fix for environment variables leaking into the parent environment (#1078)
jupyter-lsp 2.2.4
This is a hotfix release for jupyter-lsp (server extension) only.
To upgrade to this release:
- Make sure your JupyterLab version is 4.1.0 or newer and Python version is 3.8 or newer.
- 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'
- 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.
Changelog
jupyter-lsp 2.2.4
v5.1.0
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:
- Make sure your JupyterLab version is 4.1.0 or newer and Python version is 3.8 or newer.
- 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'
- 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.
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)
- use new
jupyter-lsp 2.2.3
- maintenance:
- updates pyright config schema to v1.1.350
v5.0.3
This is a small release with two bug fixes for completer and transclusions.
To upgrade to this release:
- Make sure your JupyterLab version is 4.0.11 or newer and Python version is 3.8 or newer.
- 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'
- 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.
Changelog
@jupyter-lsp/jupyterlab-lsp 5.0.3
- bug fixes:
Full Changelog: v5.0.2...v5.0.3
v5.0.2
All users should upgrade jupyter-lsp to v2.2.2 which addresses a security vulnerability
To upgrade to this release:
- Make sure your JupyterLab version is 4.0.9 or newer and Python version is 3.8 or newer.
- 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'
- 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.
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)
- address warning about renamed
-
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
- add authorization support (
Full Changelog: v5.0.1...v5.0.2
v5.0.1
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:
- Make sure your JupyterLab version is 4.0.6 or newer and Python version is 3.8 or newer.
- 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'
- 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.
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 withoverrides.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
- fix false “undefined name” in
- maintenance:
jupyter-lsp 2.2.1
- bug fixes:
- use
APIHandler
overJupyterHandler
to get CORS OPTIONS #952 (thanks @zhanba!) - use
shutil.which
to discovernpm
executable on Windows #955 (thanks @jameshurst!)
- use
- maintenance:
Full Changelog: v5.0.0...v5.0.1
v5.0.0
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:
- Make sure your JupyterLab version is 4.0.6 or newer and Python version is 3.8 or newer.
- 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'
- 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.
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
- 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.
Full Changelog: v4.3.0...v5.0.0
v5.0.0rc1
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:
-
Make sure your JupyterLab version is 4.0.6 or newer and Python version is 3.8 or newer.
-
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
v4.3.0
To upgrade to this release:
-
Make sure your JupyterLab version is 3.6.x (for JupyterLab 4.0 please use jupyterlab-lsp 5.0) and Python version is 3.8 or newer
-
Update the extension:
pip install jupyterlab-lsp==4.3.0 jupyter-lsp==2.2.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.3.0 jupyter-lsp=2.2.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 of jupyterlab-lsp
(4.3.0)
- features:
Full Changelog: v4.2.0...v4.3.0
v5.0.0rc0
This is the first 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.
To test this release:
-
Make sure your JupyterLab version is 4.0.6 or newer and Python version is 3.8 or newer.
-
Update the extension:
pip install jupyterlab-lsp==5.0.0rc0 jupyter-lsp==2.2.0 jupyterlab==4.0.6
Changes compared to last 5.0.0b1
- fixes diagnostics not showing up in text editor in certain circumstances
- fixes signature hover box not being clickable
- improves performance by not creating a temporary editor to setup linter underline style
- JSON overrides work again
- fixes issue with syntax highlighting breaking when pasting multiple cells
- numerous fixes for completer
- fixes for highlights when switching between notebooks/editors
Requires JupyterLab >=4.0.6,<5.0.0a0