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.optcode size by 11%. #14873 -
Atomic.fetch_addcompiles to a single atomic instruction on amd64, arm64, riscv, and power instead of a C call. #14575 -
dune completion bash|zsh|powershellgenerates shell completion scripts for subcommands and flags. #14779 -
Eio.Net.Sockoptprovidesgetsockopt/setsockoptwith 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-promoteanddune fmtnow 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; thelwt_logoptional dependency is dropped fromjs_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