./devel/hs-lsp, Haskell library for the Microsoft Language Server Protocol

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.7.0.1nb1, Package name: hs-lsp-2.7.0.1nb1, Maintainer: pkgsrc-users

An implementation of the types, and basic message server to allow language
implementors to support the Language Server Protocol for their specific
language.

An example of this is for Haskell via the Haskell Language Server,
at https://github.com/haskell/haskell-language-server


Master sites:

Filesize: 42.296 KB

Version history: (Expand)


CVS history: (Expand)


   2025-02-02 14:06:08 by Masatake Daimon | Files touched by this commit (1173)
Log message:
Bump all Haskell packages after switching the default compiler.
   2025-01-31 10:56:22 by Masatake Daimon | Files touched by this commit (5) | Package updated
Log message:
devel/hs-lsp: update to lsp-2.7.0.1

## 2.7.0.1 -- 2024-12-31

- Relax dependency version bounds

## 2.7.0.0 -- 2024-06-06

- Drop dependency on `uuid` and `random`
- Fix handling of `rootPath` in `intializeParams`
- Update to newer `lsp-types`

## 2.6.0.0

- Progress reporting now has a configurable start delay and update delay. This allows
  servers to set up progress reporting for any operation and not worry about spamming
  the user with extremely short-lived progress sessions.
   2024-05-09 03:32:57 by Masatake Daimon | Files touched by this commit (1137)
Log message:
Recursive revbump after changing the default Haskell compiler
   2024-05-04 09:04:16 by Masatake Daimon | Files touched by this commit (4)
Log message:
devel/hs-lsp: Update to 2.5.0.0

2.5.0.0

    The server will now reject messages sent after shutdown has been received.
    There is a shutdownBarrier member in the server state which can be used to \ 
conveniently run actions when shutdown is triggered.

2.4.0.0

    Server-created progress now will not send reports until and unless the \ 
client confirms the progress token creation.
    Progress helper functions now can take a progress token provided by the \ 
client, so client-initiated progress can now be supported properly.
    The server options now allow the user to say whether the server should \ 
advertise support for client-initiated progress or not.
    The server now dynamically registers for workspace/didChangeConfiguration \ 
notifications, to ensure that newer clients continue to send them.
    Removed getCompletionPrefix from the VFS module. This is specific to \ 
completing Haskell identifiers and doesn't belong here. It has already been \ 
moved to ghcide some time ago.

2.3.0.0

    Fix inference of server capabilities for newer methods (except notebook methods).
    VFS no longer requires IO to initialize, functions that wrote to a temporary \ 
directory now take the directory as an argument.
   2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141)
Log message:
Revbump all Haskell after updating lang/ghc96
   2023-10-31 05:21:35 by Masatake Daimon | Files touched by this commit (4)
Log message:
devel/hs-lsp: Update to 2.2.0.0

2.2.0.0
* Many changes relating to client configuration
  - lsp now sends workspace/configuration requests in response to
    intialized and workspace/didChangeConfiguration requests. It still
    attempts to parse configuration from intializationOptions and
    workspace/didChangeConfiguration as a fallback.
  - Servers must provide a configuration section for use in
    workspace/configuration.
  - parseConfig will now be called on the object corresponding to the
    configuration section, not the whole object.
  - New callback for when configuration changes, to allow servers to react.
* The logging of messages sent by the protocol has been disabled, as this
  can prove troublesome for servers that log these to the client:
  https://github.com/haskell/lsp/issues/447

2.1.0.0
* Fix handling of optional methods.
* staticHandlers now takes the client capabilities as an argument. These
  are static across the lifecycle of the server, so this allows a server to
  decide at construction e.g. whether to provide handlers for resolve
  methods depending on whether the client supports it.

2.0.0.0
* Support lsp-types-2.0.0.0.
   2023-10-09 06:55:01 by Masatake Daimon | Files touched by this commit (988)
Log message:
Bump Haskell packages after updating lang/ghc94
   2023-01-30 04:56:55 by Masatake Daimon | Files touched by this commit (4)
Log message:
devel/hs-lsp: Update to 1.6.0.0

1.6.0.0
* Pinned to lsp-types 1.6
* Tests moved to lsp-types

1.5.0.0
* VFS module moved to lsp from lsp-types.
* Logging reworked to use co-log-core instead of hslogger.