Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
7 active · 2 unchanged
ocaml/dune
PermalinkFeatures
-
dune describe workspaceanddune describe external-lib-depsnow report public names for executables, matching library behaviour. A new--split-public-namesflag places private names inname(s)and public names in a separatepublic_name(s)field. Merged in #15582; fixes #15497. -
dune shell TARGETopens an interactive session at a prepared rule action boundary, exposingrun,show_action, andshow_commandfor debugging individual build steps. Preserves sandbox, environment, and locks. Open PR #15597; closes #3961. -
Allocation profiling gains the
DUNE_TRACE_ALLOCenvironment variable (rate,stack,topfields) and two new rankings per heap:by_site(youngest frame) andby_frame(all frames in stack). Frames fall back to the nearest symbolized caller. Merged in #15699, #15703, #15710.
Performance
- Merged null-build improvements: major-heap space overhead raised to 500 (~13%
@install, ~11%@check, #15730); batch builds skip Memo dependency storage (~10%@check/@install/@runtest, #15705); command-argument action builders flattened (~6% no-op@check, #15697); manual digest writes buffered in 4 KB (~2.3%, #15731).
Fixes
-
Menhir type inference (
ocamlc -i) fails withUnbound module "Stdlib"on macOS when a relocatable compiler is selected viadune pkg lock. The fix declares the compiler stdlib directory as a hidden sandbox dependency. Open PR #15679; fixes #15642. -
Null builds with
%{bin:...}or(package ...)dependencies no longer invalidate and rebuild the.binaries/.packagesinstall layouts, eliminating spurious workspace- and shared-cache misses. Merged in #15678. -
JSOO archive directories are now preserved for interface-only libraries, stopping repeated rebuilds. Merged in #15427.
Compatibility and Releases
-
Dune 3.24.2 released 2026-08-03. Backports: implicit
unixdependency for MDX ≥ 2.6 test executables (#15592); RPC registry rescan on directory mtime change (#15634). See release notes. -
The
(warnings (duplicate_deps ..))field requiresdune >= 3.18but was introduced in 3.22, producing overly permissive opam bounds. Open PR #15696 corrects the bound.
ocaml/merlin
PermalinkFixes
-
Occurrences: duplicate result on recovered
letbinding (#2113, open). The Occurrences query returns a duplicate entry for a recoveredlet recbinding at EOF. A reproduction test is proposed in #2114 (open). -
Occurrences: out-of-sync file detection after rename without rebuild (#2115, open, by ikostia). Proposes exposing name-clash information from
find_linked_uidsso that files whose source size is unchanged after a rename are still flagged as out-of-sync, matching the behaviour ofget_external_locs. Affects the accuracy of Occurrences results immediately after a rename before a rebuild.
ocaml/ocaml-lsp
PermalinkFixes
-
textDocument/definition(merged): A keyword, builtin type, or name at its own declaration now returns an empty result instead of aRequestFailederror. Eliminates spurious error notifications in editors that query definitions eagerly. -
textDocument/publishDiagnostics(merged): Now attachesUnnecessaryandDeprecatedtags when the client advertisestagSupport. Editors can grey out unused values and strike through deprecated ones. -
Hover at constructor/exception declarations (merged): Hovering a variant constructor or exception where it is declared now returns the constructor type. Previously the iterator skipped those nodes, producing no response.
-
Semantic tokens for module names (merged): Module names in
S with module M = Nandopenin signatures now receive a semantic token. These two positions previously received none. -
textDocument/foldingRange(merged): Omits character positions when the client setslineFoldingOnly, omits the kind whenRegionis absent fromfoldingRangeKind.valueSet, and truncates torangeLimit. -
textDocument/documentSymbol(merged): Falls back toConstructorandClasswhen the client does not advertiseEnumMemberorTypeParameterinsymbolKind.valueSet.
Proposed
-
Unused-code quick fixes (open): Now match the
Warning 33: unused open B.format Merlin emits. Previously only the value case worked, and only with warnings promoted to errors. -
ocamlformat-rpcstartup crash (open): A process that dies during version negotiation now produces an error log and unformatted hover types instead of failing the hover request with an internal error.
ocaml/ocamlfind
PermalinkFeatures
- Relocatable ocamlfind builds (proposed, open): PR #122 by dra27 makes installations to different prefixes byte-for-byte identical for the same compiler configuration, per the definition in ocaml/RFCs#53. Relocatable support is implemented for GNU make only.
- OCaml 5.5 compatibility (proposed, open): The same PR adapts ocamlfind to the relative-path format introduced in OCaml 5.5
ld.conffiles, fixing #115. - Relative paths in
findlib.conf(proposed, open): Paths infindlib.confand files underfindlib.conf.dare interpreted relative to the containing file or directory, enabling prefix-independent configuration.
Compatibility and Releases
configurechange for relocatable builds (proposed, open):-sitelibnow accepts a relative path resolved against-config; the opam file changes from-sitelib libto-sitelib ... This alters the build invocation for anyone configuring ocamlfind manually.- CI verification (proposed, open): CI for OCaml 5.5 creates a second switch, pins ocamlfind in both, and verifies the two installations are identical across Windows, macOS, and Linux.
PR #122 was updated 2026-08-06 and remains open; no merge or release is recorded within this interval.
ocaml/odoc
PermalinkFixes
- Cross-referencer now resolves functors reached via
module type ofredirection, eliminating spurious "Failed to lookup type identifier" warnings in generated documentation. (#1471, merged 2026-08-06, by Leonidas-from-XIV) - Replaces hardcoded opam-prefix subpaths with Findlib's own directory-inference logic. Fixes portability on systems where stdlib resides in
lib64rather thanlib/ocaml. (#1474, open, by katrinafyi)
Features
- Adds OCaml 5.6 support. (#1472, open, by jonludlam)
Compatibility and Releases
- odoc driver cannot locate installed source for Dune
include_subdirs qualifiedintermediate wrapper modules, producing broken source links in generated docs. (#1475, open, by katrinafyi) sherlodoc serveis non-functional because thewww/directory was not migrated into this repository. Maintainers confirm the feature is not intentionally abandoned but no timeline is given. (#1441, open, updated 2026-08-08)
ocaml/opam
PermalinkFixes
-
OpamCachedno longer unconditionally removes an outdated cache file whensafe_modeis set; the removal now respects the flag. Fixes a crash for tools linking opam libraries inside sandboxed builds. (#7066, #7067, open) -
opam init --reinitnow regenerates the list of valid switches and their package caches. Invalid switches are dropped;$PWDis added if$PWD/_opamis a valid switch. (#7068, open) -
opam switch importnow sets the switch invariant, which was previously omitted from the export file. Issue closed 2026-08-03. (#6982) -
opam repo addwith a git remote can fail with amaintenance.lockerror due to a TOCTOU race with git's background maintenance. A git 2.55 fix is referenced; no opam-side patch yet. (#7031, open) -
opam init --reinitno longer prompts the user to retry the command when upgrading from a 2.1 root. (#7058, open)
Features
-
A new check warns (or fails in strict mode) when
.installroot/rootexectarget fields begin with another field prefix, catching malformed install scripts earlier. (#7039, open) -
Repository loading from diff is being homogenised with the initial load path: only
packages/is scanned, andextrafilesin afiles/subdirectory are supported. (#6924, open)
Compatibility and Releases
- Development version bumped to
2.7.0~alpha1~dev, signalling the start of the 2.7 cycle. (#7064, open)
ocsigen/js_of_ocaml
PermalinkCompatibility and Releases
- Open PR – Build with Introcaml (let-def, opened 2026-08-05). Adds stubs and metadata handling so js_of_ocaml compiles against the
5.5.0+introcamlopam switch, an OCaml variant that instruments values for runtime printing. Not yet merged; deployment path for the instrumented switch is unresolved.