Thicket thicket
ocaml
REPOS 9

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

W25.2025 · 16–22 Jun

Tools repository summaries

6 active · 3 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

  • Dune OxCaml testing (PR #11826): merged 2025-06-18. Adds the %{oxcaml_supported} variable and a dedicated test suite that activates only when the OxCaml compiler is detected. Link

  • Dune concurrent tests with watch (PR #11900): open. Proposes a dune runtest RPC so tests can execute while a dune -w watch server is active, avoiding a second build pass. Link

Compatibility and Releases

  • Dune 3.19.1: released 2025-06-20. Release tracker closed with all backports and changelog tasks completed. Link

Fixes

  • Dune portable lockdirs depext (issue #11824): fixed, closed 2025-06-19. dune show depext returned empty output when DUNE_CONFIG__PORTABLE_LOCK_DIR=enabled; the fix is merged. Link

  • Dune portable lockdirs native compiler (issue #11926): fixed, closed 2025-06-19. The solver now defaults to arm64 and x86_64 architectures, preventing ocaml-option-bytecode-only from being selected on common platforms. Link

  • Dune C stubs flags (issue #11923): open, reported 2025-06-17. Dune compiles all C stubs with bytecode_cflags, ignoring native_cflags; this causes crashes under ThreadSanitizer. Discussion is ongoing about building stubs separately per target. Link

  • Dune lock_dir documentation (issue #11921): closed 2025-06-17. The docs listed :default as a valid repositories value in the lock_dir stanza; the correct token is :standard. Documentation corrected. Link

  • Dune lang version error (issue #11932): open, reported 2025-06-20. When a dune-workspace declares a lang dune version newer than the installed binary, the error message references an unrelated "extension" instead of suggesting a dune upgrade. Link

ocaml/merlin

Permalink

Merlin: No activity within the reporting interval is supported by the supplied data. Issue #1934 (locate failure for Core.Md5 with duplicate source filenames) was opened 2025-05-15, before the interval; its last recorded update (2025-06-23T15:00Z) falls after the exclusive end. All comments are undated and cannot be placed in the interval.

ocaml/ocaml-lsp

Permalink

Fixes

  • ocaml-lsp 414-LTS: merges a FreeBSD compatibility patch for the 4.14 LTS branch, resolving build failures on FreeBSD 14.2. The same fix applies to the main branch. (#1466, merged 2025-06-18, by mro)

ocaml/odoc

Permalink

Features

Odoc odoc-config.sexp convention: the (packages ...) field now permits linking both package pages and the modules of libraries within that package, removing the need to also list them under (libraries ...). Merged 2025-06-18. #1343

Odoc sherlodoc libraries: sherlodoc libraries are now exposed as separate packages, allowing the sherlodoc web server to be compiled outside the odoc repository. Merged 2025-06-18. #1349

Fixes

Odoc odoc_driver_voodoo: corrects library-name resolution when a package has no dependencies; previously the archive filename (e.g. com.cma) was mistaken for the library name. Merged 2025-06-18, closes #1351. #1352

ocaml/opam

Permalink

Features

  • opam 2.4.0~beta1 --deps-only: no longer removes the target package when installing dependencies of a different version. Installing deps of pkg.2 while pkg.1 is installed no longer evicts pkg.1. (#6520)
  • opam debug filter: open PR adds a filter that matches a FILE prefix across all FILE(config), FILE(state), etc. variants, reducing noise in verbose output. (#6551)

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)
  • opam 2.4.0~beta1 build: bumps auto-downloaded dune to 3.19.0; ./configure --without-dune now builds with OCaml 5.4. (#6527)
  • opam reftest engine: adds multi-argument sed-cmd (replacing pipes), automatic replacement of hex/date values in debug output, and filtering of rsync log lines. (#6549)

Fixes

  • opam 2.4.0~beta1 reinstall: no longer removes the internal sources directory for non-pinned packages, preventing unnecessary re-fetches. (#6550)
  • opam 2.4.0~beta1 --deps-only: fixes a case where the solver used the wrong package's opam description, causing a mismatch between displayed and executed actions. (#6544)
  • opam 2.4.0~beta1 Windows: embeds Cygwin setup-x86_64.exe inside the binary as an offline fallback when cygwin.com is unreachable. New ./configure --with-cygwin-setup option controls inclusion. (#6526)

ocsigen/js_of_ocaml

Permalink

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.
  • js_of_ocaml (PR #2044): Merged. Optimizes calls to statically known functions in Wasm output.
  • js_of_ocaml (PR #2047): Opened. Extends shape propagation to work with dune build support. Stacked on PR #1594.
  • js_of_ocaml (PR #2054): Opened. Proposes combined Wasm function optimizations: float/integer unboxing, parameter passing, return-value unboxing, and comparison specialization.

Fixes

  • js_of_ocaml (PR #2039): Merged. Fixes method lookup cache corruption in separate compilation where multiple units shared the same cache slot.
  • js_of_ocaml (PR #2053): Merged. Corrects WAT debug output that was incorrect due to shared context mutation during partial application.
3 repositories · no changes