# OCaml 5.2.0 — OCaml 5.2.0 - Product: OCaml (https://whatsnew.fyi/product/ocaml) - Vendor: OCaml - Date: 2024-05-13 - Version: 5.2.0 - Original notes: https://github.com/ocaml/ocaml/releases/tag/5.2.0 - Permalink: https://whatsnew.fyi/product/ocaml/releases/5.2.0 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **added** — Re-introduced GC compaction - **added** — Restored native backend for POWER 64 bits - **added** — Thread sanitizer support - **added** — New Dynarray module - **added** — New -H flag for hidden include directories - **added** — Project-wide occurence metadata support for developer tools - **added** — Raw identifiers - **added** — Local open in type expressions - **added** — Around 20 new functions in the standard library - **changed** — Many fixes and improvements in the runtime - **fixed** — Many bug fixes OCaml 5.2.0 is still a somewhat experimental release compared to the OCaml 4.14 branch. Some of the highlights in OCaml 5.2.0 are: - Re-introduced GC compaction - Restored native backend for POWER 64 bits - Thread sanitizer support - New Dynarray module - New -H flag for hidden include directories - Project-wide occurence metadata support for developer tools - Raw identifiers - Local open in type expressions And a lot of incremental changes: - Around 20 new functions in the standard library - Many fixes and improvements in the runtime - Many bug fixes