Thicket thicket
ocaml
REPOS 9

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

W48.2025 · 24–30 Nov

Tools repository summaries

6 active · 3 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

Dune Rocq build language: New (lang rocq) build mode for the Rocq Prover, merged 2025-11-25. (lang coq) is deprecated and targeted for removal in Dune 3.24. #12035, #12793

Dune promotion show: New dune promotion show subcommand prints corrected file contents for failed diff rules without modifying sources. Merged 2025-11-26. #12669

Dune runtest for tests: Open PR extends dune runtest to accept sources from (tests) stanzas, addressing long-standing request #870. #12785

Fixes

Dune version parsing: Fixes an internal crash when dune-project contains a non-ASCII version string such as (lang dune è). Now emits a proper error with a hint showing the latest supported version. Merged 2025-11-28. #12794

Dune substitute action: Open PR stops the substitute action from observing the full environment, preventing spurious rebuilds of packages like ocaml-config after unrelated variable changes. #12825

Compatibility and Releases

Dune 3.21 warning set: Breaking change: with (lang dune 3.21), Dune no longer overrides the compiler warning set. Add %{dune-warnings} to (flags) to restore the previous defaults. Merged 2025-11-26. #12766

Dune promoted files: Reverts the change making promoted files read-only by default, which broke packaging and deployment workflows. The behaviour will return behind a feature gate after the 3.21 release. Merged 2025-11-28. #12808

Dune dev-tool lock dirs: Dev-tool lock directories move from dev-tools.locks/ to _build/.dev-tools.locks/, keeping them out of the worktree by default. Merged 2025-11-25. #12671

ocaml/merlin

Permalink

Features

  • Merlin signature help (PR #1997): Proposes restricting signature-help responses to function parameters only, suppressing them on the function name. Open, under review.
  • Merlin signature help (PR #2009): Proposes triggering signature-help on unfinished let ... in bindings. Open, no review yet.

Fixes

  • Merlin C server (PR #1998): Fixes sockaddr_un size computation for BSD systems via offsetof and corrects Windows error reporting to use GetLastError/FormatMessage. Open, in progress.
  • Merlin 4.7-413 build (issue #1993): opam install merlin fails on Ubuntu 25.04 with OCaml 4.13.1 due to a missing seq library. Open, unresolved.

ocaml/ocaml-lsp

Permalink

Features

ocaml-lsp: Merged #1563 makes the server fall back to .merlin files when no dune-project is found, eliminating the need for --fallback-read-dot-merlin. Closes issue #1522.

ocaml-lsp 4.14 branch: Open #1574 backports hover fixes, .mlx file support, configurable code-lens, and a merlin-lib 4.18 compatibility fix to the 4.14 LTS branch.

Compatibility and Releases

ocaml-lsp: Merged #1573 adds dune pkg installation instructions to the README, noting the command requires dune ≥ 3.21.0.

ocaml-lsp: Merged PRs #1400, #1404, and #1480 remove remaining stdune dependencies from the code generator, I/O layer, and list utilities.

ocaml/odoc

Permalink

Fixes

  • odoc: removes obsolete symlinks that prevent building with dune pkg, as Dune package management does not support symlinks. Merged by Sudha247. #1392

ocaml/opam

Permalink

Releases

opam 2.5.0: Released 2025-11-27 with no significant changes from 2.5.0~beta1. Release notes

Fixes

opam performance (PR #6515, merged): Merged 2025-11-28. Reduces GC pressure in version comparison and cache unmarshalling; opam show drops from ~900 ms to ~380 ms on OCaml 5.4. PR

opam init (PR #5979, merged): Merged 2025-11-25. Displays an appropriate error when --config points to a missing file or VCS URL instead of triggering an assertion failure. PR

Features

opam env (PR #6812, open): Sets XDG_DATA_DIRS and FPATH in opam env output to enable bash and zsh completion from the active switch. PR

opam show (PR #6818, open): Reduces I/O by reading switch selections once instead of once per displayed package version. PR

Compatibility

opam 2.5.0 build (issue #6822, closed): Fails with Dune 3.20.0 due to an s-expression parsing regression; closed as a Dune-side issue. Issue

opam env_hook (issue #6815, open): The PROMPT_COMMAND hook re-prepends the switch bin to PATH before every prompt, overriding user-set prefixes. Issue

opam sandboxing on KDE Neon (issue #6820, open): bwrap fails with RTM_NEWADDR: Operation not permitted under KDE Neon's stricter AppArmor policies. Issue

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml (PR #2132): Open PR by hhugo adds runtime improvements in preparation for Deno runtime support. Not yet merged.
  • js_of_ocaml (issue #2131): Open feature request to replace the binaryen-bin opam dependency with conf-binaryen, allowing use of distribution-provided binaryen tools. Affects wasm_of_ocaml installation.
3 repositories · no changes