|
1 | 1 | # Revision history for lsp |
2 | 2 |
|
| 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 | + |
3 | 16 | ## 2.7.0.1 -- 2024-12-31 |
4 | 17 |
|
5 | 18 | - Relax dependency version bounds |
|
24 | 37 |
|
25 | 38 | ## 2.4.0.0 |
26 | 39 |
|
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 |
28 | 41 | 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, |
30 | 43 | so client-initiated progress can now be supported properly. |
31 | 44 | - The server options now allow the user to say whether the server should advertise |
32 | 45 | 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` |
34 | 47 | notifications, to ensure that newer clients continue to send them. |
35 | 48 | - Removed `getCompletionPrefix` from the `VFS` module. This is specific to completing |
36 | 49 | Haskell identifiers and doesn't belong here. It has already been moved to `ghcide` |
|
52 | 65 | - `parseConfig` will now be called on the object corresponding to the configuration |
53 | 66 | section, not the whole object. |
54 | 67 | - 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 |
56 | 69 | troublesome for servers that log these to the client: https://github.com/haskell/lsp/issues/447 |
57 | 70 |
|
58 | 71 | ## 2.1.0.0 |
59 | 72 |
|
60 | 73 | * 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. |
62 | 75 | These are static across the lifecycle of the server, so this allows |
63 | 76 | a server to decide at construction e.g. whether to provide handlers |
64 | 77 | 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 |
235 | 248 | `LanguageContextEnv` needed to run an `LspT`, as well as anything else your |
236 | 249 | monad needs. |
237 | 250 | ```haskell |
238 | | -type |
| 251 | +type |
239 | 252 | ServerDefinition { ... |
240 | 253 | , doInitialize = \env _req -> pure $ Right env |
241 | | -, interpretHandler = \env -> Iso |
| 254 | +, interpretHandler = \env -> Iso |
242 | 255 | (runLspT env) -- how to convert from IO ~> m |
243 | 256 | liftIO -- how to convert from m ~> IO |
244 | 257 | } |
|
0 commit comments