Thicket thicket
ocaml
REPOS 9

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

W20.2025 · 12–18 MayTools

Features

  • js_of_ocaml: wasm_of_ocaml now emits a binary Wasm module by default, speeding up binaryen parsing. Source maps and --debug wat still require text output. #2000, #2003
  • js_of_ocaml: Deadcode elimination now handles cyclic values, removing unreachable code that earlier passes missed. #1978
  • js_of_ocaml: Improves Js_assign variable naming, reducing fiat-crypto output size by 10% and compilation time by 5%. Adds --debug var for readable variable names. #1986

Compatibility

  • js_of_ocaml: Deprecates List functions that hide polymorphic comparison, avoiding polymorphic hashtbl usage. #1981
  • js_of_ocaml: Reorders optimization passes so jsoo reaches the ocamlc fixpoint one round earlier (~8.6 s to ~7.8 s). #2001

Fixes

  • js_of_ocaml: Fixes bigarray hashing in the Wasm runtime. #1977
  • js_of_ocaml: Fixes the toplevel when use-js-strings is disabled, correcting the caml_jsoo_flags_effects binding. #1997
  • js_of_ocaml: Moves the JavaString hash function out of the wasm:js-string builtin module into bindings for Firefox compatibility. #1990
  • Merlin (PR #1935): Fixes a short-path issue introduced by OCaml 5.3, where an extra type annotation was incorrectly added to the dependency graph. Merged 2025-05-27. Link
  • Merlin outline (PR #1936): Adds outline entries for object expressions nested inside let bindings, aligning output with ocaml-lsp expectations. Merged 2025-05-27. Link
  • opam (PR #6516): Open fix so --depext-only returns a non-zero exit code on dependency conflicts instead of 0. Addresses issue #6488. Link