Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
6 active · 3 unchanged
ocaml/dune
PermalinkFeatures
-
Action runners with bubblewrap sandboxing (
--action-runner,--sandbox-actions). Eligible actions run in a bwrap-wrapped worker that cannot write to the shared cache. Merged in #14240. A Landlock backend is proposed in #15231 (open). -
Per-module library dependency filtering reduces unnecessary recompilation: a consumer module's compile rule sees only artefacts of libraries it references. Open in #14492; fixes #4572.
-
Shell command completion for bash, zsh, and PowerShell via
dune completion <shell>. Provides subcommand, flag, and suggestion completion. Open in #14779. -
env_varsalias added as an underscore-spelled alternative to theenv-varsfield in(env ...)stanzas. Merged in #15187.
Fixes
-
Cram output sanitization now handles project paths containing spaces. Previously
BUILD_PATH_PREFIX_MAPrewriting failed because the path tokenizer split on spaces. Merged in #15017; fixes #14943. -
Fuzzy offset matching re-enabled for patches applied by
dune pkg, restoring compatibility with opam packages whose patches require fuzz. Merged in #15146.
Compatibility and Releases
-
Dune 3.24.0 released (2026-06-21). Directory targets promoted to GA; relocatable compiler enabled by default for package management;
%{pkg:<pkg>:<section>:<path>}pform added. See release notes. -
Breaking:
%{bin:NAME}resolution changed. Now resolves to the build-artifact path with a./prefix instead of the install-staging path. Rules with%{bin:...}deps get a per-rule.binariesdirectory onPATH. Requires dune 3.24. Merged in #15156, backported in #15229. -
Breaking:
(lang coq)removed. Projects using(using coq <version>)must migrate to(using rocq <version>). The Rocq(stdlib ...)field is replaced by(no_corelib)in Rocq language 0.14. Shipped in 3.24.0.
ocaml/merlin
PermalinkFixes
- Merlin in Emacs (merlin.el) displays only the final line of multi-line compiler error messages on OCaml 5.04. The LSP client discards diagnostic footnote content. Opened by @gasche. #2080
ocaml/ocaml-lsp
PermalinkCompatibility and Releases
- Merged: #1608 replaces
Stdune.Pidwith a plainintfor process IDs, matching the Dune API change in ocaml/dune@39d8a28. No user-facing option or workflow change; internal type alignment only. (anmonteiro)
ocaml/odoc
PermalinkFixes
- odoc driver: link path restricted to a unit's declared library dependencies (closed, unmerged). The driver previously added every library in a package to each unit's
-Lpath; the proposal builds the path fromlib_depsonly, matching the existing-Ibehaviour. This would prevent wrong-module resolution when sibling libraries (e.g.eliom.server/eliom.client) share module names such asContent.Html. Closed without merge on 2026-06-20. #1449 — balat.
ocaml/opam
PermalinkFeatures
opam lintcurrently supports promoting warnings to errors via--warnings @Nbut offers no mechanism to demote a default error to a warning. A proposal to add this (e.g. for Error 46 in opam-repository policy) is open. #6964- An open PR adds
rootandrootexecsections to.installfiles, allowing install steps to run with elevated privileges. Not yet merged. #6938
Fixes
opam upgradereinitialises the root without preserving a previously set--no-sandboxoption, re-enabling sandboxing on systems where it was disabled. Reported 2026-06-19; open. #6968opam switch create 5.5.0~rc1fails with a version conflict when the relocatable repository is active, while the same command succeeds on a different user account with the same opam 2.5.1. Workaround: pinocaml-variantsexplicitly. Open. #6965opam installaborts with exit code 99 when the target directory is a git repository owned by a different user (common in CI), becausegit ls-filesfails. Expected behaviour is to fall back to path-pinning as when no git directory is present. Open. #6963
ocsigen/js_of_ocaml
PermalinkFeatures
-
js_of_ocaml 6.4.0 released (2026-06-21). Adds OCaml 5.5 support, WASI 0.1 target,
Promise/Fetch/Abortmodules, OxCaml backend, quickjs-ng support, and dynlink/toplevel on Wasm. (release) -
Breaking changes in 6.4.0:
mediaElement.playreturnsunit Promise.t; SVG 1.1getTransformToElementremoved; GeckoMouseScrollEvent/_DOMMouseScrollbindings dropped;event_listenerreturn type is nowbool t optdef;Intl.Collator.comparereturnsJs.number_t; several method names renamed (Typed_array._BYTES_PER_ELEMENT_,WebGL._MAX_RENDERBUFFER_SIZE_,canvasElement.toDataURL_compression). (release) -
Dom_svgaligned with SVG 2 (#2256). AddsgraphicsElement/geometryElementparents,SVGFE*filter primitives,markerElement; every SVG element is now an event target. Several properties retyped toopt/optdef(breaking). -
Cosmetic minification in compact mode (#2257).
!0/!1booleans, stripped leading zeros in fractions, normalised exponents, backtick strings when they reduce escapes.--prettyoutput unchanged. -
Faster variable-naming and free-variable passes (#2321). Byte-identical output; ~20% speedup on the coloring phase for deeply-nested code.
Fixes
-
Lib binding corrections (#2350).
CSS.Anglenow parses"45deg";Regexp.replace_firstpreserves all flags exceptg;EventSourceonopen/onerrorreceive a plainDom.event;IntersectionObserver.takeRecordswrapped inJs.t. -
Deriving_Jsonround-trips non-finite floats (#2365). Writer emitsNaN/Infinity/-Infinitymatching the reader.Lwt_fileread functions raise on error instead of hittingassert false;Lwt_js_events.request_animation_frameis now cancellable.