Thicket thicket
ocaml
REPOS 27

W52.2025 · 22–28 DecAll

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 -s lacks "bsd". Merged 2025-12-24. (#14431)
  • OCaml 5.5 (trunk): adds String.is_empty and String.of_char to the standard library. Merged 2025-12-28. (#14438, #14440)
  • Dune: dune runtest now accepts (tests) and (inline_tests) sources, not just cram files. Fixes #870. (#13064)
  • Dune: new dune trace subcommand reads the trace file; structured log events replace _build/log. (#13055, #13015)
  • opam: WIP PR adds opam env output parseable by nushell via load-env (opam env | from json). Does not yet cover opam 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 --prefix with 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.any cancellation bug is resolved; issue closed 2025-12-22. (#805, #806)

Compatibility

  • Dune 3.22: lang dune version on main bumped to 3.22; new features require this version. Portable copyfile restored for macOS ≤ 10.6.8. (#13082, #13069)
  • rpclib 10.0.0: open PR drops Python 2 support, removes the deprecated rpc virtual package, and restricts rpclib-async to OCaml 5.3+. (#29075)