Thicket thicket
ocaml
REPOS 27

W02.2026 · 5–11 JanAll

Dune 3.21.0~alpha5 released with (dir ..), dune promotion show, and watch-mode dune runtest, while breaking the lang dune 3.21 default-warnings behaviour. On OCaml trunk, merged PRs add Int.popcount, Int.fdiv, Int.cdiv, Int.ediv, Int.emod and String.find_first, String.find_last, String.find_all search primitives.

Releases

Dune 3.21.0~alpha5: Released 2026-01-05. Adds (dir ..), dune promotion show, (lang rocq), DUNE_ROOT, watch-mode dune runtest; breaking: lang dune 3.21 no longer changes default warnings. Release notes

Fixes

Dune (merged): Multiple pin-depends on a single local package now unifies identical constraints instead of erroring. #13232

OCaml Unix (Windows, open PR): Replaces GetTempFileName-based path generation in Unix.socketpair with PID-plus-counter naming to eliminate racy address-in-use errors. #14461

Features

OCaml stdlib (trunk): Merged Int.popcount, Int.nlz, Int.ntz, Int.nls, Int.unsigned_bitsize, Int.signed_bitsize for Int, Int32, Int64, Nativeint. #14433

OCaml stdlib (trunk): Merged Int.fdiv, Int.cdiv, Int.ediv, Int.emod (floor, ceil, Euclidean division and remainder) for Int, Int32, Int64, Nativeint. #14432

OCaml stdlib (trunk): Merged String.find_first, String.find_last, String.find_all, String.rfind_all and index variants as search primitives. #14381

OCaml compiler (trunk): Merged: signature-mismatch errors now include "Hint: X is a close match" suggestions for near-spelling names. #14330

OCaml (proposal): Open PR introduces [@@unstable] and [@@@unstable_feature] attributes to gate experimental APIs behind a -Z flag or local opt-in. #14430

Dune (targeting 3.22): Open PR adds --target-exec <toolchain>=<wrapper> and per-target target_exec in dune-workspace for cross-compilation via host wrappers. #13112

OxCaml (merged): Adds [@@implicit_kind] syntax for default jkinds on named type variables in signatures, controlled by -extension implicit-types. #4285

OxCaml (open PRs): Typed arm64 DSL, binary machine-code emitter, and -verify-binary-emitter flag cross-checking assembler output. #5177, #5193, #5198

opam-repository (open PR): Lwt 6.0.0 major version update for the promises and event-driven I/O library. #29184