Thicket thicket
ocaml
REPOS 1

Tools covers builds, package management, editors, documentation and JavaScript compilation.

W31.2025 · 28 Jul – 3 Augocsigen/js_of_ocaml

Features

  • js_of_ocaml 6.2.0: adds Sys.rename support to the fake filesystem, enabling directory and file rename in sandboxed environments. Merged via #2080.
  • js_of_ocaml 6.2.0: compiler exits loops early in more cases, reducing generated code size (PR #2077).
  • js_of_ocaml 6.2.0: removes a reserved keyword from ECMAScript 3 output, improving compatibility with older JavaScript targets.
  • js_of_ocaml (open proposal): #2086 proposes direct access to runtime-exported values, addressing LexiFi/gen_js_api#177.

Fixes

  • js_of_ocaml 6.2.0: compiler no longer inlines recursive functions, correcting incorrect inlining behaviour (PR #2084).
  • js_of_ocaml 6.2.0: fixes purity annotations for caml_compare and caml_lxm_next, correcting optimisation assumptions.
  • js_of_ocaml 6.2.0: fixes Sys.rename for directories on Windows, resolving an EPERM error.

Releases