Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
6 active · 3 unchanged
ocaml/dune
PermalinkFixes
-
Dune package management: packages containing symlinks (e.g. menhir) are no longer re-downloaded on every
dune build. Fixed in #14509. -
Dune lock directory: spurious
(when false "")entries are removed from generated lock-directoryRunactions. Merged in #15128, fixing #15090 and #15099. -
Dune Configurator: passes
--personalityto pkgconf only when version ≥ 1.7.0, fixing build failures on RHEL 8. Merged in #15142.
Releases
Features
-
Dune Configurator: adds
Pkg_config.query_variable, a wrapper aroundpkg-config --variable=<name> <package>for querying package-specific variables. Merged in #15078. -
Dune per-module include flags: a consumer's compile command now receives
-I/-Honly for libraries itsocamldepreference set reaches. Merged in #14518.
Compatibility
-
Dune 3.23+
(diff)action: the action now distinguishes an empty file from a non-existent file, breaking test suites that omit reference files. Use(diff?)for optional arguments. Closed in #15134. -
Dune 3.22+ Rocq/Coq: coq-elpi 2.6.0 and other Rocq packages fail to build, likely due to removed legacy plugin loading. Tracked in #15125 (open).
ocaml/merlin
PermalinkFixes
-
locatequery now resolves the correct binding in let-punning syntax (e.g.let+ x in x), returning the outer definition instead of "Already at definition point." Merged in #2066; closes #1796 and #1579. -
Signature help now appears when a function's type is expressed through a type alias (e.g.
val f : twheretype t = int -> unit). Issue #1927 closed 2026-06-08.
Compatibility and Releases
Open Issues
-
locatestill returns an incorrect position for types defined via functor application (e.g.type t = M(T).t). Confirmed reproducible; #1610 remains open. -
In
.mlifiles,locateresolvesopen Importto the submoduleImport.Importrather than the top-level module. #1748 remains open; a regression test is planned.
ocaml/ocaml-lsp
PermalinkFeatures
-
Ocamlgrep structural search (proposal, open). #1607 proposes integrating ocamlgrep's cmt-based structural search into ocaml-lsp. Comments suggest the integration may shift to editor plugins consuming JSON from an
ocamlgrepcommand rather than an LSP extension. -
Hover on compiler warnings (ongoing PR). #1606 by PizieDust adds hover information for compiler warnings in the editor (addresses #717). Review discussion points to reusing the compiler's
Warnings.parse_optionsinterface.
ocaml/odoc
PermalinkFeatures
Ongoing
Fixes
- CI lower-bound builds failed on missing
.cmxfiles in ocamlfind 1.9.6. The test constraint is now>= 1.9.8. Merged by @Leonidas-from-XIV. #1446
Compatibility and Releases
ocaml/opam
PermalinkFeatures
- New
prefixandprefixexecsections in.installfiles, enabling path-relative installation of files and executables. Queued for the next release; dune maintainers are evaluating adoption. (#6938, open) opam init --bareskips default compiler selection, reducing init time by ~2.5 s. Fixes #5815. (#6957, open)
Fixes
- Reftest for repository HTTP operations updated to handle timestamps embedded by
opam admin index, restoring reproducibility on Windows CI. (#6961, merged 2026-06-10) opam installfails with exit code 99 when the git repository owner differs from the invoking user, becausegit ls-filesrejects dubious ownership. (#6963, open)
Compatibility and Releases
- Removes 366 unused exported values, fields, and constructors from the opam API. Downstream packages (opam-rt, opam-publish, opam-bundle) reference removed symbols and will need updates. (#6954, open)
opam switch createwith multiple configured repositories can fail due to repo priority;--debugoutput does not show which repositories the solver consulted. (#6965, open)opam lintsupports promoting warnings to errors via--warningsbut offers no mechanism to demote a default error (e.g. Error 46) to a warning. (#6964, open)
ocsigen/js_of_ocaml
PermalinkFeatures
-
wasm_of_ocaml --enable wasinow produces a WASI binary runnable by wasmtime or wizeng. Merged in #1831 (by vouillon). Output convention unchanged: a.jsfile plus an.assets/directory. -
Documentation migrated from wiki to odoc + wodoc under a single
dune build @doctarget. Merged in #2261 (by balat). The wiki pipeline, Python tooling, and highlight.js are removed;wodoc buildgenerates the themed site published to gh-pages.
Compatibility and Releases
- Release 6.4 is tracked in #2241 (ongoing), targeting OCaml 5.5 compatibility. A comment notes OCaml 5.5.0 is expected within a week of the 2026-06-12 update.
Fixes
-
Int64.shift_rightreturned wrong values for negative operands with shift counts 41–47 (e.g.Int64.shift_right (-1L) 44gave0xffffffffff0fffffinstead of-1L). Merged in #2278. -
Str engine: SIMPLEOPT/SIMPLESTAR/SIMPLEPLUS opcodes now bound-check against string length, fixing an infinite loop on patterns like
[^;]*;against a string without a semicolon. Merged in #2277. Instruction arguments are no longer masked to 8 bits, fixing silent mismatches for regexps with >256 constant-pool entries. Merged in #2298. -
Ephemeron data WeakMaps are now keyed on the dereferenced key object rather than the WeakRef wrapper, restoring the liveness model: data is collected once all keys are dead. Merged in #2274.
-
The
share_constantpass now correctly matchesrequire(notrequires), preventing node-target programs from emittingrequire(str_node_fs)where a bundler expects a literal. Merged in #2284. -
Marshal BLOCK32 reader uses an unsigned shift (
>>> 10), fixing round-trip of blocks with ≥ 2²¹ fields that previously desynchronised the stream. Merged in #2275.