Thicket thicket
ocaml
REPOS 27

W46.2025 · 10–16 NovAll

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-recovery flag 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) in dune-workspace, dune build resolves and installs dependencies without a prior dune pkg lock. Closes #11614, #12098. (#12653)
  • Dune: New @unused-libs alias errors when a library or executable links a dependency that is never referenced. allow_unused_libraries suppresses the check per stanza. (#12623)
  • OxCaml: Merged slambda intermediate representation with a SLquote constructor and static evaluator; -dslambda flag 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 single coq.theory stanza, gated behind coq lang 0.11. Closes #12638. (#12733)
  • Js_of_ocaml: Merged fix removes spurious node:util references from generated JS when using --target-env browser in the dev profile. Closes #2127. (#2129)

Compatibility

  • opam-repository (moonpool 0.10): Merged with breaking changes: around_task removed from schedulers, moonpool.fib deleted, deprecated moonpool-io and moonpool.sync removed. #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 Passes API. #28880, #28887, #28888

Releases

  • opam 2.5.0~beta1: First beta release; fixes opam switch create --dry-run creating switch directories, version-equivalent rename removing packages, and macOS sandbox path restrictions. Drops the cmdliner dependency. Release notes