Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
6 active · 3 unchanged
ocaml/dune
PermalinkFeatures
Dune enabled_if: Merged (#14860). enabled_if in executable and install stanzas now accepts any variable, matching library behaviour. Requires dune language 3.25.
Dune configurator Pkg_config: Merged (#14947). C.Pkg_config.get gains a ~static parameter that passes --static to pkg-config, enabling static-linking flag queries.
Compatibility and Releases
Dune 3.24.0~alpha2: Released 2026-06-05. Adds %{pkg:<pkg>:<section>:<path>} pform, enables the relocatable compiler by default, promotes directory targets to GA, and validates profile names. (release)
Dune Melange 1.0: Merged (#15022). The built-in ReScript dialect is no longer registered for projects using (using melange 1.0).
Dune 3.25 (main): Version bumped from 3.24 to 3.25 on the main branch. (#14872)
Fixes
Dune Melange build: Merged (#15021). Dune skips Melange rule generation when melc is not on PATH, preventing build failures in single-context projects.
Dune on illumos/Solaris: Merged (#14980). wait4(0, …) replaces wait4(-1, …) and the spawn stub retries read() on EINTR, fixing indefinite hangs.
Dune install with dirs: Conflicting stanzas targeting the same path now report "Multiple rules generated" instead of crashing with an internal Map.add_exn error. (#14422)
ocaml/merlin
PermalinkFixes
- Merlin Emacs integration: replaces
when-letwithlet+wheninmerlin--construct-pointto silence an Emacs 31 byte-compiler obsoletion warning. Behaviour is unchanged; the declared minimum Emacs version stays at 25.1. (#2076, merged 2026-06-02, by dannywillems)
ocaml/ocaml-lsp
PermalinkFeatures
- ocaml-lsp (proposal): #1607 proposes integrating ocamlgrep, a structural search tool that queries typed ASTs (cmt files) with OCaml expressions and optional type constraints. A maintainer questions the LSP protocol fit, comparing it to wrapping
ripgrep.
ocaml/odoc
PermalinkFeatures
- odoc: merged PR #1422 renders
[@@zero_alloc]annotations on OxCaml signatures in generated documentation. Closes #1418. - odoc: open PR #1444 omits the arity argument from
[@@zero_alloc]display when it matches the function's own arity, reducing redundant output. - odoc: open issue #1443 requests rendering of OxCaml
kind_definitions and cross-links from kind abbreviations to their definitions.
Compatibility and Releases
- odoc 3.2.0: issue #1401 closed confirming OCaml 5.5 support; opam-repository ships 3.2.1.
ocaml/opam
PermalinkFeatures
opam .install format: PR #6938 (open) adds prefix and prefixexec sections to .install files, letting package authors declare path-relative install targets. Queued behind #6956, which adds an exhaustive reftest for all .install fields.
opam OpamTar module: PR #6945 (open, labelled READY TO MERGE) introduces an OpamTar API for creating and reading .tar.gz archives in-process, replacing external tar invocations. Part of the larger effort in #6625 to eliminate I/O from repository parsing.
Compatibility and Releases
opam public API: PR #6954 (open) removes 366 unused exported values, fields, and constructors identified by dead-code analysis. This is a breaking change for external consumers of the opam library; the OpamHash and OpamSHA APIs are also simplified.
Fixes
opam init --bare: PR #6957 (open) skips default-compiler selection when --bare is passed, removing a ~2.5 s delay. Fixes #5815.
opam source --dev: PR #6955 (open) prevents opam-specific git configuration from being applied during opam source --dev (full-fetch) operations. Resolves #6451.
opam upgrade cycle: Issue #6951 (open) reports that consecutive opam update; opam upgrade runs oscillate between downgrading and upgrading the same packages (e.g. dune-rpc, stdune), forcing repeated recompilation of dependents. No fix merged in this interval.
ocsigen/js_of_ocaml
PermalinkFeatures
- Js_of_ocaml:
Intl.RelativeTimeFormatbinding merged, adding the ECMA-402 relative time formatting API to the standard library. #2070 - Js_of_ocaml:
Css_font_loadingmodule proposed, bindingFontFace,FontFaceSet, anddocument.fontsfor the CSS Font Loading API. #2255 - Js_of_ocaml: WASI output target proposed via
wasm_of_ocaml --enable wasi, producing binaries runnable by wasmtime or Wizard. #1831 - Js_of_ocaml: documentation migration to odoc and wodoc proposed, replacing the wiki pipeline with a single
dune build @docstep. #2261
Fixes
- Js_of_ocaml:
uncaughtExceptionhandler now installs only for standalone programs, so loading jsoo output in the Node REPL no longer aborts the host process. #2258 - Js_of_ocaml:
wasm-opt --opt 1call removed from the wasm pipeline, reducing test-suite compilation time by ~60%. #2238 - Js_of_ocaml: cosmetic minification proposed for compact-mode JS output: booleans as
!0/!1, stripped leading zeros in fractions, normalised exponents. #2257
Compatibility and Releases
- Js_of_ocaml 6.4: release tracking issue updated, listing targeted PRs for the next release alongside OCaml 5.5. #2241