Features
Js_of_ocaml 5.9.0: Released 2024-11-22. Adds partial Wasm backend pipeline via a new Targetint module and finalizes OCaml 5.3 support. Release notes
Js_of_ocaml 5.9.0 source maps: Index source maps are emitted to avoid shifting mappings; decoding is deferred until needed. Reduces build time and improves editor integration. Release notes
odoc @children_order: Merged. Authors specify child entry display order via @children_order foo bar dir/ baz. #1243
odoc @short_title: Merged. Declares a page's short title in documentation markup; the value is stored but not yet rendered in output. #1246
odoc sidebar-generate: Opened. New odoc sidebar-generate subcommand reads an .odoc-index file and emits a smaller .odoc-sidebar, reducing HTML-generation time. #1250
OCaml LSP dune formatting: Open proposal to expose dune format-dune-file through the LSP protocol for editors other than VS Code. #1396
Fixes
Js_of_ocaml 5.9.0 runtime: Fixes unsigned integer parsing (0u2147483648), makes float_of_string stricter, and corrects pos_in after unmarshalling. Release notes
Js_of_ocaml 5.9.0 separate compilation: Fixes missing toplevel primitives and packed-module linking. Enables dynlink of precompiled JS. Release notes
Merlin: Fixes a jump-to-fun crash caused by Typedtree representation changes in OCaml 5.2. Merged 2024-11-21. #1862
Compatibility
Js_of_ocaml 5.9.0 backtraces: Backtraces now require explicit opt-in via --enable with-js-error at compile time or OCAMLRUNPARAM=b=1 at startup. Breaking change for programs relying on default backtraces. Release notes
Js_of_ocaml 5.9.0 platform: Sys.os_type on Windows returns "Win32" instead of "Cygwin". Typed_array API is modified for WebAssembly compatibility; yojson is no longer optional. Release notes
OCaml LSP opam resolution: Upgrading jsonrpc and lsp to 1.19.0 forces an ocaml-lsp-server downgrade to 1.17.0 on OCaml 4.14.2. Open issue. #1405