Skip to content

Commit c92e6fe

Browse files
authored
Add release dates to changelog of lsp-types; CI bumps (#537)
* lsp-types/changelog: add 1.6.0.1 and missing dates of previous releases * lsp-types/changelog: add dates of version 2.* releases * Haskell CI: bump actions to latest versions
1 parent 9bab6d1 commit c92e6fe

File tree

2 files changed

+34
-30
lines changed

2 files changed

+34
-30
lines changed

.github/workflows/haskell.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Haskell CI
22

3-
on:
3+
on:
44
push:
55
branches:
66
- master
@@ -21,10 +21,10 @@ jobs:
2121
os: [ubuntu-latest, windows-latest]
2222

2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2525

2626
- name: Set up Haskell toolchain
27-
uses: haskell/actions/setup@v2
27+
uses: haskell-actions/setup@v2
2828
id: setup
2929
with:
3030
ghc-version: ${{ matrix.ghc-version }}

lsp-types/ChangeLog.md

Lines changed: 31 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,32 @@
44

55
- Require aeson 2
66

7-
## 2.1.0.0
7+
## 2.1.0.0 -- 2023-11-13
88

99
- Add `dynamicRegistrationSupported` to `Capabilities`.
1010
- Fully update `fullCaps` for recent spec versions.
1111
- Support GHC 9.8, drop checked support for GHC 8.10
1212

13-
## 2.0.2.0
13+
## 2.0.2.0 -- 2023-08-24
1414

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,
1616
and `ViaJSON` as a deriving-via newtype wrapper for it.
1717
- Generate `Pretty` instances for all LSP types using `ViaJSON`.
1818

19-
## 2.0.1.1
19+
## 2.0.1.1 -- 2023-08-08
2020

2121
* Fix parsing of notifications with missing params
2222

23-
## 2.0.1.0
23+
## 2.0.1.0 -- 2023-07-14
2424

2525
* Removed deprecation pragmas from fields, as these cannot currently be avoided.
2626
* Added `isOptionalMethod`, that checks whether a method is optional according to the spec.
2727

28-
## 2.0.0.1
28+
## 2.0.0.1 -- 2023-06-16
2929

3030
* Fixed missing `extra-source-files` for `metamodel.json`.
3131

32-
## 2.0.0.0
32+
## 2.0.0.0 -- 2023-06-14
3333

3434
* Breaking change: major restructure to generate types and methods from the LSP metamodel.
3535
* Full support for version 3.17 of the LSP specification, many accuracy fixes
@@ -40,23 +40,27 @@
4040
* Three top level modules: `Types` (main protocol types), `Message` (messages and methods), `Capabilities` (capabilities)
4141
* New typeclasses for handling LSP enumerations: `LspEnum` and `LspOpenEnum`
4242

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
4448

4549
* Add `isSubRangeOf` and `positionInRange` helper functions
4650
* Add `ServerCancelled`, `RequestFailed` and `ErrorCodeCustom` server error types
4751
* Fix "workspace/semanticTokens/refresh" to be a server method instead of a client method
4852
* Use a packed representation for `NormalizedFilePath`
4953
* 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
5256

5357
* VFS module moved from `lsp-types` to `lsp`, as it relates to the actual implementation of a LSP server.
5458

55-
## 1.4.0.1
59+
## 1.4.0.1 -- 2022-01-20
5660

5761
* Fix result type of selection range requests.
5862

59-
## 1.4.0.0
63+
## 1.4.0.0 -- 2021-12-28
6064

6165
* Aeson 2 compatibility (#360) (@michaelpj)
6266
* Reduced dependency footprint (#383, #384) (@Bodigrim)
@@ -66,15 +70,15 @@
6670
* Fix the Semigroup instance for MarkupContent (#361) (@michaelpj)
6771
* Various improvements to spec conformance (@michaelpj)
6872

69-
## 1.3.0.1
73+
## 1.3.0.1 -- 2021-08-06
7074

7175
* Rollback NFP interning (#344) (@pepeiborra)
7276

73-
## 1.3.0.0
77+
## 1.3.0.0 -- 2021-07-31
7478

7579
* Intern NormalizedFilePaths (#340) (@pepeiborra)
7680

77-
## 1.2.0.1
81+
## 1.2.0.1 -- unpublished
7882

7983
* Add compatibility with GHC 9.2 (#345) (@fendor)
8084
* Fix missing lenses (@michaelpj)
@@ -84,7 +88,7 @@
8488
* Do not crash on workspace/didChangeConfiguration (#321) (@strager)
8589
* Improve error messages on JSON decode failures (#320) (@strager)
8690

87-
## 1.2.0.0
91+
## 1.2.0.0 -- 2021-03-28
8892

8993
* Prevent crashing when optional fields are missing (@anka-213)
9094
* Use StrictData (@wz1000)
@@ -101,7 +105,7 @@
101105
* Support change annotations (#302) (@michaelpj)
102106
* Add some more missing lenses (#307) (@michaelpj)
103107

104-
## 1.1.0.0
108+
## 1.1.0.0 -- 2021-02-14
105109

106110
* Fix prepareRename reponse and prepareProvider (@kirelagin)
107111
* Fix deriving instance of MonadUnliftIO (@banacorn)
@@ -134,7 +138,7 @@ type DocumentChange = TextDocumentEdit |? CreateFile |? RenameFile |? DeleteFile
134138
* Use Text over String in more places (@wz1000)
135139
* Add missing lenses (@wz1000, @bubba)
136140

137-
## 1.0.0.0
141+
## 1.0.0.0 -- 2020-10-15
138142

139143
1.0.0.0 is a major rework with both internal and external facing changes, and
140144
will require manual migration.
@@ -233,10 +237,10 @@ can use the result returned from `doInitialize` to pass along the
233237
`LanguageContextEnv` needed to run an `LspT`, as well as anything else your
234238
monad needs.
235239
```haskell
236-
type
240+
type
237241
ServerDefinition { ...
238242
, doInitialize = \env _req -> pure $ Right env
239-
, interpretHandler = \env -> Iso
243+
, interpretHandler = \env -> Iso
240244
(runLspT env) -- how to convert from IO ~> m
241245
liftIO -- how to convert from m ~> IO
242246
}
@@ -252,7 +256,7 @@ ServerDefinition { ...
252256
5. Remove any storage/use of `LspFuncs` and instead call the corresponding
253257
functions directly from your monad instead of `IO`
254258

255-
## 0.23.0.0
259+
## 0.23.0.0 -- 2020-10-05
256260

257261
* Add runWith for transporots other than stdio (@paulyoung)
258262
* Fix race condition in event captures (@bgamari)
@@ -263,12 +267,12 @@ ServerDefinition { ...
263267
NormalizedFilePath (@cocreature)
264268
* Fix ordering of TH splices (@fendor)
265269

266-
## 0.22.0.0
270+
## 0.22.0.0 -- 2020-05-04
267271

268272
* ResponseMessage results are now an Either type (@greenhat)
269273
* Support for GHC 8.10.1
270274

271-
## 0.21.0.0
275+
## 0.21.0.0 -- 2020-03-21
272276

273277
* Stop getCompletionPrefix from crashing if beforePos is empty
274278
* Add DidChangeWatchedFilesRegistrationOptions
@@ -278,7 +282,7 @@ ServerDefinition { ...
278282
* Correctly fix the problem with '$/' notifications
279283
* Add azure ci
280284

281-
## 0.20.0.0
285+
## 0.20.0.0 -- 2020-02-04T
282286

283287
* Force utf8 encoding when writing vfs temp files
284288
* Don't log errors for '$/' notifications (@jinwoo)
@@ -338,7 +342,7 @@ ServerDefinition { ...
338342

339343
* Add types for `window/progress` notifications.
340344

341-
## 0.8.3.0
345+
## 0.8.3.0 -- unpublished
342346

343347
* Add `MarkupContent` to `HoverResponse`, and (some) json roundtrip tests.
344348

@@ -391,11 +395,11 @@ ServerDefinition { ...
391395
* CodeAction support as per v3.8 of the specification, by @Bubba
392396
* Update VersionedTextDocumentIdentifier to match specification, by @Bubba.
393397

394-
## 0.3.0.0
398+
## 0.3.0.0 -- unpublished
395399

396400
* Handle TextDocumentSync fallbacks with new TDS type.
397401

398-
## 0.2.3.0
402+
## 0.2.3.0 -- unpublished
399403

400404
* GHC 8.4.3 support
401405
* Introduce additional error codes as per the LSP spec. By @Bubba

0 commit comments

Comments
 (0)