Thicket thicket
ocaml
REPOS 27

W24.2025 · 9–15 JunAll

Dune 3.19.1 reverts dune exec behaviour changes from 3.19.0. OCaml trunk merges a fix emitting stlr instead of dmb ishld; str for integer stores on Apple Silicon macOS, resolving a 25× loop slowdown, and improves type-error messages to name specific mismatched universal type variables.

Releases

Fixes

  • OCaml trunk: Emits stlr instead of dmb ishld; str for integer stores on Apple Silicon macOS, resolving a 25× loop slowdown. Merged. #14074

  • OCaml trunk: Type-error messages now name the specific universal type variables mismatched during unification. Merged. #14076

  • opam: opam install --deps-only used the wrong package's opam description in some cases, causing incorrect dependency resolution. Opened 2025-06-12. #6544

  • opam: opam switch create --dry-run was creating switch directories on the filesystem despite the dry-run flag. Opened 2025-06-10. #6540

Features

  • OCaml trunk: Domain.running_domain_count added to query the number of currently running domains. Merged after the reporting window. #14086

  • js_of_ocaml: Adds window.matchMedia and MediaQueryList bindings to Dom_html. Merged 2025-06-12. #2017

  • js_of_ocaml: Merges text encode/decode support into the JS runtime. Merged 2025-06-12. #1645

  • js_of_ocaml wasm: Optimises calls to statically known functions by invoking the target directly instead of loading the code pointer from the closure. Merged 2025-06-16. #2044

Compatibility

  • OCaml trunk: Abstract types in the current module are no longer assumed distinct in GADT exhaustiveness checks. Use private variants as a workaround. #14081

  • js_of_ocaml: Test suite now runs against ppxlib 0.36, resolving the tracking issue for that upgrade. Merged 2025-06-13. #2043

  • OxCaml: ppxlib 0.33.0 and merlin-lib 4.16-501 fail to compile against ocaml-variants.5.1.1+flambda2 due to Parsetree.value_description field mismatches. #2858