typescript-language-server 3.0.2 → 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 CHANGED
@@ -1,6 +1,21 @@
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
+
12
+ ## [3.0.3](https://github.com/typescript-language-server/typescript-language-server/compare/v3.0.2...v3.0.3) (2023-01-23)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * restore tsserver version logging on initialization ([#669](https://github.com/typescript-language-server/typescript-language-server/issues/669)) ([232219c](https://github.com/typescript-language-server/typescript-language-server/commit/232219cd0fe138558ed98e22aa7314e0941e4f10))
18
+
4
19
  ## [3.0.2](https://github.com/typescript-language-server/typescript-language-server/compare/v3.0.1...v3.0.2) (2023-01-14)
5
20
 
6
21
 
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