Thicket thicket
ocaml
REPOS 9

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

W20.2026 · 11–17 May

Tools repository summaries

6 active · 3 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

  • Dune per-module dep filter: first infrastructure layer merged to main; remaining layers in review. Consumer compile rules will see only referenced library artefacts, eliminating unnecessary rebuilds when unreferenced sibling libraries change. #14492

  • Dune Melange 3.24: conditional (melange.modules) field merged; melange.preprocess and melange.preprocessor_deps proposed, both gated on Dune language 3.24. #14482, #14572

  • Dune action runners: open PR adds --action-runner and --sandbox-actions to run eligible actions through a bubblewrap-wrapped worker, protecting the shared cache from worker writes. Targeting Dune 3.24. #14240

Fixes

  • Dune 3.23.1: released 2026-05-14. Fixes menhir opam injection, dune version-bound dedup in generated opam files, jsoo shared-runtime library order, secondary-compiler fallback for OCaml < 4.14, and NetBSD bootstrap. Release

  • Dune dune-configurator: String.ends_with call fails on OCaml 4.11–4.13 because compat shims were removed in 3.23.0, yet the opam lower bound still reads 4.08. Open issue; resolution pending. #14548

  • Dune package management: lock directories in subdirectories now resolve correctly; .cmxs link no longer races the native stubs archive under parallel builds. #14524, #14500

Compatibility and Releases

  • Dune language 3.24: version bumped on main. Melange 0.1 to be deleted, melange.modules gated to 3.24, directory targets to be stabilised. Projects using (lang dune 3.23) are unaffected. #14559, #14574, #14579

  • Dune (lang coq): removed from main. Projects must migrate to (lang rocq); existing (lang coq) stanzas will no longer parse. #14525

ocaml/merlin

Permalink

Features

  • Merlin (proposal, PR #2064): adds an ocamlgrep subcommand for structural search across all .cmt files in a Dune workspace. Open and explicitly marked tentative; not merged.

Fixes

  • Merlin locate (PR #2066): fixes locate returning "Already at definition point" in let-punning bindings where pattern and expression share a location. Open; not yet merged.

  • Merlin signature-help (PR #2067): expands type aliases once so signature help shows the underlying function type (e.g. f : int -> unit instead of nothing). Open; not yet merged.

ocaml/ocaml-lsp

Permalink

Fixes

  • ocaml-lsp-server 1.26.0: build fails on FreeBSD 15.0 because vendored lev includes <sys/statfs.h>, absent on that platform. A patch redirects the include to <sys/mount.h> under __FreeBSD__; upstream fix tracked at #101. Issue closed 2026-05-14.

ocaml/odoc

Permalink

Features

  • Odoc OxCaml unboxed types: Merged support for unboxed named types (foo#) in generated documentation. The trailing # was previously omitted. #1407
  • Odoc zero-alloc annotation: Open PR to retain [@@zero_alloc] annotations from OxCaml source in parsed output. Discussion indicates the data is already present in .cmi/.cmti compiler artefacts. #1422
  • Odoc OxCaml modalities: Open PR adding support for OxCaml modalities in documentation output. Fixes issue #1416. #1420

Compatibility and Releases

  • Odoc v3.2.1: Released with fixes for #1426 (docs broken in packages including base on OCaml 5.5.0), #1429, and #1431. Release
  • Odoc OxCaml version guard: Merged guard for OxCaml versions below 5.2.0minus31 to avoid conflicts. #1432

Fixes

  • Odoc v3.2.0 regression: Merged fix for an unrecoverable exception when a local module substitution in an include cannot be resolved. The signature is now left unmodified instead of crashing. #1433
  • Odoc merlin-lib build: Merged fix for an assertion failure when building docs for packages including merlin-lib. Regression triggered by the #930 fix in v3.2.0. #1430
  • Odoc voodoo include paths: Merged fix to transitive-close lib_deps before per-compile -I emission in odoc_driver voodoo mode. Previously some include paths were missing. #1434

ocaml/opam

Permalink

Features

  • opam autopin cleanup (PR #6923, open): opam install prompts to remove auto-pinned packages when installation fails or is aborted, simplifying cleanup of local package pins.

  • opam .install prefix field (issue #6919, open): proposes a prefix field in .install files so cross-compiled packages can install into subdirectories of the switch prefix.

Compatibility and Releases

  • opam documentation (PR #6809, merged): replaces the inline API code snippet in the manual with a link to the generated API documentation.

  • opam man2html (PR #6807, merged): restricts man2html invocation to actual man pages, eliminating spurious error output and empty files in the generated /doc/man directory.

Fixes

  • opam OpamSystem API (PR #6910, merged): removes unnecessary chdir calls. Adds a ?dir optional argument to OpamSystem.command, commands, and read_command_output.

  • opam shell init (PR #6930, open): fixes a non-zero exit code leak in the Zsh and Fish opam-init scripts when the environment is already initialized.

  • opam Solaris/Illumos resize (PR #6933, open): corrects the terminal-resize signal number for Illumos (20 instead of 28). Requires OCaml 5.4 or newer.

  • opam Windows DLL loading (issue #6931, open): opam publish and other dynlinked plugins fail with exit code 127 from PowerShell because depexts-installed DLLs are unreachable outside the internal Cygwin context.

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml (QuickJS-NG): Merged PR adds a quickjs dune profile, real-disk filesystem via fs_quickjs.js, byte-faithful stdout/stderr, and a CI job. #2229
  • js_of_ocaml (Wasm build time): Open PR removes wasm-opt --opt 1, reducing wasm_of_ocaml compilation time by ~60% and preserving variable names for debugging. #2238
  • js_of_ocaml (Promise/Fetch): Open PR adds Promise, Fetch, and Abort module bindings with Lwt interop and Promise-typed Dom_html methods. #2239

Fixes

  • js_of_ocaml (Dom types): Merged PR corrects defaultChecked to bool t prop, createVideo return type, and selection.collapse signature. #2221
  • js_of_ocaml (beforeunload): Open PR fixes onbeforeunload handlers returning Js._true triggering the browser's "Leave page?" dialog. #2159

Compatibility and Releases

  • js_of_ocaml (browser compat docs): Merged PR adds a manual chapter on downleveling with Babel + core-js + esbuild, plus a CI-gated end-to-end test. #2216
  • js_of_ocaml (Wasm size): Merged PR moves constant expressions into global variables, halving the toplevel function size on the PRT benchmark. #2211
  • js_of_ocaml (target-env): Issue requesting a --target-env=neutral option closed; maintainers consider isomorphic sufficient for non-browser/non-Node targets. #2226
3 repositories · no changes