Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
6 active · 3 unchanged
ocaml/dune
PermalinkFeatures
%{bin:...} resolution: Open PR changes %{bin:NAME} to resolve to the build artifact path rather than the install staging area. Not gated by lang version, making it a breaking change for actions using the pform as a string value. #14432
Per-module dependency filtering: Open PR narrows compile-rule deps to only libraries a module actually references, eliminating over-rebuilds when unreferenced sibling libraries change. Addresses long-standing issue #4572 on incremental build times. #14472
Relocatable compiler: Merged; makes the relocatable OCaml compiler the default for dune pkg, enabling build-cache reuse of the compiler across projects and builds. #14357
Single solve for portable lockdirs: Open PR replaces per-platform solves with a single SAT solve, enabling consistent package versions across platforms in dune pkg lock. #14458
Fixes
Menhir opam injection: Merged; restricts the >= "20180523" lower-bound to packages that already declare (depends menhir), fixing spurious deps added to all packages in 3.23.0. Backported to 3.23.1. #14434
Opam version gate: Merged; gates dune-bound deduplication in generated opam files on (lang dune 3.23), reverting the unversioned change that altered output for projects at earlier lang versions. #14466
Compatibility and Releases
Dune 3.23.0: Released with user rules sandboxed by default, compile_commands.json generation for C/C++ stubs (editor integration), no auto-promotion of opam files, and support for multiple (dirs ..) stanzas under (lang dune 3.23). Release
Dune 3.23.1: In progress; backports the menhir and opam-generation regressions from 3.23.0. Release branch open with fixes merged. #14441
ocaml/merlin
PermalinkFeatures
- Merlin (ocamlgrep proposal): PR #2064 proposes a new
ocamlgrepsubcommand for type-aware structural search across project cmt files. Maintainers discuss deeper integration sharing merlin's artifact caches and project-root discovery rather than a standalone binary.
Compatibility and Releases
- Merlin (misc.ml sync): PR #2059 merged, synchronizing merlin's utility module with the compiler's
utils/misc.ml. Files moved tosrc/ocaml/utils/to reduce drift on future compiler updates.
ocaml/ocaml-lsp
PermalinkFixes
-
ocaml-lsp (PR #1603): Merged 2026-05-05. Adds a
pin-dependson merlin toocaml-lsp-server.opam.template, resolving the build failure whereOcaml_utils.Miscwas unbound. Fixes #1602. -
ocaml-lsp (PR #1601): Merged 2026-05-04. Applies compatibility changes for #2059. No further detail is provided in the record.
Compatibility and Releases
- ocaml-lsp (issue #1604): Open. On OCaml 4.14,
opam upgradedowngradesocaml-lsp-serverfrom 1.21.0-4.14 to 1.17.0 because the older release predates thelsplibrary split, leaving an orphanedlsppackage installed. A comment suggests restrictinglsp >= 1.22to OCaml ≥ 5 as a possible fix.
ocaml/odoc
PermalinkFeatures
- Odoc (OxCaml support): PR #1422 adds parsing of the
[@@zero_alloc]annotation on signatures, retaining it in parsed output for documentation rendering. Still open and under review.
Compatibility and Releases
Fixes
- Odoc 3.2.0: PR #1430 fixes an assertion failure when building docs for merlin-lib, a regression exposed by the earlier fix for #930. Merged 2026-05-11.
- Odoc 3.2.0: PR #1427 fixes a
Not_foundcrash when compiling docs with OCaml 5.5, caused by untracked identifiers inArrow_functortype expressions. Merged 2026-05-04. - Odoc master: Issue #1431 reports a crash when running
dune build @docon core_unix, triggered by missing odoc files. Open within the reporting interval.
ocaml/opam
PermalinkFeatures
- opam update (PR #6915, merged):
opam updatenow applies repository diffs containing file-to-directory or directory-to-file renames, resolving thepatchfailure in #3830. Merged 2026-05-07. - opam install autopin cleanup (PR #6923, open): proposes unpinning packages that were auto-pinned during a local
opam installwhen the user aborts the operation. Queued on #6910; discussion ongoing.
Fixes
- opam zsh completion (PR #6930, open): adds
return 0to the zsh completion function to prevent leaking non-zero exit codes into the user's shell prompt. Opened 2026-05-09. - opam config subst (issue #6925, open):
opam config subst /tmp/somefilefails withFile_not_foundbecause the path is treated as relative to$PWD. Reported 2026-05-06.
Compatibility and Releases
- CI documentation trigger (PR #6927, merged): GitHub Actions now triggers the full CI suite on changes under
doc/, fixing the gap where doc-only edits skipped the doc build. Merged 2026-05-11. - Makefile lib-tests target (PR #6928, merged): adds a
lib-teststarget to the top-levelMakefileso library tests can be run withoutcd tests/lib. Merged 2026-05-11. - depopts documentation (PR #6920, merged): bolds the existing note distinguishing
depoptsfilter behaviour fromconflictsin the manpage. Closes #5367. Merged 2026-05-06. - Repository path-name modules (PR #6917, merged): introduces dedicated modules for opam-root and repository directory/filename constants, removing hardcoded strings. Merged 2026-05-11.
ocsigen/js_of_ocaml
PermalinkFeatures
- js_of_ocaml Wasm runtime (PR #2232, open): dispatches
wasmoocaml:loadedandwasmoocaml:errorCustomEvents onglobalThiswhen asynchronous Wasm instantiation completes, letting external JavaScript wait for OCaml exports. Ported from ocaml-wasm/wasm_of_ocaml#143. Link
Compatibility and Releases
- js_of_ocaml build system (PR #2231, open, blocked): switches to dune 3.23 and uses
js_of_ocaml --build-configfor configuration; blocked on ocaml/dune#14441 and ocaml/dune#14438. Link - js_of_ocaml CI (PR #2236, merged): adds a lower bound on the
menhirdependency required by dune 3.23. Link - js_of_ocaml Node.js 26 (PR #2235, closed unmerged): a separate attempt to drop the same experimental flags; superseded by the merged PR #2234. Link
Fixes
- js_of_ocaml code generation (PR #2233, merged): corrects variable coalescing to handle
breakinstructions properly and provides a better fix for emptytrybodies. Link - js_of_ocaml Wasm string conversion (PR #2230, merged): ensures
wasm:js-stringimports always resolve even when the engine lacks the JS String Builtins proposal. Link - js_of_ocaml Node wrapper (PR #2234, merged): removes outdated
--experimental-wasm-imported-stringsand--experimental-wasm-stack-switchingflags that Node.js 26 rejects as "bad option". Link