Skip to content

Commit

Permalink
Add release dates to changelog of lsp-types; CI bumps (#537)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
andreasabel authored Dec 4, 2023
1 parent 9bab6d1 commit c92e6fe
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 30 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Haskell CI

on:
on:
push:
branches:
- master
Expand All @@ -21,10 +21,10 @@ jobs:
os: [ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Haskell toolchain
uses: haskell/actions/setup@v2
uses: haskell-actions/setup@v2
id: setup
with:
ghc-version: ${{ matrix.ghc-version }}
Expand Down
58 changes: 31 additions & 27 deletions lsp-types/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,32 @@

- Require aeson 2

## 2.1.0.0
## 2.1.0.0 -- 2023-11-13

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

## 2.0.2.0
## 2.0.2.0 -- 2023-08-24

- Add `Language.LSP.Protocol.Utils.Misc.prettyJSON :: Value -> Doc ann` for prettyprinting JSON,
- Add `Language.LSP.Protocol.Utils.Misc.prettyJSON :: Value -> Doc ann` for prettyprinting JSON,
and `ViaJSON` as a deriving-via newtype wrapper for it.
- Generate `Pretty` instances for all LSP types using `ViaJSON`.

## 2.0.1.1
## 2.0.1.1 -- 2023-08-08

* Fix parsing of notifications with missing params

## 2.0.1.0
## 2.0.1.0 -- 2023-07-14

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

## 2.0.0.1
## 2.0.0.1 -- 2023-06-16

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

## 2.0.0.0
## 2.0.0.0 -- 2023-06-14

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

## 1.6.0.0
## 1.6.0.1 -- 2023-12-02

* Add `LANGUAGE DuplicateRecordFields` to facilitate building with GHC 9.8

## 1.6.0.0 -- 2022-09-13

* Add `isSubRangeOf` and `positionInRange` helper functions
* Add `ServerCancelled`, `RequestFailed` and `ErrorCodeCustom` server error types
* Fix "workspace/semanticTokens/refresh" to be a server method instead of a client method
* Use a packed representation for `NormalizedFilePath`
* Add conversions from `OsPath` to `NormalizedFilePath` in `Language.LSP.Types.Uri.OsPath` when using new enough `filepath`
## 1.5.0.0

## 1.5.0.0 -- 2022-06-20

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

## 1.4.0.1
## 1.4.0.1 -- 2022-01-20

* Fix result type of selection range requests.

## 1.4.0.0
## 1.4.0.0 -- 2021-12-28

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

## 1.3.0.1
## 1.3.0.1 -- 2021-08-06

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

## 1.3.0.0
## 1.3.0.0 -- 2021-07-31

* Intern NormalizedFilePaths (#340) (@pepeiborra)

## 1.2.0.1
## 1.2.0.1 -- unpublished

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

## 1.2.0.0
## 1.2.0.0 -- 2021-03-28

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

## 1.1.0.0
## 1.1.0.0 -- 2021-02-14

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

## 1.0.0.0
## 1.0.0.0 -- 2020-10-15

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

## 0.23.0.0
## 0.23.0.0 -- 2020-10-05

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

## 0.22.0.0
## 0.22.0.0 -- 2020-05-04

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

## 0.21.0.0
## 0.21.0.0 -- 2020-03-21

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

## 0.20.0.0
## 0.20.0.0 -- 2020-02-04T

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

* Add types for `window/progress` notifications.

## 0.8.3.0
## 0.8.3.0 -- unpublished

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

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

## 0.3.0.0
## 0.3.0.0 -- unpublished

* Handle TextDocumentSync fallbacks with new TDS type.

## 0.2.3.0
## 0.2.3.0 -- unpublished

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

0 comments on commit c92e6fe

Please sign in to comment.