Thicket thicket
ocaml
REPOS 9

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

W46.2025 · 10–16 Nov

Tools repository summaries

6 active · 3 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

Dune pkg (portable lockdirs): Portable lock directories are now the default format. Non-portable lockdirs remain supported; dune auto-detects the format. Closes #11476 and #12694. (#12680)

Dune pkg (autolocking): With (pkg enabled) in dune-workspace, dune build resolves and installs dependencies without a prior dune pkg lock. An existing lockdir is still honoured if present. Closes #11614 and #12098. (#12653)

Dune rules (%{cmt}, %{cmti}): New artifact variables %{cmt} and %{cmti} allow rules to reference compiled interface files directly. %{cmti} falls back to the .cmt for modules without a separate .cmti. Closes #12633. (#12634)

Dune (@unused-libs alias): New @unused-libs alias errors when a library or executable links a dependency that is never referenced. An allow_unused_libraries field suppresses the check per stanza. Closes #650. (#12623)

Coq/Rocq (_CoqProject generation): Adding (generate_project_file) to a coq.theory stanza emits a _CoqProject file per theory, enabling editor stepping through Coq sources. Incompatible with per-module flags and multiple theories in one directory. (#11752)

Dune (dune describe tests): New dune describe tests subcommand lists unit, cram, and inline test stanzas with name, source dir, package, enabled status, and actionable build target. Closes #12030. (#12545)

Dune (%{ppx:} pform): New pform %{ppx:lib1+..+libn} references a ppx driver executable produced by dune, simplifying ppx test stanzas. (#12711)

Fixes

Coq/Rocq (modules_flags): (modules_flags ...) now accepts multiple modules in a single coq.theory stanza. The fix is gated behind coq lang 0.11; older lang versions retain the previous single-module restriction. Closes #12638. (#12733)

ocaml/merlin

Permalink

Fixes

Merlin: non-exhaustive lambda-pattern matching is now reported as an error. Issue #1517 closed 2025-11-14; regression test merged in #1995.

Merlin 4.7-413: opam install merlin fails on Ubuntu 25.04 with OCaml 4.13.1 due to a snprintf truncation error in ocamlmerlin.c. Issue #1993 is open; full build log requested.

Proposals

Merlin -short-paths: #1994 (open) adds tests covering the -short-paths flag and .merlin configuration. Reviewer suggests using the flag directly instead of a .merlin file.

Merlin: #1996 (open) adds a test confirming that let a : type b. 'a as b list = [] no longer crashes Merlin, though incoherent errors may still appear from parsing recovery.

ocaml/ocaml-lsp

Permalink

Fixes

  • ocaml-lsp (issue #1572): closed 2025-11-13. The ppx_yojson_conv_lib upper bound on yojson was already relaxed in the opam repository; the reporter was using an outdated OCaml 5.2.1 switch. ocaml-lsp-server 1.23.1 and 1.24.0 install alongside yojson 3.0.0 without conflict.

  • ocaml-lsp (issue #1209): open since 2023. After fixing a type error in a .ml file, the LSP retains a spurious Unbound module diagnostic in a dependent file until the server is restarted. A 2025-11-16 comment requests reproduction on macOS to narrow the cause to Linux file-notification code.

Compatibility and Releases

  • ocaml-lsp-server 1.23.1 (issue #1571): open. opam install fails during dune build on Lubuntu 25.10 with OCaml 5.3.0. The captured output shows only C warnings from vendored code; the actual compile error is not yet identified.

ocaml/odoc

Permalink

Features

  • odoc: Issue opened proposing rendering of parameterized libraries in generated documentation; Dune and oxcaml already support the feature. @art-w is assigned. (#1390)

ocaml/opam

Permalink

Releases

  • opam 2.5.0~beta1: First beta release. Fixes opam switch create --dry-run creating switch directories, version-equivalent rename (pkg.00 → pkg.0) removing packages, and macOS sandbox path restrictions. Drops the cmdliner dependency. Release notes

Documentation

  • opam (PR #6777): Adds documentation for creating a switch with compiler configure-time options such as ocaml-option-flambda. Open, needs update. PR
  • opam (PR #6778): Adds FAQ entry explaining how opam init and opam switch create select the default compiler package. Open, needs update. PR
  • opam (issue #6797): Reports that the opam list --installable manpage does not clarify how uninstalled depexts affect the result. Open. Issue

Features

  • opam (PR #6625, WIP): Proposes reading HTTP repositories as tar.gz in-place instead of untarring, targeting opam update and opam init performance on slow filesystems. PR
  • opam (PR #6489): Proposes checking depexts status during opam update rather than at install time, reducing repeated system checks. PR

Compatibility and Releases

  • opam (PR #6795): Merged. Adds 2.5.0~beta1 to the official install scripts. PR

ocsigen/js_of_ocaml

Permalink

Fixes

  • Js_of_ocaml runtime: merged fix removes spurious node:util references from generated JS when using --target-env browser in the dev profile. Closes #2127 via #2129.

Features

  • Js_of_ocaml Wasm runtime: #2108 proposes exposing the JavaScript eval function to Wasm-compiled code. Still open; pending review comments as of the reporting interval.
3 repositories · no changes