Thicket thicket
ocaml
REPOS 27

W32.2026 · 3–9 AugAll

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_char added to clarify the char/Uchar.t boundary. Merged. #14981

  • dune shell TARGET opens an interactive session at a rule action boundary, exposing run, show_action, show_command. Preserves sandbox and environment. Open. #15597

  • Allocation profiling gains DUNE_TRACE_ALLOC env var (rate, stack, top) and by_site/by_frame rankings per heap. Merged. #15699

  • oxcaml: AVX-512 vector and mask types promoted from simd_alpha to simd_beta; backend support and mask primitives available under the beta flag. Merged. #6676

  • Eio.Path.native is now a Pi backend operation with full Windows path support (NT, verbatim, drive-relative). Merged. #916

  • textDocument/publishDiagnostics now attaches Unnecessary and Deprecated tags when the client advertises tagSupport. 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 of redirection, eliminating spurious "Failed to lookup type identifier" warnings. Merged. #1471

  • mirage-crypto 2.3.0 addresses OSEC-2026-14 (RSA Invalid_argument on 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 unix dependency 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