Thicket thicket
ocaml
REPOS 27

W50.2024 · 9–15 DecAll

Merlin gains OCaml 5.3.0 support, and ocaml-lsp 1.20.1 disables the Jump code action by default to eliminate ~2 s codeAction latency. Odoc renames the --escape driver option to --home-breadcrumb, requiring script updates.

Features

  • Merlin vim plugin: adds :MerlinSearchType for type-based value search in the completion menu. :MerlinSearch now switches polarity/type search by first query character. (#1846, merged)
  • Odoc: Sherlodoc is now maintained in the Odoc repository and released with the same version numbers, replacing the separate sherlodoc package. (#1263)
  • Odoc suppress-warnings flag: new --suppress-warnings option marks documentation elements as not raising warnings, preventing dependency or functor-expansion warnings from leaking into package API docs. (#1260)
  • Odoc driver: JSON output is generated only when --generate-json is passed, reducing build time for users who do not need it. Also fixes incorrect generation-count reporting. (#1262)
  • ocaml-lsp: merged a new server option that suppresses the default hover response, letting clients provide alternative tooltip content. First consumer is the vscode-ocaml-platform extension. (#1416)

Fixes

  • ocaml-lsp 1.20.1: the Jump code action is disabled by default to eliminate ~2 s codeAction latency. Clients can re-enable it explicitly or use the custom request. (#1410)
  • Js_of_ocaml Dom_html: mouse-event properties updated from int to float; IE-era optdef stubs removed. Closed as fixed. (#1719)
  • Merlin (oxcaml): adds flambda flags introduced between 5.1.1minus-24 and 5.2.0minus-4 to the ignored-parameters list, preventing forwarding of unrecognized options to the compiler. Merged 2024-12-09. (#121)

Compatibility and Releases

  • Merlin: adds OCaml 5.3.0 support, including removal of the unused Btype.print_raw forward declaration. (#1850, merged)
  • Odoc home-breadcrumb option: the driver option previously named --escape is renamed to --home-breadcrumb. Scripts using the old name must be updated. (#1258)
  • opam-repository dream-httpaf: dream-httpaf >= 1.0.0~alpha5 renames dream-httpaf.websocketaf to dream-httpaf.dream-websocketaf, breaking all dream alpha builds. Only alpha4 is available. (#27062)
  • Eio (proposal): proposes Stream.add_nonblocking, Stream.capacity, and Stream.is_full for non-blocking stream operations from C callbacks. Addresses fiber-yield-in-async-callback raising Effect.Unhandled. (#790, open)