4
4
5
5
- Require aeson 2
6
6
7
- ## 2.1.0.0
7
+ ## 2.1.0.0 -- 2023-11-13
8
8
9
9
- Add ` dynamicRegistrationSupported ` to ` Capabilities ` .
10
10
- Fully update ` fullCaps ` for recent spec versions.
11
11
- Support GHC 9.8, drop checked support for GHC 8.10
12
12
13
- ## 2.0.2.0
13
+ ## 2.0.2.0 -- 2023-08-24
14
14
15
- - Add ` Language.LSP.Protocol.Utils.Misc.prettyJSON :: Value -> Doc ann ` for prettyprinting JSON,
15
+ - Add ` Language.LSP.Protocol.Utils.Misc.prettyJSON :: Value -> Doc ann ` for prettyprinting JSON,
16
16
and ` ViaJSON ` as a deriving-via newtype wrapper for it.
17
17
- Generate ` Pretty ` instances for all LSP types using ` ViaJSON ` .
18
18
19
- ## 2.0.1.1
19
+ ## 2.0.1.1 -- 2023-08-08
20
20
21
21
* Fix parsing of notifications with missing params
22
22
23
- ## 2.0.1.0
23
+ ## 2.0.1.0 -- 2023-07-14
24
24
25
25
* Removed deprecation pragmas from fields, as these cannot currently be avoided.
26
26
* Added ` isOptionalMethod ` , that checks whether a method is optional according to the spec.
27
27
28
- ## 2.0.0.1
28
+ ## 2.0.0.1 -- 2023-06-16
29
29
30
30
* Fixed missing ` extra-source-files ` for ` metamodel.json ` .
31
31
32
- ## 2.0.0.0
32
+ ## 2.0.0.0 -- 2023-06-14
33
33
34
34
* Breaking change: major restructure to generate types and methods from the LSP metamodel.
35
35
* Full support for version 3.17 of the LSP specification, many accuracy fixes
40
40
* Three top level modules: ` Types ` (main protocol types), ` Message ` (messages and methods), ` Capabilities ` (capabilities)
41
41
* New typeclasses for handling LSP enumerations: ` LspEnum ` and ` LspOpenEnum `
42
42
43
- ## 1.6.0.0
43
+ ## 1.6.0.1 -- 2023-12-02
44
+
45
+ * Add ` LANGUAGE DuplicateRecordFields ` to facilitate building with GHC 9.8
46
+
47
+ ## 1.6.0.0 -- 2022-09-13
44
48
45
49
* Add ` isSubRangeOf ` and ` positionInRange ` helper functions
46
50
* Add ` ServerCancelled ` , ` RequestFailed ` and ` ErrorCodeCustom ` server error types
47
51
* Fix "workspace/semanticTokens/refresh" to be a server method instead of a client method
48
52
* Use a packed representation for ` NormalizedFilePath `
49
53
* Add conversions from ` OsPath ` to ` NormalizedFilePath ` in ` Language.LSP.Types.Uri.OsPath ` when using new enough ` filepath `
50
-
51
- ## 1.5.0.0
54
+
55
+ ## 1.5.0.0 -- 2022-06-20
52
56
53
57
* VFS module moved from ` lsp-types ` to ` lsp ` , as it relates to the actual implementation of a LSP server.
54
58
55
- ## 1.4.0.1
59
+ ## 1.4.0.1 -- 2022-01-20
56
60
57
61
* Fix result type of selection range requests.
58
62
59
- ## 1.4.0.0
63
+ ## 1.4.0.0 -- 2021-12-28
60
64
61
65
* Aeson 2 compatibility (#360 ) (@michaelpj )
62
66
* Reduced dependency footprint (#383 , #384 ) (@Bodigrim )
66
70
* Fix the Semigroup instance for MarkupContent (#361 ) (@michaelpj )
67
71
* Various improvements to spec conformance (@michaelpj )
68
72
69
- ## 1.3.0.1
73
+ ## 1.3.0.1 -- 2021-08-06
70
74
71
75
* Rollback NFP interning (#344 ) (@pepeiborra )
72
76
73
- ## 1.3.0.0
77
+ ## 1.3.0.0 -- 2021-07-31
74
78
75
79
* Intern NormalizedFilePaths (#340 ) (@pepeiborra )
76
80
77
- ## 1.2.0.1
81
+ ## 1.2.0.1 -- unpublished
78
82
79
83
* Add compatibility with GHC 9.2 (#345 ) (@fendor )
80
84
* Fix missing lenses (@michaelpj )
84
88
* Do not crash on workspace/didChangeConfiguration (#321 ) (@strager )
85
89
* Improve error messages on JSON decode failures (#320 ) (@strager )
86
90
87
- ## 1.2.0.0
91
+ ## 1.2.0.0 -- 2021-03-28
88
92
89
93
* Prevent crashing when optional fields are missing (@anka-213 )
90
94
* Use StrictData (@wz1000 )
101
105
* Support change annotations (#302 ) (@michaelpj )
102
106
* Add some more missing lenses (#307 ) (@michaelpj )
103
107
104
- ## 1.1.0.0
108
+ ## 1.1.0.0 -- 2021-02-14
105
109
106
110
* Fix prepareRename reponse and prepareProvider (@kirelagin )
107
111
* Fix deriving instance of MonadUnliftIO (@banacorn )
@@ -134,7 +138,7 @@ type DocumentChange = TextDocumentEdit |? CreateFile |? RenameFile |? DeleteFile
134
138
* Use Text over String in more places (@ wz1000)
135
139
* Add missing lenses (@ wz1000, @ bubba )
136
140
137
- ## 1.0.0.0
141
+ ## 1.0.0.0 -- 2020-10-15
138
142
139
143
1.0 . 0.0 is a major rework with both internal and external facing changes, and
140
144
will require manual migration.
@@ -233,10 +237,10 @@ can use the result returned from `doInitialize` to pass along the
233
237
`LanguageContextEnv ` needed to run an `LspT `, as well as anything else your
234
238
monad needs.
235
239
```haskell
236
- type
240
+ type
237
241
ServerDefinition { ...
238
242
, doInitialize = \ env _req -> pure $ Right env
239
- , interpretHandler = \ env -> Iso
243
+ , interpretHandler = \ env -> Iso
240
244
(runLspT env) -- how to convert from IO ~> m
241
245
liftIO -- how to convert from m ~> IO
242
246
}
@@ -252,7 +256,7 @@ ServerDefinition { ...
252
256
5 . Remove any storage/use of ` LspFuncs ` and instead call the corresponding
253
257
functions directly from your monad instead of ` IO `
254
258
255
- ## 0.23.0.0
259
+ ## 0.23.0.0 -- 2020-10-05
256
260
257
261
* Add runWith for transporots other than stdio (@paulyoung )
258
262
* Fix race condition in event captures (@bgamari )
@@ -263,12 +267,12 @@ ServerDefinition { ...
263
267
NormalizedFilePath (@cocreature )
264
268
* Fix ordering of TH splices (@fendor )
265
269
266
- ## 0.22.0.0
270
+ ## 0.22.0.0 -- 2020-05-04
267
271
268
272
* ResponseMessage results are now an Either type (@greenhat )
269
273
* Support for GHC 8.10.1
270
274
271
- ## 0.21.0.0
275
+ ## 0.21.0.0 -- 2020-03-21
272
276
273
277
* Stop getCompletionPrefix from crashing if beforePos is empty
274
278
* Add DidChangeWatchedFilesRegistrationOptions
@@ -278,7 +282,7 @@ ServerDefinition { ...
278
282
* Correctly fix the problem with '$/' notifications
279
283
* Add azure ci
280
284
281
- ## 0.20.0.0
285
+ ## 0.20.0.0 -- 2020-02-04T
282
286
283
287
* Force utf8 encoding when writing vfs temp files
284
288
* Don't log errors for '$/' notifications (@jinwoo )
@@ -338,7 +342,7 @@ ServerDefinition { ...
338
342
339
343
* Add types for ` window/progress ` notifications.
340
344
341
- ## 0.8.3.0
345
+ ## 0.8.3.0 -- unpublished
342
346
343
347
* Add ` MarkupContent ` to ` HoverResponse ` , and (some) json roundtrip tests.
344
348
@@ -391,11 +395,11 @@ ServerDefinition { ...
391
395
* CodeAction support as per v3.8 of the specification, by @Bubba
392
396
* Update VersionedTextDocumentIdentifier to match specification, by @Bubba .
393
397
394
- ## 0.3.0.0
398
+ ## 0.3.0.0 -- unpublished
395
399
396
400
* Handle TextDocumentSync fallbacks with new TDS type.
397
401
398
- ## 0.2.3.0
402
+ ## 0.2.3.0 -- unpublished
399
403
400
404
* GHC 8.4.3 support
401
405
* Introduce additional error codes as per the LSP spec. By @Bubba
0 commit comments