Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
8 active · 1 unchanged
ocaml/dune
PermalinkCompatibility and Releases
Fixes
- Melange: default sandboxing reverted and original source dependency restored during preprocessing. Two regressions from 3.24.0 affecting JS builds. (#15418, #15395)
dune utop <abs-path>no longer crashes with an internalCode_error. Absolute workspace paths are localised before use. (#15272, #15108)dune fmtno longer returns a non-zero exit code when it formats files, aligning with other formatters.dune fmt --previewstill reports unformatted files. (#15380)dune fmtactions now receive environment variables, fixing a regression where formatter-specific env vars (e.g.REFMT_PRINT_WIDTH) were dropped. (#15386)
Features
- Root module generation now excludes PPX runtime libraries. Only user-declared stanza dependencies appear in the generated root module. Breaking change for the
(root_module)feature. (#15419) dune tools exec utopis now permitted, matching the existing behaviour forocaml-indexand other dev tools. Previously onlydune utopwas available. (#15388)- Watch-mode status line shows build elapsed time and average process parallelism. The completed build's duration persists in the status line after the build finishes. (#15384, #15390)
- Proposal: narrow
PATHand%{bin:X}resolution in lock-dir contexts to the owning package's dependency closure, reducing unnecessary build dependencies. Open PR. (#15381)
ocaml/merlin
PermalinkFixes
- The 504 branch compiler-version-mismatch error (reported by @kit-ty-kate) was resolved; issue #1937 closed 2026-07-01. No further detail is available in the record.
Compatibility and Releases
- The OCaml 5.5 support tracking issue #2024 (opened by @kit-ty-kate) closed 2026-07-01, indicating the 5.5 API work is complete.
Features
- PR #2079 (open, by @voodoos, based on #2050) adds an LRU cache to limit indexing memory usage. Small values are stored alongside their parent; filenames become relative to the indexer's working directory; related-uids compression is disabled.
- Benchmark data in the PR shows aggregate index size drops from 25 MB to 4.1 MB and aggregation time from ~769 ms to ~355 ms versus the pre-change baseline.
- The LRU cache default size is 1 GB (configurable in kB units). The PR is under active review with minor code-level suggestions; no merge has occurred.
ocaml/ocaml-lsp
PermalinkFixes
- JSON format typos corrected in LSP responses. Merged by @divarvel. (#1613)
Features
- Proposal to restrict
Diagnostic.messageto a plain string (rejecting markup content) was closed unmerged. LSP 3.18 permits markdown in diagnostic messages, so the current typed API remains. (#1612)
Compatibility and Releases
ocaml-lsp-server1.27.0 requiresmerlin-lib >= 5.8andocaml-index >= 5.8. A pinning PR was closed unmerged after the pin was removed on master post-release. (#1611)
ocaml/ocamlfind
PermalinkFixes
ocamlfindfails to locate libraries installed under/usr/lib64/ocamlon Fedora (e.g.camlidlviadnf); the issue remains open with no resolution. #118
ocaml/odoc
PermalinkFeatures
-
#1452 (open, Leonidas-from-XIV): Adds OxCaml
include functorrendering, displaying a collapsible section for the included functor module type. Follows up on #1368. -
#1454 (open, art-w): Adds OxCaml mode annotation rendering with heuristics to omit legacy, implied, or context-inferred modes. Fixes #1417.
Compatibility
- #1450 (open):
odoc_driverplaces all package libraries on each unit's link path, causing same-named modules (e.g. Eliom client/server) to resolve to the wrong sibling library.
Fixes
-
#1453 (merged 2026-07-01, Leonidas-from-XIV): Corrects
grepCLI argument order for BSD compatibility, resolving OpenBSD CI failures. -
#1455 (open):
odocraisesFailure("invalid core type")when loadingbaseCMTi files built with OxCaml, triggered by constrained type syntax with phantom attributes. -
#1456 (open): Source HTML output contains nested
<a>tags whenderivinggenerates non-ghost code with toplevel locations, producing spurious link targets.
ocaml/opam
PermalinkFeatures
- HTTP repositories are stored as tar.gz archives instead of extracted directories, eliminating the untar step during
opam updateandopam init. Major performance improvement, particularly on Windows and network filesystems. (Ongoing, #6625) opam init --barenow skips compiler selection, saving approximately 2.5 seconds. The--bareflag targets environments that do not require a compiler. (Open, #6957)
Compatibility and Releases
- Terminal resize detection now works on Solaris/Illumos by using signal 20 instead of 28. Requires OCaml 5.4 or newer at compile time. (Merged, #6933)
Fixes
- Lock file filters referencing undefined variables (e.g.
with-dev-setup) no longer cause a fatal error; the variable defaults tofalse. (Merged, #6947) opam config substnow resolves absolute paths correctly instead of prepending$PWD. Previously,opam config subst /tmp/fileproduced a fatalFile_not_founderror. (Merged, #6936)- The zsh shell integration hook now returns 0 explicitly, preventing opam's exit code from leaking into the user's prompt. (Merged, #6930)
- MSYS2 builds now set
_WIN32_WINNTto the Windows 8.1 constant, resolving aGetCurrentProcessTokenavailability error in opam-monorepo compilation. (Merged, #6862) - Repository scanning no longer fails when a directory named
opamexists in the packages directory. (Merged, #6995)
ocaml/opam-file-format
PermalinkFeatures
- Open PR #65 (by kit-ty-kate) updates the README to correct maintainer attribution. The PR was last updated 2026-07-01 and remains open; no merge or closure occurred within the interval.
ocsigen/js_of_ocaml
PermalinkFeatures
-
Documentation examples are now type-checked in CI.
{@ocaml[ … ]}blocks in manual pages and.mlidoc-comments compile against the real library;{@ocaml skip[ … ]}and{@ocaml parse[ … ]}opt out. Merged in #2387. -
js_of_ocaml-toplevelgainsWrappedandAsyncAPIs.Wrapped.executereturns errors/warnings as values instead of printing to stderr.Asyncruns the toplevel in a Web Worker via Lwt message passing. Merged in #2377. -
New bindings: Service Worker, MessageChannel/MessagePort, and Cache API. Covers both the page-facing registration side and the worker-side global scope. Merged in #2381, closing #1464.
-
CSS Font Loading API binding (
FontFacemodule). ProvidesFontFace.create,document.fonts, andFontFaceSetwith typed descriptors. Merged in #2255.
Fixes
-
Tyxml: repeated attributes now keep the first occurrence, matching browser DOM semantics. Previously multiple
a_classsignals alternated or wiped the attribute. This is a behaviour change for code relying on last-wins. Merged in #2383. -
Runtime: restore
compare_extdispatch for immediate-vs-custom-block comparison. Fixes polymorphic comparison across zarith's immediate/custom boundary. Open in #2391.
Compatibility and Releases
-
Release 6.4.1 (2026-06-30). Point release fixing dune 3.24 path-form regressions in the Wasm runtime and test harness. See release notes.
-
Compiler now consumes hints produced by OCaml 5.5 (
ocaml/ocaml#13438). Merged in #1721; requires OCaml ≥ 5.5 for the hint path.