Thicket thicket
ocaml
REPOS 9

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

W31.2026 · 27 Jul – 2 Aug

Tools repository summaries

6 active · 3 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

  • dune shell TARGET opens an interactive shell at a prepared rule action boundary, exposing the expanded action, environment, and sandbox for debugging. Open PR by Alizter. #15597

  • (instrumentation (backend XXX) (libraries ...)) adds conditional library dependencies active only when the instrumentation backend is enabled. Gated on Dune language 3.25. Open PR by nojb. #15622

  • @pkg-source alias fetches all locked package sources without building them, enabling offline builds after a network-enabled fetch phase. Open PR by Alizter. #15629

  • dune describe external-lib-deps --include-empty now lists libraries with no dependencies, making the output self-contained for tooling consumers. Merged by NatKarmios. #15585

Fixes

  • RPC registry polling now rescans the directory when its mtime changes, fixing a race where clients (e.g. ocaml-lsp) never discovered a newly registered Dune instance. Merged by rgrinberg. #15634

  • Anonymous actions attached to multiple aliases no longer create inter-alias dependencies; each alias now triggers only its own actions. Merged by NatKarmios. #15581

  • dune build with a menhir stanza fails with Unbound module Stdlib when the relocatable compiler is selected by dune pkg lock. Open regression report against 3.24. #15642

Compatibility and Releases

  • dune pkg enabled now queries a running Dune RPC server, observing transient --pkg enabled/--pkg disabled settings without acquiring the build lock. Merged by Alizter. #15589

ocaml/merlin

Permalink

Features

  • OCaml 5.6+trunk support merged into the 506 branch (#2087, by @xvw). Preview release v5.8.1-506~preview published 2026-07-31.

Compatibility and Releases

  • v5.8.1-505 released 2026-07-31 (release).
  • v5.8.1-506~preview released 2026-07-31 with experimental OCaml 5.6 support (release).

Fixes

  • document no longer returns neighboring entries' doc comments for variant constructors and record fields (#2092, by @liam923, merged).
  • ocaml-index now uses the original source file digest for staleness checks when ppx preprocessing is active (#2110, by @liam923, merged).
  • Load-path staleness across multiple typer states (visible with dune watch mode) reproduced and fixed (#2109, by @rgrinberg, merged).
  • outline selection range can fall outside the item range for compiler-generated eta-expansion bindings; PR proposes a containment fallback (#2111, by @MavenRain, open).
  • destruct raises an unhandled Assert_failure on object method syntax x with|0 (#2112, open).

ocaml/ocaml-lsp

Permalink

Features

  • LSP 3.18 codeAction/resolve for inline edits (merged). Clients advertising resolveSupport now receive inline code-action edits lazily via codeAction/resolve instead of eagerly in the initial response. Reduces round-trip payload for unused-binding and other inline actions. #1808

  • Destruct-line on inline and whole-match expressions (merged). The destruct-line code action now recognises match expressions embedded in larger lines and accepts ranges covering the entire match, so the action is available at the match token where the diagnostic is reported. Fixes #1595. #1829

Compatibility and Releases

  • 1.28.0-506~preview released 2026-07-31. Bundles the LSP 3.18 metamodel update, operator semantic highlighting, Dune trace notifications, the open-dune code action, and the fixes listed above. #release

  • Dune RPC polling kept responsive (merged). Connected Dune instance runners are now scheduled in the active fiber pool so the registry poll loop continues observing workspace changes after the first connection. Previously the poll loop stopped after the first Dune connection, leaving stale diagnostics. #1919

Fixes

  • Function-parameter inlay hints enabled without client configuration (merged). Config_data.default now sets hint_function_params = true, matching the [@default true] used when an inlayHints object is deserialized. Clients that never send workspace/didChangeConfiguration now see parameter hints. Fixes #1371. #2097

  • Missing dune binary reported as a diagnostic (merged). A missing project build-system executable no longer aborts didOpen and discards the document. The server reports the failure as a diagnostic and keeps the document open with fallback configuration, so hover and other features remain available. Fixes #1417. #1814

  • Completion replaces the full identifier suffix (merged). Selecting is_prefix from String.is_pr|word now replaces the entire is_prword token instead of leaving the trailing word behind. Fixes #838. #1964

  • Infix operator rename excludes surrounding parentheses (merged). prepareRename and rename edits for symbolic operators such as (^*$) now target only the operator token, so clients prefill the bare name and edits preserve the surrounding syntax. Fixes #1190. #1966

  • FreeBSD build: include <sys/mount.h> for statfs (merged). The vendored libev now uses the correct header on FreeBSD, resolving the sys/statfs.h: No such file or directory compilation failure. Fixes #1069. #2070

ocaml/odoc

Permalink

Fixes

  • #1468 (open, by MavenRain): Constructor and record-field references no longer splice the type name into rendered text; {!Bla.Alpha} displays as Bla.Alpha instead of Bla.ha.Alpha. Link anchors are unchanged.

  • #1465 (open, by klakplok): Source-occurrence collection now skips subtrees marked [@merlin.hide], eliminating spurious cross-reference links on ppx-generated code in rendered source pages.

Compatibility and Releases

  • #1470 (open, by kit-ty-kate): odoc is not compatible with OCaml 5.6 (trunk). All required dependencies are available via opam-alpha-repository.

  • #1469 (open, by jonludlam): OxCaml minus39 compatibility fixes; module types with with kind expressions now return an option and are filtered out.

ocaml/opam

Permalink

Features

Compatibility and Releases

Fixes

ocsigen/js_of_ocaml

Permalink

Compatibility

  • #2405 (open, updated 2026-07-29): Consolidates the four separate linear memories (caml_buffer scratch, zstd-impl.wasm, blake2-impl.wasm, WASI libc) into a single shared memory. Safari rejects WASM modules declaring multiple memories; this change makes such output loadable in Safari. Author: vouillon.
3 repositories · no changes