Skip to content

Releases: ocaml/merlin

5.6.1-504

20 Dec 10:16

Choose a tag to compare

CHANGES:

Sat Dec 20 11:15:42 CET 2025

  • merlin binary
    • Fix a plethora of minor issues with the C code (#1998)
  • merlin library
    • Signature help should not appear on the function name (#1997)
    • Fix completion not working for inlined records labels (#1978, fixes #1977)
    • Perform buffer indexing only if the query requires it (#1990 and #1991)
    • Stop unnecessarily forcing substitutions when initializing short-paths graph (#1988)
    • Fix Mocaml.with_printer didn't update replacement_printer_doc (#2010)
  • test suite
    • Add a test to ensure the behavior showed in issue #1517 is no longer relevant (#1995)
    • Add a test to ensure the code fragment exhibited in issue #1118 no longer makes Merlin crash (#1996)
    • Add a test case illustrating how a snippet produces two unrelated errors in issue #2000. (#2003)
    • Add a test reproducing issue #1983 where document command which sometime concatenates consecutive variants and labels (#2005)
    • Signature-help should trigger on unfinished let ... in bindings (#2009)

4.7.1-413

19 Dec 21:03

Choose a tag to compare

CHANGES:

Fri Dec 19 21:50:42 CET 2022

  • merlin binary
    • Fix an issue preventing installation. (fixes #1993)

5.6-504

04 Oct 09:46
885a314

Choose a tag to compare

CHANGES:

Sat Oct 04 15:10:42 CEST 2025

  • 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)
  • vim plugin
    • Fix error when :MerlinOccurrencesProjectWide fails to gather code previews (#1970)
    • Add more short-paths tests cases (#1904)

5.6-503

03 Oct 17:31
ced228e

Choose a tag to compare

CHANGES:

Tue Jun 24 17:10:42 CEST 2025

  • 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)
  • vim plugin
    • Fix error when :MerlinOccurrencesProjectWide fails to gather code previews (#1970)
    • Add more short-paths tests cases (#1904)

5.5-503

24 Jun 14:00
8b88b89

Choose a tag to compare

CHANGES:

Tue Jun 24 16:10:42 CEST 2025

  • merlin library
    • Expose utilities to manipulate typed-holes in Merlin_analysis.Typed_hole
      (#1888)
    • locate can now disambiguate between files with identical names and contents
      (#1882)
    • occurrences now reports stale files (#1885)
    • inlay-hints fix inlay hints on function parameters (#1923)
    • Fix issues with ident validation and Lid comparison for occurrences (#1924)
    • Handle class type in outline (#1932)
    • Handle locally defined value in outline (#1936)
    • Fix a typer issue triggering assertions in the short-paths graph (#1935,
      fixes #1913)
    • Downstreamed a typer fix from 5.3.X that would trigger assertions linked
      to scopes bit masks when backtracking the typer cache (#1935)
    • Add a new selection field to outline results that contains the location of
      the symbol itself. (#1942)
    • Fix destruct hanging when printing patterns with (::). (#1944, fixes
      ocaml/ocaml-lsp#1489)
    • Reproduce and fix a handful of jump-to-definition (locate) issues (#1930,
      fixes #1580 and #1588, workaround for #1934)
  • ocaml-index
    • Improve the granularity of index reading by segmenting the marshalization
      of the involved data-structures. (#1889)
  • test suite
    • Add a test case illustrating wrong open order proposed in issue #1900. (#1901)

4.19-414

23 Jun 08:07
de2dc6f

Choose a tag to compare

CHANGES:

Mon Jun 23 10:10:42 CEST 2024

  • merlin library
    • Expose utilities to manipulate typed-holes in Merlin_analysis.Typed_hole
      (#1888)
    • inlay-hints fix inlay hints on function parameters (#1923)
    • Handle class type in outline (#1932)
    • Handle locally defined value in outline (#1936)
  • vim plugin
    • Added support for search-by-type (#1846)
      This is exposed through the existing :MerlinSearch command, that
      switches between search-by-type and polarity search depending on the
      first character of the query.

5.4.1-503

13 Jan 09:38
86b4b26

Choose a tag to compare

CHANGES:

Mon Jan 13 10:55:42 CET 2025

  • ocaml-index
    • Bump magic number after index file format change (#1886)

5.4-503

10 Jan 16:38
3b3d3d1

Choose a tag to compare

CHANGES:

Fri Jan 10 17:55:42 CET 2025

  • merlin binary
    • Support for OCaml 5.3
    • Use new 5.3 features to improve locate behavior in some cases. Merlin no
      longer confuses uids from interfaces and implementations. (#1857)
    • Perform less merges in the indexer (#1881)
    • Add initial support for project-wide renaming: occurrences can now return
      all usages of all related definitions. (#1877)
  • vim plugin
    • Added support for search-by-type (#1846)
      This is exposed through the existing :MerlinSearch command, that
      switches between search-by-type and polarity search depending on the
      first character of the query.

5.3-502

26 Nov 16:07

Choose a tag to compare

CHANGES:

Tue Nov 26 17:30:42 CET 2024

  • merlin binary
    • Respect the EXCLUDE_QUERY_DIR configuration directive when looking for cmt
      files (#1854)
    • Fix occurrences bug in which relative paths in index files are resolved against the
      PWD rather than the SOURCE_ROOT (#1855)
    • Fix exception in polarity search (#1858 fixes #1113)
    • Fix jump to fun targets not working (#1863, fixes #1862)
    • Fix type-enclosing results instability. This reverts some overly
      aggressive deduplication that should be done on the client side. (#1864)
    • Fix occurrences not working when the definition comes from a hidden source
      file (#1865)

4.18-414

26 Nov 16:27
2b9cd21

Choose a tag to compare

CHANGES:

Tue Nov 26 17:30:42 CET 2024

  • merlin binary
    • Respect the EXCLUDE_QUERY_DIR configuration directive when looking for
      cmt files (#1854)
    • Fix exception in polarity search (#1858 fixes #1113)
    • Fix type-enclosing results instability. This reverts some overly
      aggressive deduplication that should be done on the client side. (#1864)