ocamlfind 1.9.7 is released, correcting the sitelib check that broke opam install ocamlfind upgrades on OCaml 5.x switches. The odoc_driver command is split into three sub-commands (dune, opam, generic), requiring updates to existing flat invocations.
Features
- ocamlfind 1.9.7: adds
-with-relative-paths-at <prefix>to./configure, resolving$PREFIXat runtime via environment variables instead of hardcoding absolute paths. Merged in #72. - ocamlfind 1.9.7:
Fl_dynload.load_packagesnow accepts an optional loader function, replacing the defaultDynlink.loadfilecall. Useful for JSOO Web Workers where.cma-to-.jscompilation is slow. Merged in #81. - odoc: relaxes the disjointness constraint between
-Pand-Lroots, allowing a page root and library root to overlap (e.g.-P pkg/with-L pkg/lib/). Merged in #1233. - odoc-md (proposal): new package processing standalone Markdown files into
page-*.odocpages for odoc rendering. Based oncmarkit; requires OCaml ≥ 4.14. Opened in #1234. - Merlin (oxcaml): merged #116 adds
-lsp-compat true, adjustingstack-or-heaplocation reporting to matchtype-enclosingranges for consistent LSP hover display. Editors querying RPC directly without the flag retain original ranges.
Releases
Fixes
- ocamlfind 1.9.7: corrects the
./configuresitelib check that brokeopam install ocamlfindupgrades from 1.9.5 on OCaml 5.x switches, where a stalestdlib/METAcaused findlib packages to vanish. Merged in #61. - ocamlfind:
./configurefails withdynlink_subdir: parameter not set or nullon OCaml 5.2.0 when aMETAfile is already present. Reported in #88; a workaround patch is posted. - Picos: merged #328 reduces memory use in external reference counting by using
try_compare_and_removeto eliminate an extraAtomicindirection.
Compatibility
- odoc_driver: merged #1237 splits the single
odoc_drivercommand into three sub-commands (dune, opam, generic). Existing invocations using the old flat interface require updating. - Saturn: merged #159 removes the
Saturn_lockfreesub-package since all structures are lock-free. Future blocking structures would target a scheduler-specific package. - opam: issue #6291 reports
opam install ocamlfails on Windows 11; the download succeeds but the resulting file is not found due to a.tarvs.tar.gzname mismatch.