Releases: jupyter-lsp/jupyterlab-lsp
v5.0.0b1
This is a second beta of v5.0.0 providing support for JupyterLab 4.0. There are known upstream bugs in completer, affecting functionality of this extension - you can disable the LSP completer in the settings.
Please report regressions on https://github.com/jupyter-lsp/jupyterlab-lsp/issues.
To test this release:
-
Make sure your JupyterLab version is 4.0.5 or newer and Python version is 3.8 or newer.
-
Update the extension:
pip install jupyterlab-lsp==5.0.0b1 jupyter-lsp==2.2.0
Changes compared to alpha
- fix highlights conflict with selection
- fix scrolling to diagnostics and diagnostic rendering in windowed notebook
- suppress kernel completer in transclusions
v5.0.0b0
This is a first beta of v5.0.0 providing support for JupyterLab 4.0. There are known upstream bugs in completer, affecting functionality of this extension - you can disable the LSP completer in the settings.
Please report regressions on https://github.com/jupyter-lsp/jupyterlab-lsp/issues.
To test this release:
-
Make sure your JupyterLab version is 4.0.5 or newer and Python version is 3.8 or newer.
-
Update the extension:
pip install jupyterlab-lsp==5.0.0b0 jupyter-lsp==2.2.0
Changes compared to alpha
v5.0.0a0
This is a first release providing support for JupyterLab 4.0. There are known upstream bugs in completer which affect functionality of this extension - you can disable the LSP completer in the settings.
Please report regressions on https://github.com/jupyter-lsp/jupyterlab-lsp/issues.
To test this release:
-
Make sure your JupyterLab version is 4.0.5 or newer and Python version is 3.8 or newer.
-
Update the extension:
pip install jupyterlab-lsp==5.0.0a0 jupyter-lsp==2.2.0
v4.2.0
This release brings a new configuration option to ignore diagnostics based on severity and compatibility with new versions of bash-language-sever
(which relies entirely on shellcheck
for linting).
New diagnostic severity filter | New bash-language-sever options |
---|---|
To upgrade to this release:
-
Make sure your JupyterLab version is 3.6.x (JupyterLab 4.0 is not yet supported) and Python version is 3.8 or newer
-
Update the extension:
pip install jupyterlab-lsp==4.2.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.2.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.
Combined changelog of jupyterlab-lsp
(4.2.0) and jupyter-lsp
(2.2.0)
- features:
- diagnostics can be ignored by severity level with new
ignoreSeverities
setting (#940)
- diagnostics can be ignored by severity level with new
- bug fixes:
- await
sleep()
coroutine (#939, thanks @jinzhen-lin) - limit attempts to initialise shadow file system to three trials (#936)
- await
- maintenance:
Full Changelog: v4.0.1...v4.1.0
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
v4.0.1
This is a minor bug-fix only release restoring support for settings defined in overrides.json
file and fixing pyright schema.
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.0.1 jupyter-lsp==2.0.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=4.0.1 jupyter-lsp=2.0.1
-
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.0.1) and jupyter-lsp
(2.0.1)
- bug fixes:
Full Changelog: v4.0.0...v4.0.1
v4.0.0
This is a release with breaking changes (most notable migration to @jupyter-lsp
organisation) and a number of improvements, notably:
Settings UI
Eliding of long paths in completer
Jump-to selector
Jump-to received a selector to resolve jump target when multiple targets exist
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.0.0 jupyter-lsp==2.0.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.0.0 jupyter-lsp=2.0.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.0.0
) and jupyter-lsp
(2.0.0)
- features:
- implement jump target selector and jump to references (#739)
- implement settings UI using native JupyterLab 3.3 UI (#778)
- add option to show hover tooltip automatically (#864, thanks @yamaton)
- implement eliding for long paths/files in completer (#893)
- allow to pass default workspace config (
serverSettings
) in specs (#856)
- bug fixes:
- use correct websocket URL if configured as different from base URL (#820, thanks @MikeSem)
- clean up all completer styles when completer feature is disabled (#829).
- fix
undefined
being inserted for path-like completion items with noinsertText
(#833) - reduce signature flickering when typing and hover flicker when moving mouse (#836)
- fix sporadic misplacement of hover tooltips (#860, thanks @yamaton)
- fix hover tooltip not updated after character deletions (#867, thanks @yamaton)
- handle potential race condition in feature settings loading (#882)
- refactoring:
- downstreams:
- documentation:
- add missing
--channel
to conda instruction for texlab (#789, thanks @justin-f-perez) - remove references to pylsp fork (#800 and #814, thanks @joelostblom and @nickfong)
- add Robot Framework language server (#724, thanks @bollwyvl)
- add a list of third-party and community language servers (#826, thanks @cccs-jc)
- fix documentation of
.lsp_symlink
workaround ([#828])
- add missing
- maintenance:
- dependencies:
- uses
importlib_metadata
(orimportlib.metadata
on 3.10+) forentry_points
(#882) - supports Python versions are 3.8 or newer
- uses
- performance:
entry_point
discovery is deferred until server has started, improving
jupyter_server
startup time (#852)
Full Changelog: v3.10.2...v4.0.0
v3.10.2
This is a bug-fix-only release with improvements to completer and websocket URL.
To upgrade to this release:
-
Make sure your JupyterLab version is 3.2.x. or 3.3.x (3.1.x may work but there is no official support)
-
Update the extension:
pip install jupyterlab-lsp==3.10.2 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.2 jupyter-lsp=1.5.1
-
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
(3.10.2
)
- bug fixes
- maintenance:
Full Changelog: v3.10.1...v3.10.2
v3.10.1
This is a bug-fix-only release fixing navigation (jump to) for files with names including special characters which require encoding (like @
) and a compatibility fix to make all settings render correctly in the new JupyterLab 3.3 Settings Editor UI; this does not yet include server settings which are work in progress.
To upgrade to this release:
-
Make sure your JupyterLab version is 3.2.x. or 3.3.x (3.1.x may work but there is no official support)
-
Update the extension:
pip install jupyterlab-lsp==3.10.1 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.1 jupyter-lsp=1.5.1
-
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
(3.10.1
)
- bug fixes:
- maintenance
Full Changelog: v3.10.0...v3.10.1
v3.10.0
This release brings:
- support for special formatting of diagnostics tagged as deprecated code (strike-through), or as unnecessary code (faded out):
pylsp
users: support forDeprecated
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:
-
Make sure your JupyterLab version is 3.1.x or 3.2.x.
-
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
-
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
(3.10.0
)
- features:
- 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
andseverity
was improved and missing values will be consistently shown at the end - diagnostics placeholder was split into
Diagnostics are not available
andNo issues detected, great job!
which will now show up properly
- maintenance:
Full Changelog: v3.9.3...v3.10.0