Skip to content

Commit ed13637

Browse files
authored
Prepare release for lsp-test, lsp and lsp-types (#634)
Fix `cabal check` output for all packages. Relax dependency constraints. Update ChangeLogs for all packages.
1 parent 0be36d4 commit ed13637

7 files changed

Lines changed: 52 additions & 28 deletions

File tree

cabal.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
index-state: 2025-07-18T00:00:00Z
1+
index-state: 2026-02-13T00:00:00Z
22

33
packages:
44
./lsp

lsp-test/ChangeLog.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Revision history for lsp-test
22

3+
## 0.18.0.0 -- 2026-02-14
4+
5+
- Add a context parameter for getSignatureHelp
6+
- Add signature help request
7+
- Add workspace symbol request
8+
- Relax dependency version bounds
9+
- Expose resolveCompletion helper
10+
311
## 0.17.1.1 -- 2024-12-31
412

513
- Relax dependency version bounds
@@ -20,7 +28,7 @@
2028

2129
- `ignoreRegistrationRequests` option to ignore `client/registerCapability` requests, on
2230
by default.
23-
- New functions `setIgnoringRegistrationRequests` to change whether such messages are
31+
- New functions `setIgnoringRegistrationRequests` to change whether such messages are
2432
ignored during a `Session` without having to change the `SessionConfig`.
2533
- `lsp-test` will no longer send `workspace/didChangConfiguration` notifications unless
2634
the server dynamically registers for them.
@@ -60,7 +68,7 @@
6068

6169
* Compatibility with new `lsp-types` major version.
6270

63-
## 0.14.0.2
71+
## 0.14.0.2
6472

6573
* Compatibility with new `lsp-types` major version.
6674

lsp-test/lsp-test.cabal

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.4
22
name: lsp-test
3-
version: 0.17.1.1
3+
version: 0.18.0.0
44
synopsis: Functional test framework for LSP servers.
55
description:
66
A test framework for writing tests against
@@ -22,9 +22,10 @@ bug-reports: https://github.com/haskell/lsp/issues
2222
copyright: 2021 Luke Lau
2323
category: Testing
2424
build-type: Simple
25-
extra-source-files:
25+
extra-doc-files:
2626
ChangeLog.md
2727
README.md
28+
extra-source-files:
2829
test/data/**/*.hs
2930

3031
source-repository head
@@ -55,7 +56,7 @@ library
5556
, co-log-core ^>=0.3
5657
, conduit ^>=1.3
5758
, conduit-parse ^>=0.2
58-
, containers >=0.6 && < 0.8
59+
, containers >=0.6 && < 0.9
5960
, data-default >=0.7 && < 0.9
6061
, Diff >=0.4 && <1.1
6162
, directory ^>=1.3
@@ -65,14 +66,14 @@ library
6566
, Glob >=0.9 && <0.11
6667
, lens >=5.1 && <5.4
6768
, lens-aeson ^>=1.2
68-
, lsp ^>=2.7
69-
, lsp-types ^>=2.3
69+
, lsp ^>=2.8
70+
, lsp-types ^>=2.4
7071
, mtl >=2.2 && <2.4
7172
, parser-combinators ^>=1.3
7273
, process ^>=1.6
7374
, some ^>=1.0
7475
, text >=1 && <2.2
75-
, time >=1.10 && <1.15
76+
, time >=1.10 && <1.16
7677
, transformers >=0.5 && <0.7
7778

7879
if os(windows)

lsp-types/ChangeLog.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
# Revision history for lsp-types
22

3-
## Unreleased
3+
## 2.4.0.0 -- 2026-02-14
44

55
- export `emptyNormalizedUri` from `Language.LSP.Protocol.Types.Uri`
6+
- Relax dependency version bounds
67

78
## 2.3.0.1 -- 2024-12-31
89

910
- Relax dependency version bounds
10-
11+
1112
## 2.3.0.0 -- 2024-06-06
1213

1314
- Add support for identifying client and server capabilities associated with a method.

lsp-types/lsp-types.cabal

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 3.0
22
name: lsp-types
3-
version: 2.3.0.1
3+
version: 2.4.0.0
44
synopsis:
55
Haskell library for the Microsoft Language Server Protocol, data types
66

@@ -16,10 +16,11 @@ maintainer: alan.zimm@gmail.com
1616
copyright: Alan Zimmerman, 2016-2021
1717
category: Development
1818
build-type: Simple
19-
extra-source-files:
19+
extra-doc-files:
2020
ChangeLog.md
21-
metaModel.json
2221
README.md
22+
extra-source-files:
23+
metaModel.json
2324

2425
source-repository head
2526
type: git
@@ -65,7 +66,7 @@ library
6566
, aeson >=2 && <2.3
6667
, base >=4.11 && <5
6768
, binary ^>=0.8
68-
, containers >=0.6 && < 0.8
69+
, containers >=0.6 && < 0.9
6970
, data-default >=0.7 && < 0.9
7071
, deepseq >=1.4 && <1.6
7172
, Diff >=0.4 && <1.1
@@ -81,7 +82,7 @@ library
8182
, row-types ^>=1.0
8283
, safe ^>=0.3
8384
, some ^>=1.0
84-
, template-haskell >=2.7 && <2.24
85+
, template-haskell >=2.7 && <2.25
8586
, text >=1 && <2.2
8687

8788
-- This version of filepath comes with GHC 9.6, so
@@ -584,7 +585,7 @@ library metamodel
584585
, base >=4.11 && <5
585586
, file-embed ^>=0.0.15
586587
, lens >=5.1 && <5.4
587-
, template-haskell >=2.7 && <2.24
588+
, template-haskell >=2.7 && <2.25
588589
, text >=1 && <2.2
589590

590591
library lsp-types-quickcheck

lsp/ChangeLog.md

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Revision history for lsp
22

3+
## 2.8.0.0 -- 2026-02-14
4+
5+
- Fix link to swarm LSP server
6+
- Add support for FileOperationOptions
7+
- Replace forkIO with async for server listener
8+
- Graceful server exit
9+
- Add support for setting up language servers to use websockets
10+
- Allow flushing diagnostics by source and uri
11+
- Track closed files in the VFS
12+
- Track the languageId in Virtual File
13+
- Treat undefined and null initialization options the same way
14+
- Relax dependency version bounds
15+
316
## 2.7.0.1 -- 2024-12-31
417

518
- Relax dependency version bounds
@@ -24,13 +37,13 @@
2437

2538
## 2.4.0.0
2639

27-
- Server-created progress now will not send reports until and unless the client
40+
- Server-created progress now will not send reports until and unless the client
2841
confirms the progress token creation.
29-
- Progress helper functions now can take a progress token provided by the client,
42+
- Progress helper functions now can take a progress token provided by the client,
3043
so client-initiated progress can now be supported properly.
3144
- The server options now allow the user to say whether the server should advertise
3245
support for client-initiated progress or not.
33-
- The server now dynamically registers for `workspace/didChangeConfiguration`
46+
- The server now dynamically registers for `workspace/didChangeConfiguration`
3447
notifications, to ensure that newer clients continue to send them.
3548
- Removed `getCompletionPrefix` from the `VFS` module. This is specific to completing
3649
Haskell identifiers and doesn't belong here. It has already been moved to `ghcide`
@@ -52,13 +65,13 @@
5265
- `parseConfig` will now be called on the object corresponding to the configuration
5366
section, not the whole object.
5467
- New callback for when configuration changes, to allow servers to react.
55-
- The logging of messages sent by the protocol has been disabled, as this can prove
68+
- The logging of messages sent by the protocol has been disabled, as this can prove
5669
troublesome for servers that log these to the client: https://github.com/haskell/lsp/issues/447
5770

5871
## 2.1.0.0
5972

6073
* Fix handling of optional methods.
61-
* `staticHandlers` now takes the client capabilities as an argument.
74+
* `staticHandlers` now takes the client capabilities as an argument.
6275
These are static across the lifecycle of the server, so this allows
6376
a server to decide at construction e.g. whether to provide handlers
6477
for resolve methods depending on whether the client supports it.
@@ -235,10 +248,10 @@ can use the result returned from `doInitialize` to pass along the
235248
`LanguageContextEnv` needed to run an `LspT`, as well as anything else your
236249
monad needs.
237250
```haskell
238-
type
251+
type
239252
ServerDefinition { ...
240253
, doInitialize = \env _req -> pure $ Right env
241-
, interpretHandler = \env -> Iso
254+
, interpretHandler = \env -> Iso
242255
(runLspT env) -- how to convert from IO ~> m
243256
liftIO -- how to convert from m ~> IO
244257
}

lsp/lsp.cabal

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.2
22
name: lsp
3-
version: 2.7.0.1
3+
version: 2.8.0.0
44
synopsis: Haskell library for the Microsoft Language Server Protocol
55
description:
66
An implementation of the types, and basic message server to
@@ -18,7 +18,7 @@ maintainer: alan.zimm@gmail.com
1818
copyright: Alan Zimmerman, 2016-2021
1919
category: Development
2020
build-type: Simple
21-
extra-source-files:
21+
extra-doc-files:
2222
ChangeLog.md
2323
README.md
2424

@@ -59,7 +59,7 @@ library
5959
, base >=4.11 && <5
6060
, bytestring >=0.10 && <0.13
6161
, co-log-core ^>=0.3
62-
, containers >=0.6 && < 0.8
62+
, containers >=0.6 && < 0.9
6363
, data-default >=0.7 && < 0.9
6464
, directory ^>=1.3
6565
, exceptions ^>=0.10
@@ -68,7 +68,7 @@ library
6868
, hashable >=1.4 && < 1.6
6969
, lens >=5.1 && <5.4
7070
, lens-aeson ^>=1.2
71-
, lsp-types ^>=2.3
71+
, lsp-types ^>=2.4
7272
, mtl >=2.2 && <2.4
7373
, prettyprinter ^>=1.7
7474
, sorted-list >=0.2.1 && < 0.4

0 commit comments

Comments
 (0)