typescript-language-server 4.4.1 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/README.md +0 -32
- package/lib/cli.mjs +1338 -539
- package/lib/cli.mjs.map +1 -1
- package/package.json +21 -21
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,31 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
|
3
3
|
|
|
4
|
+
## [5.0.1](https://github.com/typescript-language-server/typescript-language-server/compare/v5.0.0...v5.0.1) (2025-10-07)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* **deps:** update devdependency typescript to ^5.9.3 ([#1017](https://github.com/typescript-language-server/typescript-language-server/issues/1017)) ([44f8778](https://github.com/typescript-language-server/typescript-language-server/commit/44f87786a49b9810ac975973fbb5bdeebcdde022))
|
|
10
|
+
* improve code actions support ([#1018](https://github.com/typescript-language-server/typescript-language-server/issues/1018)) ([8591c0a](https://github.com/typescript-language-server/typescript-language-server/commit/8591c0a9e539b8de2340f6c9bf258db6f6eeea3e))
|
|
11
|
+
|
|
12
|
+
## [5.0.0](https://github.com/typescript-language-server/typescript-language-server/compare/v4.4.1...v5.0.0) (2025-09-15)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### ⚠ BREAKING CHANGES
|
|
16
|
+
|
|
17
|
+
* require at least node 20 ([#994](https://github.com/typescript-language-server/typescript-language-server/issues/994))
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* opt-in support for the "Move to file" interactive code action ([#987](https://github.com/typescript-language-server/typescript-language-server/issues/987)) ([6cf230c](https://github.com/typescript-language-server/typescript-language-server/commit/6cf230c4b357af0543f183b168b841a836b6e7bc))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* code actions handling ([#1009](https://github.com/typescript-language-server/typescript-language-server/issues/1009)) ([fd53ca8](https://github.com/typescript-language-server/typescript-language-server/commit/fd53ca82a7ad74ab6c6fd6102ccf64d0a73a54bd)), closes [#954](https://github.com/typescript-language-server/typescript-language-server/issues/954)
|
|
27
|
+
* require at least node 20 ([#994](https://github.com/typescript-language-server/typescript-language-server/issues/994)) ([63e287d](https://github.com/typescript-language-server/typescript-language-server/commit/63e287d81f83c76b46a23733b7fc8df7b082f7aa))
|
|
28
|
+
|
|
4
29
|
## [4.4.1](https://github.com/typescript-language-server/typescript-language-server/compare/v4.4.0...v4.4.1) (2025-09-12)
|
|
5
30
|
|
|
6
31
|
|
package/README.md
CHANGED
|
@@ -15,8 +15,6 @@
|
|
|
15
15
|
- [Code actions on save](#code-actions-on-save)
|
|
16
16
|
- [Workspace commands \(`workspace/executeCommand`\)](#workspace-commands-workspaceexecutecommand)
|
|
17
17
|
- [Go to Source Definition](#go-to-source-definition)
|
|
18
|
-
- [Apply Workspace Edits](#apply-workspace-edits)
|
|
19
|
-
- [Apply Code Action](#apply-code-action)
|
|
20
18
|
- [Apply Refactoring](#apply-refactoring)
|
|
21
19
|
- [Organize Imports](#organize-imports)
|
|
22
20
|
- [Rename File](#rename-file)
|
|
@@ -127,36 +125,6 @@ Most of the time, you'll execute commands with arguments retrieved from another
|
|
|
127
125
|
|
|
128
126
|
(This command is supported from Typescript 4.7.)
|
|
129
127
|
|
|
130
|
-
#### Apply Workspace Edits
|
|
131
|
-
|
|
132
|
-
- Request:
|
|
133
|
-
```ts
|
|
134
|
-
{
|
|
135
|
-
command: `_typescript.applyWorkspaceEdit`
|
|
136
|
-
arguments: [lsp.WorkspaceEdit]
|
|
137
|
-
}
|
|
138
|
-
```
|
|
139
|
-
- Response:
|
|
140
|
-
```ts
|
|
141
|
-
lsp.ApplyWorkspaceEditResult
|
|
142
|
-
```
|
|
143
|
-
|
|
144
|
-
#### Apply Code Action
|
|
145
|
-
|
|
146
|
-
- Request:
|
|
147
|
-
```ts
|
|
148
|
-
{
|
|
149
|
-
command: `_typescript.applyCodeAction`
|
|
150
|
-
arguments: [
|
|
151
|
-
tsp.CodeAction, // TypeScript Code Action object
|
|
152
|
-
]
|
|
153
|
-
}
|
|
154
|
-
```
|
|
155
|
-
- Response:
|
|
156
|
-
```ts
|
|
157
|
-
void
|
|
158
|
-
```
|
|
159
|
-
|
|
160
128
|
#### Apply Refactoring
|
|
161
129
|
|
|
162
130
|
- Request:
|