Thicket thicket
ocaml
REPOS 9

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

W35.2025 · 25–31 Aug

Tools repository summaries

5 active · 4 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

  • Dune format-dune-file: now uses the lang dune version declared in the enclosing project when formatting, rather than always applying the latest syntax. Merged in #11865.

  • Dune @ocaml-index alias: now resolves Melange stanzas and their compiler paths, so dune build @ocaml-index covers Melange targets. Merged in #12246.

  • Cram timeout messages: the timed-out shell command is now included in the error output, making it easier to identify which step hung. Merged in #12307.

Compatibility and Releases

  • Dune 3.20.1 was released on 2025-08-25. The 3.20.2 release tracker is open with backports collected; the dune exec --watch fix for long-running processes (#12360) is deferred to 3.20.3. See #12328.

Fixes

  • Dune 3.20.1: fixes runtest-js incorrectly depending on byte, corrects path interpretation in dune runtest from a subdirectory, and reverts the 3.20.0 s-expression formatting change that filled long lists horizontally. Released 2025-08-25.

  • Dune 3.20.0 jsoo regression: building an executable with (modules_without_implementation …) and (modes js) no longer fails with "No rule found". Fixed in #12320, backported to 3.20.2.

  • Dune Cygwin bootstrap: the bootstrap now uses the portable Blake3 implementation on Cygwin, resolving unresolved-symbol link errors. A CI job for Cygwin was added. Merged in #12325.

  • Dune cram tests: the temporary .cram.<name>.t file is no longer visible in the test directory during execution, fixing spurious ls -a failures. Merged in #12329.

  • Dune dune pkg rebuilds: hash and digest computation for package rules no longer calls Poly.hash on Set/Map values or marshals maps, eliminating spurious rebuilds caused by non-structural equality. Merged in #12310 and #12319.

ocaml/merlin

Permalink

Features

  • Merlin (PR #1920): Merged typer interruption into the merlin-domains branch. Enables interrupting in-progress type-checking operations.
  • Merlin (Issue #1902): DocumentSymbol query is now available from Merlin directly rather than only in ocaml-lsp-server. Closed as fixed on trunk.

Compatibility and Releases

  • Merlin (PR #1952): Closed without merge. The query_protocol_kernel refactor was rejected to avoid adding a ppx_jane dependency.
  • Merlin (PR #1951): Open proposal adding a locate-type-multi command that returns a tree of identifier locations within a type expression. Not yet merged.

ocaml/odoc

Permalink

Compatibility and Releases

  • odoc (PR #1383): merged support for opam 2.5. Uses String.starts_with (OCaml ≥ 4.13); backward compatible with the existing 5.1 minimum.

Fixes

  • odoc 3.1.0 assets: issue #1382 reports that the media feature does not work via dune build @doc; odoc_driver is required. Documentation does not state this prerequisite.

ocaml/opam

Permalink

Features

opam format upgrade (#6417): merged 2025-08-27. Extends the on-the-fly state format upgrade to repository and switch config files, so a write-lock triggers a global upgrade rather than blocking. Affects all opam commands that read or write repo/switch state. PR

opam pkg:opamfile variable (#6659): opened 2025-08-28. Corrects the pkg:opamfile variable to match its documented specification, fixing cases where the path pointed to a non-existent file in tar-based repositories. Fixes #5346. PR

Compatibility and Releases

opam rsync reimplementation (#6651): opened 2025-08-25. Tracking issue to replace rsync with native copy logic for local repositories and SSH for remote ones, removing a hard dependency. Follows the macOS 15 openrsync incompatibility. Issue

opam macOS 15 CI (#6656): merged 2025-08-28. Installs GNU rsync in CI because macOS 15 ships openrsync, which is incompatible with opam's current rsync usage. Confirms the incompatibility affects users on macOS 15. PR

Fixes

opam package-name error display (#6640): merged 2025-08-25. Handles non-displayable characters when opam detects a typo in a package name or version, preventing garbled terminal output. PR

opam packaging documentation (#6653): merged 2025-08-26. Corrects subsection titles and replaces a deprecated md5 checksum example on the Packaging page. PR

opam Software Heritage link (#6650): merged 2025-08-25. Fixes a relative URL that rendered as a broken link on opam.ocaml.org. PR

opam show source-hash (#6665): opened 2025-08-30. After opam pin with an amended commit, opam show reports a source-hash that does not match the installed source. Affects opam 2.3.0; maintainers request reproduction on 2.4.1. Issue

ocsigen/js_of_ocaml

Permalink

Fixes

js_of_ocaml (effects backends): reverts an incorrect caml_compare purity annotation that broke function-value comparison under --effects=cps and --effects=double-translation. Merged 2025-08-28; fixes #2089.

js_of_ocaml (Wasm runtime): fixes Unix.times in the Wasm backend. Merged 2025-08-31 (#2096).

js_of_ocaml (Wasm backend): corrects call-graph analysis to stay coherent with call-site generation in the Generate pass. Merged 2025-08-29 (#2093).

Features

js_of_ocaml (Wasm strings, ongoing): open PR to optionally represent OCaml strings as JavaScript strings in the Wasm runtime, skipping ASCII conversions and using I16 arrays. Rebased on master 2025-08-27 (#1772).

js_of_ocaml (lambda lifting, ongoing): open PR adds more aggressive lambda lifting in double translation, placed behind a flag; measured ~1.45× speedup on a Bonsai benchmark. Updated 2025-09-08 (#1886).

js_of_ocaml (build-fs, open question): issue asking how to preserve the original directory structure when passing multiple paths to build-fs, ideally compatible with a Dune source_tree option. Opened 2025-08-26 (#2091).

4 repositories · no changes