OCaml changes with module type precedence so T with module type T = T -> T now groups as T with module type T = (T -> T), breaking existing code that relied on the old grouping. Dune makes generated files always read-only, removing the pre-2.4 language-version opt-out for writable generated files.
Features
OCaml: Pexp_hole and Pmod_hole parsetree nodes now represent wildcards in expressions and modules, enabling ppx transforms to operate on them. Merged in #15051.
Dune: include_subdirs qualified now accepts literal and dynamic directory-to-module mappings, renaming subdirectories in the qualified namespace. Merged in #13691 and #16420.
Eio: Eio.Path.open_in and Eio.Path.open_out accept a ?follow argument (default Follow), matching other path functions. Merged in #938.
OxCaml: new flags -support-lto, -reaper-solve, and -reaper-rebuild split the LTO reaper into separate ocamlopt invocations with intermediate .cmx/.ltosol files. Merged in #7264.
js_of_ocaml: large binary string constants are emitted as base64 literals decoded once at init, reducing a 3 MB payload from 8.3 MB escaped to ~4 MB. Merged in #2432.
Releases
opam 2.6.0: released 2026-09-17 with signed binaries. Known issue: sets GIT_CONFIG_GLOBAL/GIT_CONFIG_SYSTEM to /dev/null, ignoring user git config. Release · #7152
Fixes
OCaml: deadcode no longer eliminates atomic loads with discarded results, which act as memory-ordering fences. Merged and backported to 5.5 in #15045.
Dune: Menhir-generated parsers now preserve dependencies used by type inference, eliminating racy "inconsistent assumptions over interface" failures. Merged in #16447.
Merlin: merlin-locate and merlin-occurrences now resolve binding operators such as let* and and+. Closes #1398.
OxCaml: functional record updates that change a field's representation (e.g. int → float#) no longer miscompile; the original representation is stored in Texp_record. Merged in #7155.
Compatibility
OCaml: with module type precedence changed so T with module type T = T -> T groups as T with module type T = (T -> T); existing code relying on the old grouping fails to compile. Merged in #14978.
Dune: generated files are now always read-only (executable bits preserved), removing the pre-2.4 language-version opt-out; projects relying on writable generated files must update. Merged in #16388.