Dune main bumps the required lang dune version to 3.22 and adds a dune trace subcommand that reads structured log events in place of _build/log. OCaml 5.5 trunk enables the native-code backend on DragonFly BSD, previously excluded by a uname -s check.
Features
- OCaml 5.5 (trunk): enables the native-code backend on DragonFly BSD, previously excluded because
uname -slacks "bsd". Merged 2025-12-24. (#14431) - OCaml 5.5 (trunk): adds
String.is_emptyandString.of_charto the standard library. Merged 2025-12-28. (#14438, #14440) - Dune:
dune runtestnow accepts(tests)and(inline_tests)sources, not just cram files. Fixes #870. (#13064) - Dune: new
dune tracesubcommand reads the trace file; structured log events replace_build/log. (#13055, #13015) - opam: WIP PR adds
opam envoutput parseable by nushell viaload-env (opam env | from json). Does not yet coveropam init --shell=nu. (#6330) - oxcaml: open PR implements effects-based preemption in the native runtime, allowing user code to request domain preemption at GC poll points. ARM support pending. (#4881)
Fixes
- OCaml 5.5 (trunk): open issue reports a soundness bug where instantiating a polytype in a pattern constraint causes a segfault. Exhaustiveness checking also fails. (#14434)
- Dune:
dune install --prefixwith relative paths escaping the workspace (e.g.--prefix ../bar) now resolves correctly. Fixes #12241. (#12993) - opam: merged fix reuses the existing system lock during switch and repo format upgrades on Windows, resolving a lock-acquisition failure. (#6839)
- Eio: the nested
Fiber.anycancellation bug is resolved; issue closed 2025-12-22. (#805, #806)