Thicket thicket
ocaml
REPOS 9

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

W25.2025 · 16–22 JunTools

Features

  • js_of_ocaml (PR #1594): Merged; propagates function arity across compilation units via shape annotations in generated JS. Load shapes with --load-shape FILE.cma.js (closes #550).
  • js_of_ocaml (PR #2052): Merged; adds finer control over jsoo compiler warnings (fixes #1863).
  • opam 2.4.0~beta1 deps-only: Merged; no longer removes the target package when installing dependencies of a different version (#6520).
  • opam 2.4.0~beta1 Windows: Merged; embeds Cygwin setup-x86_64.exe inside the binary as an offline fallback. New ./configure --with-cygwin-setup option controls inclusion (#6526).
  • Odoc odoc-config.sexp: Merged; the (packages ...) field now permits linking modules of libraries within a package, removing the need to list them under (libraries ...) (#1343).
  • Dune OxCaml testing: Merged; adds the %{oxcaml_supported} variable and a test suite that activates only when the OxCaml compiler is detected (#11826).

Fixes

  • js_of_ocaml (PR #2039): Merged; fixes method lookup cache corruption in separate compilation where multiple units shared the same cache slot.
  • opam 2.4.0~beta1 reinstall: Merged; no longer removes the internal sources directory for non-pinned packages, preventing unnecessary re-fetches (#6550).
  • Dune portable lockdirs: Fixed; the solver now defaults to arm64 and x86_64 architectures, preventing ocaml-option-bytecode-only from being selected on common platforms (#11926).
  • Odoc odoc_driver_voodoo: Merged; corrects library-name resolution when a package has no dependencies, where the archive filename was previously mistaken for the library name (#1352).

Compatibility and Releases

  • opam 2.4.0~beta1: First beta of the 2.4.0 series, published 2025-06-19. Binaries signed by the opam dev team (fingerprint 92C5 26AE 50DF 3947 0EB2 911B ED4C F1CA 67CB AA92) (release).
  • Dune 3.19.1: Released 2025-06-20 (#11895).