OCaml trunk merged String.{take,drop,cut}_{first,last} for magnitude-based string splitting, and Dune now defaults to portable lock directories; with (pkg enabled), dune build resolves dependencies without a prior dune pkg lock. opam 2.5.0~beta1 is the first beta, fixing --dry-run switch creation and dropping the cmdliner dependency.
Features
- OCaml trunk (stdlib):
String.{take,drop,cut}_{first,last}merged, providing magnitude-based string splitting. #14352 - OCaml trunk (compiler):
-typing-recoveryflag proposed; the typer continues past the first error and reports all type errors in a file. #14241 - Dune (pkg): Portable lock directories are now the default format; dune auto-detects non-portable lockdirs. Closes #11476, #12694. (#12680)
- Dune (pkg): With
(pkg enabled)indune-workspace,dune buildresolves and installs dependencies without a priordune pkg lock. Closes #11614, #12098. (#12653) - Dune: New
@unused-libsalias errors when a library or executable links a dependency that is never referenced.allow_unused_librariessuppresses the check per stanza. (#12623) - OxCaml: Merged
slambdaintermediate representation with aSLquoteconstructor and static evaluator;-dslambdaflag prints slambda before evaluation to lambda. #4776
Fixes
- OCaml trunk (type checker): Inclusion check fails when a type abbreviation is not expanded during the occurs check, rejecting valid signatures. #14343
- Dune (Coq/Rocq):
(modules_flags ...)now accepts multiple modules in a singlecoq.theorystanza, gated behind coq lang0.11. Closes #12638. (#12733) - Js_of_ocaml: Merged fix removes spurious
node:utilreferences from generated JS when using--target-env browserin the dev profile. Closes #2127. (#2129)
Compatibility
- opam-repository (moonpool 0.10): Merged with breaking changes:
around_taskremoved from schedulers,moonpool.fibdeleted, deprecatedmoonpool-ioandmoonpool.syncremoved. #28891 - opam-repository (binaryen): Three breaking releases (0.32.0, 0.33.0, 0.34.0) merged, each upgrading the Binaryen C API (v122→v124) and changing the
PassesAPI. #28880, #28887, #28888
Releases
- opam 2.5.0~beta1: First beta release; fixes
opam switch create --dry-runcreating switch directories, version-equivalent rename removing packages, and macOS sandbox path restrictions. Drops thecmdlinerdependency. Release notes