Thicket thicket
ocaml
REPOS 27

November 2025

Monthly story not yet available.

W48.2025 · 24–30 NovAll

The OCaml standard library adds String.{drop,take,cut}_{first,last}_while for predicate-based string splitting, and Dune 3.21 no longer overrides the compiler warning set, requiring %{dune-warnings} in (flags) to restore defaults. opam 2.5.0 was released on 2025-11-27.

Features

OCaml stdlib: String.{drop,take,cut}_{first,last}_while merged, adding predicate-based string splitting to the standard library. #14362

Dune: New (lang rocq) build mode merged for the Rocq Prover; (lang coq) deprecated, targeted for removal in 3.24. #12035

Dune: New dune promotion show subcommand prints corrected file contents for failed diff rules without modifying sources. #12669

OxCaml: Merged -I-manifest and -H-manifest flags let the compiler resolve sources from a build-system manifest. #4986

cmdliner 2.1.0: Adds PowerShell completion and a --standalone-completion option for generating self-contained scripts. #28962

Releases

opam 2.5.0: Released 2025-11-27 with no significant changes from 2.5.0~beta1. Release notes

Fixes

OCaml Dynlink: Dynlink.loadfile now calls dlclose on .cmxs load failure, allowing a corrected file to be reloaded in the same process. #14391

Dune: Fixes an internal crash on non-ASCII version strings in dune-project; now emits a proper error with a hint. #12794

opam: Merged GC-pressure reduction in version comparison and cache unmarshalling; opam show drops from ~900 ms to ~380 ms. #6515

OxCaml: Merged fix forces common expressions to dynamic in the mode system, preventing miscompilation in slambda v1. #5054

Compatibility

Dune 3.21: With (lang dune 3.21), Dune no longer overrides the compiler warning set. Add %{dune-warnings} to (flags) to restore defaults. #12766

opam-repository: Upper bounds added to why3, boltzgen, bogue, and runtime_event_tools* for OCaml 5.4.0 AST changes. #28973