typescript-language-server 4.4.0 → 5.0.0
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 +11 -6
- package/lib/cli.mjs +505 -277
- package/lib/cli.mjs.map +1 -1
- package/package.json +18 -18
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.0](https://github.com/typescript-language-server/typescript-language-server/compare/v4.4.1...v5.0.0) (2025-09-15)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### ⚠ BREAKING CHANGES
|
|
8
|
+
|
|
9
|
+
* require at least node 20 ([#994](https://github.com/typescript-language-server/typescript-language-server/issues/994))
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* 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))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* 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)
|
|
19
|
+
* 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))
|
|
20
|
+
|
|
21
|
+
## [4.4.1](https://github.com/typescript-language-server/typescript-language-server/compare/v4.4.0...v4.4.1) (2025-09-12)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* align completions code with upstream ([#992](https://github.com/typescript-language-server/typescript-language-server/issues/992)) ([f0eb0f5](https://github.com/typescript-language-server/typescript-language-server/commit/f0eb0f5abb981cbf496d5fc9e2b2e49150437c12))
|
|
27
|
+
* don't filter out 'warning' TS completion kinds ([ab388a0](https://github.com/typescript-language-server/typescript-language-server/commit/ab388a010cbe8353af6c17964e9e2567fa73cce0))
|
|
28
|
+
|
|
4
29
|
## [4.4.0](https://github.com/typescript-language-server/typescript-language-server/compare/v4.3.4...v4.4.0) (2025-08-05)
|
|
5
30
|
|
|
6
31
|
|
package/README.md
CHANGED
|
@@ -4,14 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
# TypeScript Language Server
|
|
6
6
|
|
|
7
|
-
[Language Server Protocol](https://github.com/Microsoft/language-server-protocol) implementation for TypeScript wrapping `tsserver`.
|
|
8
|
-
|
|
9
|
-
Originally based on concepts and ideas from https://github.com/prabirshrestha/typescript-language-server and maintained by [TypeFox](https://typefox.io). The core logic for interacting with `tsserver` is nowadays mostly based on the code of the `TypeScript Language Features` VSCode bundled extension maintained in https://github.com/microsoft/vscode.
|
|
10
|
-
|
|
11
|
-
Maintained by a [community of contributors](https://github.com/typescript-language-server/typescript-language-server/graphs/contributors) like you.
|
|
12
|
-
|
|
13
7
|
<!-- MarkdownTOC -->
|
|
14
8
|
|
|
9
|
+
- [What is it, exactly?](#what-is-it-exactly)
|
|
15
10
|
- [Installing](#installing)
|
|
16
11
|
- [Running the language server](#running-the-language-server)
|
|
17
12
|
- [CLI Options](#cli-options)
|
|
@@ -38,6 +33,16 @@ Maintained by a [community of contributors](https://github.com/typescript-langua
|
|
|
38
33
|
|
|
39
34
|
<!-- /MarkdownTOC -->
|
|
40
35
|
|
|
36
|
+
## What is it, exactly?
|
|
37
|
+
|
|
38
|
+
The [TypeScript](https://github.com/microsoft/TypeScript) project/package includes a `tsserver` component which provides a custom API that can be used for gathering various intelligence about a typescript/javascript project. The [VSCode](https://github.com/microsoft/vscode) team has built a project called `Typescript Language Features` (and bundled it as an internal extension in VSCode) that provides code intelligence for your javascript and typescript projects by utilizing that `tsserver` API. Since that extension doesn't use the standardized [Language Server Protocol](https://microsoft.github.io/language-server-protocol/) to communicate with the editor, other editors that implement LSP can't directly utilize it. Here is where the `TypeScript Language Server` project comes in with the aim to provide a thin LSP interface on top of that extension's code base for the benefit of all other editors that implement the LSP protocol.
|
|
39
|
+
|
|
40
|
+
Originally based on concepts and ideas from https://github.com/prabirshrestha/typescript-language-server and maintained by [TypeFox](https://typefox.io). Currently maintained by a [community of contributors](https://github.com/typescript-language-server/typescript-language-server/graphs/contributors) like you.
|
|
41
|
+
|
|
42
|
+
This project is not directly associated with Microsoft and is not used in their [VSCode](https://github.com/microsoft/vscode) editor. If you have an issue with VSCode functionality, report it in their repository instead.
|
|
43
|
+
|
|
44
|
+
Currently Microsoft is working on [TypeScript 7](https://github.com/microsoft/typescript-go) written natively in the go language that will include the LSP implementation and will hopefully supersede this project.
|
|
45
|
+
|
|
41
46
|
## Installing
|
|
42
47
|
|
|
43
48
|
```sh
|