Thicket thicket
ocaml
REPOS 27

W50.2025 · 8–14 DecAll

Dune 3.21.0~alpha3 released 2025-12-11 adds the (files) stanza, DUNE_ROOT, and dune promotion show. OCaml merged --with-relative-libdir and --enable-suffixing configure options with new ocamlc flags for relocatable bytecode executables, and Dune merged DUNE_JOBS to allow parallel nested builds.

Features

OCaml relocatable: merged --with-relative-libdir and --enable-suffixing configure options; new ocamlc flags -launch-method and -runtime-search control bytecode executable startup. (#14244, #14245)

Dune 3.21.0~alpha3: released 2025-12-11 with (files) stanza, OxCaml parameterised libraries, dune promotion show, and DUNE_ROOT env var. Warning 9 is no longer forced in dev mode (dune lang 3.21). Release

OxCaml untagged int arrays: merged support for int8#, int16#, and int# arrays and iarrays, including creation and indexed access. char# arrays are available as a byproduct of the int8# layout. #4643

OCaml RFC 54 (transparent ascription): merged 2025-12-12. Proposes adding transparent ascription to the signature language and redesigning the aliasing mechanism. #54

Dune DUNE_JOBS: new environment variable for build concurrency; INSIDE_DUNE no longer forces single-threaded builds, enabling parallel nested invocations. Merged 2025-12-12. #12800

Fixes

OCaml Unix socket: sun_path address length now includes the trailing NUL byte, correcting the value on non-Linux platforms and improving Haiku compatibility. Merged. (#14406)

Dune FreeBSD/Alpine builds: fixed lmdb stubs compilation on FreeBSD and inlined KERNEL_VERSION for Alpine Linux; both were 3.21 alpha regressions. Merged 2025-12-09 and 2025-12-14. #12901, #12926

opam confirmation prompts: opam now reads full lines when TERM=dumb, fixing broken input in Emacs M-x shell and similar terminals. Merged. (#6829)

Compatibility and Releases

OCaml let rec (module ...): the type checker no longer accepts this undocumented construct. Merged. (#14388)

Melange 6.0.1-51: merged requiring ocaml > 5.1.1 due to a breaking Compression module change in OCaml 5.1.1. Users on 5.1.0 must downgrade.

js_of_ocaml number_t: the new type from #1650 breaks code relying on implicit float/int conversion; no compatibility flag exists. Users must insert explicit conversions. (#2136)

js_of_ocaml 5.5.0: Menhir-generated parsers trigger a stack overflow in Chrome on macOS; Safari and Node.js are unaffected. Issue remains open. (#2122)