Thicket thicket
ocaml
REPOS 9

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

W41.2026 · 5–11 OctTools

Features

  • js_of_ocaml: JS and Wasm runtimes now implement Sys.filepath_exists (OCaml 5.6). Returns false on ENOENT/ENOTDIR; raises Sys_error otherwise. (#2493, merged)

  • opam: Sets safe.directory=. when invoking git, resolving git ls-files failures for repositories owned by a different local user (e.g. Docker). (#6980, backported to 2.6 in #7182)

  • dune: js_of_ocaml and wasm_of_ocaml whole-program mode now pass -bytecode-hints when linking the bytecode executable (OCaml 5.6+). (#16560, merged)

Compatibility

  • js_of_ocaml: The JS backend no longer emits ES2021 logical-assignment operators (&&=, ||=, ??=), restoring compatibility with older engines. (#2502, merged)

  • odoc: Builds against OCaml 5.6 trunk. (#1472, merged)

Releases

  • opam 2.6.1 released 2026-10-07. Includes the git safe.directory fix, the GIT_CONFIG_* Windows fix, and the checkseum lockfile update. Release notes.

Fixes

  • js_of_ocaml: inline_recursively no longer duplicates a closure at every nested-functor level. The fiat-crypto benchmark, which previously exhausted memory, compiles in ~42 s / 1.4 GB. (#2495, merged)

  • js_of_ocaml: Str.string_partial_match no longer allows a group's start to exceed its end (OSEC-2026-21). The JS runtime stops the matcher on a partial match instead of looping until heap exhaustion. (#2492, merged)

  • js_of_ocaml: Wasm linker fixes instruction decoding (legacy exceptions, SIMD immediates, memory.atomic.fence, stack switching), segment/table retargeting, continuation-type equality, and export ordering. (#2504, merged)

  • opam: opam install --depext-only now installs depexts only for newly added packages, preventing spurious system-package installs for packages being removed or updated. (#7166)

  • dune: 3.25.0-rc introduced a ~5× zero-build slowdown and ~9× peak-RSS increase on large Rocq workspaces. A memoization patch reduces this to 11.5 s / 1.5 GiB. (#16543, open)

  • merlin: Corrects diagnostic deduplication so two distinct diagnostics sharing the same range are no longer collapsed into one. Affects editor error display on OCaml 4.14. (#2138, open)