Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
7 active · 2 unchanged
ocaml/dune
PermalinkFeatures
-
include_subdirs qualifiednow accepts literal and dynamic directory-to-module mappings, allowing subdirectories to be renamed in the qualified namespace. Merged in #13691 and #16420; closes #7605. -
Action-plugin rules now support multiple dynamic invocations per rule,
with-accepted-exit-codeson dynamic-run, and a newAction_plugin.build_depsAPI for batched file/directory/glob dependency waits. Merged in #16403, #16402, #16394. -
A
toolstanza for persistent discretionary-tool configuration is proposed in #16411 (open). It introducesinheritandshared_packagesfields and is taggedunreleased.
Fixes
-
Menhir-generated parsers now preserve dependencies used by type inference, eliminating racy "inconsistent assumptions over interface" failures. Merged in #16447; closes #14450.
-
Breaking: Generated files are now always made read-only (executable bits preserved), removing the pre-2.4 language-version opt-out. Merged in #16388. Projects relying on writable generated files must update.
-
Breaking:
Dune_rpc_lwt.V1.Action_plugin.runnow returnsunit Lwt.tinstead of driving the event loop or exiting the process. Callers must wrap inLwt_main.run. Merged in #16404.
Compatibility and Releases
-
generate_opam_filesin dune 3.24:dune build <name>.opamno longer produces the file. Usedune build @opaminstead. Reported in #16375 (open). -
Dune 3.24.2 installed via opam segfaults on macOS 26 when the macOS 27 SDK is active. Workaround: set
CFLAGS='-isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX26.sdk'and reinstall the switch. Reported in #16417 (open).
ocaml/merlin
PermalinkFeatures
-
Typedtree-based longident retrieval (open, by @voodoos): Locate now reads longident component locations directly from the typedtree instead of re-parsing source text. Falls back to the old
reconstruct_identifierheuristic only when a type-error makes the longident unavailable. Affectsocaml-lsp/eglot jump-to-definition for custom operators. #2126 -
PPX_DEPSfield in.merlin(open, by @panglesd): New configuration key listing PPX dependencies. The PPX cache key now includes these files, soUSE_PPX_CACHEinvalidates correctly when a dependency changes. Reduces stale-cache rebuilds. #2127
Compatibility and Releases
- CI/Dockerfile merl-an reference (open): CI and Dockerfile no longer point to a personal fork of
merl-an; references updated to the canonical location. #2128
Fixes
-
Haiku build (merged): The C frontend (
ocamlmerlin.exe) now links with library flags fromocamlc -configinstead of hardcoded arguments, resolving undefinedsocket/bind/listensymbols on Haiku. Closes #2124. #2125 -
Binding operators in locate/occurrences (closed):
let*,and+, and similar binding operators are now resolved bymerlin-occurrencesandmerlin-locate. Previously the lexer used for identifier reconstruction did not recognise the syntax. Closes #1398. -
Enclosing node for applied constructors (closed): Cursor on
N.A 3now returns the constructor node rather thanTexp_const 3, restoring correct context inference. Closes #1128. -
workspace/symbolLSP crash (closed): The uncaught exception inCmt_format.readwhen Neovim issued aworkspace/symbolrequest is resolved. Closes #1860.
ocaml/ocaml-lsp
PermalinkFixes
- #2143 (open, updated 2026-09-15): On OCaml 4.14, when multiple diagnostics share the same source range, the LSP server reports only the first (a warning-as-error), hiding the underlying type error. An undated comment indicates investigation has begun; no fix is merged.
ocaml/ocamlfind
PermalinkCompatibility and Releases
- #124 (opened 2026-09-20, open): Maintainer gdt notes the last release (1.9.8) dates to November 2024 and requests a new release. No release has been made.
No features, fixes, or merged code changes are recorded for this interval. Two long-standing issues (#118, #104) were closed on 2026-09-20 without code changes; the reporters resolved their situations externally.
ocaml/odoc
PermalinkFeatures
- OxCaml
include functorrendering is merged (via #1452, closing #1419). The collapsible section forinclude functor module type of …now appears in generated docs. - #1467 (art-w) adds rendering and cross-linking for OxCaml kind abbreviations in a new namespace. Ongoing;
{!kind:xyz}link syntax proposed for documentation.
Fixes
- #1485 (jonludlam) fixes broken links caused by missing logic in module-type alias strengthening. Regularises handling of module and module-type aliases. Ongoing.
Compatibility and Releases
- #1472 (jonludlam) adds OCaml 5.6 support. CI on 5.6 reveals a missing empty-word case in the lexer triggered by new
ocamllexwarnings. Ongoing.
Build
- #1493 (Leonidas-from-XIV) silences non-actionable informational messages from
crunchto match other build rules. Ongoing.
ocaml/opam
PermalinkFeatures
Compatibility and Releases
- opam 2.6.0 released (2026-09-17). Binaries and full archive signed by the opam dev team. Release · #7146
- Solver dependency upgraded to cudf 0.11~rc1, which removes the extlib dependency. Merged for 2.7; queued on opam-repository#30737. #7145
OpamStd.Map.updatereplaced with the stdlibMap.update(different signature:key -> ('a option -> 'a option) -> 'a t -> 'a t). Merged for 2.7; brokeodepandopam-dune-lintbuilds. #7130
Fixes
- Removed redundant
st.packages ++ st.installedset unions across the codebase; benchmarks show ~4% performance gain. Merged for 2.7. #7148 opam pin editon a repository-sourced package strips theurl.checksumfield, triggering a lint warning. Open bug. #7143- opam 2.6.0 sets
GIT_CONFIG_GLOBAL=/dev/nullandGIT_CONFIG_SYSTEM=/dev/null, ignoring user git config (e.g. URL rewrites). Documentation should referenceGIT_CONFIG_COUNT/GIT_CONFIG_KEY_<n>/GIT_CONFIG_VALUE_<n>as the supported alternative. Open. #7152
ocsigen/js_of_ocaml
PermalinkFeatures
-
Large binary string constants (parser tables, embedded files, marshaled data) are now emitted as base64 literals, decoded once at initialisation. Reduces a 3 MB binary payload from 8.3 MB escaped to ~4 MB base64; gzip output drops from 5.36 MB to 4.69 MB. Merged. (#2432)
-
All runtime stubs are now generated via
gen_stubsfrom external declarations, replacing hand-written dynlink stubs. Stubs are emitted as weak symbols so native code linking JavaScript primitives can override them. Merged. (#2435) -
Prototype for Introcaml runtime introspection in JavaScript: block allocations carry a descriptor index,
Introspect.PrintandHashtbl.seeded_hash_paramwork under Node. Gated behind--enable introspection. Open. (#2430) -
Temporary alternative storing the Introcaml block descriptor in the header word instead of an Array subclass; microbenchmarks show 20–200× faster allocation on V8. Open, not intended for merge as-is. (#2433)
-
Direct one- and two-argument partial applications in double-translation mode skip an extra
caml_call_gen_directframe. Opened. (#2437) -
Wasm backend interns string constants, reusing strings already present elsewhere in the program to reduce bundle size. Opened. (#2436)
Fixes
- Effect-related fixes for the Wasm backend. Opened; merge occurred after the reporting interval. (#2434)
Compatibility and Releases
- The
tests-fullstdlib 5.6 snapshot was refreshed to match OCaml trunk drift (String.hashreordering,Set.union/Set.intershortcuts). Test-only; no changelog entry. Merged. (#2438)