Thicket thicket
ocaml
REPOS 9

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

W14.2026 · 30 Mar – 5 Apr

Tools repository summaries

6 active · 3 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

Dune (main): adds c_library_flags field to foreign_library stanzas for passing linker flags to ocamlmklib. Merged #13484.

Dune (main): introduces DUNE_PROJECT_ROOT so actions can reference the project root without polluting action digests. Merged #13934.

Dune package management: adds relocatable-compiler detection, enabling the compiler to be built and cached as a regular package instead of a toolchain. Merged #13321.

Dune (main): proposes per-module library dependency filtering via ocamldep to reduce unnecessary recompilation across library boundaries. Open #14021.

Dune (main): proposes deprecating (mode promote) in favour of dune build --promote-file and diff-based corrections. Open issue #14044.

Fixes

Dune (main): ignores spurious SIGCHLD signals on macOS that caused crashes during interrupted high-concurrency builds. Merged #14047.

Compatibility and Releases

Dune 3.22.1: restores Windows 7 compatibility, fixes a dune test crash when no default context exists, and corrects dune trace cat --chrome-trace timestamps. Release.

Dune (main): enables hardlink-based sandboxing on Windows (previously copy-only); core sandbox tests now run on Windows CI. Merged #13987.

ocaml/merlin

Permalink

Features

Merlin (ocaml-index): open PR proposes pointing-index support, allowing an aggregated index to reference an existing on-disk file instead of duplicating its contents. Benchmarks show ocaml-index aggregate dropping from ~2.4 s to ~0.9 s; read performance is unchanged. (#2051)

Merlin (indexer memory): open PR replaces the unbounded hashtable of index links with an LRU cache to bound memory usage during indexing. (#2050)

Compatibility and Releases

Merlin 5.7.0-504: open PR updates the changelog for the upcoming release. (#2055)

Merlin (jump targets): PR proposing a get_all function to return all jump targets in one round-trip was closed without merge on 2026-04-03. (#1891)

Fixes

Merlin (type enclosing): merged fix improves the enclosing-type response for class and object items, addressing #1587. Labeled for LTS consideration. (#2053)

Merlin (forward compatibility): merged type annotation on Destruct.refine_complete_match prevents a scope-escape error once #11648 lands in a future compiler. (#2054)

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp hover (PR #1599): Merged 2026-03-31. Hover now triggers on class and object-related identifiers (e.g. super, class names in inherit), closing issue #1587. Hovering over record curly brackets in expressions is also enabled.

Compatibility and Releases

  • ocaml-lsp -short-paths config (PR #1579): Open, updated 2026-04-03. Corrects the default so real_paths = true matches Merlin's behaviour; discussion ongoing on whether to change the default or keep it configurable.

  • ocaml-lsp 1.26.0-504 (PR #1600): Open, created 2026-04-03. Changelog update in preparation for the 1.26.0-504 release.

Fixes

  • ocaml-lsp signature-help (PR #1598): Merged 2026-03-31. Reverts the line-break formatting from #1580 because editors render the label field as a single line, making the change unusable.

  • ocaml-lsp build (PR #1594): Merged 2026-03-31. Restores compilation under Dune 3.22.

ocaml/odoc

Permalink

Features

  • odoc (PR #1408, open): Adds an @inline tag for module declarations, rendering module contents on the parent page instead of a separate sub-page. Mirrors existing include … (** @inline *) behaviour; nested sub-modules still get their own pages unless also marked.

Fixes

  • odoc (PR #1407, open): Propagates the unboxing marker from the compiler's Punboxed_ty representation so the trailing # on OxCaml unboxed named types appears in generated documentation. Follow-up to #1404.

ocaml/opam

Permalink

Features

  • opam (PR #6873): Adds Nushell shell support for opam env via JSON output and shell config integration. PR is open; review requires a minimum-version check and fallback messaging.

  • opam (PR #6874): Proposes following symlinks in file:// repository diffs so opam update no longer rejects symlinked files. PR is open; maintainers note the same code is being rewritten in #6625.

Fixes

  • opam DockerHub images: Closed issue #6875. DockerHub page updated to state /usr/bin/opam is the lowest supported version and the latest release is at /usr/bin/opam-<version>.

Compatibility and Releases

  • opam (PR #6864): Proposes reordering the action list so downgrades appear after upgrades. PR is open; no version bump indicated.

ocsigen/js_of_ocaml

Permalink

Fixes

  • js_of_ocaml (PR #2210): Merged fix for a substitution bug in reference unboxing that caused an assertion failure when compiling packages such as containers-data. Resolves issue #2209. (PR)
  • js_of_ocaml WASM (PR #2207): Merged fix preserving physical identity of empty closures; previously all empty closures shared a single placeholder, breaking == comparisons between distinct closures. (PR)
  • js_of_ocaml WASM (PR #2208): Merged guard preventing direct W.Call emission when the target closure was eliminated by global dead-code analysis; falls back to an indirect call. (PR)

Features

  • js_of_ocaml WASM (PR #2187): Open PR adding dynlink and toplevel support for the WASM backend. Updated during the reporting interval. (PR)
  • js_of_ocaml JS (PR #2163): Open PR introducing initial tooling for ECMAScript module output in the JS backend. Updated during the reporting interval. (PR)

Compatibility and Releases

  • js_of_ocaml (PR #2195): Open PR adding initial compiler and runtime support for OCaml 5.5. Updated during the reporting interval. (PR)

Build Performance

  • js_of_ocaml (PR #2185): Open PR proposing a speedup to the substitution pass in the compiler. Updated during the reporting interval. (PR)
3 repositories · no changes