v5.8.1-506~preview released 2026-07-31 with experimental OCaml 5.6 support (release).
Fixes
document no longer returns neighboring entries' doc comments for variant constructors and record fields (#2092, by @liam923, merged).
ocaml-index now uses the original source file digest for staleness checks when ppx preprocessing is active (#2110, by @liam923, merged).
Load-path staleness across multiple typer states (visible with dune watch mode) reproduced and fixed (#2109, by @rgrinberg, merged).
outline selection range can fall outside the item range for compiler-generated eta-expansion bindings; PR proposes a containment fallback (#2111, by @MavenRain, open).
destruct raises an unhandled Assert_failure on object method syntax x with|0 (#2112, open).