Thicket thicket
ocaml
REPOS 9

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

W16.2026 · 13–19 Apr

Tools repository summaries

6 active · 3 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

Dune compile_commands.json: Generates a JSON compilation database for C/C++ editor tooling when dune lang is 3.23. Promoted to the workspace root; verified with ccls. #14185

Dune per-module dependency filtering: Uses ocamldep output to restrict each module's inter-library deps to actually-imported libraries, reducing unnecessary recompilation. Open PR; currently introduces a 40–70% null-build regression under active review. #14116

Dune %{pkg:foo:lib} pforms: Makes package install-layout variables available outside lock files, supporting ocamlfind, dune package management, and workspace packages. Open PR. #14200

Dune Dyn.pp: Now prints Char as quoted literals, Int32/Int64/Nativeint with suffixes, and Float special values as valid OCaml syntax. #13394

Fixes

Dune watch-mode cancellation: Child processes now receive SIGTERM with a grace period before SIGKILL on both shutdown and watch-mode rebuilds. #14170, #14224

Dune inline tests (byte-only): dune runtest now executes inline tests for libraries with (modes byte); previously the runner linked natively and silently skipped all tests. #14174

Dune generated opam files: Auto-injects menhir {>= "20180523"} when the menhir extension is active, eliminating manual lower-bound fixes in opam-repository. #14168

Compatibility and Releases

Dune 3.22.2 / 3.23.0: 3.22.2 point release merged 2026-04-14. The 3.23.0 release tracker targets 2026-04-20; a sandboxed package-deps regression (#14213) is a known blocker. #14113, issue #14211

ocaml/merlin

Permalink

Fixes

  • Merlin: merged fix for jq array indexing in test issue1949.t; the old .value.[0] form requires jq 1.7+, the corrected .value[0] works on 1.6. #2057

Features

  • Merlin ocaml-index: open proposal to point to an existing index file on disk, reducing index size and write operations. Last updated 2026-04-14. #2051

Compatibility and Releases

  • Merlin menhirLib: open PR to switch snapshotting to the --dump-menhirLib flag (available since 20230608), replacing copy rules that fail on recent menhir versions. #2058
  • Merlin misc.ml: open PR to synchronise src/utils/misc.ml(i) with the compiler's utils/misc.ml(i), relocating it under src/ocaml/utils/ to prevent future drift. #2059
  • Merlin saved parts: open investigation documenting that mimicking the typechecker's saved-parts behaviour causes browse-tree blowup; no user-visible change proposed. #2060

ocaml/ocaml-lsp

Permalink

No user-facing features, fixes, compatibility changes, or releases are present in the supplied evidence for this interval. The only record is an open, unmerged automated flake.lock dependency update in ocaml-lsp (#1437), labelled no changelog; it does not alter any command, option, or workflow.

ocaml/odoc

Permalink

Features

  • Odoc OxCaml support: PR #1399 merged, enabling odoc to process OxCaml codebases. Prior patches from oxcaml/odoc are now upstream.
  • Odoc OxCaml roadmap: Tracking issue #1411 opened by shonfeder, listing sub-issues for layouts, modalities, modes, unboxed types, and include functor.
  • Odoc OxCaml modalities: PR #1420 opened by art-w, adding rendering for @@ portable contended and similar modality annotations.
  • Odoc OxCaml kind annotations: PR #1410 opened by art-w, adding rendering for type kind annotations such as : immediate and : value.

Fixes

  • Odoc polymorphic parameters: PR #1404 merged, restoring required parentheses around polymorphic parameters in rendered signatures.

Compatibility and Releases

  • Odoc OCaml 5.5: PR #1406 merged, adding support for external types (displayed as abstract) and module arrows.
  • Odoc OxCaml unboxed types: PR #1407 remains open, fixing the missing # suffix on unboxed named types in generated documentation.
  • Odoc @inline modules: PR #1408 closed without merge; cross-reference resolution for inlined module contents requires further path-tracking work.

ocaml/opam

Permalink

Compatibility and Releases

  • opam 2.5.1: Released 2026-04-15 with security fix OSEC-2026-03, nix depexts injection fix, Gentoo detection, and GC corruption fixes. Release notes
  • opam (master): Drops build support for OCaml 4.08, 4.09, and 4.10. Merged 2026-04-14; affects plugin and library users. #6879
  • opam-core (master): Renames the result type to solver_result to avoid conflict with Stdlib. Merged 2026-04-14; breaking for library consumers. #6885

Features

  • opam (proposal): Adds Nushell shell support via opam env | to json and shell config. Open PR by @jneem. #6873
  • opam CI (proposal): Reworks GHA depexts to use latest Docker tags, eliminating repeated OCaml compilation. Open PR. #6905

Fixes

  • opam .install (2.5.1): Invalidates destination paths containing .. that escape the package scope. Fixes OSEC-2026-03; reported by @andrew. #6897
  • opam nix depexts (2.5.1): Loads package names from JSON instead of inlining them into nix expressions, preventing string injection. Merged 2026-04-16. #6894
  • opam depexts (2.5.1): Parses single-quoted values in /etc/os-release, restoring Gentoo distribution detection. Merged 2026-04-14. #6886

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml – Oxcaml support: merged 2026-04-16, adding Oxcaml as a supported compiler backend for wasm_of_ocaml. #2105

  • js_of_ocaml – WASI runtime: open and blocked; wasm_of_ocaml --enable wasi produces a Wasm binary runnable under wizeng or wasmtime (with --enable exnref). Blocked on dune and internal PRs. #1831

  • js_of_ocaml – Wasm native effects: open and blocked; implements the Stack Switching proposal for native effects in Wasm output. #2189

Compatibility and Releases

  • js_of_ocaml – JSPI documentation: merged 2026-04-16; clarifies JavaScript Promise Integration support and notes JSPI is enabled by default in Chrome 137 and Node 25. #2213

Performance

  • js_of_ocaml – toplevel size reduction: open; moves constant toplevel expressions into global variables, halving the toplevel function size on the PRT benchmark. #2211

  • js_of_ocaml – loop extraction for Wasm: open; extracts loops from the large toplevel/init function into small helpers so Wasm engines tier up only the helpers, reducing Turbofan compilation cost. #2212

3 repositories · no changes