Thicket thicket
ocaml
REPOS 9

Tools covers builds, package management, editors, documentation and JavaScript compilation.

W11.2026 · 9–15 Mar

Tools repository summaries

7 active · 2 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

  • Dune 3.22.0~alpha1: Released 2026-03-11. Adds DUNE_JOBS env var, dune trace cat, @doc-markdown alias for odoc, dune runtest with individual test args, shell field in cram stanzas, and dune-action-trace public library. See release notes.

  • Dune 3.23 sandboxing: Merged #13805 enables sandboxing for user-defined rules starting at dune lang 3.23. Projects using dune lang 3.22 or earlier are unaffected.

  • Dune multi-line strings: Open PR #13758 adds preservation of | and > block strings when formatting dune files at dune 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 a db/ 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 select regression: Merged #13804 restores dune lang 1.0 semantics 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_rewriter dependencies, not just directly listed ones. Fixes #3426.

  • Dune build-dir lock: Merged #13767 stops dune build from 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 cat now locates it correctly from subdirectories.

ocaml/merlin

Permalink

Fixes

  • Merlin + OxCaml (issue #2045): An unhandled force_reduction exception in the parser triggers the Emacs Lisp debugger when debug-on-error is enabled. The reporter confirmed the debugger invocation is a local Emacs setting; the underlying parser error remains unexplained. Issue is open.

ocaml/ocaml-lsp

Permalink

Compatibility and Releases

  • ocaml-lsp: Open PR by anmonteiro to fix compilation with Dune 3.22. Not yet merged. #1594

ocaml/odoc

Permalink

Features

  • odoc Markdown backend (PR #1403): Fenced code blocks for OCaml API declarations now carry an ocaml language tag, matching the HTML backend. Verbatim and math blocks remain untagged. PR

Fixes

  • odoc (PR #1400): Fixes a crash in odoc compile when substituting the same type name at different arities across nested include … with signatures. 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

Permalink

Features

  • opam admin (proposal, #6865): New add-conflict subcommand requested alongside existing add-constraint and add-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_WINNT to the Windows 8.1 constant to resolve MSYS2 build failures where GetCurrentProcessToken is unavailable. Reviewers suggest placing the flag in configure.ac or src/core/dune rather than the C source.

ocaml/opam-file-format

Permalink

opam-file-format: open PR #65 by kit-ty-kate updates the README (fixes #64). Not yet merged.

ocsigen/js_of_ocaml

Permalink

Features

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)

2 repositories · no changes