typescript-language-server 3.3.3-0 → 4.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 ADDED
@@ -0,0 +1,545 @@
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ ## [4.0.0](https://github.com/typescript-language-server/typescript-language-server/compare/v3.3.2...v4.0.0) (2023-10-20)
5
+
6
+
7
+ ### ⚠ BREAKING CHANGES
8
+
9
+ * require node 18+
10
+
11
+ ### Features
12
+
13
+ * add support for textDocument/linkedEditingRange ([#732](https://github.com/typescript-language-server/typescript-language-server/issues/732)) ([983a692](https://github.com/typescript-language-server/typescript-language-server/commit/983a6923114c39d638e0c7d419ae16e8bca8985c))
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * **deps:** update devdependency typescript to ^5.1.3 ([#727](https://github.com/typescript-language-server/typescript-language-server/issues/727)) ([af477a2](https://github.com/typescript-language-server/typescript-language-server/commit/af477a2acacced85b52ca1fdb967f17228496c30))
19
+ * **deps:** update devdependency typescript to ^5.2.2 ([#737](https://github.com/typescript-language-server/typescript-language-server/issues/737)) ([0fff121](https://github.com/typescript-language-server/typescript-language-server/commit/0fff121490f255c42c4f78d6c3cdb7d37668cbed))
20
+ * **perf:** cache completion data on the server to avoid serialization ([#768](https://github.com/typescript-language-server/typescript-language-server/issues/768)) ([d7b4c77](https://github.com/typescript-language-server/typescript-language-server/commit/d7b4c77b6d71e81210623d17a80c0838681de3ca))
21
+
22
+
23
+ ### Refactors
24
+
25
+ * require node 18+ ([1df5a28](https://github.com/typescript-language-server/typescript-language-server/commit/1df5a283e3803e6f2e60579dff0fd4289543b2b2))
26
+
27
+ ## [3.3.2](https://github.com/typescript-language-server/typescript-language-server/compare/v3.3.1...v3.3.2) (2023-04-17)
28
+
29
+
30
+ ### Bug Fixes
31
+
32
+ * formatting fails to provide edit at the end of the document ([#718](https://github.com/typescript-language-server/typescript-language-server/issues/718)) ([01e24a2](https://github.com/typescript-language-server/typescript-language-server/commit/01e24a2cba1b0faf9c65474449265b944e64abd6))
33
+ * verbosity of the "Using Typescript version" message ([#716](https://github.com/typescript-language-server/typescript-language-server/issues/716)) ([448d3f1](https://github.com/typescript-language-server/typescript-language-server/commit/448d3f15d881e2594e1e60f71539b3a5d7e9fce2))
34
+
35
+ ## [3.3.1](https://github.com/typescript-language-server/typescript-language-server/compare/v3.3.0...v3.3.1) (2023-03-27)
36
+
37
+
38
+ ### Bug Fixes
39
+
40
+ * don't report InternalError on tsserver error response ([#709](https://github.com/typescript-language-server/typescript-language-server/issues/709)) ([3e63165](https://github.com/typescript-language-server/typescript-language-server/commit/3e6316546eb5c8b6fd2fb8c26c88b7b6a6331472))
41
+
42
+ ## [3.3.0](https://github.com/typescript-language-server/typescript-language-server/compare/v3.2.0...v3.3.0) (2023-02-20)
43
+
44
+
45
+ ### Features
46
+
47
+ * start separate tsServer instance for semantic requests ([#688](https://github.com/typescript-language-server/typescript-language-server/issues/688)) ([fa65b84](https://github.com/typescript-language-server/typescript-language-server/commit/fa65b847f4a87672cc28302f38fd86e8f56d6112))
48
+
49
+
50
+ ### Bug Fixes
51
+
52
+ * **completions:** include `filterText` property by default ([#693](https://github.com/typescript-language-server/typescript-language-server/issues/693)) ([c07426a](https://github.com/typescript-language-server/typescript-language-server/commit/c07426adc8b079273c267e18d11993d53d482886))
53
+
54
+ ## [3.2.0](https://github.com/typescript-language-server/typescript-language-server/compare/v3.1.0...v3.2.0) (2023-02-14)
55
+
56
+
57
+ ### Features
58
+
59
+ * `source.removeUnusedImports.ts` and `source.sortImports.ts` actions ([#681](https://github.com/typescript-language-server/typescript-language-server/issues/681)) ([a43b2df](https://github.com/typescript-language-server/typescript-language-server/commit/a43b2df471572ca2e25b12899f65fca77853af35))
60
+ * provide filterText property in completions ([#678](https://github.com/typescript-language-server/typescript-language-server/issues/678)) ([af44f8b](https://github.com/typescript-language-server/typescript-language-server/commit/af44f8b1b5a252ca9ba019691ad81dc2e5006468))
61
+ * support `workspace/willRenameFiles` request ([#685](https://github.com/typescript-language-server/typescript-language-server/issues/685)) ([c3f3529](https://github.com/typescript-language-server/typescript-language-server/commit/c3f3529be45a1630fe7903a5af9e732855f2c664))
62
+
63
+
64
+ ### Bug Fixes
65
+
66
+ * **completions:** don't set `filterText` after all ([#686](https://github.com/typescript-language-server/typescript-language-server/issues/686)) ([4c5d295](https://github.com/typescript-language-server/typescript-language-server/commit/4c5d295d4f71f6b5d8f2c58e908d5cc79cb9e3d2))
67
+ * **completions:** don't set commitCharacters unless client supports those ([#684](https://github.com/typescript-language-server/typescript-language-server/issues/684)) ([af10a97](https://github.com/typescript-language-server/typescript-language-server/commit/af10a977f38626797dbadca935c71f92556fdb39))
68
+ * **deps:** update devdependency typescript to ^4.9.5 ([#677](https://github.com/typescript-language-server/typescript-language-server/issues/677)) ([916c326](https://github.com/typescript-language-server/typescript-language-server/commit/916c326d576b9f13a05563495dffa27b4d02ee6e))
69
+ * line offset off by one when at the last line ([#683](https://github.com/typescript-language-server/typescript-language-server/issues/683)) ([0db9a5f](https://github.com/typescript-language-server/typescript-language-server/commit/0db9a5faa4bc03560506ffd030e795a35e45e3f8))
70
+
71
+ ## [3.1.0](https://github.com/typescript-language-server/typescript-language-server/compare/v3.0.3...v3.1.0) (2023-01-30)
72
+
73
+
74
+ ### Features
75
+
76
+ * 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))
77
+ * 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))
78
+
79
+ ## [3.0.3](https://github.com/typescript-language-server/typescript-language-server/compare/v3.0.2...v3.0.3) (2023-01-23)
80
+
81
+
82
+ ### Bug Fixes
83
+
84
+ * 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))
85
+
86
+ ## [3.0.2](https://github.com/typescript-language-server/typescript-language-server/compare/v3.0.1...v3.0.2) (2023-01-14)
87
+
88
+
89
+ ### Bug Fixes
90
+
91
+ * remove hard dependency on typescript ([#661](https://github.com/typescript-language-server/typescript-language-server/issues/661)) ([9a2e2c8](https://github.com/typescript-language-server/typescript-language-server/commit/9a2e2c83d4992cd90cebc706618a9af604fcf1a9))
92
+
93
+
94
+ ### Refactors
95
+
96
+ * bundle with rollup and switch to jest for testing ([#663](https://github.com/typescript-language-server/typescript-language-server/issues/663)) ([2c9eb63](https://github.com/typescript-language-server/typescript-language-server/commit/2c9eb632659a3bb9995095576afe88e84833bbdd))
97
+
98
+ ## [3.0.1](https://github.com/typescript-language-server/typescript-language-server/compare/v3.0.0...v3.0.1) (2022-12-30)
99
+
100
+
101
+ ### Bug Fixes
102
+
103
+ * cancel pending geterr request before triggering new ([#651](https://github.com/typescript-language-server/typescript-language-server/issues/651)) ([95b92e5](https://github.com/typescript-language-server/typescript-language-server/commit/95b92e5d15f47eea77e08765a1e378dbcd90d1f0))
104
+
105
+ ## [3.0.0](https://github.com/typescript-language-server/typescript-language-server/compare/v2.3.0...v3.0.0) (2022-12-29)
106
+
107
+
108
+ ### ⚠ BREAKING CHANGES
109
+
110
+ * Remove experimental and legacy implementations of inlay hints and call hierarchy. Use to the official `textDocument/inlayHint` and `textDocument/prepareCallHierarchy` implementations instead.
111
+
112
+ ### Features
113
+
114
+ * drop experimental `textDocument/calls`, `typescript/inlayHints` ([#647](https://github.com/typescript-language-server/typescript-language-server/issues/647)) ([b15f8a7](https://github.com/typescript-language-server/typescript-language-server/commit/b15f8a7cca8470b0ef9e9878e94fba95e278d372))
115
+ * implement support for spec version of Call Hierarchy ([#649](https://github.com/typescript-language-server/typescript-language-server/issues/649)) ([3ce0e17](https://github.com/typescript-language-server/typescript-language-server/commit/3ce0e17e72f32913739c9d67d3dfb6092f09a2aa))
116
+
117
+ ## [2.3.0](https://github.com/typescript-language-server/typescript-language-server/compare/v2.2.0...v2.3.0) (2022-12-27)
118
+
119
+
120
+ ### Features
121
+
122
+ * implement `textDocument/selectionRange` request ([#642](https://github.com/typescript-language-server/typescript-language-server/issues/642)) ([a5598c6](https://github.com/typescript-language-server/typescript-language-server/commit/a5598c68aac961cbd6294133a9235e4db5b95929))
123
+
124
+
125
+ ### Bug Fixes
126
+
127
+ * **completions:** don't insert call snippet if already a call ([#646](https://github.com/typescript-language-server/typescript-language-server/issues/646)) ([5d34de5](https://github.com/typescript-language-server/typescript-language-server/commit/5d34de5fd38ce5a9dcafc4a385ccb39b0a89f2b0))
128
+
129
+ ## [2.2.0](https://github.com/typescript-language-server/typescript-language-server/compare/v2.1.0...v2.2.0) (2022-12-09)
130
+
131
+
132
+ ### Features
133
+
134
+ * communicate with tsserver >=4.9.0 using IPC ([#630](https://github.com/typescript-language-server/typescript-language-server/issues/630)) ([06abfde](https://github.com/typescript-language-server/typescript-language-server/commit/06abfdeb133127f4567efb77a2bf725549e9d957))
135
+ * support `textDocument/prepareRename` request ([#628](https://github.com/typescript-language-server/typescript-language-server/issues/628)) ([9c66794](https://github.com/typescript-language-server/typescript-language-server/commit/9c6679438d6190b72a15f32c0eb83cacd7780213))
136
+ * update typescript to 4.9.3 ([#629](https://github.com/typescript-language-server/typescript-language-server/issues/629)) ([0005648](https://github.com/typescript-language-server/typescript-language-server/commit/00056483da3f1089a3a426f08bc66651178c3665))
137
+
138
+
139
+ ### Bug Fixes
140
+
141
+ * **deps:** update devdependency typescript to ^4.9.4 ([#637](https://github.com/typescript-language-server/typescript-language-server/issues/637)) ([d2b18b6](https://github.com/typescript-language-server/typescript-language-server/commit/d2b18b6d318c4b441e42f4f977ba6bd4eca36d58))
142
+ * surface stderr output from the tsserver process ([#624](https://github.com/typescript-language-server/typescript-language-server/issues/624)) ([adf2689](https://github.com/typescript-language-server/typescript-language-server/commit/adf268927a2f4b5e689572be9bedc349573aadd5))
143
+
144
+ ## [2.1.0](https://github.com/typescript-language-server/typescript-language-server/compare/v2.0.1...v2.1.0) (2022-10-17)
145
+
146
+
147
+ ### Features
148
+
149
+ * add `_typescript.configurePlugin` workspace command ([#607](https://github.com/typescript-language-server/typescript-language-server/issues/607)) ([59a5217](https://github.com/typescript-language-server/typescript-language-server/commit/59a52174148f3dc95fa2969971a1f95c6e432812))
150
+ * add `tsserver.logVerbosity` and `tsserver.path` to `initializationOptions` ([#611](https://github.com/typescript-language-server/typescript-language-server/issues/611)) ([a03eab5](https://github.com/typescript-language-server/typescript-language-server/commit/a03eab5f1442ad68745d6bec464191a66ab85fc7))
151
+ * add support for `[@link](https://github.com/link)` references in JSDoc ([#612](https://github.com/typescript-language-server/typescript-language-server/issues/612)) ([3722b51](https://github.com/typescript-language-server/typescript-language-server/commit/3722b51c0ad8e758c4e42f622bbe25ae981071e1))
152
+ * add workspace implicit project defaults configuration ([#605](https://github.com/typescript-language-server/typescript-language-server/issues/605)) ([c6b3947](https://github.com/typescript-language-server/typescript-language-server/commit/c6b39473ed5343f99434506ee034fd0d45a5364d))
153
+
154
+
155
+ ### Bug Fixes
156
+
157
+ * loading progress sometimes getting stuck ([#603](https://github.com/typescript-language-server/typescript-language-server/issues/603)) ([8cf4381](https://github.com/typescript-language-server/typescript-language-server/commit/8cf43810e0ff7a32d3499afc6da2344939b2d6de))
158
+ * respect user-provided tsserver.js path from `--tsserver-path` ([#610](https://github.com/typescript-language-server/typescript-language-server/issues/610)) ([417339f](https://github.com/typescript-language-server/typescript-language-server/commit/417339fa66bc1910c80888c3f909e3d059da8ee5))
159
+
160
+ ## [2.0.1](https://github.com/typescript-language-server/typescript-language-server/compare/v2.0.0...v2.0.1) (2022-10-07)
161
+
162
+
163
+ ### Bug Fixes
164
+
165
+ * disable IPC communication until TypeScript bug is fixed ([#600](https://github.com/typescript-language-server/typescript-language-server/issues/600)) ([a6153a6](https://github.com/typescript-language-server/typescript-language-server/commit/a6153a66e88bed52704761f92dd4168605ef9a45))
166
+
167
+ ## [2.0.0](https://github.com/typescript-language-server/typescript-language-server/compare/v1.2.0...v2.0.0) (2022-09-28)
168
+
169
+
170
+ ### ⚠ BREAKING CHANGES
171
+
172
+ * Replace the CLI argument `--tsserver-log-file` with `tsserver.logDirectory` option provided through `initializationOptions` of the `initialize` request.
173
+
174
+ ### Features
175
+
176
+ * add `tsserver.logDirectory` to `initializationOptions` ([#588](https://github.com/typescript-language-server/typescript-language-server/issues/588)) ([114d430](https://github.com/typescript-language-server/typescript-language-server/commit/114d4309cb1450585f991604118d3eff3690237c))
177
+ * add `tsserver.trace` init option for tracing tsserver ([#586](https://github.com/typescript-language-server/typescript-language-server/issues/586)) ([e3e8930](https://github.com/typescript-language-server/typescript-language-server/commit/e3e893094e501e3d6a72148e05f11286d688d2bd))
178
+
179
+
180
+ ### Bug Fixes
181
+
182
+ * **completions:** don't create snippet kind without `completeFunctionCalls` ([#595](https://github.com/typescript-language-server/typescript-language-server/issues/595)) ([7f69c27](https://github.com/typescript-language-server/typescript-language-server/commit/7f69c27eb8cce71d3db006623757a74f93d76dd3))
183
+ * **completions:** remove filterText override for bracket accessor ([#593](https://github.com/typescript-language-server/typescript-language-server/issues/593)) ([1ed4e2e](https://github.com/typescript-language-server/typescript-language-server/commit/1ed4e2eccf0b52e10204b5c2617d4944ae513afd))
184
+ * wrong import completion when insert/replace supported ([#592](https://github.com/typescript-language-server/typescript-language-server/issues/592)) ([4fe902a](https://github.com/typescript-language-server/typescript-language-server/commit/4fe902a9e28ec4c3ccc14a9e75488efeb8079544))
185
+
186
+ ## [1.2.0](https://github.com/typescript-language-server/typescript-language-server/compare/v1.1.2...v1.2.0) (2022-09-12)
187
+
188
+
189
+ ### Features
190
+
191
+ * Add insert replace support for completions ([#583](https://github.com/typescript-language-server/typescript-language-server/issues/583)) ([fdf9d11](https://github.com/typescript-language-server/typescript-language-server/commit/fdf9d11200c49a160ed3c3bd523e4792bc98e99d))
192
+ * add support for new features from TypeScript 4.8 ([#576](https://github.com/typescript-language-server/typescript-language-server/issues/576)) ([7e88db3](https://github.com/typescript-language-server/typescript-language-server/commit/7e88db301a56d6d2dcd0fc1872d6baa386210497))
193
+ * include "triggerReason" and "kind" in code action requests ([#579](https://github.com/typescript-language-server/typescript-language-server/issues/579)) ([f872078](https://github.com/typescript-language-server/typescript-language-server/commit/f872078fa3b40d8b9b90f737fec7a4c808f1ccc7))
194
+ * support communicating with tsserver using IPC ([#585](https://github.com/typescript-language-server/typescript-language-server/issues/585)) ([8725b9b](https://github.com/typescript-language-server/typescript-language-server/commit/8725b9bee4432b7520ebd9adc67f4c65303b2c8c))
195
+ * support for codeAction disabledSupport client capability ([#578](https://github.com/typescript-language-server/typescript-language-server/issues/578)) ([f93b849](https://github.com/typescript-language-server/typescript-language-server/commit/f93b8493eeafda32c865c93e99025c8ca11c3226))
196
+
197
+
198
+ ### Bug Fixes
199
+
200
+ * only use optionalReplacementSpan if client supports InsertReplace ([#584](https://github.com/typescript-language-server/typescript-language-server/issues/584)) ([899ba6b](https://github.com/typescript-language-server/typescript-language-server/commit/899ba6b5c5f13faac8eec6478ced4d9f8d90836d))
201
+
202
+ ## [1.1.2](https://github.com/typescript-language-server/typescript-language-server/compare/v1.1.1...v1.1.2) (2022-08-25)
203
+
204
+
205
+ ### Bug Fixes
206
+
207
+ * definition request crashing on getting span ([#574](https://github.com/typescript-language-server/typescript-language-server/issues/574)) ([4e1c82b](https://github.com/typescript-language-server/typescript-language-server/commit/4e1c82b82878316a12ff6b524d7dd5ab54b86acd))
208
+
209
+ ## [1.1.1](https://github.com/typescript-language-server/typescript-language-server/compare/v1.1.0...v1.1.1) (2022-08-22)
210
+
211
+
212
+ ### Bug Fixes
213
+
214
+ * move deepmerge to dependencies ([06109d4](https://github.com/typescript-language-server/typescript-language-server/commit/06109d4646d94bdf1bbeb2768e18f1323ae1b630))
215
+
216
+ ## [1.1.0](https://github.com/typescript-language-server/typescript-language-server/compare/v1.0.0...v1.1.0) (2022-08-21)
217
+
218
+
219
+ ### Features
220
+
221
+ * add "Go To Source Definition" command ([#560](https://github.com/typescript-language-server/typescript-language-server/issues/560)) ([9bcdaf2](https://github.com/typescript-language-server/typescript-language-server/commit/9bcdaf2b0b09da9aa4d7e6ed79bdcd742b3cfc17))
222
+ * support `textDocument/inlayHint` request from 3.17.0 spec ([#566](https://github.com/typescript-language-server/typescript-language-server/issues/566)) ([9a2fd4e](https://github.com/typescript-language-server/typescript-language-server/commit/9a2fd4e34b6c50c57b974f617018dcefdb469788))
223
+ * support LocationLink[] for textDocument/definition response ([#563](https://github.com/typescript-language-server/typescript-language-server/issues/563)) ([196f328](https://github.com/typescript-language-server/typescript-language-server/commit/196f328cd9fd7a06998151d59bed0b945cc68b40))
224
+
225
+
226
+ ### Bug Fixes
227
+
228
+ * don't trigger error on empty Source Definition response ([#568](https://github.com/typescript-language-server/typescript-language-server/issues/568)) ([146a6ba](https://github.com/typescript-language-server/typescript-language-server/commit/146a6ba97f0792701ff8afcc431d3a1dfdb978a6))
229
+ * make wording in the typescript lookup error more generic ([585a05e](https://github.com/typescript-language-server/typescript-language-server/commit/585a05e43a0b530f10e488aed634fac0436109ae)), closes [#554](https://github.com/typescript-language-server/typescript-language-server/issues/554)
230
+ * snippet completions returned to clients that don't support them ([#556](https://github.com/typescript-language-server/typescript-language-server/issues/556)) ([050d335](https://github.com/typescript-language-server/typescript-language-server/commit/050d3350e16fe78b7c60d7443ed3ad6d2cc4730d))
231
+ * update signature help feature to v3.15.0 LSP spec ([#555](https://github.com/typescript-language-server/typescript-language-server/issues/555)) ([da074a6](https://github.com/typescript-language-server/typescript-language-server/commit/da074a618ca6c29819834a0344682094d6ff08f6))
232
+
233
+ ## [1.0.0](https://github.com/typescript-language-server/typescript-language-server/compare/v0.11.2...v1.0.0) (2022-08-06)
234
+
235
+
236
+ ### ⚠ BREAKING CHANGES
237
+
238
+ * Ship as an ES module. Might be breaking for programmatic users of this server. Read more about consuming ES module packages at gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
239
+ * **deps:** LSP libraries updated to match the 3.17 version of the LSP spec. Requires minimum Node 14.
240
+
241
+ ### Features
242
+
243
+ * add support for CompletionItem.labelDetails ([#534](https://github.com/typescript-language-server/typescript-language-server/issues/534)) ([3c140d9](https://github.com/typescript-language-server/typescript-language-server/commit/3c140d958507300d7d186adb84f5b0baa549edb2))
244
+
245
+
246
+ ### Bug Fixes
247
+
248
+ * declare quickfix/refactor CodeAction capabilities ([#553](https://github.com/typescript-language-server/typescript-language-server/issues/553)) ([e76fc64](https://github.com/typescript-language-server/typescript-language-server/commit/e76fc6493295649d6ada83c8a5f6d88abe2a6167))
249
+ * handle shutdown lifecycle properly ([#536](https://github.com/typescript-language-server/typescript-language-server/issues/536)) ([ac8536b](https://github.com/typescript-language-server/typescript-language-server/commit/ac8536bf8eb805bfc28e484a8f4827b5375d6824))
250
+
251
+
252
+ ### Miscellaneous Chores
253
+
254
+ * **deps:** update LSP libraries to match 3.17 spec ([#532](https://github.com/typescript-language-server/typescript-language-server/issues/532)) ([bdbdd83](https://github.com/typescript-language-server/typescript-language-server/commit/bdbdd8379815583aa28d2a770034253050ba24de))
255
+
256
+
257
+ ### Code Refactoring
258
+
259
+ * ship as an ES module ([#547](https://github.com/typescript-language-server/typescript-language-server/issues/547)) ([0dfd411](https://github.com/typescript-language-server/typescript-language-server/commit/0dfd41125c04868b547a3893334bb0bb822e0517))
260
+
261
+ ## [0.11.2](https://github.com/typescript-language-server/typescript-language-server/compare/v0.11.1...v0.11.2) (2022-06-24)
262
+
263
+
264
+ ### Bug Fixes
265
+
266
+ * apply refactoring returns -1 positions in ranges ([#502](https://github.com/typescript-language-server/typescript-language-server/issues/502)) ([5f52db0](https://github.com/typescript-language-server/typescript-language-server/commit/5f52db0383d6c326cd321c13fc969ab9d3958011))
267
+
268
+ ## [0.11.1](https://github.com/typescript-language-server/typescript-language-server/compare/v0.11.0...v0.11.1) (2022-06-13)
269
+
270
+
271
+ ### Bug Fixes
272
+
273
+ * completion for strings with trigger character ([#492](https://github.com/typescript-language-server/typescript-language-server/issues/492)) ([76bf9a4](https://github.com/typescript-language-server/typescript-language-server/commit/76bf9a4817ffa1e340422cfd5177dbcb96528ddb))
274
+
275
+ ## [0.11.0](https://github.com/typescript-language-server/typescript-language-server/compare/v0.10.1...v0.11.0) (2022-06-06)
276
+
277
+
278
+ ### Features
279
+
280
+ * add support for rename prefixText and suffixText on rename ([#478](https://github.com/typescript-language-server/typescript-language-server/issues/478)) ([b3c8535](https://github.com/typescript-language-server/typescript-language-server/commit/b3c85354c71dc36e1d4775bf61d7064a6b85e958))
281
+
282
+ ### [0.10.1](https://github.com/typescript-language-server/typescript-language-server/compare/v0.10.0...v0.10.1) (2022-05-18)
283
+
284
+
285
+ ### Bug Fixes
286
+
287
+ * pin old version of LSP libraries for node <14 compatibility ([#467](https://github.com/typescript-language-server/typescript-language-server/issues/467)) ([55600e1](https://github.com/typescript-language-server/typescript-language-server/commit/55600e12635c01d5a531b776b33d10f9e622a7a6))
288
+
289
+ ## [0.10.0](https://github.com/typescript-language-server/typescript-language-server/compare/v0.9.7...v0.10.0) (2022-05-11)
290
+
291
+
292
+ ### Features
293
+
294
+ * add support for locale option ([#461](https://github.com/typescript-language-server/typescript-language-server/issues/461)) ([be6a95d](https://github.com/typescript-language-server/typescript-language-server/commit/be6a95ddf6abf8cb68689a6995e3e55858eacb23))
295
+
296
+ ### [0.9.7](https://github.com/typescript-language-server/typescript-language-server/compare/v0.9.6...v0.9.7) (2022-02-27)
297
+
298
+
299
+ ### Bug Fixes
300
+
301
+ * add more logging for resolving user-specified tsserver ([#412](https://github.com/typescript-language-server/typescript-language-server/issues/412)) ([7139a32](https://github.com/typescript-language-server/typescript-language-server/commit/7139a32da05b6e3dfcd3252bde934dc499412d3d))
302
+ * help users resolve no valid tsserver version error ([#337](https://github.com/typescript-language-server/typescript-language-server/issues/337)) ([d835543](https://github.com/typescript-language-server/typescript-language-server/commit/d835543e455a51ec159457a1479a550712574099))
303
+
304
+ ## [0.9.6] - 2022-02-02
305
+
306
+ - **fix**: don't transform zipfile URIs from Vim (#386)
307
+
308
+ ## [0.9.5] - 2022-01-27
309
+
310
+ - **fix**: don't transform Yarn zipfile URIs (#384)
311
+
312
+ ## [0.9.4] - 2022-01-19
313
+
314
+ - **fix**: call configure before completion resolve (#377)
315
+
316
+ ## [0.9.3] - 2022-01-16
317
+
318
+ - **fix**: wait for tsserver configuration requests to finish (#372)
319
+
320
+ ## [0.9.2] - 2022-01-14
321
+
322
+ - **fix**: use correct name for the addMissingImports code action (#371)
323
+
324
+ ## [0.9.1] - 2022-01-07
325
+
326
+ - **fix**: don't use the postinstall script
327
+
328
+ ## [0.9.0] - 2022-01-07
329
+
330
+ - **feat**: implement additional code actions for handling auto-fixing (#318)
331
+
332
+ - **feat**: report progress when loading the project (#326)
333
+
334
+ - **feat**: add new preferences from typescript 4.5.3 (#304)
335
+
336
+ - **fix**: correct matching of "only" kinds provided by the client (#334)
337
+
338
+ - **fix**: pass format options for organizing import (#348)
339
+
340
+ - **fix**: use snippet type for jsx attribute completions (#362)
341
+
342
+ ## [0.8.1] - 2021-11-25
343
+
344
+ - **fix**: lookup workspace typescript in dirs higher up the tree also (#314)
345
+
346
+ ## [0.8.0] - 2021-11-21
347
+
348
+ - **feat**: implement semantic tokens support (#290)
349
+
350
+ - **feat**: add support for snippet completions for methods/functions (#303)
351
+
352
+ - **feat**: ability to ignore diagnostics by code (#272)
353
+ Adds new `diagnostics.ignoredCodes` workspace setting to ignore specific diagnostics.
354
+
355
+ - **feat**: add `npmLocation` option to specify NPM location (#293)
356
+
357
+ - **fix**: don't announce support for codeActionKinds (#289)
358
+
359
+ - **fix**: mark import completions as snippets (#291)
360
+
361
+ - **fix**: specify minimum node version to be v12 (#301)
362
+
363
+ - **fix**: ensure that the `tsserver` subprocess uses forked node instance (#292)
364
+ Potentially **BREAKING**. The lookup of `tsserver` was refactored to never use `spawn` logic but instead always `fork` the current node instance. See more info in the PR.
365
+
366
+ - **fix**: exit the server if tsserver process crashes (#305)
367
+
368
+ - **fix**: respect "includeDeclaration" for references request (#306)
369
+
370
+ ## [0.7.1] - 2021-11-10
371
+
372
+ - fix: add missing `semver` dependency (#288)
373
+
374
+ ## [0.7.0] - 2021-11-09
375
+
376
+ ### Breaking
377
+
378
+ Changes to default options sent to tsserver could affect behavior (hopefully for the better). Read changes below for more details.
379
+
380
+ ### Changes
381
+
382
+ - **feat**: include import specifier for import completions (#281)
383
+ For completions that import from another package, the completions will include a "detail" field with the name of the module.
384
+
385
+ Also aligned some other logic with the typescript language services used in VSCode:
386
+ * annotate the completions with the local name of the import when completing a path in import foo from '...'
387
+ * update completion "sortText" regardless if the completion "isRecommended"
388
+
389
+ - **feat**: allow skip destructive actions on running OrganizeImports (#228)
390
+ Add support for the new skipDestructiveCodeActions argument to TypeScript's organize imports feature - [1] to support [2].
391
+
392
+ Support is added in two places:
393
+ * Automatically inferring the proper value based on diagnostics for the file when returning code actions.
394
+ * Supporting sending it when manually executing the organize imports action.
395
+
396
+ Also added documentation to the readme about the supported commands that can be manually executed.
397
+
398
+ [1] https://github.com/microsoft/TypeScript/issues/43051
399
+ [2] https://github.com/apexskier/nova-typescript/issues/273
400
+
401
+ - **feat**: support running server on files without root workspace (#286)
402
+ The tsserver seems to be good at inferring the project configuration when opening single files without a workspace so don't crash on missing `rootPath`.
403
+
404
+ - **feat**: add `disableAutomaticTypingAcquisition` option to disable automatic type acquisition (#285)
405
+ - **feat**: update default tsserver options (#284)
406
+ Set the following additional options by default:
407
+ ```
408
+ allowRenameOfImportPath: true,
409
+ displayPartsForJSDoc: true,
410
+ generateReturnInDocTemplate: true,
411
+ includeAutomaticOptionalChainCompletions: true,
412
+ includeCompletionsForImportStatements: true,
413
+ includeCompletionsWithSnippetText: true,
414
+ ```
415
+ This aligns more with the default options of the typescript language services in VSCode.
416
+ - **feat**: announce support for "source.organizeImports.ts-ls" action (#283)
417
+ Announcing support for that code action allows editors that support
418
+ running code actions on save to automatically run the code action if
419
+ the user has configured the editor with settings like
420
+
421
+ ```js
422
+ "codeActionsOnSave": {
423
+ "source.organizeImports": true,
424
+ // or
425
+ "source.organizeImports.ts-ls": true,
426
+ },
427
+ ```
428
+ - **chore**: change default log level from "warn" to "info" (#287)
429
+
430
+ ## [0.6.5] - 2021-11-03
431
+
432
+ - fix: normalize client and tsserver paths (#275)
433
+ This should ensure consistent behavior regradless of the platform. Previously some functionality could be malfunctioning on Windows depending on the LSP client used due to using non-normalized file paths.
434
+ - Handle the `APPLY_COMPLETION_CODE_ACTION` command internally (#270)
435
+ This means that the clients that have implemented a custom handling for the `_typescript.applyCompletionCodeAction` command can remove that code.
436
+ Without removing the custom handling everything should work as before but some edge cases might work better when custom handling is removed.
437
+ - fix: ignore empty code blocks in content returned from `textDocument/hover` (#276)
438
+ - fix: remove unsupported --node-ipc and --socket options (#278)
439
+
440
+ ## [0.6.4] - 2021-10-12
441
+
442
+ - Fix broken logging (#267)
443
+ - Add support for `workspace/didChangeConfiguration` and setting formatting options per language (#268)
444
+ - Add option to set inlayHints preferences by language (#266)
445
+
446
+ ## [0.6.3] - 2021-10-27
447
+
448
+ - Implement experimental inlay hints (#259) ([documentation](https://github.com/typescript-language-server/typescript-language-server#typescriptinlayhints-experimental-supported-from-typescript-v442))
449
+ - Send diagnostics even to clients that don't signal support (#261) (reverts #229)
450
+
451
+ ## [0.6.2] - 2021-08-16
452
+
453
+ - Mark completion items as deprecated if JSDoc says so (#227)
454
+ - Add a `maxTsServerMemory` option (#252)
455
+ - (chore) Add Windows and Mac CI runner (#248)
456
+
457
+ ## [0.6.1] - 2021-08-16
458
+
459
+ - Fix Windows path regression introduced in #220 (#249)
460
+
461
+ ## [0.6.0] - 2021-08-12
462
+
463
+ - Refactor code actions to better support filtering against "only" (#170)
464
+ - Support Yarn PnP (#220)
465
+ - Update internal Typescript dependency from 3.9.0 to 4.3.4 (#226)
466
+ - Only publish diagnostics if client supports the capability (#229)
467
+ - Add support for "unnecessary" and "deprecated" diagnostic tags (#230)
468
+ - Upgrade vscode-languageserver (#231)
469
+ - Lookup tsserver using direct path rather than through .bin alias (#234)
470
+ - Don't pass deprecated options to Completion request
471
+
472
+ ## [0.5.4] - 2021-07-01
473
+
474
+ - Remove hardcoded request timeouts
475
+ - Forward user preferences in `initializationOptions`
476
+ - Use `require.resolve` for module resolution (#195)
477
+
478
+ ## [0.5.0] - 2021-01-16
479
+
480
+ - Fix empty documentHighlight results due to inconsistent path delimiters
481
+ - Update command line option `tssserver-log-verbosity` to support `off`
482
+ - Call compilerOptionsForInferredProjects during initialization (set good defaults when tsconfig.json missing)
483
+ - Remove warnings from LSP completion results
484
+ - Add support for formatting range (textDocument/rangeFormatting)
485
+ - Ensure TSP request cancellation cancels timeout handling
486
+
487
+ ## [0.4.0] - 2019-08-28
488
+
489
+ - Upgraded to LSP 5.3.0 and Monaco 0.17.0. [#115](https://github.com/theia-ide/typescript-language-server/pull/115)
490
+
491
+ ## [0.3.7] - 2018-11-18
492
+
493
+ - Let documentSymbol return the correct results when mergeable elements are used [#77](https://github.com/theia-ide/typescript-language-server/pull/77)
494
+ - Return correct ranges for hierarchical document symbol [#79](https://github.com/theia-ide/typescript-language-server/pull/79)
495
+ - Return null when resolving completion request at an invalid location [#81](https://github.com/theia-ide/typescript-language-server/pull/81)
496
+ - Initial call hierarchy support [#85](https://github.com/theia-ide/typescript-language-server/pull/85)
497
+ - Allowing starting tsserver as a module using cp.fork [#88](https://github.com/theia-ide/typescript-language-server/pull/88)
498
+
499
+ Thanks to [@AlexTugarev](https://github.com/AlexTugarev) and [@keyboardDrummer](https://github.com/keyboardDrummer)
500
+
501
+ ## [0.3.6] - 2018-09-18
502
+
503
+ - Respect URIs received from clients [#75](https://github.com/theia-ide/typescript-language-server/pull/75)
504
+
505
+ ## [0.3.5] - 2018-09-14
506
+ - Fixed publishing diagnostics for all opened documents [#71](https://github.com/theia-ide/typescript-language-server/pull/71) - thanks to [@keyboardDrummer](https://github.com/keyboardDrummer)
507
+ - Support global tsserver plugins [#73](https://github.com/theia-ide/typescript-language-server/pull/73)
508
+ - Configure a tsserver log file via `TSSERVER_LOG_FILE` env variable [#73](https://github.com/theia-ide/typescript-language-server/pull/73)
509
+
510
+ ## [0.3.4] - 2018-09-12
511
+ - Restore containerName for non-hierarchical symbols [#69](https://github.com/theia-ide/typescript-language-server/pull/69)
512
+
513
+ ## [0.3.3] - 2018-09-11
514
+ - Fix updating documents on `didChange` notification [#65](https://github.com/theia-ide/typescript-language-server/pull/65)
515
+ - Debounce triggering diagnostics if a client is spamming with edits [#65](https://github.com/theia-ide/typescript-language-server/pull/65)
516
+
517
+ ## [0.3.2] - 2018-09-06
518
+ - Hierarchical document symbols support [#62](https://github.com/theia-ide/typescript-language-server/pull/62)
519
+
520
+ ## [0.3.1] - 2018-09-04
521
+
522
+ - Allow a client to enable tsserver logging [#59](https://github.com/theia-ide/typescript-language-server/pull/59)
523
+
524
+ ## [0.3.0] - 2018-08-23
525
+
526
+ - Setup the monorepo with yarn workspaces and ts project references [#48](https://github.com/theia-ide/typescript-language-server/pull/48)
527
+ - Added a Monaco based example [#48](https://github.com/theia-ide/typescript-language-server/pull/48)
528
+ - Aligned `completion/completionResolve` with VS Code behaviour [#50](https://github.com/theia-ide/typescript-language-server/pull/50)
529
+ - Interrupt diagnostics to improve response time for other requests, as completion and signature help [#51](https://github.com/theia-ide/typescript-language-server/pull/51)
530
+ - Applied refactorings support [#51](https://github.com/theia-ide/typescript-language-server/pull/51)
531
+ - Suggest diagnostics support [#51](https://github.com/theia-ide/typescript-language-server/pull/51)
532
+ - Diagnostics buffering [#51](https://github.com/theia-ide/typescript-language-server/pull/51)
533
+ - Tolerating non-file URIs [#51](https://github.com/theia-ide/typescript-language-server/pull/51)
534
+ - Organize imports support [#51](https://github.com/theia-ide/typescript-language-server/pull/51)
535
+ - Added `Apply Rename File` command [#56](https://github.com/theia-ide/typescript-language-server/pull/56)
536
+
537
+ [0.4.0]: https://github.com/theia-ide/typescript-language-server/compare/v0.3.7...v0.4.0
538
+ [0.3.7]: https://github.com/theia-ide/typescript-language-server/compare/v0.3.6...v0.3.7
539
+ [0.3.6]: https://github.com/theia-ide/typescript-language-server/compare/v0.3.5...v0.3.6
540
+ [0.3.5]: https://github.com/theia-ide/typescript-language-server/compare/v0.3.4...v0.3.5
541
+ [0.3.4]: https://github.com/theia-ide/typescript-language-server/compare/v0.3.3...v0.3.4
542
+ [0.3.3]: https://github.com/theia-ide/typescript-language-server/compare/v0.3.2...v0.3.3
543
+ [0.3.2]: https://github.com/theia-ide/typescript-language-server/compare/v0.3.1...v0.3.2
544
+ [0.3.1]: https://github.com/theia-ide/typescript-language-server/compare/961d937f3ee3ea6b68cb98a6c235c6beea5f2fa5...v0.3.1
545
+ [0.3.0]: https://github.com/theia-ide/typescript-language-server/compare/v0.2.0...961d937f3ee3ea6b68cb98a6c235c6beea5f2fa5
package/README.md CHANGED
@@ -209,7 +209,7 @@ interface UserPreferences {
209
209
  /**
210
210
  * Indicates whether imports should be organized in a case-insensitive manner.
211
211
  *
212
- * Default: `"auto"`.
212
+ * @default "auto".
213
213
  */
214
214
  organizeImportsIgnoreCase: "auto" | boolean;
215
215
  /**
@@ -218,7 +218,7 @@ interface UserPreferences {
218
218
  * [Unicode Collation Algorithm](https://unicode.org/reports/tr10/#Scope)) using rules associated with the locale
219
219
  * specified in {@link organizeImportsCollationLocale}.
220
220
  *
221
- * Default: `"ordinal"`.
221
+ * @default "ordinal".
222
222
  */
223
223
  organizeImportsCollation: "ordinal" | "unicode";
224
224
  /**
@@ -227,7 +227,7 @@ interface UserPreferences {
227
227
  *
228
228
  * This preference is ignored if {@link organizeImportsCollation} is not `"unicode"`.
229
229
  *
230
- * Default: `"en"`
230
+ * @default "en"
231
231
  */
232
232
  organizeImportsCollationLocale: string;
233
233
  /**
@@ -236,7 +236,7 @@ interface UserPreferences {
236
236
  *
237
237
  * This preference is ignored if {@link organizeImportsCollation} is not `"unicode"`.
238
238
  *
239
- * Default: `false`
239
+ * @default false
240
240
  */
241
241
  organizeImportsNumericCollation: boolean;
242
242
  /**
@@ -246,7 +246,7 @@ interface UserPreferences {
246
246
  *
247
247
  * This preference is ignored if {@link organizeImportsCollation} is not `"unicode"`.
248
248
  *
249
- * Default: `true`
249
+ * @default true
250
250
  */
251
251
  organizeImportsAccentCollation: boolean;
252
252
  /**
@@ -258,7 +258,7 @@ interface UserPreferences {
258
258
  * or if {@link organizeImportsIgnoreCase} is `"auto"` and the auto-detected case sensitivity is determined to be
259
259
  * case-insensitive.
260
260
  *
261
- * Default: `false`
261
+ * @default false
262
262
  */
263
263
  organizeImportsCaseFirst: "upper" | "lower" | false;
264
264
  providePrefixAndSuffixTextForRename: boolean;
@@ -273,6 +273,11 @@ interface UserPreferences {
273
273
  * @since 4.5.2
274
274
  * @default 'auto'
275
275
  */
276
+ /**
277
+ * @since 5.2.2
278
+ * @default true
279
+ */
280
+ interactiveInlayHints: true,
276
281
  jsxAttributeCompletionStyle: "auto" | "braces" | "none";
277
282
  displayPartsForJSDoc: boolean;
278
283
  generateReturnInDocTemplate: boolean;
@@ -309,6 +314,7 @@ From the `preferences` options listed above, this server explicilty sets the fol
309
314
  includeCompletionsWithObjectLiteralMethodSnippets: true,
310
315
  includeCompletionsWithInsertText: true,
311
316
  includeCompletionsWithSnippetText: true,
317
+ interactiveInlayHints: true,
312
318
  jsxAttributeCompletionStyle: "auto",
313
319
  providePrefixAndSuffixTextForRename: true,
314
320
  provideRefactorNotApplicableReason: true,