Thicket thicket
ocaml
REPOS 27

W26.2026 · 22–28 JunAll

The OCaml compiler fixes a scoping error in modular explicits that erased result types and produced unsound assignments; a 5.5.1 release is warranted. Merlin 5.8-505, OCaml LSP 1.27.0, Melange 7.0.0, Eliom 12.1.0, Reason 3.18.0, and ocaml-solo5 1.3.0 all add OCaml 5.5 support.

Features

  • The RISC-V backend now emits C-extension instructions when the host supports them, reducing ocamlopt.opt code size by 11%. #14873

  • Atomic.fetch_add compiles to a single atomic instruction on amd64, arm64, riscv, and power instead of a C call. #14575

  • dune completion bash|zsh|powershell generates shell completion scripts for subcommands and flags. #14779

  • Eio.Net.Sockopt provides getsockopt/setsockopt with portable option names usable independent of the Unix backend. #858, #859

Fixes

  • A scoping error in modular explicits erased result types with the first package type, producing unsound assignments. Fixed; a 5.5.1 release is warranted. #14892

  • let rec f = let __0 = f in function … no longer generates an extra closure allocation, restoring inlining for ppx_deriving code. #14885, #14894

  • dune build --auto-promote and dune fmt now exit 0 when all diffs are promoted; non-promotable diffs still exit non-zero. #15284

  • Watch mode debounces file-watcher events with a quiet period, preventing editor save sequences from triggering spurious rebuilds. #15344

Compatibility and Releases

  • Merlin 5.8-505 adds OCaml 5.5 support. OCaml LSP 1.27.0 requires OCaml 5.5 and defaults type-signature display to real paths. Merlin, LSP

  • Merlin, LSP, Eliom 12.1.0, Melange 7.0.0, Reason 3.18.0, and ocaml-solo5 1.3.0 all add OCaml 5.5 support. Melange 7.0.0 is a major version bump. #30117, #30094

  • js_of_ocaml-lwt.logger (lwt_log_js) is removed; the lwt_log optional dependency is dropped from js_of_ocaml-lwt.opam. Users of that logger must migrate. #2378

  • Upper bounds on dune 3.24 added to lablgtk3, wasm_of_ocaml-compiler, cppo, and camomile due to non-normalized path changes. #30143, #30132