Skip to content

Releases: ocaml/ocaml-lsp

1.14.1

21 Oct 00:29
5e6b3c9
Compare
Choose a tag to compare

CHANGES:

Fixes

  • Fix various server crashes when opening non OCaml/Reason files. Files such as
    dune, cram, etc. would cause the server to crash. (#884, fixes #871)

  • Ignore unknown tags in merlin configuration to improve forward compatibility
    with Dune. (#883)

1.14.0

15 Oct 01:17
Compare
Choose a tag to compare

CHANGES:

Features

  • Code action for inlining let bindings within a module or expression. (#847)

  • Tag "unused code" and "deprecated" warnings, allowing clients to better
    display them. (#848)

  • Refresh merlin configuration after every dune build in watch mode (#853)

Fixes

  • Respect showDocument capabilities. Do not offer commands or code actions
    that rely on this request without client support. (#836)

  • Fix signatureHelp on .mll files: avoid "Document.dune" exceptions

1.13.1

27 Jul 19:34
Compare
Choose a tag to compare

CHANGES:

Fixes

  • Fix cwd when executing ppx (#805)

1.13.0

27 Jul 16:59
Compare
Choose a tag to compare

CHANGES:

Features

  • Code actions for jumping to related files (.ml, .mli, etc.) (#795)

1.12.4

15 Jul 23:37
Compare
Choose a tag to compare

CHANGES:

  • Allow cancellation of workspace symbols requests (#777)

  • Fix unintentionally interleaved jsonrpc IO that would corrupt the session
    (#786)

  • Ignore SIGPIPE . (#788)

1.12.3

07 Jul 00:18
Compare
Choose a tag to compare

CHANGES:

Fixes

  • Fix a bad interaction between inferred interfaces and promotion code actions
    in watch mode (#753)

  • Fix URI parsing (#739 fixes #471 and #459)

1.12.2

24 Jun 23:05
Compare
Choose a tag to compare

CHANGES:

Fixes

  • Fix shutting down an already closed socket (#740)

1.12.1

23 Jun 15:27
Compare
Choose a tag to compare

CHANGES:

Fixes

  • Fix preprocessing, ppx, and reason support (#735 fixes #696, #706)

  • Support include in folding ranges (#730)

1.12.0

20 Jun 18:41
Compare
Choose a tag to compare

CHANGES:

Features

  • Fix cancellation mechanism for all requests (#707)

  • Allow cancellation of formatting requests (#707)

  • Add --fallback-read-dot-merlin to the LSP Server (#705). If ocamllsp is
    started with this new flag, it will fall back to looking for Merlin
    configuration in .merlin files rather than calling dune ocaml-merlin.
    (#705)

  • Support folding more ranges (#692)

1.11.6

19 May 22:36
Compare
Choose a tag to compare

CHANGES:

  • Stop leaking file descriptors like a sieve (#701)