Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
6 active · 3 unchanged
ocaml/dune
PermalinkFeatures
-
dune shell TARGETopens an interactive shell at a prepared rule action boundary, exposing the expanded action, environment, and sandbox for debugging. Open PR by Alizter. #15597 -
(instrumentation (backend XXX) (libraries ...))adds conditional library dependencies active only when the instrumentation backend is enabled. Gated on Dune language 3.25. Open PR by nojb. #15622 -
@pkg-sourcealias fetches all locked package sources without building them, enabling offline builds after a network-enabled fetch phase. Open PR by Alizter. #15629 -
dune describe external-lib-deps --include-emptynow lists libraries with no dependencies, making the output self-contained for tooling consumers. Merged by NatKarmios. #15585
Fixes
-
RPC registry polling now rescans the directory when its mtime changes, fixing a race where clients (e.g. ocaml-lsp) never discovered a newly registered Dune instance. Merged by rgrinberg. #15634
-
Anonymous actions attached to multiple aliases no longer create inter-alias dependencies; each alias now triggers only its own actions. Merged by NatKarmios. #15581
-
dune buildwith a menhir stanza fails withUnbound module Stdlibwhen the relocatable compiler is selected bydune pkg lock. Open regression report against 3.24. #15642
Compatibility and Releases
dune pkg enablednow queries a running Dune RPC server, observing transient--pkg enabled/--pkg disabledsettings without acquiring the build lock. Merged by Alizter. #15589
ocaml/merlin
PermalinkFeatures
- OCaml 5.6+trunk support merged into the
506branch (#2087, by @xvw). Preview release v5.8.1-506~preview published 2026-07-31.
Compatibility and Releases
Fixes
documentno longer returns neighboring entries' doc comments for variant constructors and record fields (#2092, by @liam923, merged).ocaml-indexnow uses the original source file digest for staleness checks when ppx preprocessing is active (#2110, by @liam923, merged).- Load-path staleness across multiple typer states (visible with dune watch mode) reproduced and fixed (#2109, by @rgrinberg, merged).
outlineselection range can fall outside the item range for compiler-generated eta-expansion bindings; PR proposes a containment fallback (#2111, by @MavenRain, open).destructraises an unhandledAssert_failureon object method syntaxx with|0(#2112, open).
ocaml/ocaml-lsp
PermalinkFeatures
-
LSP 3.18
codeAction/resolvefor inline edits (merged). Clients advertisingresolveSupportnow receive inline code-action edits lazily viacodeAction/resolveinstead of eagerly in the initial response. Reduces round-trip payload for unused-binding and other inline actions. #1808 -
Destruct-line on inline and whole-match expressions (merged). The
destruct-linecode action now recognisesmatchexpressions embedded in larger lines and accepts ranges covering the entire match, so the action is available at thematchtoken where the diagnostic is reported. Fixes #1595. #1829
Compatibility and Releases
-
1.28.0-506~preview released 2026-07-31. Bundles the LSP 3.18 metamodel update, operator semantic highlighting, Dune trace notifications, the open-dune code action, and the fixes listed above. #release
-
Dune RPC polling kept responsive (merged). Connected Dune instance runners are now scheduled in the active fiber pool so the registry poll loop continues observing workspace changes after the first connection. Previously the poll loop stopped after the first Dune connection, leaving stale diagnostics. #1919
Fixes
-
Function-parameter inlay hints enabled without client configuration (merged).
Config_data.defaultnow setshint_function_params = true, matching the[@default true]used when aninlayHintsobject is deserialized. Clients that never sendworkspace/didChangeConfigurationnow see parameter hints. Fixes #1371. #2097 -
Missing
dunebinary reported as a diagnostic (merged). A missing project build-system executable no longer abortsdidOpenand discards the document. The server reports the failure as a diagnostic and keeps the document open with fallback configuration, so hover and other features remain available. Fixes #1417. #1814 -
Completion replaces the full identifier suffix (merged). Selecting
is_prefixfromString.is_pr|wordnow replaces the entireis_prwordtoken instead of leaving the trailingwordbehind. Fixes #838. #1964 -
Infix operator rename excludes surrounding parentheses (merged).
prepareRenameand rename edits for symbolic operators such as(^*$)now target only the operator token, so clients prefill the bare name and edits preserve the surrounding syntax. Fixes #1190. #1966 -
FreeBSD build: include
<sys/mount.h>forstatfs(merged). The vendored libev now uses the correct header on FreeBSD, resolving thesys/statfs.h: No such file or directorycompilation failure. Fixes #1069. #2070
ocaml/odoc
PermalinkFixes
-
#1468 (open, by MavenRain): Constructor and record-field references no longer splice the type name into rendered text;
{!Bla.Alpha}displays asBla.Alphainstead ofBla.ha.Alpha. Link anchors are unchanged. -
#1465 (open, by klakplok): Source-occurrence collection now skips subtrees marked
[@merlin.hide], eliminating spurious cross-reference links on ppx-generated code in rendered source pages.
Compatibility and Releases
ocaml/opam
PermalinkFeatures
opam envwill setXDG_DATA_DIRSandFPATHfor bash/zsh completion (open, by WardBrian). Adds the switch'sshareroot toXDG_DATA_DIRSand%{share}%/zsh/site-functionstoFPATHunder zsh.
Compatibility and Releases
- Version bumped to
2.7.0~alpha1~dev(open, by kit-ty-kate). Supersedes the closed2.6.0~alpha2~devbump.
Fixes
opam install .foono longer pins a mangled package nameoo(closed, unmerged, by MavenRain). Cuts the basename at the first dot and declines inference for dot-prefixed directories. Fixes #7043.opam switchdescription left empty on creation (open, by kit-ty-kate). Prevents stale auto-generated descriptions after a compiler upgrade. Fixes #7061.opam init --reinitno longer exits with code 10 when upgrading from a 2.1 root (open, by kit-ty-kate). Removes the "retry your command" prompt after a successful format upgrade. Fixes #7057.- CRLF line endings in repository files cause
opam updateto fail (open, by kit-ty-kate). Reported against opam-repo CI; no fix yet.
ocsigen/js_of_ocaml
PermalinkCompatibility
- #2405 (open, updated 2026-07-29): Consolidates the four separate linear memories (caml_buffer scratch, zstd-impl.wasm, blake2-impl.wasm, WASI libc) into a single shared memory. Safari rejects WASM modules declaring multiple memories; this change makes such output loadable in Safari. Author: vouillon.