Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
7 active · 2 unchanged
ocaml/dune
PermalinkFeatures
-
Dune 3.22.0~alpha1: Released 2026-03-11. Adds
DUNE_JOBSenv var,dune trace cat,@doc-markdownalias for odoc,dune runtestwith individual test args,shellfield in cram stanzas, anddune-action-tracepublic library. See release notes. -
Dune 3.23 sandboxing: Merged #13805 enables sandboxing for user-defined rules starting at
dune lang 3.23. Projects usingdune lang 3.22or earlier are unaffected. -
Dune multi-line strings: Open PR #13758 adds preservation of
|and>block strings when formatting dune files atdune lang >= 3.22. Requires a version bump; for older lang versions, block strings convert to escaped strings or templates.
Compatibility and Releases
-
Dune 3.22.0~alpha1: The release includes a breaking cache path change: the build cache moves to
$DUNE_CACHE_ROOT/db. Users can prevent invalidation by moving existing contents into adb/subdirectory. See release notes. -
Dune async digests: Merged #13341 computes target digests asynchronously, reducing build-time I/O stalls. Part of a multi-PR series targeting build performance.
Fixes
-
Dune
selectregression: Merged #13804 restoresdune lang 1.0semantics for(select ..)on non-OCaml files, fixing a build failure in packages like mccs. Closes #13802. -
Dune ppx cookies: Merged #13737 collects cookies from transitive
ppx_rewriterdependencies, not just directly listed ones. Fixes #3426. -
Dune build-dir lock: Merged #13767 stops
dune buildfrom hanging indefinitely when the build directory is locked by a dead process. Closes #12685. -
Dune trace file path: Merged #13735 places the default trace file at the workspace build root rather than relative to the current working directory.
dune trace catnow locates it correctly from subdirectories.
ocaml/merlin
PermalinkFixes
- Merlin + OxCaml (issue #2045): An unhandled
force_reductionexception in the parser triggers the Emacs Lisp debugger whendebug-on-erroris enabled. The reporter confirmed the debugger invocation is a local Emacs setting; the underlying parser error remains unexplained. Issue is open.
ocaml/ocaml-lsp
PermalinkCompatibility and Releases
- ocaml-lsp: Open PR by anmonteiro to fix compilation with Dune 3.22. Not yet merged. #1594
ocaml/odoc
PermalinkFeatures
- odoc Markdown backend (PR #1403): Fenced code blocks for OCaml API declarations now carry an
ocamllanguage tag, matching the HTML backend. Verbatim and math blocks remain untagged. PR
Fixes
- odoc (PR #1400): Fixes a crash in
odoc compilewhen substituting the same type name at different arities across nestedinclude … withsignatures. Closes issue #930. PR - odoc (PR #1402): Merged two bugfixes described as important for upcoming dune rules. No further detail in the PR body. PR
- odoc (PR #1395): Fixes URL remapping for page references in generated documentation. The prefix check now includes the filename, so page links are correctly remapped alongside module links. PR
ocaml/opam
PermalinkFeatures
- opam admin (proposal, #6865): New
add-conflictsubcommand requested alongside existingadd-constraintandadd-hashes. Opened by @raphael-proust on 2026-03-10; still open.
Compatibility and Releases
- opam env hook (PR #6859, open): The shell hook now updates the opam switch PATH entry in place instead of prepending it, preserving relative PATH precedence. Fixes #6815; flagged as potentially breaking for users who append PATH entries after sourcing
opam-init.sh. - opam Darcs support (PR #6866, open): Removes the Num library patches fallback for Darcs VCS, eliminating code dating to the 2.10.3 release (2016). Opened by @toastal on 2026-03-12.
Fixes
- opam Windows build (PR #6862, open): Sets
_WIN32_WINNTto the Windows 8.1 constant to resolve MSYS2 build failures whereGetCurrentProcessTokenis unavailable. Reviewers suggest placing the flag inconfigure.acorsrc/core/dunerather than the C source.
ocaml/opam-file-format
Permalinkopam-file-format: open PR #65 by kit-ty-kate updates the README (fixes #64). Not yet merged.
ocsigen/js_of_ocaml
PermalinkFeatures
js_of_ocaml --build-config: Merged 2026-03-13. wasm_of_ocaml --build-config prints compiler settings as key=value pairs; --apply-build-config overrides them, taking precedence over other flags. Enables coherent compilation when linking units that must share settings. (#2177)
js_of_ocaml shape computation: Merged 2026-03-12. Adds caching and sharing to avoid exponential blowups; uses coinductive computation for cyclic types and computes function-return arities. One user reported a .cma.js compile dropping from over 7 hours to ~200 ms. (#2198)
Compatibility and Releases
js_of_ocaml OCaml 5.5.0~alpha1: Merged 2026-03-12. Adds compiler and runtime support for the OCaml 5.5.0 alpha release. A broader initial-support PR remains open. (#2197, #2195)
Fixes
js_of_ocaml Binaryen check: Merged 2026-03-09. The Wasm runtime build now verifies that Binaryen ≥ 119 is available before invoking wasm-merge, preventing a silent "not found" failure. (#2191)
js_of_ocaml wasm-merge build failure: Issue closed 2026-03-12. Reported by rixed: building wasm_of_ocaml-compiler on Debian bookworm with APT::Install-Recommends "0" fails because wasm-merge is absent from the binaryen package. (#2190)
js_of_ocaml runtime and bug fixes: Two PRs merged 2026-03-09 with no descriptive body. The specific changes are not documented in the supplied records. (#2192, #2194)