Thicket thicket
ocaml
REPOS 9

Tools covers builds, package management, editors, documentation and JavaScript compilation.

W28.2026 · 6–12 JulTools

Features

  • js_of_ocaml — New WebGL2 module (merged) adds 3D textures, transform feedback, VAOs, instancing, MRT, and integer attribs. The examples/webgl demo now requests a WebGL2 context. #2388

  • js_of_ocaml — js_of_ocaml compile --esm, build-runtime --esm, and link --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 update and opam init no longer untar the index, eliminating a 1+ minute delay on Windows and network filesystems. #6625

Compatibility and Releases

  • js_of_ocaml — Five per-module messageEvent class 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 .install files, and real_path/starts_with corrections. 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_traverse now requires an effect-free condition, preventing let a = g() in if a then g() else h() from compiling to a single g() call (merged). #2393

  • ocaml-lsp — ppx hover now uses Merlin's expand-ppx command instead of constructing the expansion locally, fixing broken @@deriving output for type … and … declarations (merged). #1615

  • opam — CVE-2026-57825: a symlink in a package's .install file 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.exists and Fpath.is_directory now return false on ENOTDIR, preventing a crash when ~/.config/dune is a regular file (merged). #15475