Thicket thicket
ocaml
REPOS 9

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

W30.2025 · 21–27 Jul

Tools repository summaries

5 active · 4 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

Dune RPC (PR #12064): Opens a path to allow ocamllsp formatting requests while the dune watch server is active, removing the need to stop the server before formatting. Merged 2025-09-08. Link

Dune shared cache (issue #12071): Proposes using FICLONE/copy_file_range in the copy storage mode so that btrfs, zfs, and xfs reflink transparently avoid duplicating _build contents into the cache. PR #12074 opened for implementation. Link

Compatibility

Dune 3.19.1 on ppc64-Darwin (issue #12063): Bootstrap segfaults in Unix.realpath on macOS 10.5.8 / OCaml 4.14.2 (bytecode-only). Maintainers suspect the fault is in the OCaml runtime rather than dune. Open. Link

Rocq 9.0 (issue #12056): Requests an implicit Stdlib theory dependency for (coq.theory …) on Rocq ≥ 9.0 so a single dune file works across versions. Closed 2025-07-22; no plans to address, patches for a general conditional-dependency mechanism welcome. Link

Fixes

Dune 3.19.1 (issue #12057): Corrects the interface-mismatch error that named the .ml file as the interface instead of the .mli. The fix switches to -cmi-file on OCaml ≥ 5.0, replacing the -intf-suffix .ml workaround. Closed 2025-07-28. Link

Dune bootstrap (issue #12075): make release crashes with Unexpected_find_result for the pp library on OCaml 4.14.2 / Arch Linux. Open; a maintainer suggests make bootstrap as a workaround. Link

ocaml/merlin

Permalink

Features

  • Merlin locate-type-multi (PR #1951): adds a locate-type-multi protocol command returning a tree of all identifier locations within a type expression. Opened 2025-07-22 by liam923; still under review for VSCode "Go to Type Definition" integration. Link

Fixes

  • Merlin type recovery (issue #1953): reports that structure-item type recovery drops entire recursive definition blocks when a single item errors. Opened 2025-07-26 by trefis; proposes per-definition recovery within let rec blocks. Link

Compatibility and Releases

  • Merlin query_protocol_kernel (PR #1952): refactors type definitions and serializers into a query_protocol_kernel directory for js_of_ocaml compatibility. Adds ppx_jane as a dependency; opened 2025-07-23, closed unmerged 2025-08-25. Link

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp: proposes a wrap-type-in-module code action that wraps type declarations in a module containing a type t. Open PR by fprasx; maintainers suggest a parsetree-based implementation via Merlin instead. #1547

Fixes

  • ocaml-lsp: draft PR replaces a previously broken extract code action with a new implementation backed by a Merlin command. A companion draft adds the corresponding custom query. Both remain open and unmerged. #1546, #1545

ocaml/opam

Permalink

Features

  • opam update performance (PR #6614, open): loads only changed opam files during opam update instead of the full repository. Reduces Windows repository load from ~10 s to ~0.01 s; Unix from ~3.5 s to ~1 ms.

Compatibility and Releases

  • opam 2.4.1: released 2025-07-23. Binaries signed by the opam dev team (fingerprint 92C5 26AE 50DF 3947 0EB2 911B ED4C F1CA 67CB AA92). See the release notes and blog post for upgrade instructions.
  • opam 2.4.1 install docs (PR #6620, merged): updates installation documentation and switches tarball checksum from sha384 to sha512 to match the rest of the release signing steps.
  • opam 2.4.1 install scripts (PR #6617, merged): adds 2.4.1 to the install scripts.

Fixes

  • opam 2.4.1: fixes pin-depends being ignored on simulated pins (e.g. opam install --deps-only). Backported from master via #6612.
  • opam pin list (PR #6597, open): fixes a crash when the internal source directory of a pinned package does not exist. Regression from #6274.

ocsigen/js_of_ocaml

Permalink

Fixes

  • js_of_ocaml 6.1.1: PR #2084 (merged 2025-07-22) fixes an assertion failure in js_assign where inlining a recursive function left an unbound variable reference, causing "Some variables escaped" errors. Reported in issue #2083; downgrading to 6.0.1 was the interim workaround.

  • js_of_ocaml Sys_js: #2068 (closed 2025-07-22) confirms that raising an effect inside Sys_js.set_channel_filler triggers Stdlib.Effect.Unhandled at toplevel. The restriction is acknowledged; no code change was made.

  • js_of_ocaml runtime: PR #2082 (merged 2025-07-21) corrects runtime annotations.

Features

  • js_of_ocaml Intl: PR #2070 (open) adds Intl.RelativeTimeFormat bindings per the ECMA-402 spec. Still under review; no merge date.

Compatibility and Releases

  • js_of_ocaml release: PR #2085 ("Prepare for release", opened 2025-07-24) was in progress within this interval; the merge landed on 2025-07-30, outside the reporting window.

  • js_of_ocaml wasm runtime: PR #2081 (closed 2025-07-24, not merged) proposed restoring caml_string_of_array as an alias for caml_string_of_uint8_array. Closed in favour of a new Brr release (opam PR #28256).

4 repositories · no changes