File tree Expand file tree Collapse file tree 6 files changed +40
-9
lines changed
python_packages/jupyter_lsp/jupyter_lsp Expand file tree Collapse file tree 6 files changed +40
-9
lines changed Original file line number Diff line number Diff line change 2
2
3
3
### ` @jupyter-lsp/jupyterlab-lsp 5.1.0 `
4
4
5
- > TBD
5
+ Requires JupyterLab ` >=4.1.0,<5.0.0a0 `
6
6
7
- ### ` jupyter-lsp 2.2.2 `
7
+ - new features:
8
+ - populate table of contents with code symbols outline (experimental, file editor only)
9
+ - bug fixes:
10
+ - fix settings reconciliation for nested properties (#1051 )
11
+ - fix a regression introduced in v5.0.2 which meant that overrides for native kernel and context completion providers were never active (#1057 )
12
+ - reduces some warnings in places known to have false positives to debug statements (#1057 )
13
+ - highlights no longer get instantly removed when navigating to a beginning of cell from another cell (#1057 )
14
+ - with the use of the new ` extensionFactory ` API (#1057 ):
15
+ - LSP features work more reliably as the correct virtual document and editor is known rather than found from heuristics
16
+ - LSP CodeMirror extensions are not added to editors which do not have an LSP-enabled editor reducing spurious warnings and improving performance
17
+ - LSP CodeMirror extensions are only added once the LSP server was connected
18
+ - maintenance:
19
+ - use new ` extensionFactory ` API allowing to remove workarounds that were needed to make the extension work in JupyterLab 4.0 (#1057 )
20
+ - remove no-longer needed patches for ` VirtualDocument ` as these were merged upstream and released in JupyterLab 4.1 (#1057 )
21
+ - update coverage, robot version and reporting approaches (#1052 )
22
+ - build against JupyterLab 4.1, fix tests (#1057 )
23
+ - bump ip from 2.0.0 to 2.0.1 (#1055 )
8
24
9
- > TBD
25
+ ### ` jupyter-lsp 2.2.3 `
10
26
11
- Requires JupyterLab ` >=4.1.0,<5.0.0a0 `
27
+ - maintenance:
28
+ - updates pyright config schema to v1.1.350
12
29
13
30
### ` @jupyter-lsp/jupyterlab-lsp 5.0.3 `
14
31
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @jupyter-lsp/jupyterlab-lsp" ,
3
- "version" : " 5.0.3 " ,
3
+ "version" : " 5.1.0 " ,
4
4
"description" : " Language Server Protocol integration for JupyterLab" ,
5
5
"keywords" : [
6
6
" jupyter" ,
Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ import {
12
12
import {
13
13
ILSPCodeExtractorsManager ,
14
14
ILSPFeatureManager ,
15
- ILSPDocumentConnectionManager
15
+ ILSPDocumentConnectionManager ,
16
+ IEditorChangedData
16
17
} from '@jupyterlab/lsp' ;
17
18
18
19
import { ILSPCodeOverridesManager } from '../overrides/tokens' ;
@@ -28,6 +29,18 @@ export class FileEditorAdapter extends UpstreamFileEditorAdapter {
28
29
protected options : IAdapterOptions
29
30
) {
30
31
super ( editorWidget , options ) ;
32
+ // Workaround to ensure `_editorAdded` is not called twice once upstream
33
+ // adopts patch https://github.com/jupyterlab/jupyterlab/pull/15873
34
+ let emitted = false ;
35
+ const emit = this . _editorAdded . emit ;
36
+ this . _editorAdded . emit = ( args : IEditorChangedData ) => {
37
+ if ( emitted ) {
38
+ return ;
39
+ }
40
+ emitted = true ;
41
+ console . log ( 'call' ) ;
42
+ emit . call ( this . _editorAdded , args ) ;
43
+ } ;
31
44
}
32
45
33
46
protected async initOnceReady ( ) : Promise < void > {
Original file line number Diff line number Diff line change @@ -274,10 +274,11 @@ export class SymbolFeature extends Feature {
274
274
}
275
275
const connection = this . connectionManager . connections . get (
276
276
adapter . virtualDocument . uri
277
- ) ! ;
277
+ ) ;
278
278
279
279
if (
280
280
! (
281
+ connection &&
281
282
connection . isReady &&
282
283
connection . serverCapabilities . documentSymbolProvider
283
284
)
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @jupyter-lsp/jupyterlab-lsp-metapackage" ,
3
- "version" : " 5.0.3 " ,
3
+ "version" : " 5.1.0 " ,
4
4
"description" : " JupyterLab LSP - Meta Package. All of the packages used by JupyterLab LSP" ,
5
5
"homepage" : " https://github.com/jupyter-lsp/jupyterlab-lsp" ,
6
6
"bugs" : {
Original file line number Diff line number Diff line change 1
1
""" single source of truth for jupyter_lsp version
2
2
"""
3
3
4
- __version__ = "2.2.2 "
4
+ __version__ = "2.2.3 "
You can’t perform that action at this time.
0 commit comments