Skip to content

Commit 0de7b96

Browse files
authored
Prepare jupyterlab-lsp 3.10.0 release (#740)
* Update changelog and bump version to 3.10.0 * Upgrade CodeMirror, lerna and pyright * Update to JupyterLab 3.1 part 1 * Update devDependencies including JupyterLab packages to 3.2.x * Mention all bug fixes from null checks PR in the changelog * Fix jest config * Lint everything * Final set of dev dependencies bumps * Bump versions of modified packages * Bump range in more places * Integrity updates * Fix tooltip types (undefined) * Final lock file bump * Lint again * Update date and lab versions to test on CI
1 parent 5d33fd2 commit 0de7b96

File tree

21 files changed

+4582
-3705
lines changed

21 files changed

+4582
-3705
lines changed

.github/workflows/job.test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
matrix:
4242
os: [ubuntu]
4343
nodejs: ['>=14,<15.0.0a0']
44-
lab: ['>=3.0.0,<4.0.0a0']
44+
lab: ['>=3.1.0,<4.0.0a0']
4545
r: ['>=4']
4646
steps:
4747
- uses: actions/checkout@v2
@@ -126,7 +126,7 @@ jobs:
126126
matrix:
127127
os: [ubuntu]
128128
nodejs: ['>=14,<15.0.0a0']
129-
lab: ['>=3.0.0,<4.0.0a0']
129+
lab: ['>=3.1.0,<4.0.0a0']
130130
r: ['>=4']
131131
steps:
132132
- uses: actions/checkout@v2
@@ -228,7 +228,7 @@ jobs:
228228
# Node 12 end-of-life: April 2022
229229
nodejs: '>=12,<13.0.0.a0'
230230
r: '<4'
231-
lab: '>=3.0.0,<3.1'
231+
lab: '>=3.1.0,<3.2'
232232
- python: '3.10'
233233
# Node 16 end-of-life: April 2024
234234
nodejs: '>=16,<17.0.0.a0'
@@ -371,10 +371,10 @@ jobs:
371371
include:
372372
- python: '3.7'
373373
dist: 'jupyter*lsp*.tar.gz'
374-
lab: '>=3,<3.1'
374+
lab: '>=3.1,<3.2'
375375
- python: '3.8'
376376
dist: 'jupyter*lsp*.whl'
377-
lab: '>=3,<3.1'
377+
lab: '>=3.1,<3.2'
378378
- python: '3.9'
379379
dist: 'jupyter*lsp*.tar.gz'
380380
lab: '>=3.2,<3.3'
@@ -429,7 +429,7 @@ jobs:
429429
nodejs: ['14']
430430
include:
431431
- python: '3.7'
432-
lab: '>=3,<3.1'
432+
lab: '>=3.1,<3.2'
433433
- python: '3.10'
434434
lab: '>=3.2,<4'
435435
steps:

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
## Changelog
22

3+
### `@krassowski/jupyterlab-lsp 3.10.0` (2022-01-01)
4+
5+
- features:
6+
- enable pre-filtering of completion matches by default ([#735])
7+
- add support for diagnostic tags: Deprecated, Unnecessary ([#736], [#737])
8+
- bug fixes:
9+
- squash warnings and errors in web console ([#732])
10+
- fix signature blur and fix formatting when no arguments are present ([#734])
11+
- fixed with enabling of strict null checks:
12+
- 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
13+
- `markdownRenderer` is no longer implicitly required
14+
- diagnostics sorting with missing values for `source` and `severity` was improved and missing values will be consistently shown at the end
15+
- diagnostics placeholder was split into `Diagnostics are not available` and `No issues detected, great job!` which will now show up properly
16+
- maintenance:
17+
- enable strict null checks and other strict settings ([#733])
18+
- specify client capabilities in features instead of hard-coding them ([#738])
19+
- bump minimum required JupyterLab version to 3.1 (`>=3.1.0,<4.0.0a0`)
20+
21+
[#732]: https://github.com/jupyter-lsp/jupyterlab-lsp/pull/732
22+
[#733]: https://github.com/jupyter-lsp/jupyterlab-lsp/pull/733
23+
[#734]: https://github.com/jupyter-lsp/jupyterlab-lsp/pull/734
24+
[#735]: https://github.com/jupyter-lsp/jupyterlab-lsp/pull/735
25+
[#736]: https://github.com/jupyter-lsp/jupyterlab-lsp/pull/736
26+
[#737]: https://github.com/jupyter-lsp/jupyterlab-lsp/pull/737
27+
[#738]: https://github.com/jupyter-lsp/jupyterlab-lsp/pull/738
28+
29+
### `@krassowski/code-jumpers 1.2.0` (2022-01-01)
30+
31+
- maintenance:
32+
- updates to API with respect to `null`/`undefined` values in course strict null checks activation ([#733])
33+
334
### `@krassowski/jupyterlab-lsp 3.9.3` (2021-12-19)
435

536
- bug fixes:

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Development requires, at a minimum:
3535
- `python >=3.7,<3.11.0a0`
3636
- Python 3.7 and 3.10 are fully tested on CI
3737
- Python 3.7 to 3.10 and PyPy 3 are verified to at least install and import
38-
- `jupyterlab >=3.0.0,<4.0.0a0`
38+
- `jupyterlab >=3.1.0,<4.0.0a0`
3939

4040
It is recommended to use a virtual environment (e.g. `virtualenv` or `conda env`)
4141
for development.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Use context menu on rows in the panel to filter out diagnostics or copy their me
9090

9191
You will need to have both of the following installed:
9292

93-
- JupyterLab >=3.0.0,<4.0.0a0
93+
- JupyterLab >=3.1.0,<4.0.0a0
9494
- Python 3.7+
9595

9696
In addition, if you wish to use javascript, html, markdown or any other NodeJS-based language server you will need to have appropriate NodeJS version installed.

binder/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ channels:
77
dependencies:
88
# runtime dependencies
99
- python >=3.7,<3.11.0a0
10-
- jupyterlab >=3.0.0,<4.0.0a0
10+
- jupyterlab >=3.1.0,<4.0.0a0
1111
- jupyter_server >=1.1.2
1212
- retrolab >=0.3.0,<0.4
1313
# build dependencies

docs/rtd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ channels:
77

88
dependencies:
99
- importlib_metadata
10-
- jupyterlab >=3.0.0,<4.0.0a0
10+
- jupyterlab >=3.1.0,<4.0.0a0
1111
- myst-nb
1212
- nodejs >=12,!=13,!=15,<17
1313
- pandas

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"eslint-plugin-react": "^7.21.5",
1515
"husky": "^3.0.9",
1616
"jest-github-actions-reporter": "^1.0.2",
17-
"lerna": "^3.13.2",
17+
"lerna": "^4.0.0",
1818
"npm-run-all": "^4.1.5",
1919
"precise-commits": "^1.0.2",
2020
"prettier": "^2.1.2",

packages/_example-extractor/jest.config.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
const func = require('@jupyterlab/testutils/lib/jest-config');
22
const upstream = func('jupyterlab-lsp', __dirname);
33

4+
const esModules = [
5+
'@jupyterlab/',
6+
'@retrolab/',
7+
'lib0',
8+
'y\\-protocols',
9+
'y\\-websocket',
10+
'yjs'
11+
].join('|');
12+
413
const reuseFromUpstream = [
514
'moduleFileExtensions',
615
'moduleNameMapper',
@@ -17,7 +26,7 @@ let local = {
1726
'\\.(js|jsx)?$': './transform.js',
1827
'\\.svg$': 'jest-raw-loader'
1928
},
20-
transformIgnorePatterns: ['/node_modules/(?!(@jupyterlab/.*|@retrolab/.*)/)'],
29+
transformIgnorePatterns: [`/node_modules/(?!${esModules}).+`],
2130
testLocationInResults: true,
2231
reporters: [...upstream['reporters'], 'jest-github-actions-reporter']
2332
};

packages/_example-extractor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"devDependencies": {
1616
"@babel/preset-env": "^7.4.3",
17-
"@jupyterlab/application": "^3.0.0",
17+
"@jupyterlab/application": "^3.1.0",
1818
"@types/chai": "^4.1.7",
1919
"@types/jest": "^23.3.11",
2020
"chai": "^4.2.0",

packages/_klingon-integration/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
"lib/**/*.{js,ts}"
1111
],
1212
"dependencies": {
13-
"@jupyterlab/application": "^3.0.0"
13+
"@jupyterlab/application": "^3.1.0"
1414
},
1515
"devDependencies": {
1616
"@babel/preset-env": "^7.4.3",
17-
"@jupyterlab/application": "^3.0.0",
18-
"@jupyterlab/builder": "^3.0.0",
17+
"@jupyterlab/application": "^3.1.0",
18+
"@jupyterlab/builder": "^3.1.0",
1919
"typescript": "~4.1.3"
2020
},
2121
"jupyterlab": {

0 commit comments

Comments
 (0)