Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
7 active · 2 unchanged
ocaml/dune
PermalinkFeatures
-
dune completion bash|zsh|powershellnow generates shell completion scripts for subcommands and flags. Merged in #14779. Follow-up issues track target,promote,runtest,exec, and fish completions (#126, #15335, #15336, #15334). -
Timed-out cram tests now display partial output up to the point of failure instead of only an error message. Merged in #15269, closing #12343.
-
Per-module library dependency filtering is under review in #14492. A consumer module's compile rule will see only the artefacts of libraries it references, reducing unnecessary recompilation on incremental builds.
Compatibility and Releases
-
Melange upgraded to v7-54 in the test suite; the earlier cap at
< 7.0(#15322) was lifted once cram expectations were updated. Merged in #15367. -
dune install --prefixdirectory-layout behaviour (opam-styleman → <prefix>/man,--prefixoverriding./configure) is now documented with an FHS recipe using explicit--mandir/--docdirflags. Merged in #15306, closing #5733.
Fixes
-
dune build --auto-promote(anddune fmt) now exits 0 when all diffs are successfully promoted, removing the need for|| truewrappers. Merged in #15284, fixing #785. Non-promotable diffs still exit non-zero. -
Watch mode now debounces file-watcher events with a short quiet period before starting a rebuild, preventing editor save sequences (delete/create) from triggering spurious "Source files changed" restarts. Merged in #15344, closing #11134.
-
andandorinenabled_ifboolean expressions now short-circuit instead of eagerly evaluating both sides. Merged in #15291. -
Odoc and sherlodoc actions now run under sandboxing with declared hidden dependencies for include directories. Merged in #15190. HTML and JSON doc rules now always run together as a side effect.
-
dune cleanwill accept source directories (e.g.dune clean foo) in addition to build-directory paths. Open in #15305, fixing #2288.
ocaml/merlin
PermalinkCompatibility and Releases
Fixes
- Renaming a type in a signature does not propagate to the implementation in the same file; the occurrences command omits the implementation side. Open bug. (#2084)
- Error messages are truncated in Emacs + Merlin on OCaml 5.04; discussion identifies
merlin.elas the truncation point and notes the same issue inocaml-eglot. Open. (#2080) - ppx expressions (e.g.
ppx_blob) report file-not-found errors in the LSP thatdune builddoes not; root cause identified as Merlin starting ppxes from the source root rather than_build/default. Open. (#2082) - Issue #1965 (error discrepancy between dune and ocaml-lsp) closed 2026-06-22 as a duplicate of #2082.
ocaml/ocaml-lsp
PermalinkFeatures
Compatibility and Releases
Fixes
- Type-signature display now defaults to
real_paths = true, matching the compiler's output when-short-pathsis absent. Previously the LSP always applied short paths, making aliased types unreadable. (#1579, by SkySkimmer; closes #1395) - Compatibility with upcoming Dune versions is restored by removing a dependency on the
Stdune.Pidmodule. (release notes)
ocaml/ocamlfind
PermalinkCompatibility and Releases
- #115 (open, updated 2026-06-23):
ocamlfind ocamlc/ocamloptemits a duplicate "Cannot read directory …/stublibs" warning under OCaml 5.5. No fix merged; comments in the thread are undated, so the specific in-interval activity cannot be established from the supplied data.
ocaml/odoc
PermalinkFixes
- #1450 (opened, ongoing):
odoc_driverresolves cross-library references to the wrong sibling when two libraries expose same-named modules (e.g.eliom.client/eliom.server). Automatic API links in client docs point to server definitions. No fix merged; discussion in progress.
ocaml/opam
PermalinkFeatures
- Merged:
opam update/opam initnow read HTTP repository archives via theocaml-tarlibrary instead of invoking the externaltartool, eliminating a full untar step. Part of the #6625 performance rework. (#6945) - Merged: A conditional hard-upgrade mechanism for the opam root is added, so the 2.6 repository-format migration triggers a full reinit only for affected users. (#6949)
- Opened:
opam source --devandopam sourceshould skip opam-specific git configuration (e.g.--depth=1); afull_fetchparameter is introduced toVCS.init. (#6955)
Compatibility and Releases
- Opened: After upgrading opam (e.g. 2.5.0 → 2.5.1), stale
~/.opam/repo/state*.cachefiles causeopam list --safeto exceed 2 s, slowing Emacs/IDE startup. A warning and shell-hook auto-refresh are proposed. (#6975) - Opened:
opam switch importdoes not restore the switch invariant (e.g.ocaml-base-compilerpin), which is a critical part of switch state. (#6982)
Fixes
- Merged:
opam config substnow handles absolute paths correctly; previously it misinterpreted the path as a basename. (#6936) - Merged: A lock-file filter referencing an undefined variable no longer crashes; the error is reported gracefully in strict mode and ignored in normal mode. (#6947)
- Opened: On Windows,
opam install dir/*.opamrejects/as a directory separator. A fix to the filename validation is proposed. (#6981, #6940) - Opened:
opamfails when the git repository is owned by another local user (e.g. CI running as non-root). A fix addsgit -c safe.directory=<dir>. (#6980, #6963)
ocsigen/js_of_ocaml
PermalinkFeatures
- Merged:
Js_of_ocaml.NotificationandJs_of_ocaml.Clipboardbindings added, with Promise-typed methods andis_supported()probes. (#2379) - Merged:
Js_of_ocaml.Cryptobindings for the Web Crypto API, includingSubtleCrypto, typed key enums, and overloadedgenerateKey/importKey/exportKeymethods. (#2380) - Merged:
Lwt_js_events.mutationandLwt_js_events.mutationsprovide Lwt-friendly MutationObserver awaiting; closes #250. (#2376) - Opened: bindings for Service Worker (both sides), MessageChannel/MessagePort, and Cache/CacheStorage APIs. Merge landed 2026-06-29, just after this interval. (#2381)
- Opened: toplevel
WrappedAPI (structured error/warning results) andAsyncsublibrary running the toplevel in a Web Worker. Merged 2026-07-01. (#2377)
Fixes
- Merged:
wasm_of_ocamlruntime build now takes the basename of dune-expanded.watpaths before stripping the suffix, fixing a break with dune ≥ 3.24. (#2371)
Compatibility and Releases
- Merged:
js_of_ocaml-lwt.logger(thelwt_log_jslibrary) removed; thelwt_logoptional dependency is dropped fromjs_of_ocaml-lwt.opam. Users of that logger must migrate. (#2378) - Merged: in-tree
ppx_expect_lightreplaces theppx_expectdependency; per-backend/version test gating moves from duneenabled_ifinto[@when]/[@@@if]annotations in test sources. (#2369)