The OCaml major GC gains an Idle phase reducing CPU usage on nearly empty heaps, merged and cherry-picked to the 5.5 branch. Dune 3.22 sandboxes Melange build rules and all test stanza variants by default, and the stdlib adds String.drop_prefix and String.drop_suffix.
Features
OCaml GC: merged an Idle phase for the major GC, reducing CPU usage when the heap is nearly empty. Cherry-picked to the 5.5 branch. (#14365)
OCaml stdlib: merged String.drop_prefix and String.drop_suffix, returning Some t when the string starts or ends with the given prefix or suffix. (#14487)
Dune 3.22: Melange build rules and all test stanza variants are now sandboxed by default. Merged 2026-02-12/14. (#13619, #13617)
Dune (odoc): generates and installs odoc-config.sexp files for multi-package documentation builds. Merged 2026-02-10. (#13476)
opam shell hook: open PR updates the switch bin directory in place in PATH rather than prepending it, preserving relative precedence. Does not affect eval $(opam env). (#6859)
ocaml-lsp: merged OCAMLLSP_PROJECT_BUILD_SYSTEM, OCAMLLSP_PROJECT_ROOT, and OCAMLLSP_PROJECT_ROOT_MARKERS environment variables for pointing at an arbitrary merlin configuration server. Falls back to existing .merlin / dune ocaml-merlin behaviour when unset. (#1581)
Fixes
OCaml toplevel: merged fix for Load_path.remove_dir destroying auto_include_callback, which caused open Str to fail after a prior #remove_directory. (#14551)
Dune (install): dune build @install -p pkg no longer fails when cram tests are present in the target directory. Merged 2026-02-14. (#13581)
Compatibility and Releases
Dune 3.21.1: released 2026-02-11. Fixes NetBSD/OpenBSD builds, corrects melange.emit package masking with -p, and stops the RPC server on dune promote. (release)
Js_of_ocaml 6.3.2: released 2026-02-15, fixing installation of shell completion files. 6.3.1 (2026-02-13) fixed the same in monorepo builds. (release)
OxCaml SIMD: merged arm64 support translating vec256 to a pair of vec128 at the lambda level, enabling 256-bit SIMD tests without AVX intrinsics. (#5291)
trace 0.11: merged with breaking changes: collector reworked to use open sum types, no global state required, user_data/span_flavor now use poly variants. (#29345)