Thicket thicket
ocaml
REPOS 27

W39.2026 · 21–27 SepAll

Eio 1.6 releases with Eio.Process.Env, a ?follow option on path open functions, and Windows rename support. OCaml deprecates Weak.get_copy as an alias of Weak.get, breaking code that relied on copy-to-avoid-lifetime-extension semantics, and lowers Int.popcount to hardware primitives for a 2–3× speedup.

Features

  • Dynarray.sort, Dynarray.stable_sort, Dynarray.stable_sort_sub added to the standard library. They delegate to Array.stable_sort_sub and raise on length change. Merged. (#14848)

  • Eio 1.6 adds Eio.Process.Env for environment snapshotting, ?follow on Eio.Path open functions, Eio_unix.File for FD-based files, and Windows rename support. Released 2026-09-21. (v1.6)

  • A -use-ssa flag activates an experimental SSA pipeline between Cmm and CFG, validated against legacy Cfg_selectgen output per function. Enabled by -experimental-optimizations; incompatible with -llvm-backend. Merged. (#5810)

  • A job_slots rule lets a build expose a slot count via an environment variable, enabling polyglot sub-builds to size parallelism without a jobserver. Requires a new dune language version. Open proposal. (#16475)

  • A hosted MCP server at POST /mcp exposes five read-only tools: package dependencies, reverse dependencies, and documentation queries. Per-IP rate limiting and an SSRF allowlist guard the endpoint. Merged. (#3785, #3787)

Fixes

  • Int.popcount, Int.leading_zeros, Int.trailing_zeros now lower to hardware %popcount/%clz/%ctz primitives. 2–3× speedup on amd64 and arm64. Merged. (#15018)

  • dune build with a (menhir …) stanza and dune pkg (relocatable compiler) now succeeds on macOS. The fix adds an explicit Stdlib dependency to the inference rule. Merged; ships in 3.25. (#16374)

  • Optional-chain parentheses are preserved in generated code: (a?.b).c no longer prints as a?.b.c, which changes runtime semantics. Merged. (#2465)

  • opam install --deps-only no longer installs the target package's own depexts. Affects pinned and simulated packages. Merged. (#7158)

  • Typemod.type_package now calls Mtype.lower_nongen, preventing a weak type variable from unifying with an out-of-scope type. Previously the compiler accepted programs that should be rejected. Merged. (#12195)

Compatibility and Releases

  • Weak.get_copy is deprecated and now an alias of Weak.get (no shallow copy). Code relying on copy-to-avoid-lifetime-extension semantics must migrate. Merged. (#15064)

  • ocsigenserver 8.0.0 moves public modules under wrappers (Ocsigen_extensions → Ocsigen.Extensions). A new ocsigenserver-compat package provides old names. Merged. (#30806)