Thicket thicket
ocaml
REPOS 9

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

W10.2026 · 2–8 Mar

Tools repository summaries

7 active · 2 unchanged

Back to weekly digest

ocaml/dune

Permalink

Releases

  • Dune 3.22.0~alpha0: Released with a new trace system (dune trace cat), default sandboxing of tests and Melange rules, dune runtest for individual test files, and @doc-markdown for odoc output. The build cache path moves to $DUNE_CACHE_ROOT/db (breaking). Release notes

Features

  • Dune ppx (proposal): Open PR computes the transitive closure of ppx dependencies before collecting cookies, so cookies survive nested rewriter composition. Fixes a bug reported in 2020. #13737

  • Dune trace (proposal): Open PR resolves the default trace file path relative to the build directory root instead of the initial working directory. Marked as blocking the 3.22 release. #13735

Fixes

  • Dune cache (Windows): Merged fix enables hard links on NTFS/ReFS and clears read-only attributes before rename during deduplication. Without this, the shared cache was effectively non-functional on Windows. #13713, #13714

  • Dune memo library: Post-release fix checks for self-dependency cycles before blocking on an ivar, resolving a deadlock that caused infinite hangs. Fixes a bug dating to 2022. #13710

  • Dune pkg (OpenBSD): Merged fix detects the tar implementation and passes explicit -z/-j flags when auto-detection is unavailable. Resolves package installation failures on OpenBSD. #13688

  • Dune pkg (rev_store): Merged change restricts git negotiation to only the tips relevant to the target remote, reducing network traffic and download time. #13698

  • Dune pkg (depexts): Merged fix makes portable lock directories filter out depexts containing unknown variables, matching non-portable and OPAM behaviour. #13729

ocaml/merlin

Permalink

Features

  • Merlin (PR #1948): adds a refactoring-extract-region command to the Merlin protocol, allowing an expression to be extracted into a fresh let binding. Merged 2026-03-05 by Tim-ats-d.

Compatibility and Releases

  • Merlin + OxCaml (Issue #2045): with merlin.5.2.1-502+ox and OCaml 5.2.0+ox, every few keystrokes in Emacs triggers the Lisp debugger via an unhandled Invalid_argument from the Menhir parser. Open; no fix yet.

  • Merlin LSP documentation (Issue #2042): requesting documentation for symbols from external libraries (e.g. OS.Cmd.run from Bos) raises an uncaught Envaux.Error in ocaml-lsp-server, returning a JSON-RPC error instead of doc text. Open; affects Merlin 4.18-414 with OCaml 4.14.

  • Merlin Emacs project-wide occurrences (Issue #1740): closed 2026-03-05 as no longer relevant. The experimental Emacs patch for project-wide occurrences is not being pursued.

ocaml/ocaml-lsp

Permalink

Features

ocaml-lsp rangeFormatting: Merged 2026-03-06. Implements textDocument/rangeFormatting by invoking ocamlformat on the selected range while preserving surrounding indentation. Closes #1891. (#1591, WardBrian)

ocaml-lsp signatureHelp: Merged 2026-03-05. signatureHelp is now supported in ocaml-lsp-server. (#1592)

ocaml-lsp locate-types: Merged 2026-03-05. Adds a custom request for merlin-locate-types, returning a field set of reachable types. (#1584)

ocaml-lsp extract-query: Merged 2026-03-06. Refactors the extract custom query to use the corresponding Merlin command from #1948. (#1545)

Compatibility and Releases

ocaml-lsp jump performance: Open. Sends a single query for all jump targets instead of recursive per-target checks, reducing code-action response time. Depends on #1891. (#1461)

ocaml-lsp extract-action: Open. Replaces the previous broken extract code action with a proper implementation inside Merlin. (#1546)

ocaml/odoc

Permalink

Features

  • odoc (PR #1403, open): Proposes emitting ocaml language tags on fenced code blocks in the Markdown backend for API declarations, aligning with the HTML backend. Also unifies separate code blocks into a single block with inline doc comments.

Compatibility and Releases

  • odoc (issue #1401, open): Tracks OCaml 5.5 support; updated 2026-03-06 with a request for status on the first alpha. No concrete change or release yet.

ocaml/opam

Permalink

Features

  • opam (PR #6864): proposes reordering the action list so removals appear last, reducing scrolling during upgrades. Open, not merged. Addresses issue #6863.

Fixes

  • opam (issue #6857): closed 2026-03-04 as waiting for feedback; no fix applied. Reports opam switch link corrupting an existing _opam switch with no error message.

ocaml/opam-file-format

Permalink

Compatibility and Releases

  • opam-file-format 2.2.0: README omits the menhir build dependency introduced in PR #60; builds fail with "Program menhir not found" until menhir is installed. Issue #64 (opened by gdt) remains open; the maintainer confirmed the README is incorrect but no fix has been merged.

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml OCaml 5.5: #2195 (open, by hhugo) adds initial compiler and runtime support for OCaml 5.5. The ocaml55 branch is available for testing.
  • js_of_ocaml OCaml 5.5: #2193 (open) confirms the ocaml55 branch was added to opam-alpha-repository. wasm_of_ocaml is not yet supported for 5.5.

Fixes

  • js_of_ocaml: #2194 (opened in interval, by vouillon) contains runtime bug fixes. Merged after the reporting window.

Compatibility

  • js_of_ocaml OCaml 5.5: No stable release yet; the ocaml55 branch is the current path for 5.5 builds. wasm_of_ocaml remains unsupported on 5.5.
2 repositories · no changes