Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
5 active · 4 unchanged
ocaml/dune
PermalinkFeatures
Dune 3.21.0: released this week; the release tracker closed on 2026-01-21.
Dune pkg git pinning: dune pkg lock now records the resolved commit hash for git+ URLs in the lock file, making builds reproducible without re-fetching. Merged in #13297, closing #13110.
Dune pkg :with-test option: a new option skips building dependencies declared with :with-test, reducing build time for projects that do not need test-only packages. Merged in #13298.
OxCaml workspace and .cms support: two open PRs add (using oxcaml 0.1) to dune-workspace files (#13395) and compiler flags plus dependency tracking for OxCaml shape files (#13397).
Emacs dune-find-dominating: new command in dune.el jumps to the nearest enclosing dune file; supports xref-go-back. Merged in #12696.
Fixes
(select ..) closure evaluation: optional virtual-library implementations were incorrectly marked unavailable when a select branch referenced a missing library, breaking all MirageOS unikernels with lwt 6.0. Fixed in #13389 and #13406.
File-descriptor leak in package builds: missing O_CLOEXEC on redirect files caused "Too many open files" crashes during dune pkg builds. Fixed in #13385.
Windows PATH separator: the dune folder was appended with : instead of ; on Windows, breaking package builds that invoke tools from the dune directory. Fixed in #13405.
ocaml/merlin
PermalinkFeatures
- Merlin
locate-typesprotocol: Merged change adds anOthervariant so editors can render type variables (e.g.'ain'a t -> 'a) that are not jump-to-definition targets. Editors must handle the new variant. #2025 - Merlin
enclosingcommand: Open RFC proposes a-stopflag to request the smallest enclosing expression around a selection rather than a single point. Intended to improvelocate-typesandannotate-typefor multi-token expressions. #2029
Fixes
- Merlin record-field completion: Merged fix includes
for_completionin the reader-cache fingerprint, restoring field-name candidates after a dot that were previously suppressed by a stale cache hit. #2028 - Merlin
locate-types: Merged change strips theoptionwrapper from optional parameters, so?foo:intreports asintrather thanint option. #2027
Compatibility and Releases
- Merlin OCaml 5.5 support: Tracking issue opened for OCaml 5.5 compatibility; several large PRs are expected to land before the first alpha. #2024
ocaml/ocaml-lsp
PermalinkFeatures
-
ocaml-lsp (PR #1584, open): proposes a custom LSP request for
merlin-locate-types, returning a field set as a compact representation of reachable types. Link -
ocaml-lsp (PR #1583, open): proposes a custom LSP request for destructuring, replacing the code-action approach for triggering the command in ocaml-eglot. Link
ocaml/opam
PermalinkCompatibility and Releases
- opam (0install solver): the
builtin-0installsolver resolves bothi686andx86_64mingw variants (e.g.conf-mingw-w64-pcre2-i686alongsideconf-mingw-w64-pcre2-x86_64) where previously onlyx86_64was installed. SettingOPAMEXTERNALSOLVER=builtin-mccs+glpkavoids the duplicate resolution. Issue #6843 remains open.
Features
- opam documentation: PR #6846 (raphael-proust) proposes documenting raw-field syntax more prominently in the opam manual. The documentation change is approved; a separate test PR for
opam listoutput format is requested before merge. Still open.
ocsigen/js_of_ocaml
PermalinkFeatures
- js_of_ocaml: merges support for
import defer * as x from uin the JS parser. (#2147) - js_of_ocaml: merges handling of contextual keywords
yieldandawaitvia virtual tokens, avoiding a 3× parser size increase. (#2148) - js_of_ocaml (WASM): proposes bigstring optimizations reducing WASM runtime from 20 s to 13 s (Chromium) and 67 s to 18 s (Firefox). (#2144)
- js_of_ocaml: proposes Oxcaml backend support. (#2105)
- js_of_ocaml (WASM): proposes a WASI runtime via
wasm_of_ocaml --enable wasi, executable with Wizard or wasmtime. (#1831)