Thicket thicket
ocaml
REPOS 9

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

W23.2026 · 1–7 JunTools

Dune 3.24.0~alpha2 ships with a new pform and a relocatable-compiler default. Js_of_ocaml merges an Intl.RelativeTimeFormat binding and proposes a WASI output target; opam adds prefix sections to .install files and an in-process tar API.

Features

  • Dune enabled_if: Merged. enabled_if in executable and install stanzas now accepts any variable, matching library behaviour. Requires dune language 3.25. #14860
  • Js_of_ocaml Intl.RelativeTimeFormat: Merged. Adds the ECMA-402 relative time formatting API to the standard library. #2070
  • Js_of_ocaml WASI target: Proposed. wasm_of_ocaml --enable wasi produces binaries runnable by wasmtime or Wizard. #1831
  • opam .install format: Proposed. PR #6938 adds prefix and prefixexec sections for path-relative install targets. Queued behind #6956 for exhaustive reftests. #6938
  • opam OpamTar: Proposed. PR #6945 introduces an in-process API for creating and reading .tar.gz archives, replacing external tar calls. Part of #6625. #6945
  • odoc [@@zero_alloc]: Merged. Renders [@@zero_alloc] annotations on OxCaml signatures in generated documentation. #1422

Fixes

  • Dune Melange build: Merged. Dune skips Melange rule generation when melc is absent from PATH, preventing build failures in single-context projects. #15021
  • Dune on illumos/Solaris: Merged. wait4(0, …) replaces wait4(-1, …) and the spawn stub retries read() on EINTR, fixing indefinite hangs. #14980
  • Js_of_ocaml Node REPL: Merged. The uncaughtException handler installs only for standalone programs; loading jsoo output in the Node REPL no longer aborts the host process. #2258
  • opam init --bare: Proposed. PR #6957 skips default-compiler selection when --bare is passed, removing a ~2.5 s delay. Fixes #5815. #6957

Compatibility and Releases

  • Dune 3.24.0~alpha2: Released 2026-06-05. Adds %{pkg:<pkg>:<section>:<path>} pform, enables the relocatable compiler by default, promotes directory targets to GA, and validates profile names. Release
  • odoc 3.2.0: OCaml 5.5 support confirmed; opam-repository ships 3.2.1. #1401