Features
-
js_of_ocaml — New
WebGL2module (merged) adds 3D textures, transform feedback, VAOs, instancing, MRT, and integer attribs. Theexamples/webgldemo now requests a WebGL2 context. #2388 -
js_of_ocaml —
js_of_ocaml compile --esm,build-runtime --esm, andlink --esm [--bundle]emit ECMAScript modules with named imports and tree shaking (open RFC). Separate-compilation link step drops from 16 ms to 9 ms. #2402 -
opam — HTTP repositories are now stored as the downloaded tar.gz rather than extracted to disk.
opam updateandopam initno longer untar the index, eliminating a 1+ minute delay on Windows and network filesystems. #6625
Compatibility and Releases
-
js_of_ocaml — Five per-module
messageEventclass types replaced by a single polymorphic['target, 'data] Dom_html.messageEvent(merged, breaking). Old names remain as deprecated aliases; existing code compiles with a migration warning. #2390 -
js_of_ocaml — Initial OCaml 5.6 compiler support merged; the 5.6 CI job runs on master. #2227
-
opam — 2.5.2 released, bundling the CVE-2026-57825 fix, the
..re-allow in.installfiles, andreal_path/starts_withcorrections. Release -
ocaml-lsp — OCaml 5.5 support is now available; the tracking issue was closed 2026-07-08. The Nix development sandbox defaults to OCaml 5.5. #1596, #1616
Fixes
-
js_of_ocaml — If-fusion in
js_simpl/js_traversenow requires an effect-free condition, preventinglet a = g() in if a then g() else h()from compiling to a singleg()call (merged). #2393 -
ocaml-lsp — ppx hover now uses Merlin's
expand-ppxcommand instead of constructing the expansion locally, fixing broken@@derivingoutput fortype … and …declarations (merged). #1615 -
opam — CVE-2026-57825: a symlink in a package's
.installfile could bypass the switch prefix check and write files outside the switch. Fixed on master and backported to 2.5. #7005 -
dune — Compiler packages with version ≥ 5.5.0 are now treated as relocatable installs, bypassing the toolchain cache. Fixes spurious rebuilds with OCaml 5.5 (merged). #15444
-
dune —
Fpath.existsandFpath.is_directorynow return false on ENOTDIR, preventing a crash when~/.config/duneis a regular file (merged). #15475