Thicket thicket
ocaml
REPOS 9

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

W36.2025 · 1–7 SepTools

Features

  • js_of_ocaml (wasm): Merged number unboxing within functions (#2069). Avoids boxing numeric values never used as boxed, speeding up benchmarks.

  • opam update: Open PR loads only changed .opam files during opam update instead of the full repository. Reduces update time from ~10 s to ~0.01 s on Windows. (#6614)

  • Dune (OxCaml): Merged detection of the parameterised_modules compiler flag and exposure of the ox config parameter. Requires OxCaml; standard OCaml is unaffected. (#12393)

  • Dune (RPC): Merged support for formatting dune files via RPC while the watch server is running. Enables editor integrations to format without stopping the build. (#12064)

  • Merlin (proposal): Open PR adds a locate_type_multi query returning a tree of identifier locations for compound types. Extends locate_type for VSCode "Go to Type Definition" support. (#1951)

Compatibility

  • js_of_ocaml (wasm): Open PR tightens Wasm primitive type signatures, making several runtime primitive types more precise. May affect code that pattern-matches on those values. (#2100)

  • opam (3.0 design): Open proposal embeds a hash of each .opam file in lock files so CI can detect same-version metadata changes. Marked as an opam 3.0 design item. (#6668)

Fixes

  • Dune 3.20.2: Released with fixes for jsoo separate compilation, runtest-js dependency resolution, empty .cram.test.t cleanup, and Cygwin bootstrap. (release)

  • opam remove: Open PR prevents opam remove --force from executing removal commands in the current working directory. Fixes #6570. (#6672)

  • Dune (pkg): Since 3.20.0, dune build rebuilds the OCaml compiler on every run because the toolchain is non-relocatable. Workaround: use rm -rf _build/default instead of dune clean. (#12390)

  • ocaml-lsp v1.23.0: Hover on method calls returns "No information available" with OCaml 5.3.0. type-enclosing yields the correct type. (#1552)

  • opam (Windows): A fresh opam 2.4.1 install on Windows 11 leaves flexlink.exe absent, causing all native linking to fail. opam switch reinstall restores the binary. (#6669)