Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
7 active · 2 unchanged
ocaml/dune
PermalinkFeatures
-
dune completion fishnow generates a Fish shell completion script with subcommand, flag, and value completion. Install viadune completion fish > ~/.config/fish/completions/dune.fish. (#15515, merged) -
dune promote <TAB>completes against staged.to-promoteentries in the build directory, honouring--rootand--build-dir. (#15338, merged) -
dune pkg enabledqueries a running Dune RPC server for the effective--pkg enabled/--pkg disabledstate, avoiding a build-lock acquisition. Falls back to the local workspace check when no server is running. (#15589, merged) -
dune shell TARGETopens an interactive session at a prepared rule action boundary, exposingrun,show_action, andshow_commandfor inspecting and replaying individual build steps. (#15597, open) -
dune describe workspacegains anoriginfield per module, distinguishing hand-written, rule-generated, ocamllex/ocamlyacc/menhir, and wrapper modules. Opt-in--with-origin-depsflag controls dependency expansion. (#15478, open)
Fixes
-
Artifact-substitution file I/O now runs on the scheduler worker pool, removing a serial bottleneck from builds with many generated files. (#15559, #15598, merged)
-
%{bin:...}PATH layouts on Windows now materialise native executables with the.exeextension, fixing a 3.24 regression that broke tool resolution. (#15518, merged)
Compatibility and Releases
-
Dune 3.24.1 released 2026-07-21. Fixes: jsoo
build_runtime_flagssilently dropped in separate compilation mode; Melange sandboxing reverted (build-time regression); OCaml 5.5+ compiler packages treated as relocatable; Windows.exelayout fix. (release) -
Ongoing discussion:
depswill no longer load package dependencies transitively in 3.25.0, breaking workflows that relied on transitive closure (e.g. Frama-C test rules). No opt-in flag proposed yet. (#15511, open)
ocaml/merlin
PermalinkFeatures
ocamlmerlin single destructnow closes open record patterns in complete matches, inserting the missing field bindings (e.g.{ b = _; _ }→{ b = _; a; c }). Merged by @panglesd. #2103- The warnings-parsing function is now exposed in the public API, a prerequisite for ocaml-lsp warning handling. Merged by @PizieDust. #2088
Compatibility and Releases
opam install merlinfails on OCaml 5.5.0:merlin-libcompilation hitsUnbound value Seq.delayinparmatch.ml. Reported by @akhiltulluri; closed 2026-07-27 without a merged fix in this interval. #2108
Proposals
- Open PR removes value candidates from the type-enclosing fallback list and guards against interpreting
*in tuple types as multiplication. Awaiting maintainer review. #2105
Fixes
- Occurrences queries now correctly report out-of-sync files; a tuple-evaluation-order bug left the staleness cache empty, so ocaml-lsp never received incomplete-result warnings. Merged by @ikostia. #2104
- Occurrences staleness detection is fixed when Merlin runs from a subdirectory rather than the project source root. Merged by @voodoos. #2097
locateanddocumenton anopenin a.mlinow resolve the module name in the pre-open environment, fixing incorrect jumps when a submodule shadows the opened module. Merged by @lyrm. #2089- On Windows,
ocamlmerlin.exefalls back toSearchPathwhenocamlmerlin-server.exeis absent from the dune test-binary shim directory. Merged. #2095
ocaml/ocaml-lsp
PermalinkFeatures
-
Open dune file code action (merged): A new code action searches parent directories for the nearest
dunefile and opens it viawindow/showDocument. Stops atdune-projectordune-workspaceboundaries. #1817 -
Semantic highlighting: operator classification (merged): OCaml symbolic and word operators now emit the standard
operatortoken type in bindings, applications, and signatures. Binding operators (let*,and*) are included. #1831 -
Dune event tracing (merged): The
$/setTracesetting now emits$/logTracenotifications for Dune RPC connections, build events, and thedune ocaml-merlinconfiguration process. Off level computes nothing. #1899
Compatibility and Releases
- LSP 3.18 spec update (merged): The bundled metamodel and generated OCaml types now target LSP 3.18.0, adding workspace text-document-content requests, code-action tags, snippet edits, and related protocol fields. No user-facing behaviour change expected. #1749
Fixes
-
Document-symbol selectionRange containment (merged):
textDocument/documentSymbolnow clips or falls back to the symbol range when Merlin returns an out-of-bounds selection. Prevents VS Code from rejecting the entire response. #1775 -
Polymorphic-variant backtick completion range (merged): Completion immediately after a lone backtick now produces a replacement range covering the typed character instead of a zero-width insert. Fixes #1427. #1823
-
Completion protocol compliance (merged): Sort keys widen past 10 000 items; non-ASCII identifiers and CRLF prefixes parse correctly; deprecation uses
CompletionItem.tagswhen supported; polymorphic variants reportConstructorwhen the client lacksEnumMember. #1883, #1886, #1903, #1887 -
Semantic-tokens capability negotiation (merged): The server advertises
semanticTokensProvideronly when the client declares support, requires the relative format and full-request capability, and honours the delta opt-out. #1851, #1853, #1856, #1859
ocaml/ocamlfind
PermalinkFeatures
Compatibility and Releases
- #122 (open): Adds support for the relative paths OCaml 5.5+ writes in
ld.conf, fixing the lookup failure described in issue #115. Not yet merged; no released behaviour change.
ocaml/odoc
PermalinkFeatures
-
OxCaml parameterized libraries: odoc renders parameterized library definitions, parameter descriptions, and
Lib[Param:Impl]references with individual links on each component. Fixes #1390. Open PR by @art-w: #1464. -
OxCaml kind abbreviations: odoc renders and links kind abbreviations in a new namespace alongside types. Requires explicit
[@@ocaml.doc]on the OxCaml-minus31 branch until the parser fix lands. Open PR by @art-w: #1467.
Fixes
-
OxCaml
with-bounds: odoc no longer errors when an arbitrary type (e.g.'a M.t) appears on the right of awith-bound, using a best-effort parsetree conversion. Fixes #1455. Open PR by @art-w: #1466. -
Spurious source links from ppx-generated code: odoc now prunes subtrees marked
[@@merlin.hide]when collecting source occurrences, eliminating nested clickable tokens (e.g.type,t,charonCore.Char). Fixes #1456. Open PR by @klakplok: #1465. -
Multi-line link extraction: backslash-newline sequences inside
{{:url}text}links are collapsed to a single URL; trailing backslash handling refined per RFC 3986. Open PR by @Tim-ats-d, updated 2026-07-22: #1439.
ocaml/opam
PermalinkFeatures
- 2.6.0-alpha1 adds
--ignore-available-onto bypass theavailable:field for specified packages. (release) .installfiles gainrootandrootexecsections for installing files from the prefix root. (#6938)- The shell env hook now updates the current bin path in
PATHin place instead of always prepending opam's path. (release) - Repository operations speed up on constrained filesystems via archive-based storage;
opam init --bareno longer computes a default compiler. (#6957, release)
Fixes
Compatibility and Releases
ocsigen/js_of_ocaml
PermalinkFixes
- Wasm: resolve assets relative to the runtime file, not
require.main(open, by @vouillon) — The Node.js Wasm runtime located separately-compiled.wasmassets viapath.dirname(require.main.filename), breaking programs loaded throughrequire, symlinks, or worker threads whererequire.mainis undefined. The fix switches tomodule.filename, matching the browser branch's self-locating behaviour; the same change applies to the WASI runtime. #2389