Thicket thicket
ocaml
REPOS 9

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

W40.2025 · 29 Sep – 5 Oct

Tools repository summaries

5 active · 4 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

  • Dune (dune tools env): Open. New command prints shell commands to add installed dev tools to PATH, enabling terminal editors to invoke tools like ocamllsp without prefixing every call. #12521
  • Dune (OxCaml parameters): Open. Adds a (parameters ...) field to the library stanza for OxCaml parameterized libraries, requiring the -parameter compiler flag per parameter. #12336
  • Dune (pkg dev tools): Merged. dune-release and opam-publish are now installable via dune tools install, providing a release workflow for dune pkg projects. #12522

Compatibility and Releases

  • Dune (pkg dependency sharing): Open. Stores project and dev-tool build artifacts in a shared directory keyed by a package slug, preventing redundant rebuilds when both depend on the same package version. #12526

Fixes

  • Dune (promoted files): Merged. Files promoted to the source tree via (mode promote) are now set read-only. Dune restores write permission when it needs to overwrite a file. #12519
  • Dune (pkg null builds): Merged. Two changes reduce null-build time for dune pkg projects from roughly 8 s to 1 s by eliminating redundant comparisons and expensive hash computations. #12517, #12518
  • Dune (toolchain cache): Merged. Replaces Digest.generic with a stable hash for toolchain directory names, preventing spurious toolchain directory creation when reusing cached compilers. #12495
  • Dune (include_qualified): Merged. Adds a missing alias dependency to module groups, fixing a build failure when combining include_qualified with subdirectories. #12530

ocaml/merlin

Permalink

Features

  • Merlin locate_type_multi: New query returning a tree of identifier locations within a type expression, enabling richer "Go to Type Definition" in editors. Merged in v5.6-504. (#1951)
  • Merlin typer cache flag: Adds -use-typer-cache option (default true) to disable the typedtree cache. Merged 2025-10-03. (#1972)
  • Merlin inlay hints: Open PR replaces ghost-location heuristics with the [@merlin.hide] attribute for more consistent hint placement; removes the avoid-ghost-location option. (#1894)
  • Merlin refactoring-extract-region: Open PR adds a protocol command to extract an expression into a fresh let binding for editor refactoring workflows. (#1948)

Fixes

  • Merlin Vim plugin: Fixes a crash in :MerlinOccurrencesProjectWide when text-preview indices are stale. Merged in v5.6-504. (#1970)

Compatibility and Releases

  • Merlin v5.6-504: Adds OCaml 5.4 support via upgraded vendored typer. Also fixes merlin_reader on OpenBSD and improves recovery of mutually recursive definitions. (Release)
  • Merlin v5.6-503: Release for the 5.3 compatibility branch; same feature and fix set as v5.6-504. (Release)

ocaml/ocaml-lsp

Permalink

Features

  • OCaml LSP 1.24.0: adds OCaml 5.4 support. Note: ocamlformat and bisect_ppx were not yet released for 5.4 at merge time. Release / #1559
  • OCaml LSP .mlx formatting: open PR to format .mlx files via ocamlformat-mlx. Requires a companion change in vscode-ocaml-platform. #1528

Fixes

  • OCaml LSP 1.23.1: fixes hover on method calls not showing the type. Fixes the unsupported file extension error when opening .mll files in NeoVim. Release / #1557
  • OCaml LSP 1.23.1: ensures compatibility with both yojson 2.0 and 3.0. Release

ocaml/opam

Permalink

Features

opam update (PR #6614, merged): Loads only changed .opam files instead of reloading the entire repository. Reduces update I/O from ~10 s to ~0.01 s on Windows and ~3.5 s to ~1 ms on Unix. Closes #5824.

opam repo show (PR #6720, opened): New subcommand to display the URL and rank of a repository. Supports --all to list values across every switch. Related to #6235.

Compatibility and Releases

MSys2 symlinks (issue #6712, opened): Documents that MSys2's default winsymlinks:deepcopy mode produces symlinks incompatible with Cygwin and native Windows tools. Notes that opam could set MSYS=winsymlinks:native in the future.

Reproducible release archive (PR #6706, open): Switches tarball generation to git archive so the opam-full-*.tar.gz checksum is stable across builds. Addresses #6619.

OPAMAUTOANSWER (PR #6709, open, ready to merge): Adds an internal OPAMAUTOANSWER environment variable for non-interactive confirmation prompts. Marked internal-use only; full menu support tracked in #6718.

Fixes

opam update on Windows (PR #6715, merged): Eliminates a false-positive "mismatching extra-files" debug warning triggered by nested extra-files directories. Merged 2025-10-03.

Build constraint (PR #6707, merged): Adds a constraint to avoid cmdliner 2.0.0, which is incompatible with the current opam build. Merged 2025-10-03.

build-env ordering (PR #6713, opened): Reorders environment variable application so build-env is applied after setenv, fixing cases where CAML_LD_LIBRARY_PATH set via build-env was overwritten. Fixes #6574.

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml – Oxcaml support: PR opened by vouillon proposing an Oxcaml backend. No implementation details or timeline provided yet. #2105

  • js_of_ocaml – Wasm Stack Switching effects: Ongoing PR generating Wasm effects via the Stack Switching proposal. Requires dev Binaryen (or v124) and wasm_of_ocaml --enable wasi. #1832

Compatibility and Releases

4 repositories · no changes