Skip to content

Releases: ocaml/merlin

5.5-503

24 Jun 14:00
8b88b89
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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)

5.2.1-502

27 Sep 08:52
Compare
Choose a tag to compare

CHANGES:

Fri Sep 27 12:02:42 CEST 2024

  • merlin binary
    • A new WRAPPING_PREFIX configuration directive that can be used to tell Merlin
      what to append to the current unit name in the presence of wrapping (#1788)
    • Add -unboxed-types and -no-unboxed-types as ocaml ignored flags (#1795, fixes #1794)
    • destruct: Refinement in the presence of optional arguments (#1800 #1807, fixes #1770)
    • Implement new expand-node command for expanding PPX annotations (#1745)
    • Implement new inlay-hints command for adding hints on a sourcetree (#1812)
    • Implement new search-by-type command for searching values by types (#1828)
    • Canonicalize paths in occurrences. This helps deduplicate the results and
      show more user-friendly paths. (#1840)
    • Fix dot-merlin-reader ignoring SOURCE_ROOT and STDLIB directives
      (#1839, #1803)
  • editor modes
    • vim: fix python-3.12 syntax warnings in merlin.py (#1798)
    • vim: Dead code / doc removal for previously deleted MerlinPhrase command (#1804)
    • emacs: Improve the way that result of polarity search is displayed (#1814)
    • emacs: Add merlin-search-by-type, merlin-search-by-polarity and change the
      behaviour of merlin-search to switch between by-type or by-polarity
      depending on the query (#1828)

4.17.1-501

27 Sep 08:58
650a786
Compare
Choose a tag to compare

CHANGES:

Fri Sep 27 12:02:42 CEST 2024

  • merlin binary
    • A new WRAPPING_PREFIX configuration directive that can be used to tell Merlin
      what to append to the current unit name in the presence of wrapping (#1788)
    • Add -unboxed-types and -no-unboxed-types as ocaml ignored flags (#1795, fixes #1794)
    • destruct: Refinement in the presence of optional arguments (#1800 #1807, fixes #1770)
    • Implement new expand-node command for expanding PPX annotations (#1745)
    • Implement new inlay-hints command for adding hints on a sourcetree (#1812)
    • Add signature-help command (#1720)
    • Implement new search-by-type command for searching values by types (#1828)
    • Fix dot-merlin-reader ignoring SOURCE_ROOT and STDLIB directives
      (#1839, #1803)
  • editor modes
    • vim: fix python-3.12 syntax warnings in merlin.py (#1798)
    • vim: Dead code / doc removal for previously deleted MerlinPhrase command (#1804)
    • emacs: Improve the way that result of polarity search is displayed (#1814)
    • emacs: Add merlin-search-by-type, merlin-search-by-polarity and change the
      behaviour of merlin-search to switch between by-type or by-polarity
      depending on the query (#1828)

4.17.1-414

27 Sep 08:58
Compare
Choose a tag to compare

CHANGES:

Fri Sep 27 12:02:42 CEST 2024

  • merlin binary
    • A new WRAPPING_PREFIX configuration directive that can be used to tell Merlin
      what to append to the current unit name in the presence of wrapping (#1788)
    • Add -unboxed-types and -no-unboxed-types as ocaml ignored flags (#1795, fixes #1794)
    • destruct: Refinement in the presence of optional arguments (#1800 #1807, fixes #1770)
    • Implement new expand-node command for expanding PPX annotations (#1745)
    • Implement new inlay-hints command for adding hints on a sourcetree (#1812)
    • Add signature-help command (#1720)
    • Implement new search-by-type command for searching values by types (#1828)
    • Fix dot-merlin-reader ignoring SOURCE_ROOT and STDLIB directives
      (#1839, #1803)
  • editor modes
    • vim: fix python-3.12 syntax warnings in merlin.py (#1798)
    • vim: Dead code / doc removal for previously deleted MerlinPhrase command (#1804)
    • emacs: Improve the way that result of polarity search is displayed (#1814)
    • emacs: Add merlin-search-by-type, merlin-search-by-polarity and change the
      behaviour of merlin-search to switch between by-type or by-polarity
      depending on the query (#1828)

5.2-502

26 Sep 16:34
Compare
Choose a tag to compare

CHANGES:

Thu Sep 26 18:48:42 CEST 2024

  • merlin binary
    • A new WRAPPING_PREFIX configuration directive that can be used to tell Merlin
      what to append to the current unit name in the presence of wrapping (#1788)
    • Add -unboxed-types and -no-unboxed-types as ocaml ignored flags (#1795, fixes #1794)
    • destruct: Refinement in the presence of optional arguments (#1800 #1807, fixes #1770)
    • Implement new expand-node command for expanding PPX annotations (#1745)
    • Implement new inlay-hints command for adding hints on a sourcetree (#1812)
    • Implement new search-by-type command for searching values by types (#1828)
    • Canonicalize paths in occurrences. This helps deduplicate the results and
      show more user-friendly paths. (#1840)
    • Fix dot-merlin-reader ignoring SOURCE_ROOT and STDLIB directives
      (#1839, #1803)
  • editor modes
    • vim: fix python-3.12 syntax warnings in merlin.py (#1798)
    • vim: Dead code / doc removal for previously deleted MerlinPhrase command (#1804)
    • emacs: Improve the way that result of polarity search is displayed (#1814)
    • emacs: Add merlin-search-by-type, merlin-search-by-polarity and change the
      behaviour of merlin-search to switch between by-type or by-polarity
      depending on the query (#1828)