Thicket thicket
ocaml
REPOS 9

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

W21.2026 · 18–24 May

Tools repository summaries

7 active · 2 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

  • Dune rev_store cache: enabled by default on 64-bit platforms, caching git ls-tree output in a versioned LMDB store under $DUNE_CACHE_ROOT/rev_store/. Benchmarks show 3–4× speedup on dune pkg lock for mid-size projects. #14494

  • Dune 3.24 Melange preprocess: new melange.preprocess and melange.preprocessor_deps fields on buildable stanzas, gated on (lang dune 3.24). Allows separate ppx/preprocessor configuration for Melange compilation. #14572

  • Dune 3.24 directory targets: promoted from experimental to stable. No behaviour change; the feature is now available without opt-in. #14579

  • Per-module library dependency filter: ongoing 9-layer PR reducing unnecessary recompilation by tracking per-module cross-library deps via ocamldep. Layers 2–3 merged; core BFS and filtered include flags still open. #14492

  • Dune action runners: open PR adding --action-runner and --sandbox-actions to run eligible actions in a bubblewrap-wrapped worker, protecting the shared cache from writes. Targeted for 3.24. #14240

Fixes

  • Dune profile name validation: profile names in (env ...) stanzas are now validated; invalid characters (e.g. * used in place of _) are rejected at parse time. #14657

  • Dune %{target} error message: the error for using %{target} in a rule without a (target ...) field now names the missing field instead of referencing "inferred rules." #14668

Compatibility and Releases

  • Dune 3.23.1: point release merged 2026-05-19, backporting fixes for OCaml < 4.14 support, dune build @doc with dune tools install odoc, and RPC forwarding errors. The OCaml lower bound is now 4.14 across all dune packages. #14442, #14611

ocaml/merlin

Permalink

Features

  • Merlin ocamlgrep (PR #2064): Open proposal adding a structural search subcommand. Scans project CMT files with type-annotated expression patterns and placeholders. Link
  • Merlin LRgrep errors (PR #2072): Open proposal to generate syntax error messages declaratively via LRgrep. Adds a make lrgrep-coverage target listing constructs lacking messages. Link

Compatibility and Releases

  • Merlin Nix and CONTRIBUTING (PR #2068): Merged update aligning Menhir version references from 20201216 to 20230608. No effect on CI, which uses pre-generated parsers. Link
  • Merlin OPAM package (PR #2069): Merged removal of outdated post-install instructions and improved package descriptions. Labeled "no changelog". Link

Fixes

  • Merlin PPX hash (PR #2070): Merged fix for PPX hash computation, described as preliminary. Labeled "no changelog". Link
  • Merlin signature-help (PR #2067): Open fix expanding type aliases once to determine function arity in signature help. Resolves issue #1927. Link
  • Merlin locate in let punnings (PR #2066): Open fix for locate returning "Already at definition point" in punned let bindings. Changes fold order so the expression is entered before the pattern. Link

Performance

  • Merlin indexer memory (PR #2050): Open proposal replacing the unbounded index hashtable with an LRU cache. Bounds memory by evicting least-recently-used entries. Link

ocaml/ocaml-lsp

Permalink

No user-facing changes, releases, or merged fixes fall within the 2026-05-18 to 2026-05-25 interval. The only records touching the window are an undated metadata update on ocaml-lsp issue #1605 (closed 2026-05-14, before the interval) and an open, automated flake.lock update PR #1437 (routine dependency pinning, not yet merged). Neither constitutes a released or merged change.

ocaml/ocamlfind

Permalink

Fixes

ocamlfind: Open issue reports compiler warning 58 (no-cmx-file) when linking Findlib in native mode; proposes installing .cmx files to suppress it. #117

ocaml/odoc

Permalink

Features

  • Odoc – OxCaml kind annotations: merged 2026-05-21, renders OxCaml kind annotations in generated documentation. #1410
  • Odoc – OxCaml modalities: open PR, adds rendering of OxCaml modality syntax in documentation output. #1420
  • Odoc – OxCaml zero-alloc annotations: open PR, retains [@@zero_alloc] on signatures in parsed output for documentation rendering. #1422
  • Odoc – OxCaml unboxed types: closed 2026-05-20; unboxed named types with # suffix now render correctly. #1414

Fixes

  • Odoc – multi-line links: open PR proposing a fix for multi-line link rendering (issue #865). #1439

Compatibility and Releases

  • Odoc – OxCaml tracking issue: open tracking issue for full OxCaml documentation support, updated 2026-05-20. #1411
  • Odoc – mdx tests removed: merged 2026-05-21, removes all mdx tests from xref2 to reduce CI breakage from internal representation changes. #1437

ocaml/opam

Permalink

Features

opam .install files: PR #6938 proposes prefix and prefixexec sections in .install files, allowing install scripts to reference the target prefix without hard-coding paths. Open, not yet merged.

opam install autopin cleanup: PR #6923 adds a prompt after a failed or aborted opam install to remove packages that were automatically pinned during the attempt. Open, queued.

opam manpage generation: PR #6921 standardises bold highlighting for options, arguments, and environment variables across all generated manpages, replacing inconsistent italic usage. Open.

Compatibility and Releases

opam API – repository roots: PR #6680 merged 2026-05-22, introducing abstract types over repository roots to simplify adding new repository formats. Part of the #6625 performance rework.

opam API – OpamPatch module: PR #6934 merged 2026-05-18, exporting patch-related functions into a dedicated OpamPatch module. Prepares the API for changes in #6625.

Fixes

opam config subst: PR #6936 fixes incorrect handling of absolute paths in opam config subst, resolving #6925. Open.

opam --locked undefined variables: Issue #6946 reports that undefined boolean filter values (e.g. with-dev-setup) cause a fatal error under --locked instead of defaulting to false. Affects opam 2.1 through 2.5. Open.

opam on Windows: Issue #6940 reports that opam install dir/*.opam rejects / as a directory separator on mingw64, producing "Invalid character '/' in package name". Affects opam 2.5.1. Open.

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml Promise/Fetch bindings: #2239 adds Promise, Fetch, and Abort modules to the standard library, with Lwt interop via Js_of_ocaml_lwt.Promise. Open, under review.

  • js_of_ocaml loop extraction: #2245 extracts outermost loops from the toplevel function into helper closures so engines tier up small helpers instead of the full init code. Benefits both JavaScript and Wasm output. Open; supersedes closed #2212.

  • js_of_ocaml --build-config output: #2247 omits keys at their default value in --build-config output, keeping dune-derived paths within Windows MAX_PATH. Open.

Fixes

  • js_of_ocaml --effects=double-translation: #2243 adds a trampoline for direct-style mutual recursion to prevent stack overflow at depth. Confirmed working by a user with a menhir-generated parser. Open.

  • js_of_ocaml Wasm codegen: #2246 and #2244 (both merged) fix a closure environment type name collision and bound handler traversal to the dominator subtree, respectively.

Compatibility and Releases

  • js_of_ocaml Oxcaml update: #2225 (merged) updates Oxcaml to 5.2.0minus31, correcting caml_simd_float32_min_bytecode to match x86 MINSS NaN and ±0 semantics.

  • js_of_ocaml 6.4 release: #2241 tracks the upcoming 6.4 release targeting OCaml 5.5, listing PRs #2231, #2239, #2225, #2070, #2159, and #2240 as candidates.

2 repositories · no changes