Dune 3.23.0 removes the external patch/gpatch dependency and fixes a Windows Ctrl+C crash. OCaml 5.5.0 ships its first beta, and OxCaml merges mixed block v6, restoring poly compare and marshaling while lifting the 254-value field limit.
Features
Dune 3.23.0: The patch action uses a vendored OCaml implementation, removing the external patch/gpatch dependency. Fixes #12232, #7699 (#14177).
OCaml trunk (typing recovery): Open WIP PR adds a -typing-recovery flag so the type checker continues past the first error, reporting multiple errors in one pass. #14241
OCaml trunk (structured diagnostics): Open PR emits compiler errors, warnings, and debug output in JSON or S-expression format alongside existing text output. #13766
opam-repository: New packages: idna.0.4.0, valkey.0.2.0 (Eio-native Valkey client), openrouter_api.0.0.1, ocgtk.0.1~preview1 (GTK 4 bindings). (#29801, #29783, #29745, #29729)
opam (Nushell): Open PR adds Nushell shell config and opam env JSON output for load-env; a minimum nu version check is unresolved. #6873
Fixes
OCaml trunk (type checker): Merged fix corrects a regression where a module with a module-dependent function failed to match its inferred signature when an included t was shadowed. #14768, issue #14766
Dune 3.23.0: Ctrl+C on Windows no longer crashes with "wait4 stubs are not available"; SIGKILL is sent directly. Fixes #14302 (#14316).
opam (build cleanup): Open PR removes the build directory immediately after package install, reducing peak disk and RAM from 4–10 GB to under 2 GB. #6906
OxCaml (kind annotations): Merged fix adds a check preventing a kind annotation on an existential in a pattern from silently narrowing its declared kind, which caused segfaults. #5935
Compatibility and Releases
Dune 3.23.0: Released; development version on main bumped to 3.24. Release tracker: #14211.
OCaml 5.5.0 beta: First beta release with runtime, type-system, and error-message fixes since the prior alpha. #29750
OxCaml (mixed block v6): Merged change compiles all-value/void mixed records and variants to uniform blocks, restoring poly compare and marshaling; the 254-value field limit is lifted. #5774