Thicket thicket
ocaml
REPOS 9

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

W21.2025 · 19–25 May

Tools repository summaries

6 active · 3 unchanged

Back to weekly digest

ocaml/dune

Permalink

Features

Dune 3.19.0: Adds an (extra_objects) field to the (foreign_library) stanza with (:include) support. Release notes

Dune 3.19.0: Detects and warns on common typos in package dependency constraints. Release notes

Dune 3.19.0: Allows concurrent builds alongside the RPC server and handles build RPC messages in eager watch mode. Release notes

Dune (PR #11826): OxCaml testing suite support opened by @maiste; adds a %{oxcaml_supported} variable for conditional test activation. Not yet merged. PR

Fixes

Dune 3.19.0: Fixes dune subst failing in subdirectories of a git repository. Release notes

Dune 3.19.0: Passes pkg-config extra arguments in all invocations, resolving a missing --personality flag that prevented pkgconf from finding libraries. Release notes

Dune 3.19.0: Prevents cram tests attached to multiple aliases from running multiple times. Release notes

Compatibility and Releases

Dune 3.19.0: Released 2025-05-21; 3.19.0~alpha0 cut 2025-05-20 with identical changelog. Release · Alpha

ocaml/merlin

Permalink

Compatibility and Releases

Merlin 504 branch: reports a compiler version mismatch when paired with OCaml 5.4, disabling language support until resolved. Reported by @kit-ty-kate in #1937.

Merlin OCaml 5.4 upgrade: open PR by @voodoos to bring the 504 branch current with OCaml 5.4; the change requires more than bumping magic numbers. See #1938.

ocaml/ocaml-lsp

Permalink

Fixes

ocaml-lsp: uncaught exception in lsp/src/import.ml crashes the LSP on typing spaces or newlines. Fixed in #1525; issue #1531 closed 2025-05-24.

Features

ocaml-lsp outline generation: #1529 (opened, not merged) delegates outline generation to Merlin, replacing the in-house implementation. Position reporting and item-kind values change, altering VS Code icons for instance variables.

ocaml-lsp .mlx formatting: #1528 (open) adds ocamlformat-mlx as the formatter for .mlx files in the LSP.

ocaml/odoc

Permalink

Features

  • odoc #1344: Proposes {ab KEY | Full Name} syntax for abbreviations in odoc markup, with optional glossary generation for non-HTML outputs. Opened by toastal. Link
  • odoc #1343: Proposes that the (packages ...) field in odoc-config.sexp also enables module references, removing the need for a separate (libraries ...) entry. Opened by panglesd; not yet merged. Link
  • odoc #329: Ongoing enhancement to add CSS classes and spans to @-tag markup, replacing <dl> lists for easier styling. Updated within the interval. Link

Compatibility and Releases

  • odoc #1339: odoc 3.0.0 fails to build against OCaml 5.4 due to parsetree changes (Tpat_alias arity, pack_path removal). Still open; blocks testing packages on OCaml 4 via dune. Link

ocaml/opam

Permalink

Fixes

  • opam --deps-only: opam install --deps-only pkg no longer creates a virtual conflict with pkg, preventing unintended removal of an already-installed version. Opened by rjbou; merged 2025-06-18. #6520
  • opam pinned packages: fixes a bug where simulated pinned packages incorrectly trigger a reinstall. Opened by rjbou on 2025-05-23; merged 2025-06-06. #6522

Compatibility and Releases

  • opam Cygwin: embeds setup.exe as a fallback for dependency installation on Cygwin. Opened by rjbou on 2025-05-23; closed without merge on 2025-06-05. #6523

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml inlining pass: merged a rewrite of the inlining pass. Internal Bonsai benchmarks show 50–80% faster execution; binary size increases <1% in separate compilation. (#1935)
  • js_of_ocaml compiler: opened a PR to reuse the inline cache during full size computation. Merged 2025-06-06, outside this interval. (#2014)

Compatibility and Releases

  • js_of_ocaml build: merged an update to require dune 3.19. (#1957)

Fixes

  • js_of_ocaml runtime: fixes caml_utf8_of_utf16 emitting a replacement character instead of the correct code point for the high surrogate 0xdbff. Also corrects two related comparison errors. (#2008, #2006)
  • js_of_ocaml compiler: merged a fix so deadcode elimination no longer preserves a tail-call variable when the expression is impure but the variable is unused. (#2010)
  • js_of_ocaml compiler: merged a fix for an invariant violation in the compilation pipeline. (#2009)
  • js_of_ocaml build: merged a fix for warn-error causing build failures in .js dune special directories. (#2007)
  • js_of_ocaml compiler: opened a PR addressing unused blocks left by the effects pass and dead closures missed during inlining in recursive cycles. Closed without merge on 2025-05-27. (#2013)
3 repositories · no changes