Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
4 active · 5 unchanged
ocaml/dune
PermalinkFeatures
-
Add
dune ocaml inferred-mli MODULEto generate an interface using the module's actual build configuration (preprocessing, deps, opens, flags). Stale or missing interfaces are applied viadune promote. Merged in #16111. Fixes #12727. -
dune describe workspacenow reports each module's origin: source, rule-generated (with dune file and deps), ocamllex, ocamlyacc, menhir, or wrapper. Merged in #15478. Fixes #12998. -
Sandboxed actions on Linux are now confined with Landlock directory-FD policies, restricting writes to the action sandbox and
/dev. Dune 3.25 only; disable withDUNE_CONFIG__LANDLOCK=disabled. Merged in #15858. -
A joint SAT solver for
dune pkg locksolves all requested platforms in one pass, yielding a ~1.75× end-to-end speedup. Proposes removing the portable/non-portable lock-directory distinction. Open in #15982 and #15987.
Fixes
-
Watch mode on macOS no longer stops rebuilding after an fsevents queue overflow, and no longer crashes when a cancelled build's process group returns EPERM. Merged in #16068 and #16059.
-
Merlin now receives CMT annotation paths for private library modules, restoring locate for modules hidden by
(private_modules ...). Merged in #15977. Fixes #4892. -
Rocq native plugins (
.cmxs) are now materialized in the package-scoped layout, fixing a regression that broke theory builds with plugins. Merged in #16054. Fixes #16048. -
dune ocaml top-module,dune ocaml top,dune promote, anddune describe workspacenow resolve absolute and subdirectory-relative paths consistently. Merged in #16135, #16142, #16143, #16144.
ocaml/merlin
PermalinkFixes
Features
- Typed-hole completion request #1212 closed on 2026-08-17. The
constructprotocol method (available in Emacs, VSCode, NeoVim, and as a completion hook) covers the use case. See the protocol docs and the Emacs expression-construction guide.
ocaml/ocaml-lsp
PermalinkFeatures
- #1986 (open, updated 2026-08-23): Adds
textDocument/onTypeFormattingfor OCaml and ocamllex files via an optionalocp-indent-rpchelper process. Newline-triggered requests edit only the new line's leading whitespace; a missing or failed helper degrades to no edits.
Fixes
- #2143 (open, filed 2026-08-21): On OCaml 4.14, when a warning-as-error and a type error share the same source range, the LSP server reports only the first (the warning). The real type error is suppressed. No fix merged yet.
Compatibility and Releases
ocaml/opam
PermalinkCompatibility and Releases
- opam 2.6.0~beta1 released 2026-08-22. Binaries signed by the opam dev team; see the release notes and blog post for upgrade instructions. Install scripts updated in #7099.
Features
- Nushell support:
opam envemits JSON forload-env, and shell-config integration is added (#6873, open). - Shell completions for bash, zsh, and PowerShell generated from cmdliner argument definitions, replacing hand-written scripts (#6869, #6868, #6867, open; queued).
- Solver: DNF conversion skips disjunctions whose atoms are disjoint from the package being filtered, avoiding combinatorial blowup on
dependsfields with many independent choices (#6831, open).
Fixes
opam init --reinitnow regenerates the switch list, removes invalid entries, and repairs corrupted switch config/cache files (#7068, merged; in 2.6.0~beta1).- Git
gc.autoDetachand maintenance jobs are disabled on repositories opam manages, preventinglstatfailures onmaintenance.lockduringopam repo addand build steps (#7073, merged; in 2.6.0~beta1). opam list --debug --safe(and equivalentOPAMDEBUGusage) now emits debug output to stderr instead of silently suppressing it (#7091, merged; in 2.6.0~beta1).opam install --deps-only .no longer recursively scans the entire project tree for extra-files, eliminating heavy I/O on large or uncommitted directories (#7101, open; fixes #7098).