OCaml 5.4:Out_channel.flush no longer raises Sys_error when a concurrent close completes mid-flush. The closed-channel check now runs inside the retry loop. (#14093)
OCaml 5.4:Pprintast no longer loops infinitely when printing the (::) type constructor in isolation. This fixes a hang in Merlin. (#14105)
OCaml 5.4: Fixes ignored module and type constraints during recursive-module signature approximation, preventing spurious "Unbound type constructor" errors. (#14100)
OCaml 5.4:statmemprof now updates after the end-of-minor-GC barrier, preventing promoted blocks from being incorrectly marked as collected. (#14057)
Compatibility and Releases
OCaml 5.4: The new $ symbol separator in native code breaks perf and flamegraph.pl output, producing invalid UTF-8. A kernel patch to the OCaml demangler is required. (#14104)
OCaml 5.4:caml/misc.h now uses _Atomic, which C++ compilers reject. Packages with C++ stubs (e.g. taglib) fail to build. (#14101)
OCaml 5.4:intnat and uintnat are now defined in terms of C99 intptr_t/uintptr_t, with CAML_PRIdNAT-style format macros replacing ARCH_*_PRINTF_FORMAT. (#13656)
OCaml 5.4: Unified bytecode executable headers reduce the Windows stub by roughly 12 KiB (x64) and fix a leaked file descriptor on Unix. (#13988)