Tools covers builds, package management, editors, documentation and JavaScript compilation.
W06.2026 · 2–8 Feb/Tools
Features
js_of_ocaml 6.3.0 js-parser: adds decorators, import/export with attributes, using X = E resource management, and HTML comments. (release)
js_of_ocaml 6.3.0 Wasm: introduces number unboxing, reference unboxing, and specialization of number comparisons and bigarray operations. Reduces generated code size and improves runtime performance. (release)
Dune 3.22 (main): new patch_back_source_tree sandbox mode lets actions modify their dependencies; resulting changes are applied to the source tree via dune promote. #13495
Dune 3.22 (main):dune build @doc-markdown generates Markdown documentation using odoc ≥ 3.1.0, mirroring the existing @doc HTML workflow. #12581
ocaml-lsp: merged change applies ocamlformat to signature_help responses, making long function signatures more readable in editor popups. #1580
Fixes
js_of_ocaml 6.3.0 compiler: fixes inlining, parallel renaming, and purity of comparison functions; also fixes compilation of loops at the start of exception handlers. (release)
Dune 3.22 (main):dune exec --watch now kills long-running processes on source changes; the fix will not appear in 3.21.1. #12360
Dune 3.22 (main):dune pkg on Windows now detects Cygwin and MSYS2 as os-distribution via uname, fixing dependency resolution. #13536
opam:opam remove does not clear the "restorable" flag, so opam install --restore continues to attempt restoration of the removed package. No workaround identified. #6850
Compatibility and Releases
js_of_ocaml 6.3.0: removes non-existent setDay and setUTCDay from Js.date; code referencing them will fail to compile. (release)
Dune 3.22 (main):--ignore-lock-dir is removed; use --pkg=disabled to disable package management. Breaking CLI change. #13498
Dune 3.21.1-rc: backports merged for ocaml-lmdb (OpenBSD/NetBSD build fix), OxCaml eta-expansions, and an RPC-server fix for dune promote. #13557