Thicket thicket
ocaml
REPOS 9

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

W18.2025 · 28 Apr – 4 May

Tools repository summaries

7 active · 2 unchanged

Back to weekly digest

ocaml/dune

Permalink

Compatibility and Releases

  • Dune 3.18.2: fixes compatibility with ocaml.5.4.0 by avoiding shadowing of sigwinch. (Release)

Features

  • Dune cram tests: open discussion on inspecting the temporary sandbox after a cram test run; the sandbox is deleted and --sandbox=none does not preserve outputs. (#11167)
  • Dune file generation: question on using cinaps to emit repeated stanza patterns in dune files as a textual alternative to a plugin. (#11161)

ocaml/merlin

Permalink

Fixes

  • Merlin #1927: signature help does not appear when a function's type is expressed through a type alias rather than an explicit arrow type. A reproduction test was added. Issue
  • Merlin #1929: jump-to-definition resolves to the wrong binding when record field punning uses a module path prefix (e.g. Foo.foo). Opened 2025-04-29. Issue

Compatibility and Releases

  • Merlin 504 preview: version bump merged 2025-04-28; CI failures noted as expected. PR

Ongoing

  • Merlin #1594: locate-type navigates to the wrong type when a library is built from a copied source tree; root cause identified as missing Dune configuration for the original sources. Updated 2025-05-02. Issue
  • Merlin PR #1930: opened 2025-05-02, adds reproduction tests for locate bugs (#1580, #1588) and a typing-recovery fix. Still open at interval end. PR

ocaml/ocaml-lsp

Permalink

Fixes

ocaml-lsp: Merged PR #1525 fixes a crash in textDocument/signatureHelp where serializing a None value triggered an assertion failure. None now serializes as JSON null instead of raising. Closes #1524.

Features

ocaml-lsp inlay hints: Discussion #1511 reports that the documented inlayHints.enable option no longer matches the implementation; the working keys are hintPatternVariables and hintLetBindings. The reporter could not get hintLetBindings to produce expected type annotations.

ocaml-lsp --fallback-read-dot-merlin: Open issue #1522 proposes making the flag default or renaming it to --favor-dot-merlin-files. A maintainer comment clarifies the flag controls detection priority between dune and .merlin files rather than acting as a true fallback.

ocaml/odoc

Permalink

Features

  • odoc #1342: proposes rendering both re and ml code snippets side by side in generated documentation, toggled via CSS or JavaScript in the browser. Opened by davesnx; still an open design proposal. Link

  • odoc #1341: proposes a Markdown output backend built on cmarkit, enabling odoc-generated docs to feed into static site generators or GitHub. Opened by davesnx; not merged. Link

ocaml/opam

Permalink

Features

  • opam (proposal): PR #6493 proposes an explicit flag to mark packages unavailable unless explicitly requested. Opened 2025-04-29, still WIP.

Compatibility and Releases

  • opam 2.4.0~alpha2: Release PR #6508 merged 2025-05-05.
  • opam OPAMSTATS: PR #6485 removes the OPAMSTATS environment variable, eliminating a memory leak in long-running library use. Merged 2025-04-29.

Fixes

  • opam patch/diff: PR #6490 adds support for empty files, empty-directory removal, large patches, and directory moves. Merged 2025-05-02; fixes #6448.
  • opam switch create: PR #6494 excludes avoid-version/deprecated compiler packages from the switch invariant. Merged 2025-05-02.
  • opam Cygwin: PR #6482 falls back to the existing setup-x86_64.exe when the upgrade download fails. Merged 2025-05-02.
  • opam build engine: PR #6505 fixes erroneous recompilations triggered by empty build/runtest/install/remove fields. Opened 2025-05-03, still open.

ocaml/opam-file-format

Permalink

Fixes

  • opam-file-format: Open issue #63 reports the printer discards empty list entries (e.g. build: []), violating the printer (parser x) = x round-trip property.

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml (wasm_of_ocaml): PR #1954 opens specialization of number comparisons and bigarray operations for the Wasm backend. Still open.
  • js_of_ocaml (wasm_of_ocaml): PR #1958 opens reference unboxing for the Wasm backend. Still open as of the reporting interval.
  • js_of_ocaml: PR #1953 opens unboxing of function and block parameters. Still open.
  • wasm_of_ocaml: Issue #1956 requests a --binaryen-opt=<flags> option to pass flags (e.g. --enable-multimemory) to Binaryen invocations. Open.

Fixes

  • wasm_of_ocaml 6.0.1: Issue #1955 reports Int32.to_int losing the sign bit on 32-bit values (OCaml integers are 31-bit). Closed 2025-05-05; comments identify the gap as a missing Stdlib conversion rather than a wasm_of_ocaml defect.

Compatibility and Releases

  • js_of_ocaml build: PR #1957 opens a bump to dune 3.19. Not yet merged within the reporting interval.
2 repositories · no changes