Thicket thicket
ocaml
REPOS 9

Tools covers builds, package management, editors, documentation and JavaScript compilation.

W26.2026 · 22–28 Jun

Tools repository summaries

7 active · 2 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

  • dune completion bash|zsh|powershell now 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 --prefix directory-layout behaviour (opam-style man → <prefix>/man, --prefix overriding ./configure) is now documented with an FHS recipe using explicit --mandir/--docdir flags. Merged in #15306, closing #5733.

Fixes

  • dune build --auto-promote (and dune fmt) now exits 0 when all diffs are successfully promoted, removing the need for || true wrappers. 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.

  • and and or in enabled_if boolean 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 clean will accept source directories (e.g. dune clean foo) in addition to build-directory paths. Open in #15305, fixing #2288.

ocaml/merlin

Permalink

Compatibility and Releases

  • Release 5.8-505 (2026-06-23) adds OCaml 5.5 support, fixes signature-help with type aliases, and fixes locate on punned let bindings. (release, #2083, #2077)

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.el as the truncation point and notes the same issue in ocaml-eglot. Open. (#2080)
  • ppx expressions (e.g. ppx_blob) report file-not-found errors in the LSP that dune build does 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

Permalink

Features

  • OCaml LSP 1.27.0 upgrades the underlying compiler to OCaml 5.5. (#1609, release)

Compatibility and Releases

  • 1.27.0 released 2026-06-23. Requires OCaml 5.5. (release)
  • The short-paths fix is labelled consider-for-LTS and was tested against the 414-LTS branch. (#1579)

Fixes

  • Type-signature display now defaults to real_paths = true, matching the compiler's output when -short-paths is 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.Pid module. (release notes)

ocaml/ocamlfind

Permalink

Compatibility and Releases

  • #115 (open, updated 2026-06-23): ocamlfind ocamlc/ocamlopt emits 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

Permalink

Fixes

  • #1450 (opened, ongoing): odoc_driver resolves 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

Permalink

Features

  • Merged: opam update/opam init now read HTTP repository archives via the ocaml-tar library instead of invoking the external tar tool, 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 --dev and opam source should skip opam-specific git configuration (e.g. --depth=1); a full_fetch parameter is introduced to VCS.init. (#6955)

Compatibility and Releases

  • Opened: After upgrading opam (e.g. 2.5.0 → 2.5.1), stale ~/.opam/repo/state*.cache files cause opam list --safe to exceed 2 s, slowing Emacs/IDE startup. A warning and shell-hook auto-refresh are proposed. (#6975)
  • Opened: opam switch import does not restore the switch invariant (e.g. ocaml-base-compiler pin), which is a critical part of switch state. (#6982)

Fixes

  • Merged: opam config subst now 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/*.opam rejects / as a directory separator. A fix to the filename validation is proposed. (#6981, #6940)
  • Opened: opam fails when the git repository is owned by another local user (e.g. CI running as non-root). A fix adds git -c safe.directory=<dir>. (#6980, #6963)

ocsigen/js_of_ocaml

Permalink

Features

  • Merged: Js_of_ocaml.Notification and Js_of_ocaml.Clipboard bindings added, with Promise-typed methods and is_supported() probes. (#2379)
  • Merged: Js_of_ocaml.Crypto bindings for the Web Crypto API, including SubtleCrypto, typed key enums, and overloaded generateKey/importKey/exportKey methods. (#2380)
  • Merged: Lwt_js_events.mutation and Lwt_js_events.mutations provide 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 Wrapped API (structured error/warning results) and Async sublibrary running the toplevel in a Web Worker. Merged 2026-07-01. (#2377)

Fixes

  • Merged: wasm_of_ocaml runtime build now takes the basename of dune-expanded .wat paths before stripping the suffix, fixing a break with dune ≥ 3.24. (#2371)

Compatibility and Releases

  • Merged: js_of_ocaml-lwt.logger (the lwt_log_js library) removed; the lwt_log optional dependency is dropped from js_of_ocaml-lwt.opam. Users of that logger must migrate. (#2378)
  • Merged: in-tree ppx_expect_light replaces the ppx_expect dependency; per-backend/version test gating moves from dune enabled_if into [@when]/[@@@if] annotations in test sources. (#2369)
2 repositories · no changes