Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
7 active · 2 unchanged
ocaml/dune
PermalinkFeatures
Dune 3.24 install layouts: For (lang dune >= 3.24), (deps (package ...)) restricts PATH/OCAMLPATH to declared dependencies only. Previously all workspace packages were visible to every action. (#14373, open)
Dune pkg relocatable compiler: PR makes the relocatable OCaml compiler the default for dune pkg, enabling full cache restoration of the compiler across builds. Fixes occasional cache misses. (#14357, open)
Per-module -I filtering: Narrows -I/-H flags per module to match the dependency filter, reducing cache-key bloat. Adding an unreferenced library to (libraries ...) no longer invalidates unrelated modules. (#14186, open)
Rocq (stdlib ...) rename: Proposes renaming the misleading (stdlib yes/no) field to (corelib ...) or (no_corelib). The current name conflates Rocq's Corelib prefix with the Stdlib library. (#14358, open)
Fixes
dune fmt / dune promotion apply: Rejects --disable-promotion with a clear error, since these commands exist specifically to perform promotion. Also fires when DUNE_DISABLE_PROMOTION is set. (#14379, open)
Promote dir-to-file: Merged fix for "Is a directory" errors when a promoted target changes from directory to file between builds. Cleans the staging path before rename. (#14371)
Compatibility and Releases
Dune 3.23.0~alpha2: Released 2026-04-30. User rules are sandboxed by default; .opam files require explicit dune promote. Minimum OCaml to build Dune bumped from 4.08 to 4.14. (release)
Cross-compilation .install paths: Dune 3.22.2 generates .install files with ../ paths that opam 2.5.1 rejects. Affects opam-cross-windows and similar cross-compilation setups. (#14393, open)
ocaml/merlin
PermalinkFeatures
- Merlin (proposal): proposes integrating ocamlgrep for project-wide type-aware code search. A new merlin command would accept a type pattern and return matches across files. (#2063)
Compatibility and Releases
Fixes
- Merlin v5.7.1-504: fixes typer cache not invalidating when new
.cmifiles appear in the build path. Affects OCaml 5.2+ dune builds. Bug identified by @JimmyZJX. (#2062) - Merlin v5.7.1-504: merged index files now cross-reference each other, reducing index file size. Project index is defined by all index files, not only the final aggregation. (release)
ocaml/ocaml-lsp
PermalinkCompatibility and Releases
ocaml-lsp (neovim integration): Issue #1521 remains open, updated 2026-05-02. It documents that codelens and inlayHints settings in the LSP settings block do not activate those features in neovim without additional client-side autocmd wiring. An undated comment provides a working LazyVim configuration; the comment's timestamp is unavailable, so its posting date cannot be confirmed within this interval.
ocaml/ocamlfind
PermalinkFixes
- ocamlfind (PR #99, open): fixes a crash when the compiler is built with
--disable-systhreads; the exception handler for a missingthreadspackage was not updated after the underlying exception changed, causingocamlfind ocamlopt -configto fail. Rebased onto master within this interval by shym. #99
ocaml/odoc
PermalinkFeatures
- Odoc 3.2.0: Adds OxCaml support, OCaml 5.5.0 compatibility,
markdown-generatemulti-file input (eliminating shell scripting), and persistent LaTeX macros in the HTML/KaTeX backend. Release - Odoc 3.2.0: Markdown backend now defaults to
ocamlaslangIdon declarations and renders all code snippets in a single block with comments rather than splitting per constructor or field. Release - Odoc zero-alloc annotation: Open PR retains
[@@zero_alloc](includingstrict/optvariants) in parsed output for signatures. Binding-level support is deferred to a follow-up. #1422
Fixes
- Odoc 3.2.0: Fixes compile-time crashes, incremental build breakage,
--warn-errorcoverage, missing parentheses for polymorphic arguments, and URL remapping for page references. Release - Odoc (post-3.2.0): Merged fix for a crash when compiling
basedocs with OCaml 5.5, caused by untracked identifiers inArrow_functortype expressions. #1427
Compatibility and Releases
ocaml/opam
PermalinkFeatures
- opam repository update (WIP #6625): Proposes reading HTTP repository tar.gz archives in place of untarring, removing a 1+ minute extraction step. Targets Windows and network-filesystem portability.
- opam .install format (#6919): Proposes a
prefixfield in.installfiles to support path prefixes without rolling back 2.5.1 changes. Packages using it would restrict toopam-version >= "2.6". - opam API (#6914, merged): Adds a
Filename.Unixmodule abstracting over/-separated paths. Part of the repository-format rework in #6625.
Compatibility and Releases
- opam API (#6910, open): Removes internal
chdirusage, a breaking change for external library users. Discussion ongoing on deprecation strategy.
Fixes
- opam OpamFile (#6913, merged): Fixes comparison between two dummy files that previously failed when paths differed. Part of #6625.
- opam install (#6906, queued): Removes the build directory immediately after each package install rather than at the end. Benchmarks show a 5% improvement on IO-constrained filesystems.
- opam manpages (#6921): Standardises highlighting of options, environment variables, and arguments to bold in generated manpages. Resolves #6112.
- opam depopts documentation (#6920): Makes the existing note about filter behaviour in depopts more visible using bold formatting. Fixes #5367.
ocsigen/js_of_ocaml
PermalinkFeatures
- js_of_ocaml (QuickJS-NG): Open PR adds a
quickjsdune profile and runtime shim so unmodified jsoo output runs on QuickJS-NG without Node globals. Stacked on the Babel-downlevel and inliner-fix PRs. #2229 - js_of_ocaml (OCaml 5.6): Open PR by vouillon adds initial compiler and runtime support for OCaml 5.6. #2227
- js_of_ocaml (target-env): Open feature request proposes a
--target-env=neutraloption for JS runtimes that are neither browser nor Node (e.g. QuickJS), avoiding the current need to pass--target-env=browser. #2226 - js_of_ocaml (Dom bindings): Open PR corrects three type signatures to match runtime behaviour:
inputElement.defaultCheckedbecomesbool,createVideoreturn type fixed tovideoElement, andselection.collapsesignature updated. #2221
Fixes
- js_of_ocaml (compiler): Merged fix removes
Plusfrom the commutative-operator list in the peephole pass, preventingx = e + xfrom being rewritten asx += eunderuse-js-string. Previously produced reversed string concatenation (e.g.Filename.temp_filepaths). #2228 - js_of_ocaml (Wasm): Merged fix guards
Int64.of_stringagainst inputs like"+","-","0x"that previously trapped on an out-of-bounds array access instead of raisingFailure. #2223
Compatibility and Releases
- js_of_ocaml (Wasm, OCaml 5.5): Merged PR embeds
.cmifiles in separate-compilation.wasmobundles and stubscaml_dynlink_parse_ld_conf, completing OCaml 5.5 support for the Wasm backend. #2220 - js_of_ocaml (browser compat docs): Open PR adds a manual chapter documenting the Babel + core-js + esbuild pipeline for downleveling jsoo output (ES2020) to older browsers, with an opt-in CI test. #2216