Thicket thicket
ocaml
REPOS 27

W51.2025 · 15–21 DecAll

Dune 3.21.0~alpha4 adds (lang rocq), library_parameter, and dune promotion show, and stops overriding default compiler warnings. A merged Dune change relocates toolchain, git-repo, and rev-store caches under DUNE_CACHE_ROOT (default $XDG_CACHE_HOME/dune/), and OCaml 5.4.0 fixes -for-pack failures on macOS and Windows.

Features

  • Dune 3.21.0~alpha4: Adds (lang rocq), library_parameter, dune promotion show, DUNE_ROOT, and (files) stanza. Breaking: no longer overrides default compiler warnings. Release

  • ocaml-lsp 1.25.0: Adds .mlx file support with ocamlformat-mlx formatting and three custom LSP requests (ocamllsp/typeExpression, ocamllsp/phrase, ocamllsp/locate). Release

  • OCaml 5.5 (proposal): PR #14381 adds String.find_first_index, String.find_last_index, String.find_first, String.find_last, and String.[r]find_all. Review ongoing.

  • OCaml trunk (proposal): PR #14427 introduces polymorphic annotations in expression position, e.g. (fun x -> x : 'a. 'a -> 'a). Open for review.

Releases

  • Merlin v5.6.1-504: Released 2025-12-20; fixes completion for inlined record labels, signature help on function names, and unnecessary buffer indexing. Release

  • opam-repository: Lwt 6.0.0-beta01 merged, adding lwt_direct, lwt_ppx, and lwt_runtime_events packages alongside the core library. #28894

Fixes

  • OCaml 5.4.0: PR #14417 (merged) rewrites pack prefixes to use the platform separator, fixing -for-pack failures on macOS and Windows.

  • Dune (merged): PR #12935 resolves dune in package build rules to the running binary and prepends its directory to PATH, preventing capture of a different executable.

  • opam (merged): PR #6839 fixes a Windows lock-acquisition failure during switch and repo format upgrades by reusing the already-opened file descriptor.

  • OxCaml (merged): PR #5126 rearranges unboxed and untagged array tags to restore backwards compatibility with pre-untagged-array tag assignments.

Compatibility

  • Dune (merged): PR #12858 moves toolchain, git-repo, and rev-store caches under DUNE_CACHE_ROOT (default $XDG_CACHE_HOME/dune/). Set DUNE_CACHE_ROOT to preserve the old layout.

  • OCaml Windows (merged): PR #13416 removes the winpthreads dependency, implementing caml_plat_* concurrency primitives directly on WinAPI SRW locks for MSVC and MinGW-w64.