Thicket thicket
ocaml
REPOS 27

August 2026

Monthly story not yet available.

W35.2026 · 24–30 AugAll

Dune 3.25 runs pkg-config queries, ocaml-mdx generators, and PPX lint actions inside the sandbox by default, while dune pkg lock now solves all platform roles in a single SAT problem. A Marshal overflow fix is backported to 4.14, and opam 2.6.0~beta1 is the first beta of the 2.6 series.

Features

  • Dune 3.25: pkg-config queries, ocaml-mdx generators, and PPX lint actions now run inside the sandbox by default. Earlier language versions retain prior behaviour. (#16178, #16177, #16176)

  • dune pkg lock solves all platform roles in one SAT problem; packages on multiple platforms are constrained to the same version. (#15982, by Alizter)

  • Int.popcount, Int.leading_zeros, Int.trailing_zeros become %popcount, %clz, %ctz primitives; arm64 emits native instructions. Open. (#15018)

  • opam 2.6.0~beta1 merged: first beta of the 2.6 series (8 packages). (#30542)

Compatibility and Releases

  • Experimental (fdo ...) workspace field removed; projects using it must delete the field. (#16198)

  • wire 1.2.0: fixed-width integer fields decode to typed carriers (uint8→Wire.UInt8.t); uint63/uint63be removed; OCaml ≥ 5.3 required. (#30580)

  • OpamFilename.in_dir removed in 2.6.0~beta1. Use Opamfile.exec/OpamSystem.command for in-directory execution. (#7103)

Fixes

  • Marshal.from_string and Marshal.from_channel reject data whose header_len + data_len overflows, preventing ineffective bounds checks. Backported to 4.14. (#15019, #15030)

  • RPC: relative build, exec, runtest paths sent to a running Dune process are now interpreted from the client invocation directory, not the server's startup directory. (#16267)

  • odoc no longer raises Failure("invalid core type") when a with-bound contains an arbitrary type. Fixes documentation builds for base. (#1466)

  • Wasm Node runtime resolves .wasm assets relative to module.filename instead of require.main.filename. Programs loaded via require, symlinks, or worker threads no longer crash. (#2389, by vouillon)

  • Multiple LSP methods (workspace/symbol, textDocument/rename, textDocument/signatureHelp, etc.) now accept nullable and variant result shapes per LSP 3.18. (#2154, #2153, #2152, #2151, #2025)