Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
6 active · 3 unchanged
ocaml/dune
PermalinkFeatures
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)
ocaml/merlin
PermalinkFixes
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
PermalinkFixes
-
ocaml-lsp (issue #1572): closed 2025-11-13. The
ppx_yojson_conv_libupper bound onyojsonwas already relaxed in the opam repository; the reporter was using an outdated OCaml 5.2.1 switch.ocaml-lsp-server1.23.1 and 1.24.0 install alongsideyojson3.0.0 without conflict. -
ocaml-lsp (issue #1209): open since 2023. After fixing a type error in a
.mlfile, the LSP retains a spuriousUnbound modulediagnostic 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 installfails duringdune buildon 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
PermalinkFeatures
- 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
PermalinkReleases
- opam 2.5.0~beta1: First beta release. Fixes
opam switch create --dry-runcreating switch directories, version-equivalent rename (pkg.00→pkg.0) removing packages, and macOS sandbox path restrictions. Drops thecmdlinerdependency. 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 initandopam switch createselect the default compiler package. Open, needs update. PR - opam (issue #6797): Reports that the
opam list --installablemanpage 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 updateandopam initperformance on slow filesystems. PR - opam (PR #6489): Proposes checking depexts status during
opam updaterather than at install time, reducing repeated system checks. PR
Compatibility and Releases
- opam (PR #6795): Merged. Adds
2.5.0~beta1to the official install scripts. PR
ocsigen/js_of_ocaml
PermalinkFixes
Features
- Js_of_ocaml Wasm runtime: #2108 proposes exposing the JavaScript
evalfunction to Wasm-compiled code. Still open; pending review comments as of the reporting interval.