Releases
OCaml 5.4.0: Released 2025-10-09. Adds labelled tuples, immutable arrays, atomic record fields, and modules Pair, Pqueue, Repr, Iarray. Release notes
Features
OCaml pipeline operator: Open PR changes x |> f y to typecheck as (f y x) rather than ((f y) x), avoiding extra closure allocations with labelled arguments. #14286
OCaml typing recovery: Open WIP PR adds a -typing-recovery flag, allowing the typer to report multiple errors per file. #14241
OCaml relocatable builds: Open PR adds -launch-method, -runtime-search, and --enable-suffixing to decouple bytecode executables from absolute install paths. #14245
Fixes
OCaml memprof: Merged fix for GC root mishandling in memprof.c; cherry-picked to the 5.4 branch. #14287
OCaml toplevel: Open PR reads -init before executing -e scripts, resolving unbound-value errors at startup. #14190
Compatibility
OCaml RFCs – for...in: Closed without merging on 2025-10-08. The author cited limited readability gain over existing List.iter / |> patterns. #56