Features
OCaml trunk (atomic record fields): record fields accept [@atomic]; reads and writes compile to atomic operations. Atomic.Loc exposes get, set, exchange, compare_and_set, fetch_and_add, incr, decr. #13404
OCaml trunk (Unix.unsetenv): adds Unix.unsetenv : string -> unit to remove a variable from the process environment. Uses _wputenv_s on Windows. #14020
OCaml trunk (Option.product): adds Option.product : 'a option -> 'b option -> ('a * 'b) option and an Option.Syntax submodule with binding operators, mirroring List.Syntax and Seq.Syntax. #13916
OCaml trunk (Dynarray.unsafe_to_iarray): adds Dynarray.unsafe_to_iarray, converting a dynarray to an immutable array without copying. Safe in single-domain settings; available in 5.4. #13909
Fixes
OCaml trunk (Marshal.from_string): could segfault when a GC triggered by exception allocation left a partially initialized block registered as a GC root. The fix removes the spurious registration; backport to 4.14, 5.3, 5.4 planned. #14015, issue #14007
OCaml trunk (Domain.spawn): a failed child-domain initialization left the domain lock unreleased, deadlocking subsequent Domain.spawn calls. The lock is now released on the failure path. #13953
OCaml 5.4 (type_approx): a labeled-tuples change caused type_approx to drop constraints inside tuples for mutually recursive functions, producing a misleading error. The fix restores 5.3/trunk behaviour. #14021
Compatibility and Releases
OCaml trunk (compaction race, proposal): terminating domains orphaned shared-heap pools after leaving the STW participant set, allowing the compactor to segfault on untracked pools. The proposal moves orphaning before STW exit; not yet merged. #14025, issue #13739