Thicket thicket
ocaml
REPOS 9

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

W17.2026 · 20–26 Apr

Tools repository summaries

7 active · 2 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

  • Dune 3.23.0: the patch action now uses a vendored OCaml implementation instead of requiring an external patch or gpatch binary, making it portable across all platforms. Fixes #12232 and #7699 (#14177).
  • Dune 3.23.0: when a rebuild overwrites _build/trace.csexp, the previous trace is preserved as _build/trace.csexp.old so both are available for comparison (#14269).
  • Dune (proposal): new %{pkg:foo:lib:file} pform macros let rules reference files inside a package's install layout without hard-coding _build/install paths; depending on such a path introduces a package dependency (#14200).
  • Dune (proposal): per-module -I/-H flag filtering narrows each module's include paths to the libraries its source actually references, reducing unnecessary rebuilds when an unreferenced library is added to a stanza (#14186).

Fixes

  • Dune 3.23.0: Ctrl+C on Windows no longer crashes with "wait4 stubs are not available"; the SIGTERM grace period is skipped on Windows and SIGKILL is sent directly (#14316, fixes #14302).
  • Dune 3.23.0: --display=quiet now suppresses the "Entering directory" / "Leaving directory" messages emitted when --root changes the working directory (#12974, fixes #12854).

Compatibility and Releases

  • Dune 3.23.0: released; the development version on main was bumped to 3.24 (#14333). The release tracker is #14211.
  • Dune 3.23.0: builds against OCaml 5.6.0+trunk; the stdune__String label mismatch that broke compilation is resolved via #13950 (#14295).

ocaml/merlin

Permalink

Features

  • Merlin index pointing (merged 2026-04-22): Adds support for pointing index entries to existing files on disk, producing smaller index files and fewer write operations. Merged by @voodoos. #2051

Proposals

  • Merlin indexer LRU cache (open): Proposes replacing the indexer's unbounded hashtable with an LRU cache to bound memory usage. Active review by @art-w as of 2026-04-24. #2050

Compatibility and Releases

  • Merlin menhirLib snapshot (merged 2026-04-20): Updates the vendored menhirLib snapshot to use the --dump-menhirLib flag, restoring build compatibility with recent menhir releases. Labeled "no changelog". #2058

ocaml/ocaml-lsp

Permalink

No user-facing features, fixes, compatibility changes, or releases are supported by the supplied records for this interval. The only activity is an open, unmerged automated flake.lock dependency bump (#1437), labelled no changelog, with no effect on build output, editor integration, or public API.

ocaml/ocamlfind

Permalink

Features

  • ocamlfind PR #113: merged 2026-04-23, adding a CI workflow that runs on pull requests. Link

Compatibility

  • ocamlfind PR #112: open; fixes OCaml 5.0+ build failures on Cygwin and MSYS2, including findlib.conf generation and an incorrect META.pkg check in ocamlfind install. Link
  • ocamlfind PR #106: open; proposes reordering OCAMLPATH so site-lib precedes the stdlib directory. A maintainer comment (undated) flags that this would shadow compiler META files in opam-managed switches. Link

Fixes

  • ocamlfind PR #83: merged 2026-04-23, updating projects.camlcity.org links from HTTP to HTTPS. Closes issue #68. Link
  • ocamlfind PR #99: open; corrects the exception handler for a missing threads package when the compiler is built with --disable-systhreads. Affects ocamlfind ocamlopt -config. Link

ocaml/odoc

Permalink

Features

  • odoc (OxCaml kind annotations): PR #1410 adds rendering of OxCaml kind annotations, layouts, and modal bounds in generated documentation. Open; discussion on 2026-04-23 covers formatting of kind products and @@ vs mod syntax.

  • odoc (OxCaml unboxed types): PR #1407 propagates the unboxed type representation so generated docs include the trailing # on named unboxed types. Open; last updated 2026-04-20.

  • odoc (OxCaml tracking): Issues #1414–#1417 track remaining OxCaml features not yet rendered: unboxed types, layouts, modalities, and modes. All open; updated 2026-04-23.

ocaml/opam

Permalink

Features

  • opam (Nushell support): PR #6873 adds Nushell shell config and opam env JSON output for load-env. Ongoing; a minimum nu version check is unresolved.
  • opam (cmdliner completions): PRs #6854–#6869 replace hand-written bash and zsh completion scripts with cmdliner-generated ones and add PowerShell completions. Ongoing four-part series.

Compatibility and Releases

  • opam (repos-config format): PR #6393 rewrites the internal repos-config file to a section-based syntax. Requires a hard upgrade of the opam root with no best-effort fallback. Ongoing.
  • opam (source caching): PR #6440 restricts the .opam-switch/sources directory to dev packages only, avoiding duplication of data already in the archive cache. Ongoing WIP.

Fixes

  • opam (build directory cleanup): PR #6906 removes the build directory immediately after package install, reducing peak disk and RAM from 4–10 GB to under 2 GB. Ongoing.
  • opam (chdir removal): PR #6910 removes chdir calls from the opam API, porting the change from #5966. Open, created 2026-04-24.
  • opam (depexts variable expansion): Issue #6908 reports that %{var}% in depexts package names is not interpolated, breaking MSYS2 installs of packages such as conf-mingw-w64-gcc-x86_64. Open, created 2026-04-20.
  • opam (menhir on Windows): Issue #6909 reports opam upgrade menhir fails on Windows because removed directories are recreated with lowercased names, confusing dune. Open, created 2026-04-21.

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml (issue #2215): Open feature request for detecting missing JS runtime features (ES6 classes, TextDecoder, optional chaining) and surfacing a meaningful error. Discussion points to Babel + core-js as the recommended downleveling path.

  • js_of_ocaml (PR #2216): Open PR adding a manual/browser-compat.wiki chapter documenting how to downlevel jsoo output (ES2020) for older browsers using Babel, core-js, and esbuild. Includes an opt-in cram test gated behind @runtest-babel-downlevel.

Fixes

  • js_of_ocaml (PR #2216): Corrects ECMASCRIPT.md: async/await is ES2017, not ES2016; adds Promise and template literals (both ES2015) to the listed runtime features.
2 repositories · no changes