Thicket thicket
ocaml
REPOS 9

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

W11.2025 · 10–16 Mar

Tools repository summaries

7 active · 2 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

Dune (proposal): discussion opened to extract Stdune.Ansi_color from stdune into a standalone opam package (suggested names pp_tty or pp_ansi), adding a t = Style.t list Pp.t type for styled CLI output. No code merged; status is open discussion. Discussion #11107

Dune (docs gap): dune build --no-buffer disables output truncation, but the FAQ does not mention the words "truncate" or "truncation," making the option hard to discover. A contributor offered to add the terminology to the docs. #11532

Compatibility and Releases

Dune / pkgconf: dune passes --personality to pkgconf, an option introduced in pkgconf 1.5.1. Systems shipping pkgconf 1.4.2 (e.g. RHEL 8) fail with "unknown option." No fix merged; the issue is open. #11536

ocaml/merlin

Permalink

Fixes

  • Merlin issue #1910: merlin-locate in Emacs fails for functions generated by ppx_deriving, reporting the source file as not found. Open; no fix yet.

Features

  • Merlin PR #1909: opened to upstream lyrm into the merlin-domains branch, superseding #1908 (closed 2025-03-12). Removes laziness from the completion pipeline, breaking one label-completion test (marked TODO). Not merged within this interval.

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp (PR #1501, open): proposes unifying ocamllsp/switchImplIntf and ocamllsp/inferIntf parameters from bare DocumentUri to {uri: DocumentUri}, matching ocamllsp/typedHoles. A new experimental capability flag is suggested for graceful client migration. Link

  • ocaml-lsp (issue #1503, open): RFC to introduce versioned custom-request namespaces (e.g. ocamllsp/capabilityX/v2) so server-side I/O changes do not require simultaneous client updates. Link

Fixes

  • ocaml-lsp (issue #1330, open): ocamllsp/switchImplIntf crashes the server with an uncaught JSON conversion exception when a client sends a bare URI string instead of the expected object. PR #1501 addresses the parameter handling. Link

Compatibility and Releases

  • ocaml-lsp (issue #1459, open): building ocaml-lsp-server 1.20.1 on FreeBSD 14.2 with OCaml 4.14 fails because the vendored ev.c includes sys/statfs.h, which is absent on that platform. A fix targeting the 4.14 LTS branch is pending. Link

ocaml/ocamlfind

Permalink

Fixes

  • ocamlfind PR #101: Open proposal to add set -e to the configure script so command failures abort the build. Prevents silent failures such as a misconfigured PATH on MSYS2 resolving find to find.exe and skipping the findlib META file. (#101, by kit-ty-kate)

ocaml/odoc

Permalink

Compatibility and Releases

  • odoc: Merged PR #1328 removes the compatcmdliner shim and requires cmdliner >= 1.3.0, making odoc compatible with cmdliner 2.0.

Fixes

  • odoc: Issue #1083 closed 2025-03-12. It reported a "Failed to resolve module path identifier" warning during dune b @doc; no resolution details are provided in the record.

ocaml/opam

Permalink

Features

  • opam (design proposal): Opened issue #6418 proposing removal of automatic retrieval of uncommitted .opam files for VCS-pinned local directories. Users would need --working-dir or a path pin to include uncommitted changes.

Fixes

  • opam git integration: PR #6422 (open) adds handling for git remote get-url exit code 2, which previously caused a failure when retrieving the remote URL of a VCS-pinned package.

Compatibility and Releases

  • opam config upgrade mechanism: PR #6417 (opened, not yet merged in this interval) extends the on-the-fly format upgrade to repo- and switch-level config files, requiring a global write lock when a write is requested.

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml (PR #1886): Draft proposal for more aggressive lambda lifting in double translation. Reports ~1.45× speedup on a Bonsai benchmark; would be gated behind a flag.
  • js_of_ocaml (PR #1885): Open proposal to lift only functions with free variables during lambda lifting, avoiding unnecessary wrapper allocation.

Compatibility and Releases

  • js_of_ocaml (PR #1866): Opened upgrade of ppx plugins to ppxlib 0.36. Labeled blocked pending a ppx_expect dependency update.

Fixes

  • js_of_ocaml (issue #1868): Fixed assertion failure in double translation when compiling nested exception-unwrapping code. Closed 2025-03-12.
  • js_of_ocaml (issue #1865): Fixed jsoo_minify crash on code containing a function declaration after a return statement. Closed 2025-03-12.
  • js_of_ocaml (issue #1864): Minifier variable-renaming report resolved as expected behaviour: generated code runs in strict mode, so the renaming is correct. Closed 2025-03-10.
2 repositories · no changes