Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
6 active · 3 unchanged
ocaml/dune
PermalinkFeatures
- PR #15622 (open):
(instrumentation (backend X) (libraries ...))links the listed libraries only when the backend is active. Requires dune lang 3.26. - PR #16475 (open):
(job_slots ...)rule exposes a computed parallelism count via an environment variable for polyglot builds driven by Dune. - PR #13758 (open):
dune format-dune-filepreserves multi-line block-string syntax (\|,\>) for lang 3.25+ instead of lowering to quoted strings.
Compatibility and Releases
- 3.25.0~alpha0 published (2026-10-02). Breaking: generated files are read-only even before lang 2.4;
:is rejected in context names;(warnings (duplicate_deps ..))now requires lang 3.22. - PR #16523 (merged): RPC and supported Dune language version bumped to 3.26.
Fixes
- PR #16515 (merged):
dune buildnow shows curl's own error text (e.g. "could not resolve host") instead of "invalid error code 6" on offline fetch failures. - PR #16519 (merged): Empty patches are treated as no-ops, matching Opam behaviour.
- PR #16529 (merged): Installed packages discovered through a local package's library closure are accepted on language versions before 2.9, fixing a regression from #16362.
- PR #16536 (merged): Merlin reader selection disambiguates preprocessed filenames without extensions, fixing lookup for
.ml/.mlipairs.
ocaml/merlin
PermalinkFixes
-
#2135(merged, @voodoos):merlin single outlineno longer emits compiler-generated (ghost) bindings as children. The LSPselectionRangecontainment invariant is now upheld; editors receiving outline data will not see invalidline 0, col -1selections. Supersedes the earlier#2111approach. -
#2138(open, @PizieDust): Proposes fixing diagnostic deduplication so that multiple errors spanning the same source range are all reported, ordered by severity. CurrentlyList.sort_uniqdrops all but one diagnostic per range. Affectsmerlin singlediagnostics output in editors. -
#2118(closed without merge, @aryemans): A fix forlocatereturning "Already at definition point" when the cursor is on a different declaration than the requested identifier was closed pending a better solution. The underlying bug (#2033) remains unfixed.
Compatibility and Releases
#2086(merged, @Tim-ats-d): CI compiler updated from OCaml 5.3 to 5.5; Irmin lock file regenerated for 5.5.0. No user-facing API change.
ocaml/ocaml-lsp
PermalinkFixes
ocaml/odoc
PermalinkFeatures
-
Display
[@atomic]annotations in record fields (PR #1496, opened 2026-10-01, in progress). Parses the annotation from.cmi/.cmtiand renders it on mutable fields. Resolves issue #1405. -
OxCaml parameterized library support (PR #1464, ongoing). Adds link resolution for
Lib[Param:Impl]syntax and fixes broken references to instantiated parameterized libraries. Fixes #1390.
Fixes
-
ocamllexexhaustiveness warning (PR #1494, merged 2026-09-28). Handles the missing-match case explicitly instead of relying on aFailureexception, silencing the new OCaml 5.6 warning. Error messages now start character numbering at 1. -
Incremental build broken by stale module hashes (issue #1396, closed 2026-09-28).
odoc compilepreviously resolved modules without hash checks, causing silent link failures. Fixed in PR #1402.
Compatibility and Releases
ocaml/opam
PermalinkFixes
-
opam install <pkg> --deps-onlynow installs the target package's own depexts, restoring 2.5.2 behaviour. Merged in #7158 and backported to the 2.6 branch in #7174. -
Merged #7170 replaces the internal
Map.unionwith the Stdlib version (OCaml ≥ 4.03), improving one benchmark by ~23%. The API change is breaking for opam-rt and requires a matching update there.
Compatibility and Releases
- Open issue #7165 documents a git-cache race: parallel fetches to the same repository cause redundant network traffic and cache pushes.
--global download-jobs=1is a workaround; a targeted fix is proposed.
Features
-
Open PR #7179 detects an interactive shell via
$-instead of[ -t 0 ], soenv_hook.shandcomplete.share sourced under VSCode remote-SSH where stdin is not a tty. Fixes #6606. -
Open PR #7180 creates symlinks atomically (temp name +
rename(2)), eliminatingEEXISTfailures when concurrent opam processes write the same download-cache path. Fixes #5739. -
Open PR #7172 updates the vendored checkseum and decompress lockfile to restore FreeBSD/i386 compilation. Tracks #7163, targeted at 2.6.1.
-
Open PR #6980 allows
opam installto read git repositories owned by another local user viaGIT_CONFIG_*environment variables. Fixes #6963.
ocsigen/js_of_ocaml
PermalinkFeatures
- Recursive-descent JavaScript parser (open, by hhugo): Replaces the Menhir-based parser with a hand-written one over the same Flow lexer. Parsing concatenated runtime files drops from 0.313 s to 0.258 s and promoted memory from 92 MB to 59 MB; the compiler library no longer links
menhirLib. Syntax errors now name the unexpected token and expected rule. #2467
Compatibility and Releases
- OCaml 5.6 support (merged, by vouillon): Updates the compiler for the OCaml 5.6 toolchain. #2469
Fixes
-
JS syntax-error reporting (merged, by vouillon): Columns are now 1-based as editors expect; lines split at
\r\n,\n,\r, U+2028, U+2029; long lines show a 100-code-point window. Fixes a crash on OCaml 4.13 whereIn_channel.input_lineis absent. #2471 -
Parse_info.Debug/Parse_info.Diagnosticprinters (open, by hhugo): Splits the singleto_stringinto a debug variant (0-based, for IR and--debug-info) and a diagnostic variant (1-based, for all user-facing errors). Lexer errors gain the source excerpt and print location first. #2491 -
Reference unboxing codegen (merged, by vouillon): The dominator tree was built from
Structure.build_graphextra edges, so a reference allocated in a loop and read after leaving it had its allocation removed but not its reads, producing an unbound variable. The pass now uses the actual CFG dominator tree. #2489 -
Wasm
landnormalization (merged, by vouillon):x land ywas typed as 31-bit-normalized whenever one operand was normalized, even if that operand was negative (e.g.-1), leaving high bits set. Normalization now requires a non-negative constant or both operands normalized. #2490 -
CPS-based effects (merged, by vouillon): Corrects code generation for effects compiled in CPS form. #2484
-
Recursive inlining (merged, by vouillon): Fixes a bug in the inliner's handling of recursive call sites. #2482