Thicket thicket
ocaml
REPOS 27

W28.2026 · 6–12 JulAll

opam 2.5.2 is released, bundling the CVE-2026-57825 symlink-escape fix. OCaml merges OCAMLRUNPARAM=S=<size> to control the stack allocated by Domain.spawn, addressing segfaults from large C stack frames; Eio changes getaddrinfo to raise Address_lookup_failed on resolution errors instead of returning an empty list.

Features

  • OCAMLRUNPARAM=S=<size> controls the stack allocated when spawning a domain via Domain.spawn, addressing segfaults from large C stack frames. Merged. #14860

  • opam update and opam init no longer extract HTTP repository indexes to disk; the tar.gz is stored in place, eliminating a 1+ minute delay on Windows and network filesystems. Merged. #6625

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

Compatibility

  • Filename.concat and Filename.dirname on Windows now treat : strictly as a volume separator. Targeted for 5.6 only. Merged. #14916

  • Eio.Net.getaddrinfo and getaddrinfo_stream raise Address_lookup_failed on resolution errors instead of returning an empty list. AI_ADDRCONFIG is passed on eio_linux and eio_posix. Merged. #866

  • Five per-module messageEvent class types in js_of_ocaml are replaced by a single polymorphic ['target, 'data] Dom_html.messageEvent. Old names remain as deprecated aliases. Merged. #2390

Fixes

  • Sys.file_exists on Windows now uses GetFileAttributes instead of GetFileInformationByName, fixing incorrect results caused by a Windows 11 24H2 kernel bug. Merged. #14919

  • Dune compiler packages with version ≥ 5.5.0 are treated as relocatable installs, bypassing the toolchain cache and fixing spurious rebuilds with OCaml 5.5. Merged. #15444

  • Fpath.exists and Fpath.is_directory return false on ENOTDIR, preventing a crash when ~/.config/dune is a regular file. Merged. #15475

  • js_of_ocaml if-fusion 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

  • chmod and chown on confined paths no longer follow symlinks pointing outside the sandbox. eio_linux uses O_PATH + AT_EMPTY_PATH; eio_posix resolves symlinks manually. Merged. #872

Releases

  • opam 2.5.2 released, bundling the CVE-2026-57825 symlink-escape fix, the .. re-allow in .install files, and real_path/starts_with corrections. #2.5.2