Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
6 active · 3 unchanged
ocaml/dune
PermalinkFeatures
-
New
(job_slots ...)rule lets a build declare how many scheduler slots it consumes, optionally computed by a program. The value is exposed via an environment variable for use by polyglot sub-builds (e.g. Cargo). Merged in #16475. -
Dune 3.26 adds
melange.flagsfor library and env stanzas, deprecatingmelange.compile_flags.melange.emitretainscompile_flags. Requires(lang dune 3.26). Merged in #16573.
Fixes
-
A
(select)in one stanza no longer causes "excluded module doesn't exist" errors in a sibling stanza's(modules :standard \ ...). Fixes a 3.22 regression. Merged in #16639, closing #14085. -
Rocq plugin-layout dependency sharing eliminates a 3.25.0-RC build-time regression (median 33.8 s → 11.5 s on the Skylabs workspace). Merged in #16622.
-
dune buildproceeds without an RPC server when socket creation fails (e.g. under sandbox restrictions).--passive-watch-modestill requires RPC. Merged in #16597. -
Merlin configuration loading now persists compact per-module records and builds filename indexes at load time, reducing repeated lookups. Merged in #16641 and #16642.
-
dune pkg lockreports "could not fetch revision … from …" instead of "revision not found" when a git fetch fails due to network issues. Merged in #16623, closing #16466. -
dune runtestnow prints the signal (e.g.SEGV) alongside captured test output in normal and quiet display modes. Merged in #16578, closing #16575.
ocaml/merlin
PermalinkFeatures
Compatibility and Releases
- v5.9 released 2026-10-12. The binary now reads C library flags from
ocamlc -config, fixing the Haiku build. v5.9
Fixes
- v5.9: Cursor position detection corrected for type-constrained expressions. v5.9
- v5.9: Parsetree cache no longer overshares entries across sessions. v5.9
- PR #2138 (open, not merged): Diagnostics sharing the same source range are sorted by severity before deduplication, preventing distinct errors from being silently dropped.
ocaml/ocaml-lsp
PermalinkFeatures
- Interactive completions with snippet edit slots for construct, destruct, and whole-call (multi-argument) items. Requires client snippet support. (#2212, #2204, #2199, #2198)
ocp-indentsupported as an alternative formatter for document and range formatting;textDocument/onTypeFormattingavailable via theocp-indent-rpchelper. (#2148, #1986)textDocument/implementationnow resolves type declarations in interface files, including nested modules, functor results, includes, and aliases. (#2074)- Semantic highlighting distinguishes operators from functions, classifies parameters and labels, and separates built-in from user-defined types. (#1831, #1857, #1858)
- Dune RPC, build progress, and Merlin configuration activity are reported through LSP trace notifications. A code action opens the closest Dune file. (#1899, #1817)
- Topiary formatter integration is under review; range formatting is not yet supported by Topiary, so the whole document is reformatted. (#2226, @toastal)
Fixes
- Documentation corrected: the
getDocumentationcapability ishandleGetDocumentation, nothandleDocumentation; several typos in custom-request specs also fixed. Merged 2026-10-12. (#2229, @toyeshhm)
Compatibility and Releases
- 1.28.0 released 2026-10-12. Includes all features and fixes above; FreeBSD build fixed (
statfsheader path). (Release)
ocaml/odoc
PermalinkFeatures
-
[@atomic]annotations on mutable record fields are now parsed from.cmi/.cmtiand displayed in generated documentation. Requires OCaml ≥ 5.4. Merged by @ElectreAAS in #1496. -
{!modules: ...}references now accept full paths of the form/library/ModuleName, not just bare module names. Open in #1503. -
OxCaml kind abbreviations gain a dedicated namespace with rendering and cross-linking support. Open in #1467 by @art-w.
-
OxCaml parameterized libraries are integrated: odoc records whether a library is a parameter, is parameterized, or implements a parameter, and renders
Lib[Param:Impl]instance paths with individual links. Open in #1464 by @art-w. -
A tracking issue for extended markup (quotes, strikethrough, definition lists,
<details>, footnotes) is open in #1497. Each extension is intended to ship independently.
Fixes
-
Multi-line
{!link ...}markup is reformatted to a single line in output, resolving #865. Merged in #1439. -
Internal substitution names no longer leak into generated HTML when a signature contains type substitutions. Substitutions now use a separate namespace and are scoped to the enclosing signature. Open in #1504.
-
Sibling libraries exposing same-named modules (e.g.
eliom.client/eliom.server) still resolve cross-references to the wrong library. A partial fix is in #1495; a full fix is in preparation. Issue #1450 remains open.
ocaml/opam
PermalinkFeatures
opam install --fail-fast(PoC, open): stops the install sequence on the first build failure rather than continuing with remaining packages. Targets CI and container workflows where a partial install is useless. #7204- Confirmation will be requested before every action by default, not only when a package was not explicitly named. Scripts that omit
-y/OPAMYES=1will now prompt. #7215 (open) opam list --columns=depexts(tag)syntax is removed; the freed column name allows querying theextra-sources:field. #7209 (open, queued)
Compatibility and Releases
- Vendored cmdliner updated to 2.1.1 (merged 2026-10-19). Includes a fix for shell-completion generation and unconditionally enables legacy prefix behaviour. #6867
- opam 2.6.1 Windows binary is flagged by Windows Defender as containing a virus (false positive). A follow-up issue explores code-signing via SignPath, Azure Artifact Signing, or an OV certificate to build SmartScreen reputation. #7197, #7217 (both open)
Fixes
- A missing depext on a pinned package version was silently swallowed; the check now runs against the pinned version instead of the highest matching version, so the user sees a "Missing depexts" explanation. #7213 (open)
opam pin <pkg> <dir> --with-version=Nerrors with "No valid package definition" when the source tree lacks an opam file; it should fall back to the repository opam file as it does without--with-version. #7203 (open)opam pin ./archive.tgz -nassigns a random temp-directory name as the package name when no name is inferable from the opam file or archive filename. #7202 (open)https://opam.ocaml.org/install.shstill prompts for the install path when piped, despite the--ttyflag being intended for the opposite. A fully unattended invocation (e.g.--unsupervised --target /usr/local/bin) is not yet supported. #7201 (open)
ocsigen/js_of_ocaml
PermalinkFeatures
- Share identical literals at bytecode parse time, reducing JS size by 51% and Wasm by 68% on Fiat-Crypto. Breaking: identical literals may now be physically equal. (#2547, merged)
- Three fixes to debug-event parsing (CRC table, array naming, memoized sanitization) cut parsing from 1.24 s to 1.04 s on a small Core/Async program. (#2548, merged)
- Integer comparisons with 0 used as conditions compile to
!x/xinstead of0 === x/0 !== x. Minified size −2398 B on js_of_ocaml.bc. (#2538, merged) - Redundant
break lat the end of an if-then inside a labelled block is removed; following statements sink into the else-branch. 144 of 522 labelled blocks removed on js_of_ocaml.bc. (#2513, merged)
Fixes
caml_wrap_exceptionis no longer imported under WASI, where it is never called. Fixes a linking failure that appeared once wasm-opt was skipped at--opt 1. (#2543, merged)- The JS and Wasm runtimes rewrite
CONIN$/CONOUT$/CONto\\.\NAMEbefore passing tofs.openSyncon Windows. Fixes ENOENT when opening the console from compiled programs. (#2525, merged)