Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
6 active · 3 unchanged
ocaml/dune
PermalinkFeatures
Dune (OxCaml) – (parameters ...) library field: New (parameters p_intf q_intf ...) field in the library stanza compiles each module with the corresponding -parameter flag. Requires the OxCaml compiler; standard OCaml does not support this. (#12336, by @art-w)
Dune – dune tools env: New command prints shell-evaluable PATH and environment exports for installed dev tools, so terminal editors can invoke ocamllsp or ocamlformat without a dune prefix. Intended use: eval $(dune tools env). (#12521, by @gridbugs)
Compatibility and Releases
Dune cram – conflict detection: Cram tests now report an error when two commands write to the same output region, making conflicting expectations explicit rather than silently overwriting. Opt-in via a new flag. (#12538, by @rgrinberg)
Dune docs – inline code wrapping: A CSS rule prevents the HTML documentation from breaking inline code spans across lines, improving readability of variable and flag references. (#12541, by @MisterDA)
Fixes
Dune pkg – shared dependency cache: Dev-tool and project builds now share compiled package artifacts via a content-addressed directory name, eliminating redundant compiler rebuilds when running dune tools install. Fixes #12491. (#12526, by @gridbugs)
Dune pkg – no rebuild on lang bump: Package build rules now ignore per-project settings (including dune lang version), so changing the language version in dune-project no longer triggers a full compiler rebuild. Fixes #12131. (#12556, by @rgrinberg)
Dune – dune install --create-install-files overwrite: dune install can now overwrite a read-only .install file it previously generated, resolving build failures for packages (e.g. caqti) whose opam build commands re-invoke dune install. Fixes #12540. (#12542, by @MisterDA)
Dune – skip ocamldep on single-module buildables: Transitive ocamldep runs are no longer generated for buildables containing a single module, reducing unnecessary rule evaluation. (#12555, by @anmonteiro)
ocaml/merlin
PermalinkNo user-facing features, fixes, compatibility changes, or releases are recorded in the supplied data for this interval. The single merged pull request (#1975) corrects a misplaced entry in the project's own changelog file and is labelled no changelog; it has no effect on Merlin's behaviour, build, or editor integration.
ocaml/ocaml-lsp
PermalinkFixes
- ocaml-lsp v1.23.0:
textDocument/documentSymbolfails with "selectionRange must be contained in fullRange" on some modules. The error does not reproduce in v1.22.0. (#1560)
Compatibility and Releases
- ocaml-lsp v1.23.0: code lenses now appear on internal let-bindings in addition to top-level definitions, cluttering the editor view. A request to add a VSCode setting to disable internal lenses is open. (#1561)
- ocaml-lsp: discussion proposes making
--fallback-read-dot-merlinthe default so non-Dune projects work without extra configuration. A comment suggests renaming the flag to--prefer-dot-merlin. (#1522)
Features
- ocaml-lsp: open PR adds
ocamlformat-mlxformatting and most OCaml LSP features for.mlxfiles, enablingdune dialects-based formatting outside Dune. (#1528)
ocaml/odoc
PermalinkFeatures
- odoc
@hiddencode-block tag (proposal): Open enhancement (#1331) proposing an@hiddeninfo-string tag to suppress code blocks in.mldrendering. Updated 2025-10-09; no implementation merged.
Fixes
- odoc
assert_not_functorcrash (open): Assertion failure inodoc linkwhen a functor name collides with a qualified subdirectory under(include_subdirs qualified)(#960). Updated 2025-10-06; a minimal reproduction and maintainer acknowledgment are on file but undated. No fix merged.
ocaml/opam
PermalinkFixes
-
opam (merged):
opam install --depext-onlynow returns a non-zero exit code when a package conflict is detected, fixing silent failures in CI scripts. #6516 closes #6488. -
opam (merged):
opam install --deps-onlynow resolvespin-dependsfields on simulated pins, restoring behaviour broken in 2.4. #6611 closes #6610. -
opam (merged): Repository up-to-date checks now inspect git submodule status, preventing stale submodules from being treated as current. #6153.
Features
-
opam (merged):
opam optionnow allows modifyingdefault-invariantafter initialisation, removing the need to recreate a switch to change the compiler constraint. #6730 closes #6724. -
opam (merged): The
OPAMAUTOANSWERenvironment variable is available for internal use, allowing scripted answers to interactive prompts. #6709.
Compatibility and Releases
-
opam (open PR): Sourcing
variables.shis skipped whenOPAM_SWITCH_PREFIXis already set, preventing duplicatePATH/MANPATHentries in subshells and fixing broken environments in VS Code terminals. #6729 targets #4649 and #6633. -
opam (open PR, WIP): HTTP repositories would be read directly from the downloaded tar.gz instead of being untarred, eliminating the 1+ minute extraction step during
opam updateandopam init. #6625 targets #5741 and related performance issues. -
opam (open PR): A new
opam repo show <reponame>command would display the URL and rank of a repository, with--allto list across all switches. #6720.
ocsigen/js_of_ocaml
PermalinkFixes
-
js_of_ocaml (PR #2087): Merged 2025-10-09. Removes CRLF line-ending manipulation on Windows, so generated files retain their original line endings. #2087
-
js_of_ocaml 6.2.0 (issue #2106): Assertion failure in release mode when building an unwrapped library with
-linkall. Reported 2025-10-10, closed 2025-10-13; comments link the cause to closure-duplication logic from PR #1935. #2106