Skip to content

Releases: ocaml/merlin

4.8-500

24 Feb 16:09
1fbb47f

Choose a tag to compare

CHANGES:

Fri Feb 24 16:55:42 CEST 2023

  • merlin binary
    • Recognize OCaml 5.0 cmi magic number in compiler version mismatch message
      (#1554, fixes #1553)
    • Upgrade Merlin from the RC2 to the stable 5.0.0 compiler release (#1559,
      fixes #1558)
    • Improve type-enclosing behaviour when used on records' labels (#1565,
      fixes #1564)
    • Restore compatibility with the compiler's command line by accepting the
      -safe-string flag as a no-op instead of rejecting it (#1544, fixes
      #1518)
    • Traverse aliases when jumping to declaration. This matches
      jump-to-definition's behavior (#1563)
    • Improve locate's behavior in various ill-typed expressions (#1546, fixes
      #1567 and partially #1543)
    • Correctly traverse patterns when looking for docs in the typedtree (#1572)
    • Get documentation when the declaration or definition is selected (#1542,
      fixes #1540)
    • On Windows, change to a harmless directory when launching server to avoid
      locking down current directory (#1569, fixes #1474)
  • editor modes
    • emacs: Fix misuse of eq comparison (#1549, @mattiase)
    • emacs: xref works from context menus; better highlighting of xref matches;
      xref recognises operators and binding operators at the cursor position;
      bad locations are filtered out (#1385, fixes #1410, @mattiase)
  • test suite
    • Add a test for incorrect alert defaults (#1559)
    • Add multiple tests for locate over ill-typed expressions (#1546)
    • Add non-regression tests for other fixes in this release

4.8-414

24 Feb 16:07

Choose a tag to compare

CHANGES:

Fri Feb 24 16:55:42 CEST 2023

  • merlin binary
    • Update internal typer to match OCaml 4.14.1 release (#1557)
    • Improve type-enclosing behaviour when used on records' labels (#1565,
      fixes #1564)
    • Restore compatibility with some OCaml compiler's debug flags that were
      incorrectly rejected by Merlin (#1556)
    • Traverse aliases when jumping to declaration. This matches
      jump-to-definition's behavior (#1563)
    • Improve locate's behavior in various ill-typed expressions (#1546, fixes
      #1567 and partially #1543)
    • Correctly traverse patterns when looking for docs in the typedtree (#1572)
    • Get documentation when the declaration or definition is selected (#1542,
      fixes #1540)
    • On Windows, change to a harmless directory when launching server to avoid
      locking down current directory (#1569, fixes #1474)
  • test suite
    • Add multiple tests for locate over ill-typed expressions (#1546)
    • Add non-regression tests for other fixes in this release

4.7.1-500

13 Dec 10:32
f3643ea

Choose a tag to compare

CHANGES:

Thu Dec 13 11:49:42 CEST 2022

  • merlin binary
    • Restore compatibility with the compiler's command line by accepting
      the -safe-string flag as a no-op instead of rejecting it. (#1544,
      fixes #1518)
    • Mark some C variables as unused to remove warnings (#1541, @antalsz)

4.7-500

24 Nov 17:02

Choose a tag to compare

CHANGES:

Thu Nov 24 17:49:42 CEST 2022

  • merlin binary
    • Replace custom "holes" AST nodes by extensions. This restores binary
      compatibility and fixes issues with PPXs when using typed-holes.
      (#1503)
    • Do not change temporarily Merlin's cwd when starting a PPX (#1521,
      fixes #1420)
    • Fix a parsing issue when declaring the (??) custom prefix operator.
      (#1507, fixes #1506)
    • Fix variant constructors' comments grouping (#1516, @mheiber, fixes #1513)
    • Filter-out duplicates from the enclosing command result (#1512)
    • Add a new verbosity=smart mode for type enclosing that only expand
      modules' types (#1374, @ulugbekna)
    • Improve locate for labels' declarations in the current buffer.
      (#1505, fixes #1524)
    • Fix locate on module without implementation (#1522, fixes #1519)
    • Allow program name customization when merlin is used as a library. (#1532)
  • editor modes
    • vim: load the plugin when necessary if it wasn't loaded before (#1511)
    • emacs: update CI for newer releases and fix some warnings (#1454,
      @mattiase)
  • test suite
    • Add tests for constructors' documentation (#1511)
    • Add test cases for label comment documentation (#1526, @mheiber)
    • Add a test for the enclosing command (#1512)
    • Add tests for interactions between locate and record labels (#1505)
    • Add test showing an issue with locate and implicit transitive deps

4.7-414

24 Nov 09:13
b01e78e

Choose a tag to compare

CHANGES:

Thu Nov 24 13:31:42 CEST 2022

  • merlin binary
    • Replace custom "holes" AST nodes by extensions. This restores binary
      compatibility and fixes issues with PPXs when using typed-holes.
      (#1503)
    • Do not change temporarily Merlin's cwd when starting a PPX (#1521,
      fixes #1420)
    • Fix a parsing issue when declaring the (??) custom prefix operator.
      (#1507, fixes #1506)
    • Fix variant constructors' comments grouping (#1516, @mheiber, fixes #1513)
    • Filter-out duplicates from the enclosing command result (#1512)
    • Add a new verbosity=smart mode for type enclosing that only expand
      modules' types (#1374, @ulugbekna)
    • Improve locate for labels' declarations in the current buffer.
      (#1505, fixes #1524)
    • Fix locate on module without implementation (#1522, fixes #1519)
    • Allow program name customization when merlin is used as a library. (#1532)
  • editor modes
    • vim: load the plugin when necessary if it wasn't loaded before (#1511)
    • emacs: update CI for newer releases and fix some warnings (#1454,
      @mattiase)
  • test suite
    • Add tests for constructors' documentation (#1511)
    • Add test cases for label comment documentation (#1526, @mheiber)
    • Add a test for the enclosing command (#1512)
    • Add tests for interactions between locate and record labels (#1505)
    • Add test showing an issue with locate and implicit transitive deps

4.7-413

24 Nov 09:25

Choose a tag to compare

CHANGES:

Thu Nov 24 13:31:42 CEST 2022

  • merlin binary
    • Replace custom "holes" AST nodes by extensions. This restores binary
      compatibility and fixes issues with PPXs when using typed-holes.
      (#1503)
    • Fix a parsing issue when declaring the (??) custom prefix operator.
      (#1507, fixes #1506)
    • Fix variant constructors' comments grouping (#1516, @mheiber, fixes #1513)
    • Filter-out duplicates from the enclosing command result (#1512)
  • editor modes
    • vim: load the plugin when necessary if it wasn't loaded before (#1511)
  • test suite
    • Add tests for constructors' documentation (#1511)
    • Add test cases for label comments documentation (#1526, @mheiber)
    • Add a test for the enclosing command (#1512)

4.7-412

24 Nov 09:27

Choose a tag to compare

CHANGES:

Thu Nov 24 13:31:42 CEST 2022

  • merlin binary
    • Replace custom "holes" AST nodes by extensions. This restores binary
      compatibility and fixes issues with PPXs when using typed-holes.
      (#1503)
    • Fix a parsing issue when declaring the (??) custom prefix operator.
      (#1507, fixes #1506)
    • Fix variant constructors' comments grouping (#1516, @mheiber, fixes #1513)
    • Filter-out duplicates from the enclosing command result (#1512)
  • editor modes
    • vim: load the plugin when necessary if it wasn't loaded before (#1511)
  • test suite
    • Add tests for constructors' documentation (#1511)
    • Add test cases for label comment documentation (#1526, @mheiber)
    • Add a test for the enclosing command (#1512)

4.6-413

01 Jul 09:36
2f42229

Choose a tag to compare

CHANGES:

Fri Jul 1 12:51:42 CEST 2022

  • merlin binary
    • Type printing: use best_module_path for paths from Mty_alias (#1470)
    • Attempt at finding the 'real' capitalization of files on windows (#1462 by
      @mlasson)
    • Use newer Seq-based API of Yojson 2.0, avoiding the need for the
      deprecated Stream module (#1475 by @Leonidas-from-XIV)
    • unify parsing of MERLIN_LOG (#1480 by @ulugbekna)
    • Fix type deduplication in type-enclosing results (#1483, fixes #1477)
    • Ignore unknown configuration tags from dune configuration provider but not
      from dot-merlin-reader (#1486)
    • typing recovery: recover at the granularity of core_type (#1484)
  • editor modes
    • Fix merlin-locate-in-new-window is ignored (#1461 by @emturner,
      fixes #1460)
    • add method imenu items for emacs (#1481, @mndrix)
    • emacs: Make the prefix argument to merlin-locate optional, both for
      consistency with Emacs convention and for backwards compatibility. (#1476,
      @antalsz)
    • emacs: fix duplicated prefix path in imenu entries (#1495, @bcc32)

4.6-412

01 Jul 09:31

Choose a tag to compare

CHANGES:

Fri Jul 1 12:51:42 CEST 2022

  • merlin binary
    • Type printing: use best_module_path for paths from Mty_alias (#1470)
    • Attempt at finding the 'real' capitalization of files on windows (#1462 by
      @mlasson)
    • Use newer Seq-based API of Yojson 2.0, avoiding the need for the
      deprecated Stream module (#1475 by @Leonidas-from-XIV)
    • unify parsing of MERLIN_LOG (#1480 by @ulugbekna)
    • Fix type deduplication in type-enclosing results (#1483, fixes #1477)
    • Ignore unknown configuration tags from dune configuration provider but not
      from dot-merlin-reader (#1486)
    • typing recovery: recover at the granularity of core_type (#1484)
  • editor modes
    • Fix merlin-locate-in-new-window is ignored (#1461 by @emturner,
      fixes #1460)
    • add method imenu items for emacs (#1481, @mndrix)
    • emacs: Make the prefix argument to merlin-locate optional, both for
      consistency with Emacs convention and for backwards compatibility. (#1476,
      @antalsz)

3.8.0

01 Jul 09:09

Choose a tag to compare

CHANGES:

Thu Jun 30 16:51:42 CEST 2022

  • merlin binary
    • Use newer Seq-based API of Yojson 2.0, avoiding the need for the
      deprecated Stream module (#1475 by @Leonidas-from-XIV)