Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
6 active · 3 unchanged
ocaml/dune
PermalinkFeatures
Dune (dirs) stanzas: Multiple (dirs ..) stanzas in a single dune file are now supported under (lang dune 3.23), taking the union of specified directories. Fixes #6249. (#13734)
Dune per-module library deps: Open PR proposes filtering inter-library dependencies per module using ocamldep output, eliminating unnecessary recompilation when a library changes. Supersedes the earlier #14021 approach. (#14116)
Dune dune rules --deps: New --deps flag prints only the dependencies of a given rule, aiding incremental-build debugging. Merged 2026-04-07. (#14071)
Dune dune init start-file: New subcommand generates the recommended start file for driving dune build -w in watch mode. Merged 2026-04-08. (#14083)
Dune Rocq extracted_files: New field in the rocq.extraction stanza declares non-OCaml extraction outputs (e.g. .hs files), preventing them from being wiped on rebuild. Merged 2026-04-10. (#13997)
Fixes
Dune @ocaml-index: The @ocaml-index alias is now generated only for merlin-enabled contexts, fixing build errors in alternative contexts where libraries are hidden by enabled_if. Merged 2026-04-11. (#14137)
Dune root_module: Entry modules are now deduplicated before writing root.ml-gen, fixing "Multiple definition of the module name" errors when findlib sub-packages share a directory (e.g. logs.lwt). Merged 2026-04-11. (#14135)
Compatibility and Releases
Dune 3.22.2: Patch release reverting the --diff-command behaviour change from 3.22.0; non-existent files are again passed to the command rather than replaced with /dev/null. Released 2026-04-10. (#14098, #14112)
ocaml/merlin
PermalinkFeatures
- Merlin v5.7.0-504: adds
refactor-extract-regioncommand for extracting a region to a freshletbinding; marked experimental. Release notes - Merlin v5.7.0-504: adds
-end-positionparameter to theenclosingcommand. Release notes - Merlin v5.7.0-504:
locate-typesreturns an "Other" variant and omitsoptionwrapping for optional parameters. Release notes - Merlin v5.7.0-504: signature help appears even when
inis not yet written; improves type enclosing for class and object items. Release notes
Fixes
- Merlin v5.7.0-504: fixes record field autocompletion, a signature-help parameter loop, and labelled/optional parameter handling. Release notes
Compatibility and Releases
- Merlin v5.7.0-504: released 2026-04-09; defines
PATH_MAXas 4096 when undefined (e.g. Hurd). Release notes - Merlin (proposal): PR #2051 proposes pointing
ocaml-indexto existing on-disk index files, reducing index size and write operations. Still open. - Merlin (proposal): PR #2050 proposes replacing the indexer's unbounded hashtable with an LRU cache to bound memory usage. Still open.
ocaml/ocaml-lsp
PermalinkFeatures
- OCaml LSP 1.26.0: adds
ocamllsp/refactorExtract,destruct, andlocate_typescustom requests for editor integration. (release) - OCaml LSP 1.26.0: adds support for the
textDocument/rangeFormattingLSP request. (release) - OCaml LSP 1.26.0: allows configuring merlin via
$OCAMLLSP_PROJECT_BUILD_SYSTEMand$OCAMLLSP_PROJECT_ROOTenvironment variables for non-dune build systems. (release)
ocaml/odoc
PermalinkFeatures
-
odoc
@inlinemodule tag: PR #1408 opened as a prototype for issue #564, adding an@inlinetag to module declarations so their contents render on the parent page instead of a separate sub-page. -
odoc markdown frontmatter: Issue #1409 proposes supporting line tags (e.g.
@short_title,@children_order) as YAML frontmatter fields in the markdown backend. Opened by davesnx.
Compatibility and Releases
-
odoc OCaml 5.5 support: PR #1406 (draft) adds support for external types (displayed as abstract) and module arrows. In active development during this interval; not yet merged.
-
odoc OxCaml support: PR #1399 rebases OxCaml patches for upstream integration, using
ocaml-config:oxfor compiler detection. In active review during this interval; not yet merged.
ocaml/opam
PermalinkFeatures
opam Nushell support: Open PR adds opam env output for Nushell via JSON and shell config support. Minimum Nushell version under discussion (0.102+). #6873
opam update/init performance: Open WIP PR restructures HTTP repository handling to read tar.gz in-place, eliminating the untar step. Targets a 1+ minute reduction on first opam update. #6625
Compatibility and Releases
opam build requirements: Open PR removes build support for OCaml 4.08, 4.09, and 4.10. Newer opam clients still run on older compilers even if removed from the package repository. #6879
opam dependency bounds: Open PR adds missing lower-bounds to build dependencies. #6878
Fixes
opam PGP key: The release signing key expired on 2025-12-16. The updated key at opam.ocaml.org/opam-dev-pubkey.pgp is now live. #6877
opam GC corruption: Open PR registers GC roots for intermediate strings in the uname module to prevent memory corruption. Backported to 2.5. #6880
opam pinned packages: Ongoing issue where opam pin and related commands fail with chdir errors when a pinned package's source directory is absent. #6600
ocsigen/js_of_ocaml
PermalinkFeatures
-
js_of_ocaml (Wasm): merges Dynlink and toplevel support for the Wasm target (#2187). Merged 2026-04-08 by vouillon.
-
js_of_ocaml (Wasm codegen): proposes moving toplevel constant expressions into global variables to halve the toplevel function size on the PRT benchmark (#2211). Open, not yet merged.
-
js_of_ocaml (Wasm codegen): proposes extracting loops from the large toplevel function into small helpers so Wasm engines tier up only the helpers, reducing wasted compilation of a once-called function (#2212). Open, not yet merged.