The OCaml typechecker no longer assumes abstract types in the current module are injective, closing a soundness hole that permitted arbitrary type casts. mirage-crypto 2.3.0 addresses two security advisories covering RSA short-message handling and compressed NIST key bounds checks.
Features
-
Uchar.is_ascii,Uchar.ascii_to_char,Uchar.is_latin1,Uchar.latin1_to_charadded to clarify thechar/Uchar.tboundary. Merged. #14981 -
dune shell TARGETopens an interactive session at a rule action boundary, exposingrun,show_action,show_command. Preserves sandbox and environment. Open. #15597 -
Allocation profiling gains
DUNE_TRACE_ALLOCenv var (rate,stack,top) andby_site/by_framerankings per heap. Merged. #15699 -
oxcaml: AVX-512 vector and mask types promoted from
simd_alphatosimd_beta; backend support and mask primitives available under the beta flag. Merged. #6676 -
Eio.Path.nativeis now a Pi backend operation with full Windows path support (NT, verbatim, drive-relative). Merged. #916 -
textDocument/publishDiagnosticsnow attachesUnnecessaryandDeprecatedtags when the client advertisestagSupport. Merged. #2110
Fixes
-
The typechecker no longer assumes abstract types in the current module are injective, closing a soundness hole permitting arbitrary type casts. Merged. #14982
-
oxcaml: Partial GADT matches no longer narrow sorts of later parameters or the return, preventing segfaults from mismatched calling conventions. Merged. #6689
-
odoc: Cross-referencer resolves functors reached via
module type ofredirection, eliminating spurious "Failed to lookup type identifier" warnings. Merged. #1471 -
mirage-crypto 2.3.0 addresses OSEC-2026-14 (RSA
Invalid_argumenton short messages) and OSEC-2026-15 (missing bounds check on compressed NIST keys). #30436
Compatibility and Releases
-
Dune 3.24.2 released 2026-08-03: implicit
unixdependency for MDX ≥ 2.6 test executables; RPC registry rescan on directory mtime change. Release notes -
ocaml.org: Package version pages now exclude avoided and deprecated versions from latest-version selection; versions grouped with visible labels. Merged. #3713