Skip to content

Commit

Permalink
[new release] ocaml-lsp-server, lsp and jsonrpc (1.14.2)
Browse files Browse the repository at this point in the history
CHANGES:

## Fixes

- Fix random requests failing after switching documents (ocaml/ocaml-lsp#904, fixes ocaml/ocaml-lsp#898)

- Do not offer related diagnostic information unless the user enables in client
  capabilities (ocaml/ocaml-lsp#905)

- Do not offer diagnostic tags unless the client supports them (ocaml/ocaml-lsp#909)

- Do not attach extra data to diagnostics unless the client supports this
  (ocaml/ocaml-lsp#910)

- Use /bin/sh instead of /bin/bash. This fixes ocamllsp on NixOS
  • Loading branch information
rgrinberg committed Nov 6, 2022
1 parent 245530a commit b4d3524
Show file tree
Hide file tree
Showing 3 changed files with 171 additions and 0 deletions.
48 changes: 48 additions & 0 deletions packages/jsonrpc/jsonrpc.1.14.2/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
opam-version: "2.0"
synopsis: "Jsonrpc protocol implemenation"
description: "See https://www.jsonrpc.org/specification"
maintainer: ["Rudi Grinberg <[email protected]>"]
authors: [
"Andrey Popp <[email protected]>"
"Rusty Key <[email protected]>"
"Louis Roché <[email protected]>"
"Oleksiy Golovko <[email protected]>"
"Rudi Grinberg <[email protected]>"
"Sacha Ayoun <[email protected]>"
"cannorin <[email protected]>"
"Ulugbek Abdullaev <[email protected]>"
"Thibaut Mattio <[email protected]>"
"Max Lantas <[email protected]>"
]
license: "ISC"
homepage: "https://github.com/ocaml/ocaml-lsp"
bug-reports: "https://github.com/ocaml/ocaml-lsp/issues"
depends: [
"dune" {>= "3.0"}
"ocaml" {>= "4.08"}
"odoc" {with-doc}
]
dev-repo: "git+https://github.com/ocaml/ocaml-lsp.git"
build: [
["dune" "subst"] {dev}
["ocaml" "unix.cma" "unvendor.ml"]
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@doc" {with-doc}
]
]
url {
src:
"https://github.com/ocaml/ocaml-lsp/releases/download/1.14.2/lsp-1.14.2.tbz"
checksum: [
"sha256=d51f8761a19b3cb183b390cc3778e69eb6453213263d41e017eb3ec8dcc85494"
"sha512=344abc7229b647b9a12d27113a76b3865eaaa122364a5f2aa5cd5d79a2114f662ad8e867dc831450415edc41dfa1634ea32094d802a04e5103336d511bb2005d"
]
}
x-commit-hash: "ca836e98a3c0e4fe3a91dea1ae7ee649c3a811ea"
59 changes: 59 additions & 0 deletions packages/lsp/lsp.1.14.2/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
opam-version: "2.0"
synopsis: "LSP protocol implementation in OCaml"
description: """

Implementation of the LSP protocol in OCaml. It is designed to be as portable as
possible and does not make any assumptions about IO.
"""
maintainer: ["Rudi Grinberg <[email protected]>"]
authors: [
"Andrey Popp <[email protected]>"
"Rusty Key <[email protected]>"
"Louis Roché <[email protected]>"
"Oleksiy Golovko <[email protected]>"
"Rudi Grinberg <[email protected]>"
"Sacha Ayoun <[email protected]>"
"cannorin <[email protected]>"
"Ulugbek Abdullaev <[email protected]>"
"Thibaut Mattio <[email protected]>"
"Max Lantas <[email protected]>"
]
license: "ISC"
homepage: "https://github.com/ocaml/ocaml-lsp"
bug-reports: "https://github.com/ocaml/ocaml-lsp/issues"
depends: [
"dune" {>= "3.0"}
"jsonrpc" {= version}
"yojson"
"ppx_yojson_conv_lib" {>= "v0.14"}
"cinaps" {with-test}
"menhir" {>= "20211230" & with-test}
"ppx_expect" {>= "v0.15.0" & with-test}
"uutf" {>= "1.0.2"}
"odoc" {with-doc}
"ocaml" {>= "4.12"}
]
dev-repo: "git+https://github.com/ocaml/ocaml-lsp.git"
build: [
["dune" "subst"] {dev}
["ocaml" "unix.cma" "unvendor.ml"]
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@doc" {with-doc}
]
]
url {
src:
"https://github.com/ocaml/ocaml-lsp/releases/download/1.14.2/lsp-1.14.2.tbz"
checksum: [
"sha256=d51f8761a19b3cb183b390cc3778e69eb6453213263d41e017eb3ec8dcc85494"
"sha512=344abc7229b647b9a12d27113a76b3865eaaa122364a5f2aa5cd5d79a2114f662ad8e867dc831450415edc41dfa1634ea32094d802a04e5103336d511bb2005d"
]
}
x-commit-hash: "ca836e98a3c0e4fe3a91dea1ae7ee649c3a811ea"
64 changes: 64 additions & 0 deletions packages/ocaml-lsp-server/ocaml-lsp-server.1.14.2/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
opam-version: "2.0"
synopsis: "LSP Server for OCaml"
description: "An LSP server for OCaml."
maintainer: ["Rudi Grinberg <[email protected]>"]
authors: [
"Andrey Popp <[email protected]>"
"Rusty Key <[email protected]>"
"Louis Roché <[email protected]>"
"Oleksiy Golovko <[email protected]>"
"Rudi Grinberg <[email protected]>"
"Sacha Ayoun <[email protected]>"
"cannorin <[email protected]>"
"Ulugbek Abdullaev <[email protected]>"
"Thibaut Mattio <[email protected]>"
"Max Lantas <[email protected]>"
]
license: "ISC"
homepage: "https://github.com/ocaml/ocaml-lsp"
bug-reports: "https://github.com/ocaml/ocaml-lsp/issues"
depends: [
"dune" {>= "3.0"}
"yojson"
"re" {>= "1.5.0"}
"ppx_yojson_conv_lib" {>= "v0.14"}
"dune-rpc" {>= "3.4.0"}
"chrome-trace" {>= "3.3.0"}
"dyn"
"stdune"
"fiber" {>= "3.1.1"}
"xdg"
"ordering"
"dune-build-info"
"spawn"
"ocamlc-loc" {>= "3.5.0"}
"omd" {>= "1.3.2" & < "2.0.0~alpha1"}
"octavius" {>= "1.2.2"}
"uutf" {>= "1.0.2"}
"pp" {>= "1.1.2"}
"csexp" {>= "1.5"}
"ocamlformat-rpc-lib" {>= "0.21.0"}
"odoc" {with-doc}
"ocaml" {>= "4.14" & < "4.15"}
]
dev-repo: "git+https://github.com/ocaml/ocaml-lsp.git"
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-j"
jobs
"ocaml-lsp-server.install"
"--release"
]
]
url {
src:
"https://github.com/ocaml/ocaml-lsp/releases/download/1.14.2/lsp-1.14.2.tbz"
checksum: [
"sha256=d51f8761a19b3cb183b390cc3778e69eb6453213263d41e017eb3ec8dcc85494"
"sha512=344abc7229b647b9a12d27113a76b3865eaaa122364a5f2aa5cd5d79a2114f662ad8e867dc831450415edc41dfa1634ea32094d802a04e5103336d511bb2005d"
]
}
x-commit-hash: "ca836e98a3c0e4fe3a91dea1ae7ee649c3a811ea"

0 comments on commit b4d3524

Please sign in to comment.