Skip to content

Commit 9dfa211

Browse files
authored
Update readme and move to NodeJS 22.x (#1665)
1 parent 0825385 commit 9dfa211

File tree

7 files changed

+37
-36
lines changed

7 files changed

+37
-36
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,19 @@ After cloning the repository, run `npm install` to install dependencies and `npm
3535

3636
## History
3737

38-
## Next (10.0.0-next.* Client and 10.0.0-next.* Server)
38+
## Next (10.0.0-next.* Client, 10.0.0-next.* Server and 9.0.0-next.* jsonrpc)
3939

4040
- Upgraded to newer libraries, compilers and package.json exports rules:
41-
- Compiler upgraded to `5.5.x`.
42-
- Libs now depend on NodeJS `20.9.0` and `es2022`. See also [TypeScript's node target mapping](https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping).
41+
- Compiler upgraded to `5.9.x`.
42+
- Libs now depend on NodeJS `22.13.14` and `es2022`. See also [TypeScript's node target mapping](https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping).
4343
- `vscode-jsonrpc`, `vscode-languageserver-protocol`, `vscode-languageclient` and `vscode-languageserver` now use the `exports` property instead of having a `main` and `typings` property. This might need adoption in tsconfig.json files around the `module` and `moduleResolution`. The LSP libraries currently use `node16` for both values.
4444
- added proposed CodeActionKind.RefactorMove
4545
- snippet support in Workspace edits
4646
- support to control the parallelism of the dispatch requests and notification. This is a breaking change since it allows notification handlers to return a promise to control this.
4747
- make client browser implementation consistent with the node implementation in terms of arguments. This is a breaking change since it re-ordered parameter declarations.
4848
- Added a `CancellationToken` to the show document middleware to make it consistent with the other middleware. This is a breaking change since it added a required parameter.
4949
- Using `LogOutputChannel` for the client's output and trace channel instead of the standard VSCode `OutputChannel` type. This is a breaking change for clients that pass in their own log or trace channel via the `LanguageClientOptions`. Instead of using a normal `OutputChannel` you now need to pass in a `LogOutputChannel`.
50+
- LinkedList from `jsonrpc` is not implementing Map anymore.
5051

5152
## 3.17.5 Protocol, 9.0.1 Client and 9.0.1 Server
5253

build/azure-pipelines/darwin/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
steps:
22
- task: NodeTool@0
33
inputs:
4-
versionSpec: '20.14.0'
4+
versionSpec: '22.17.0'
55
displayName: 'Install Node.js'
66

77
- script: |

build/azure-pipelines/linux/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ steps:
1010
1111
- task: NodeTool@0
1212
inputs:
13-
versionSpec: '20.14.0'
13+
versionSpec: '22.17.0'
1414
displayName: 'Install Node.js'
1515

1616
- script: |

build/azure-pipelines/pipeline.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ extends:
6565
testPlatforms:
6666
- name: Linux
6767
nodeVersions:
68-
- 20.9.0
68+
- 22.17.0
6969
- name: MacOS
7070
nodeVersions:
71-
- 20.9.0
71+
- 22.17.0
7272
- name: Windows
7373
nodeVersions:
74-
- 20.9.0
74+
- 22.17.0
7575
testSteps:
7676
- template: /build/azure-pipelines/templates/test-steps.yml@self
7777
parameters:
@@ -91,13 +91,13 @@ extends:
9191
testPlatforms:
9292
- name: Linux
9393
nodeVersions:
94-
- 20.9.0
94+
- 22.17.0
9595
- name: MacOS
9696
nodeVersions:
97-
- 20.9.0
97+
- 22.17.0
9898
- name: Windows
9999
nodeVersions:
100-
- 20.9.0
100+
- 22.17.0
101101
testSteps:
102102
- template: /build/azure-pipelines/templates/test-steps.yml@self
103103
parameters:
@@ -117,13 +117,13 @@ extends:
117117
testPlatforms:
118118
- name: Linux
119119
nodeVersions:
120-
- 20.9.0
120+
- 22.17.0
121121
- name: MacOS
122122
nodeVersions:
123-
- 20.9.0
123+
- 22.17.0
124124
- name: Windows
125125
nodeVersions:
126-
- 20.9.0
126+
- 22.17.0
127127
testSteps:
128128
- template: /build/azure-pipelines/templates/test-steps.yml@self
129129
parameters:
@@ -143,13 +143,13 @@ extends:
143143
testPlatforms:
144144
- name: Linux
145145
nodeVersions:
146-
- 20.9.0
146+
- 22.17.0
147147
- name: MacOS
148148
nodeVersions:
149-
- 20.9.0
149+
- 22.17.0
150150
- name: Windows
151151
nodeVersions:
152-
- 20.9.0
152+
- 22.17.0
153153
testSteps:
154154
- template: /build/azure-pipelines/templates/test-steps.yml@self
155155
parameters:
@@ -169,13 +169,13 @@ extends:
169169
testPlatforms:
170170
- name: Linux
171171
nodeVersions:
172-
- 20.9.0
172+
- 22.17.0
173173
- name: MacOS
174174
nodeVersions:
175-
- 20.9.0
175+
- 22.17.0
176176
- name: Windows
177177
nodeVersions:
178-
- 20.9.0
178+
- 22.17.0
179179
testSteps:
180180
- template: /build/azure-pipelines/templates/test-steps.yml@self
181181
parameters:
@@ -195,13 +195,13 @@ extends:
195195
testPlatforms:
196196
- name: Linux
197197
nodeVersions:
198-
- 20.9.0
198+
- 22.17.0
199199
- name: MacOS
200200
nodeVersions:
201-
- 20.9.0
201+
- 22.17.0
202202
- name: Windows
203203
nodeVersions:
204-
- 20.9.0
204+
- 22.17.0
205205
testSteps:
206206
- template: /build/azure-pipelines/templates/test-steps.yml@self
207207
parameters:
@@ -221,13 +221,13 @@ extends:
221221
testPlatforms:
222222
- name: Linux
223223
nodeVersions:
224-
- 20.9.0
224+
- 22.17.0
225225
- name: MacOS
226226
nodeVersions:
227-
- 20.9.0
227+
- 22.17.0
228228
- name: Windows
229229
nodeVersions:
230-
- 20.9.0
230+
- 22.17.0
231231
testSteps:
232232
- template: /build/azure-pipelines/templates/test-steps.yml@self
233233
parameters:

build/azure-pipelines/win32/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
steps:
22
- task: NodeTool@0
33
inputs:
4-
versionSpec: '20.14.0'
4+
versionSpec: '22.17.0'
55
displayName: 'Install Node.js'
66

77
- script: |

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"devDependencies": {
1616
"@types/assert": "^1.5.11",
1717
"@types/mocha": "^10.0.10",
18-
"@types/node": "20.17.9",
18+
"@types/node": "22.13.14",
1919
"@typescript-eslint/eslint-plugin": "^6.9.0",
2020
"@typescript-eslint/parser": "^6.9.0",
2121
"assert": "^2.1.0",

0 commit comments

Comments
 (0)