Thicket thicket
ocaml
REPOS 27

W04.2026 · 19–25 JanAll

OCaml 5.5 trunk merges six new String module functions and a type-checker fix so that ocamlc -c foo.ml bar.ml baz.ml now matches three separate invocations. Dune 3.21.0, released 2026-01-21, adds commit-hash pinning to dune pkg lock for git+ URLs, making builds reproducible without re-fetching.

Features

OCaml 5.5 String module: merged String.replace_first, String.replace_all, String.split_first, String.split_last, String.split_all, and String.rsplit_all. #14436, #14437

OCaml Gc.Tweak: merged a stdlib module and OCAMLRUNPARAM mechanism for named GC parameters; the mark-stack pruning threshold is the first exposed. #14367

Dune 3.21.0: released 2026-01-21. Release tracker

Dune pkg git pinning: dune pkg lock now records the resolved commit hash for git+ URLs, making builds reproducible without re-fetching. #13297

Merlin locate-types protocol: merged an Other variant so editors can render type variables that are not jump-to-definition targets. #2025

js_of_ocaml JS parser: merged support for import defer * as x from u and contextual keywords yield/await via virtual tokens. #2147, #2148

Fixes

OCaml type-checker state reset: merged a fix ensuring ocamlc -c foo.ml bar.ml baz.ml produces identical output to three separate invocations. #14483

Dune select closure: merged a fix for (select ..) incorrectly marking virtual-library implementations unavailable, which broke MirageOS unikernels with lwt 6.0. #13389, #13406

Dune file-descriptor leak: merged a fix adding O_CLOEXEC to redirect files, resolving "Too many open files" crashes during dune pkg builds. #13385

Merlin record-field completion: merged a fix including for_completion in the reader-cache fingerprint, restoring field-name candidates after a dot. #2028

Compatibility and Releases

OCaml 5.5.0+trunk opam: ocaml-base-compiler and ocaml-variants packages updated to track the newly created 5.5 branch. #29264

Menhir 20260122: new release pending CI; a prior 20260112 release broke embedded_ocaml_templates < 0.8, with upper bounds merged into seven packages. #29263, #29222