typescript-language-server 3.0.3 → 3.1.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 +8 -0
- package/README.md +10 -0
- package/lib/cli.mjs +1 -1
- package/lib/cli.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
|
3
3
|
|
|
4
|
+
## [3.1.0](https://github.com/typescript-language-server/typescript-language-server/compare/v3.0.3...v3.1.0) (2023-01-30)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* send `$/typescriptVersion` notification with TypeScript version ([#674](https://github.com/typescript-language-server/typescript-language-server/issues/674)) ([b081112](https://github.com/typescript-language-server/typescript-language-server/commit/b081112f12a35fa70aae3a134191dea025de64da))
|
|
10
|
+
* support for canceling LSP requests ([#672](https://github.com/typescript-language-server/typescript-language-server/issues/672)) ([1daf209](https://github.com/typescript-language-server/typescript-language-server/commit/1daf209121fc20bbc0a64ec0491cd40582cb9a4b))
|
|
11
|
+
|
|
4
12
|
## [3.0.3](https://github.com/typescript-language-server/typescript-language-server/compare/v3.0.2...v3.0.3) (2023-01-23)
|
|
5
13
|
|
|
6
14
|
|
package/README.md
CHANGED
|
@@ -28,6 +28,7 @@ Maintained by a [community of contributors](https://github.com/typescript-langua
|
|
|
28
28
|
- [Rename File](#rename-file)
|
|
29
29
|
- [Configure plugin](#configure-plugin)
|
|
30
30
|
- [Inlay hints \(`textDocument/inlayHint`\)](#inlay-hints-textdocumentinlayhint)
|
|
31
|
+
- [TypeScript Version Notification](#typescript-version-notification)
|
|
31
32
|
- [Supported Protocol features](#supported-protocol-features)
|
|
32
33
|
- [Development](#development)
|
|
33
34
|
- [Build](#build)
|
|
@@ -499,6 +500,15 @@ export interface InlayHintsOptions extends UserPreferences {
|
|
|
499
500
|
}
|
|
500
501
|
```
|
|
501
502
|
|
|
503
|
+
## TypeScript Version Notification
|
|
504
|
+
|
|
505
|
+
Right after initializing, the server sends a custom `$/typescriptVersion` notification that carries information about the version of TypeScript that is utilized by the server. The editor can then display that information in the UI.
|
|
506
|
+
|
|
507
|
+
The `$/typescriptVersion` notification params include two properties:
|
|
508
|
+
|
|
509
|
+
- `version` - a semantic version (for example `4.8.4`)
|
|
510
|
+
- `source` - a string specifying whether used TypeScript version comes from the local workspace (`workspace`), is explicitly specified through a `initializationOptions.tsserver.path` setting (`user-setting`) or was bundled with the server (`bundled`)
|
|
511
|
+
|
|
502
512
|
## Supported Protocol features
|
|
503
513
|
|
|
504
514
|
- [x] textDocument/codeAction
|