opam 2.5.0~alpha1 releases incremental opam update loading, reducing repository update time, while an open OCaml trunk PR proposes typing x |> f y as (f y x), breaking code relying on the current left-associative reading. Dune merges a (dir ..) field restricting stanza attachment to a single directory per package.
Features
opam 2.5.0~alpha1: opam update loads only changed opam files incrementally, reducing repository update time. First alpha of the 2.5 series. Release
Dune (dir ..): New (dir ..) field in dune-project designates a single directory per package; stanzas outside cannot attach to it. Merged in #12614.
ocamlformat 0.28.1: Adds OCaml 5.4 support, a module-indent option, and makes exp-grouping=preserve the default in default and ocamlformat profiles. #28774
OCaml trunk (Relocatable OCaml): Adds -launch-method, -runtime-search, and --enable-suffixing so bytecode executables locate the interpreter without an absolute path. Open PR series. #14245
OxCaml (untagged int arrays): Adds int8#, int16#, and int# array and iarray types with dedicated tags; char# arrays follow from the same layout. #4643
ocaml-lsp (for_nested_bindings): Adds a for_nested_bindings CodeLens option (default false) for lenses on internal let-bindings. Merged 2025-10-23. #1567
Fixes
Dune (self-pinning): dune pkg lock now pins the running dune version, preventing selection of packages requiring a newer dune language version. Merged in #12583.
Dune (dune init): Fixes a crash when dune init project is given an absolute directory path. Merged in #12601.
OCaml trunk (memprof): Allocates memprof configuration floats on the major heap to eliminate a data race with the minor GC. Merged. #14304
Compatibility
OCaml trunk (pipe operator): Proposes typing x |> f y as (f y x) instead of ((f y) x), breaking code relying on the current left-associative reading. Open PR. #14286
opam 2.5.0~alpha1 (API): Breaking changes include removed OpamSwitchState.files and changed OpamRepository.update return type. See the changelog.
js_of_ocaml (OCaml 5.4 CI): CI now runs the test suite against OCaml 5.4, with expanded test coverage. Merged 2025-10-20/21. #2103, #2115