Tools covers builds, package management, editors, documentation and JavaScript compilation.
W50.2024 · 9–15 Dec/Tools
Features
Odoc: Sherlodoc is now maintained within the Odoc repository and released with the same version numbers, replacing the separate sherlodoc package. (#1263)
Odoc suppress-warnings flag: New --suppress-warnings flag marks documentation elements as not raising warnings, preventing dependency or functor-expansion warnings from leaking into a package's 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. (#1262)
Odoc sidebar: The sidebar is generated from a unified hierarchy of modules, pages, and sources; breadcrumbs and sidebar structure now correspond. (#1251)
ocaml-lsp: A new server option suppresses the default hover response, letting clients provide alternative tooltip content. First consumer is the vscode-ocaml-platform extension. (#1416)
Merlin vim plugin: Adds :MerlinSearchType for type-based value search; results appear in the completion menu. :MerlinSearch now switches between polarity and type search based on the first query character. (#1846)
Fixes
Js_of_ocaml Dom_html: Mouse-event properties updated from int to float; IE-era optdef stubs removed. (#1769)
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. (#1410)
Odoc remap mode: Fixes issues in remap mode. (#1265)
Compatibility and Releases
Js_of_ocaml: Minimum Node.js version documented as 16 (for require("node:fs") namespace imports); target ECMAScript features include globalThis, Object.assign, and spread syntax. (#1750)
Odoc: The driver option previously named --escape is renamed to --home-breadcrumb; scripts using the old name must be updated. (#1258)