OCaml trunk merged support for arbitrary structure items in let expressions, and Dune tagged 3.21.0~alpha0 on 2025-12-05. The quickjs 0.4.0 opam package breaks compatibility by migrating to the quickjs-ng fork with Unicode 17.0.0 support.
Features
OCaml trunk: Merged support for arbitrary structure items in let expressions, excluding let bindings and include. #14040
OCaml trunk: Relocatable OCaml series adds --with-relative-libdir, -runtime-search, and name-mangling for bytecode interpreters and shared libraries. #14244, #14245
Dune 3.21: Allows dune variables such as %{workspace_root} in (promote (into ...)) paths; previously rejected. #12832
js_of_ocaml runtime: Merged direct access to values exported in the runtime, addressing LexiFi/gen_js_api#177. #2086
Fixes
OCaml toplevel: Merged fix so ocaml -init <file> -e <expr> evaluates the init file before the -e expression. #14190
Dune: Non-ASCII characters in (lang dune ...) or (using ...) version strings now produce a precise single-caret error. #12844, #12869
opam: Merged fix skips installing a local AppArmor profile when BINDIR=/usr/bin, avoiding conflict with the distribution's built-in profile. #6823
Merlin: Merged fix for Mocaml.with_printer not updating replacement_printer_doc, correcting mixed OCaml/Reason type rendering in ocaml-lsp hover. #2010
Compatibility and Releases
Dune 3.21.0~alpha0: Alpha release tagged 2025-12-05. Release
quickjs 0.4.0: BREAKING: migrates from bellard/quickjs to quickjs-ng, the community fork with Unicode 17.0.0 support. Merged 2025-12-03. PR
OCaml Stdlib: Proposed change to Filename.quote and Filename.quote_command to quote only when necessary per POSIX.1-2024, with a ?always:bool parameter for backward compatibility. #14378
Dune (proposal): Unifies all caches under DUNE_CACHE_ROOT, changing default locations for git-repo, toolchain, and rev-store caches. Breaking for existing setups. #12858