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_ifinexecutableandinstallstanzas now accepts any variable, matchinglibrarybehaviour. 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 wasiproduces binaries runnable by wasmtime or Wizard. #1831 - opam
.installformat: Proposed. PR #6938 addsprefixandprefixexecsections 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.gzarchives, replacing externaltarcalls. 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
melcis absent fromPATH, preventing build failures in single-context projects. #15021 - Dune on illumos/Solaris: Merged.
wait4(0, …)replaceswait4(-1, …)and the spawn stub retriesread()onEINTR, fixing indefinite hangs. #14980 - Js_of_ocaml Node REPL: Merged. The
uncaughtExceptionhandler 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--bareis passed, removing a ~2.5 s delay. Fixes #5815. #6957