Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
6 active · 3 unchanged
ocaml/dune
PermalinkFeatures
-
Dune 3.21.0~alpha4: Adds
(lang rocq),library_parameter,dune promotion show,DUNE_ROOT,unused-libsalias, and(files)stanza. Breaking: 3.21 no longer overrides default compiler warnings. Release -
Dune Odoc v3 rules: Proposes unified
@docand@doc-fullaliases, hierarchical docs via adocumentationstanza, ocaml.org cross-links, and a sherlodoc index. Errors are scoped to the current project. #12995 -
Dune structured logging: Folds
_build/loginto the trace file, produced by default. Log messages carry structured payloads for scripting. #13015
Fixes
-
Dune nested dune calls: Merged fix resolves
dunein package build rules to the running binary and prepends its directory toPATH. Prevents accidental capture of a different dune executable. #12935 -
Dune
dune tools: Merged merlin support indune tools install. An open PR adds a clear error with an install hint whendune tools exectargets an uninstalled tool. #12972, #12978
Compatibility and Releases
-
Dune cache locations: Merged change moves toolchains, git-repo, and rev-store caches under
DUNE_CACHE_ROOT(defaulting to$XDG_CACHE_HOME/dune/). Existing cache paths shift; setDUNE_CACHE_ROOTto preserve the old layout. #12858 -
Dune pkg no-op builds: Open bug reports a ~13 s no-op
dune buildwith package management versus ~0.85 s with opam. Target is within 500 ms of the opam baseline. #12693 -
Dune
dune clean: Open issue reports thatdune cleandeletes package management data from_build, removing installed packages and dev tools. A PR to preserve this data was closed without merge. #12976
ocaml/merlin
PermalinkFixes
- Merlin: merged PR #2016 corrects a typo in an include directive for
<stdcountof.h>, introduced in a prior commit.
Compatibility and Releases
ocaml/ocaml-lsp
PermalinkFeatures
- ocaml-lsp 1.25.0: adds
.mlxfile support withocamlformat-mlxformatting and standard LSP features (diagnostics, code actions, hover). Release - ocaml-lsp 1.25.0: makes
code-lensfor nested let bindings configurable via a renamed parameter. Release - ocaml-lsp 1.25.0: adds three custom requests—
ocamllsp/typeExpression,ocamllsp/phrase, andocamllsp/locate—enabling identifier-prefix lookup without protocol changes. Merged in #1576, closing issue #1570.
Documentation
- ocaml-lsp config docs: #1575 (merged) updates
config.mdto matchconfig_data.ml.
Fixes
Compatibility and Releases
- ocaml-lsp 1.25.0: released 2025-12-20. Release notes
- ocaml-lsp 4.14 LTS: #1577 (open) supplants the closed #1574; several fixes require Merlin changes, so the LTS release is deferred.
ocaml/odoc
PermalinkFixes
-
odoc (PR #1395, open): Proposes fixing URL remapping for page references where the prefix check matched only the directory, not the filename. Also normalizes remap entries at config creation. Discussion suggests a Trie structure over a string list.
-
odoc (issue #1396, open): Reports that
odoc compileresolves modules without hashes, so stale odoc files in the path cause the link step to silently fail. Filed by jonludlam.
ocaml/opam
PermalinkFeatures
-
opam PR #6838 (open): Proposes copying
.git/objectsinstead of invokinggit clone file://to pin local git packages, cutting pin time from ~40 s to under 1 s. Addresses issue #6837. PR -
opam PR #6836 (open): Adds a
--ignore-available-onoption to bypassavailable:constraints for listed packages, enabling cross-platform compatibility testing. Targeted for opam 2.6. PR -
opam PR #6812 (open): Updates
opam envto setXDG_DATA_DIRSandFPATHso bash and zsh shell completion locates opam-provided completions without manual configuration. PR
Fixes
- opam PR #6839 (merged): Fixes a Windows lock-acquisition failure during switch and repo format upgrades by reusing the already-opened lock file descriptor instead of reopening it. PR
Compatibility and Releases
-
opam PR #6393 (open): Proposes a section-based syntax for the internal
repos-configfile, requiring a hard upgrade of the opam root with no best-effort read fallback. PR -
opam PR #6489 (open): Moves the depexts status check to run during
opam updaterather than at each install, reducing repeated system-package queries. PR
ocsigen/js_of_ocaml
PermalinkFeatures
-
js_of_ocaml (Wasm effects): PR #1832 proposes Stack Switching-based effects for Wasm codegen via
wasm_of_ocaml --enable wasi. Ongoing; updated 2025-12-20, with a note that the outdatedbinaryen-bindependency was removed in PR #2134. -
js_of_ocaml (WASI runtime): PR #1831 proposes a WASI runtime for
wasm_of_ocaml, producing Wasm executable by Wizard or wasmtime. Ongoing; updated 2025-12-20. -
js_of_ocaml (Oxcaml): PR #2105 proposes Oxcaml support. Ongoing; updated 2025-12-15.
Compatibility
- js_of_ocaml (number type): Issue #2136 reports that the new number type (from #1650) breaks compilation of existing code. Open; updated 2025-12-19, no migration switch or resolution provided yet.