Thicket thicket
ocaml
REPOS 9

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

W26.2025 · 23–29 Jun

Tools repository summaries

6 active · 3 unchanged

Back to weekly digest

ocaml/dune

Permalink

Fixes

  • Dune foreign stubs: Dune appends -g to C/C++ flags in foreign stubs, overriding user-specified debug flags such as -g0. PR #11942 (open) allows removal via :standard \ -g.

  • Dune cram tests: Background tasks started with & in cram tests were not terminated when the test ended. Issue #11820 was closed on 2025-06-29; the evidence does not specify the resolution.

Features

  • Dune pure rules: Proposal to execute pure dune rules (write-file, copy) without requiring an OCaml compiler. Issue #11939 is open and unmerged.

ocaml/merlin

Permalink

Features

  • Merlin v5.5-503: adds a selection field to outline results containing symbol locations, matching LSP selectionRange for ocaml-lsp-server parity. (#1942)

Compatibility and Releases

  • Merlin v5.5-503: released 2025-06-24; includes locate disambiguation for identically-named files, inlay-hint parameter fixes, and a typer assertion fix. (Release)
  • Merlin v4.19-414: backport release adding typed-hole utilities, inlay-hint fixes, and Vim :MerlinSearch search-by-type. (Release)

Fixes

  • Merlin v5.5-503: fixes a destruct hang when printing patterns containing (::), resolving #1489. (#1944)
  • Merlin v5.5-503: fixes jump-to-definition failures caused by bad typing recovery, closing #1580 and #1588. (#1930)
  • Merlin v5.5-503: uses full class field locations in outline results. (#1943)

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp 1.23.0: adds configurable inlay-hints for function parameters, ocamllsp/jumpToTypedHole navigation, a code-action for combining pattern cases, and optional shortened diagnostics. Release notes
  • ocaml-lsp 1.21.0-4.14: adds the standardHover server option; when set to false, textDocument/hover always returns an empty result. Release notes

Compatibility and Releases

  • ocaml-lsp 1.23.0: released 2025-06-24. Release
  • ocaml-lsp 1.21.0-4.14: LTS release for OCaml 4.14, published 2025-06-23. Release
  • ocaml-lsp yojson: #1538 pins the yojson constraint to < 3.0 in the 1.23.0 release; 3.0 support is deferred to a subsequent change.

Fixes

  • ocaml-lsp outline: delegates outline generation to Merlin, changing position reporting and item kinds (instance variables now display as Values rather than Properties). Merged in #1529.
  • ocaml-lsp CPU usage: resolves a server loop on certain type expressions that caused 100% CPU in VS Code. #1489 closed 2025-06-24.

ocaml/odoc

Permalink

Compatibility and Releases

  • odoc: OCaml 5.4 support opened by Octachron updates the model for labelled and bivariant type parameters and the loader for the 5.4 AST. #1355

ocaml/opam

Permalink

Features

  • opam switch create (PR #6571): opam switch create <version> will select an avoid-version compiler when it is the only candidate. Opened by rjbou; merged after the reporting interval.
  • opam switch create (PR #6572): Invariant computation will skip not-found packages and prompt to drop them rather than aborting on the first miss. Opened by rjbou.

Fixes

  • opam Cygwin build (PR #6566): ./configure --with-cygwin-setup now uses coreutils sha512sum instead of perl's shasum for checksums. Merged 2025-06-23.
  • opam remove (issue #6570): opam remove --force on an uninstalled package executes sandbox commands in the current working directory. Opened by rjbou.

Compatibility and Releases

  • opam prebuilt binaries (PR #6510): Build platforms updated to Alpine 2.21, FreeBSD 14.3, OpenBSD 7.7, and NetBSD 10.1. Merged 2025-06-23.
  • opam cmdliner upgrade (PR #6435): Ongoing upgrade to cmdliner 2.0.0; open questions remain around the CMDLINER_LEGACY_PREFIXES escape hatch and Arg.enum interaction.

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml compiler: branch-simplification pass merged (#2057). Reduces code size by ~22% and compilation time on fiat-crypto; global deadcode pass drops from 8.4 s to 1.6 s.
  • js_of_ocaml warnings: merged control over jsoo warnings (#2052). Resolves the request to suppress the "missing primitives" message at build time.
  • js_of_ocaml wasm: closure optimisation opened (#2059). Omits unused code pointers, reducing memory allocation and enabling further Binaryen optimisations.

Fixes

  • js_of_ocaml compiler: short-variable fix merged (#2064). Corrects a variable-scoping issue in generated code.
  • js_of_ocaml wasm: Safari 18.4 validation error closed (#1975). Tail-call return-type mismatch confirmed resolved in Safari Tech Preview 221 (WebKit 20622.1.15.19.2).

Compatibility and Releases

  • js_of_ocaml: OCaml 5.4 support merged (#2058). Removes the version constraint that blocked opam installation on OCaml 5.4.
  • js_of_ocaml wasm: upstream dependency tracking opened (#2061). Lists pending PRs in ppx_css, basement, typerep, bigstringaf, and core_kernel required for wasm testing.
3 repositories · no changes