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
.mlxfile support withocamlformat-mlxformatting 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, andString.[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
Fixes
-
OCaml 5.4.0: PR #14417 (merged) rewrites pack prefixes to use the platform separator, fixing
-for-packfailures on macOS and Windows. -
Dune (merged): PR #12935 resolves
dunein package build rules to the running binary and prepends its directory toPATH, 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/). SetDUNE_CACHE_ROOTto 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.