Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
6 active · 3 unchanged
ocaml/dune
PermalinkFeatures
- #16760 (open, Dune 3.26): RPC-backed rule plugins let a project define custom stanza-like forms via an OCaml program linked against
dune-rules-plugin. Requires(lang dune 3.26)and(using plugin 0.1). - #16773 (open, Dune 3.26): Melange 1.0 is enabled by default in Dune language 3.26. Explicit declarations and older-language behavior are preserved.
Fixes
- #16622 (merged) / #16647 (merged to 3.25-rc): Share Rocq plugin-layout dependency hashes across discovery, compilation, and extraction. Reduces 3.25.0-RC zero-build time from ~64 s to ~13 s and peak RSS from ~6.7 GiB to ~1.4 GiB on the Skylabs workspace.
- #16617 (closed): 3.25.0~alpha0 no longer exports OCAMLPATH to actions, breaking
opam install -tfor packages that resolve libraries by name. Upstream fixes submitted to hxd, GT, and bogue; opam-repo upper bounds added. - #16675 (merged): Hardlink sandboxes now handle directory dependencies by applying the hardlink mode only to files, avoiding hardlinks to directories.
- #16646 (merged): The
_build/.dbdigest cache is unlinked when marked dirty, so a SIGKILL leaves no stale cache. Fixes #16559. - #16704 (merged): Generated aliases pass
-intf-suffix .dummy-ignore-mliso an unrelated same-named.mliin the build directory no longer breaks compilation. Fixes #5267. - #16623 (merged):
dune pkg lockreports "could not fetch revision" instead of "revision not found" when a git fetch fails due to network issues. Fixes #16466.
ocaml/merlin
PermalinkFixes
-
Inconsistent
.cmicache invalidation (#2141, merged 2026-10-21, by voodoos): Inconsistent.cmifiles were not recorded in the cache, so subsequent changes to those files did not trigger recompilation. The fix ensures correct invalidation when inconsistent.cmifiles change. -
merl-ancrash on emptyLongident(#2142, opened 2026-10-20, by PizieDust):ocamlmerlin single expand-prefixraisesInvalid_argument("Ppxlib.Longident.parse(empty string)")when the completion pipeline synthesises a namelessLongident. Reproducible viavscode-ocaml-platform. Still open. -
Index regression test and fix (#2144, opened 2026-10-21, by voodoos): Adds a regression test and fix for an index-related issue. Merged 2026-10-27, outside this reporting interval.
ocaml/ocaml-lsp
PermalinkFeatures
- New
ocamllsp/completePrefixAtPosLSP request (opened, not yet merged in this interval). An Emacs client can request completions for a specific prefix at a specific position from the server, replacing the need to spawn a separatemerlin complete-prefixprocess per request. The response omits snippet items, deprecation tags, and lazycompletionItem/resolvedata. Noinkeyword completion;_is not treated as a typed hole. #2230 by spwhitton.
ocaml/odoc
PermalinkFeatures
-
OxCaml parameterized libraries (#1464, merged 2026-10-21, by art-w): odoc now renders parameterized libraries, parameter descriptions, and instantiated references (
Lib[Param:Impl]) with individual links. Closes #1390. -
Original formatter re-enabled (#1508, opened 2026-10-21, by Leonidas-from-XIV): Re-enables the formatter implementation disabled in 2020 for OCaml < 4.08 compatibility. Affects documentation output formatting.
Compatibility and Releases
-
Build rules simplified for OCaml ≥ 4.08 (#1512, merged 2026-10-24, by Leonidas-from-XIV): Removes
enabled_ifguards that were always true given the 4.08 minimum. No change to which tests run. -
Gpath abstraction removed (#1506, opened 2026-10-19, by jonludlam): Eliminates the Gpath wrapper (never more than a plain identifier) and fixes several path-type inconsistencies found during removal.
Fixes
-
Ambiguity warning now shows unit paths (#1507, opened 2026-10-20, by jonludlam): Replaces uninformative duplicate module names with distinct unit paths (e.g.
b/Foo, a/Foo). -
Lexer warning position for unescaped
{(#1510, opened 2026-10-22, by jonludlam): Corrects the reported offset to point at the brace character rather than an adjacent position. -
Unit lookup by identifier (#1511, opened 2026-10-22, by jonludlam): First step toward resolving #1450 (sibling libraries with identical module names). Adds targeted fix and regression tests.
ocaml/opam
PermalinkFeatures
-
cmdliner-based shell completions (bash, zsh, PowerShell) replace the existing scripts and add PowerShell support. PRs #6868 and #6869 are open and queued.
-
Default solver switch to
builtin-0installfor performance and reduced C++ dependency. PR #6586 is open (WIP); no release target stated. -
opam-auditintegration proposal: security-advisory pin updated duringopam update, warnings onopam install. Issue #7113 is open; no implementation merged.
Compatibility and Releases
-
Removal of
opam list --columns=depexts(tag)(unmaintained since the 2.0 depext rework) and addition ofextra-sourcesas a queryable column. PR #7209 is open; scripts using the old column syntax will break. -
opam list --depends-on=X --latests-onlystill lists packages whose latest version no longer depends on X (e.g. yojson 3.0.0 vs biniou). Issue #7221 is open; labelled as possible duplicate of #6387.
Fixes
-
Vendored cmdliner updated to 2.1.1, closing the gap with upstream fixes (e.g. dbuenzli/cmdliner#191). PR #6867 merged 2026-10-19; closes #6849.
-
opam sourceignoresx-subpath, causing patches to fail on subpath packages (e.g. merlin.5.6.1-504+ox). Issue #7220 is open; confirmed on 2.6.1. -
opam pininstallspin-dependsunconditionally, even when the package is not a dependency. Issue #7218 is open; fix PR #7219 is open.
ocsigen/js_of_ocaml
PermalinkFeatures
-
js_of_ocaml / wasm_of_ocaml 6.5.0 released 2026-10-22. Adds OCaml 5.6 support, ~25% faster compilation on large programs, and smaller output (base64 binary constants, tighter generated JS). Release
-
Introcaml introspection in JavaScript (#2433, merged 2026-10-22).
Introspect.Printworks under node and in the browser; the newjs_of_ocaml.devtoolslibrary installs a Chrome DevTools formatter that displays OCaml values in OCaml syntax. Gated by--enable/--disable introspection. -
New web API bindings: WebGL2, Web Crypto, Service Workers, Clipboard, Notification, FontFace, and Pointer Capture. The toplevel can now run in a Web Worker via
protocol,worker, andworker_lwt_clientsublibraries. -
Faster debug-event parsing (#2548, merged 2026-10-19). Reduces
--pretty/--debug-infoparsing time by 15–25% on multi-unit programs.
Fixes
-
messageEventclass-type regression (#2555, merged 2026-10-20).EventSource.messageEventandWorker.messageEventare restored as class type aliases ofDom_html.messageEvent, fixing a 6.5.0~beta1 breakage injsoo_broadcastchannel. -
Security fix:
Str.string_partial_matchcorrected (OSEC-2026-21, #2492).
Compatibility and Releases
-
Breaking:
Typed_array.float32Array_fromArray/float64Array_fromArraynow takenumber_t js_array t;js_of_ocaml-lwt.loggeris removed (lwt_logis deprecated). -
Breaking: identical literals in a bytecode program are bound to a single variable and may now be physically equal (
==), matching ocamlopt. Programs relying on!=for distinct literal identity will change behaviour.