[ANN] New releases of Merlin (5.6) and OCaml-LSP (1.24.0)

We are pleased to announce new releases of Merlin (5.6-504 and 5.6-503) and OCaml-LSP (1.24.0, for 5.4, and 1.23.1)!

This release of Merlin offers, firstly, support for OCaml 5.4. It improves support for OpenBSD (for merlin-reader), improves typing recovery in the handling of mutual recursion, and adds a new feature to the protocol: locate-types. It works similarly to locate-type, except that it allows you to distinguish between several locatable types in an expression like this: (int, Foo.t) result enabling the location of: int, Foo.t and ('a, 'b) result. In addition, the Vim client has been fixed for the use of project-wide-occurrences.

The release of OCaml LSP also mainly concerns support for 5.4 and several bug fixes.

As with every version upgrade, we are eager to hear user feedback. Try out these new releases on your 5.4 switches and don’t hesitate to report any issues you encounter (Merlin, OCaml LSP)!

Merlin Changelog

Merlin 5.6-504 (& 5.6-503)

  • merlin binary
    • Add locate-types command (#1951)
  • merlin library
    • Fix merlin_reader for OpenBSD (#1956)
    • Improve recovery of mutually recursive definitions (#1962, #1963, fixes #1953)
    • Support for OCaml 5.4 (#1974) (only for 5.6-504)
  • vim plugin
    • Fix error when :MerlinOccurrencesProjectWide fails to gather code previews (#1970)
  • test suite
    • Add more short-paths tests cases (#1904)

OCaml LSP Changelog

1.24.0 & 1.23.1

  • features
    • Support for OCaml 5.4 (#1559)
  • fixes
    • Fix hover on method calls not showing the type. (#1553, fixes #1552)
    • Fix error on opening .mll files (#1557)
    • Ensure compatibility with both yojson 2.0 and 3.0. (#1534)

Happy Hacking!
The Merlin Team :man_mage: :two_hump_camel:

12 Likes