Thicket thicket
ocaml
REPOS 9

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

W51.2025 · 15–21 Dec

Tools repository summaries

6 active · 3 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

  • Dune 3.21.0~alpha4: Adds (lang rocq), library_parameter, dune promotion show, DUNE_ROOT, unused-libs alias, and (files) stanza. Breaking: 3.21 no longer overrides default compiler warnings. Release

  • Dune Odoc v3 rules: Proposes unified @doc and @doc-full aliases, hierarchical docs via a documentation stanza, ocaml.org cross-links, and a sherlodoc index. Errors are scoped to the current project. #12995

  • Dune structured logging: Folds _build/log into the trace file, produced by default. Log messages carry structured payloads for scripting. #13015

Fixes

  • Dune nested dune calls: Merged fix resolves dune in package build rules to the running binary and prepends its directory to PATH. Prevents accidental capture of a different dune executable. #12935

  • Dune dune tools: Merged merlin support in dune tools install. An open PR adds a clear error with an install hint when dune tools exec targets an uninstalled tool. #12972, #12978

Compatibility and Releases

  • Dune cache locations: Merged change moves toolchains, git-repo, and rev-store caches under DUNE_CACHE_ROOT (defaulting to $XDG_CACHE_HOME/dune/). Existing cache paths shift; set DUNE_CACHE_ROOT to preserve the old layout. #12858

  • Dune pkg no-op builds: Open bug reports a ~13 s no-op dune build with package management versus ~0.85 s with opam. Target is within 500 ms of the opam baseline. #12693

  • Dune dune clean: Open issue reports that dune clean deletes package management data from _build, removing installed packages and dev tools. A PR to preserve this data was closed without merge. #12976

ocaml/merlin

Permalink

Fixes

  • Merlin: merged PR #2016 corrects a typo in an include directive for <stdcountof.h>, introduced in a prior commit.

Compatibility and Releases

  • Merlin v5.6.1-504: released 2025-12-20; fixes completion for inlined record labels, signature help appearing on function names, and unnecessary buffer indexing. (release)
  • Merlin v4.7.1-413: released 2025-12-19; resolves a build failure that prevented opam install merlin on OCaml 4.13.1. (release)

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp 1.25.0: adds .mlx file support with ocamlformat-mlx formatting and standard LSP features (diagnostics, code actions, hover). Release
  • ocaml-lsp 1.25.0: makes code-lens for nested let bindings configurable via a renamed parameter. Release
  • ocaml-lsp 1.25.0: adds three custom requests—ocamllsp/typeExpression, ocamllsp/phrase, and ocamllsp/locate—enabling identifier-prefix lookup without protocol changes. Merged in #1576, closing issue #1570.

Documentation

  • ocaml-lsp config docs: #1575 (merged) updates config.md to match config_data.ml.

Fixes

  • ocaml-lsp 1.25.0: falls back to .merlin configuration when no dune-project is found and dot-merlin-reader is installed. Release
  • ocaml-lsp 1.25.0: improves precision of the duration field in view-metrics timestamps. Release

Compatibility and Releases

  • ocaml-lsp 1.25.0: released 2025-12-20. Release notes
  • ocaml-lsp 4.14 LTS: #1577 (open) supplants the closed #1574; several fixes require Merlin changes, so the LTS release is deferred.

ocaml/odoc

Permalink

Fixes

  • odoc (PR #1395, open): Proposes fixing URL remapping for page references where the prefix check matched only the directory, not the filename. Also normalizes remap entries at config creation. Discussion suggests a Trie structure over a string list.

  • odoc (issue #1396, open): Reports that odoc compile resolves modules without hashes, so stale odoc files in the path cause the link step to silently fail. Filed by jonludlam.

ocaml/opam

Permalink

Features

  • opam PR #6838 (open): Proposes copying .git/objects instead of invoking git clone file:// to pin local git packages, cutting pin time from ~40 s to under 1 s. Addresses issue #6837. PR

  • opam PR #6836 (open): Adds a --ignore-available-on option to bypass available: constraints for listed packages, enabling cross-platform compatibility testing. Targeted for opam 2.6. PR

  • opam PR #6812 (open): Updates opam env to set XDG_DATA_DIRS and FPATH so bash and zsh shell completion locates opam-provided completions without manual configuration. PR

Fixes

  • opam PR #6839 (merged): Fixes a Windows lock-acquisition failure during switch and repo format upgrades by reusing the already-opened lock file descriptor instead of reopening it. PR

Compatibility and Releases

  • opam PR #6393 (open): Proposes a section-based syntax for the internal repos-config file, requiring a hard upgrade of the opam root with no best-effort read fallback. PR

  • opam PR #6489 (open): Moves the depexts status check to run during opam update rather than at each install, reducing repeated system-package queries. PR

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml (Wasm effects): PR #1832 proposes Stack Switching-based effects for Wasm codegen via wasm_of_ocaml --enable wasi. Ongoing; updated 2025-12-20, with a note that the outdated binaryen-bin dependency was removed in PR #2134.

  • js_of_ocaml (WASI runtime): PR #1831 proposes a WASI runtime for wasm_of_ocaml, producing Wasm executable by Wizard or wasmtime. Ongoing; updated 2025-12-20.

  • js_of_ocaml (Oxcaml): PR #2105 proposes Oxcaml support. Ongoing; updated 2025-12-15.

Compatibility

  • js_of_ocaml (number type): Issue #2136 reports that the new number type (from #1650) breaks compilation of existing code. Open; updated 2025-12-19, no migration switch or resolution provided yet.
3 repositories · no changes