Thicket thicket
ocaml
REPOS 27

W13.2026 · 23–29 MarAll

The OCaml runtime reverts an ephemeron-marking optimisation that caused the major GC to loop indefinitely in multi-domain programs. OCaml 5.5.0 alpha3 is now on opam, and Dune 3.23 changes dune promote to promote all descendants of a directory rather than a single file.

Features

OCaml class types: Merged rebase of the class type system improvements. Affects typechecking of class and class type declarations. #14680

OCaml modular explicits: Merged support for partial-application, over-application, and unused-argument warnings on module-dependent functions. Previously suppressed for packed module arguments. #14667

Dune 3.23: The diff action now accepts directory arguments for comparing entire directory trees. Requires (lang dune 3.23). #13932

Dune 3.23: dune promote foo now promotes all descendants of foo/, not just the single file. Previous behaviour available via --file. #13876

Releases

OCaml 5.5.0 alpha3: Added to opam as ocaml-variants.5.5.0~alpha3; includes code-generation, type-system, and Float.Array fixes. Beta planned for early April. #29600

ppxlib 0.38.0: Adds OCaml 5.5 support, 5.4 bivariant type parameters, labeled tuples, and effect-pattern utilities. Fixes an infinite loop on duplicate attributes. #29563

Fixes

OCaml GC ephemeron: Reverted the ephemeron-marking optimisation that introduced a data race causing the major GC to loop indefinitely in multi-domain programs. Corrected version in #14688. #14682

OCaml bigarray: Adds overflow checking to caml_ba_reshape, fixing an out-of-bounds read on 4.14 and an incorrect Out_of_memory exception on 5.x. #14691

Dune 3.22.1: Restores bootstrap on Windows 7 by falling back to GetSystemTime when GetSystemTimePreciseAsFileTime is unavailable. #13905

Compatibility

OCaml typechecker 5.4 rebase: Opened for ecosystem testing; alters how type abbreviations are tracked and may reject previously accepted code with ambiguous GADT types. #14673

OCaml x86 runtime: Merged change to always emit prefetchw on x86 and x86_64. Reversible via ./configure CFLAGS=-mno-prfchw for pre-2015 Intel processors. #14665