Thicket thicket
ocaml
REPOS 27

September 2025

Monthly story not yet available.

W39.2025 · 22–28 SepAll

ocaml-uring v2.7.0 released with socket bind/listen, mkdirat operations, and a use-after-free fix in CQE handlers. OCaml's tuple-projection syntax (e.j) and a -typing-recovery flag remain open proposals, while Dune's merged lockdir change halves null-build time.

Features

OCaml tuple projections (PR #14257): Proposes 0-indexed e.j syntax for tuple component access, including labeled tuples. An RFC is open for discussion. (link)

OCaml typing recovery (PR #14241): Adds a -typing-recovery flag so the type checker reports all errors in a file rather than stopping at the first. Still open and work-in-progress. (link)

opam update (PR #6614): Loads only changed .opam files during opam update instead of reloading the full repository. Reduces load time from ~10 s to ~0.01 s on Windows. Open. (link)

cmdliner 2.0.0 (proposed): Removes prefix-matching for commands and options; adds Arg.Conv, Arg.Completion, and a cmdliner CLI tool. Set CMDLINER_LEGACY_PREFIXES=true to restore old behaviour. (#28599)

OxCaml runtime quotations (PR #4395): Introduces <[, ]> quotation syntax with $ splicing, a stage notion in the type system, and a camlInternalQuote AST module. Open; not ready for production. (link)

Fixes

OCaml Lambda string sharing (PR #14259): Merged; Lambda.make_key now treats string constants as shareable, allowing match arms with identical string results to compile to a single branch. (link)

Dune pkg build time (PR #12487): Merged; removes backtracking from the lockdir parser by selecting syntax via solved_for_platforms, reducing null-build time from ~8 s to ~4 s. (link)

opam pinned depends (PR #6611): Corrects opam ignoring pinned-package dependencies when simulating a pin. Backported to 2.4 in #6612. Open, queued. (link)

ocaml-uring v2.7.0: Fixes a use-after-free data race in CQE handlers where cqe->res was read after io_uring_cqe_seen marked the entry for reuse. (#124)

Compatibility and Releases

ocaml-uring v2.7.0: Released 2025-09-27. Adds socket bind/listen and mkdirat operations, Uring.Setup_flags module, and vendors liburing 2.7. (Release)

progress 0.5.0: Merged; removes the Vector module in favour of a progress.vector sub-library backed by Stdlib.Dynarray on OCaml ≥ 5.2.0. Breaking for code importing Progress.Vector. (#28569)

opam OpenBSD static binaries (PR #6705): Merged; ./configure --enable-static --with-vendored-deps now produces a statically linked opam binary on OpenBSD 7.7, removing runtime dependencies on libc++, libpthread, and libm. (link)