Skip to content

Releases: ocaml/merlin

4.7.1-500

13 Dec 10:32
f3643ea
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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)

4.6-414

30 Jun 14:51
be753d9
Compare
Choose a tag to compare

CHANGES:

Thu Jun 30 14:51:42 CEST 2022

  • merlin binary
    • make most library public and split merlin in two packages: the
      merlin-lib package that exposes merlin's internals and the merlin
      package with the frontend. (#1448, #1455, #1457, #1497, @rgrinberg,
      @tmattio, @kit-ty-kate)
    • 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)
    • Only weakly reduce the shapes to speed up the new Merlin locate
      implementation. (#1488)
    • 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
    • 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.5-414

05 Apr 18:58
Compare
Choose a tag to compare

CHANGES:

Tue Apr 5 20:51:42 CEST 2022

  • merlin binary
    • don't reset the environment when running merlin in single mode so that the
      parent environement is forwarded the the child processes (#1425)
    • filter dups in source paths (#1218)
    • improve load path performance (#1323)
    • fix handlink of ppx's under Windows (#1413)
    • locate: look for original source files before looking for preprocessed
      files (#1219 by @ddickstein, fixes #894)
    • handle = syntax in compiler flags (#1409)
    • expose all destruct exceptions in the api (#1437)
    • fix superfluous break in error reporting (#1432)
    • recognise binding operators in locate and occurrences (#1398, @mattiase)
    • remove dependency on Result (#1441, @kit-ty-kate)
    • use the new "shapes" generated by the compiler to perform precise
      jump-to-definition (#1431)
  • editor modes
    • fix an issue in Neovim where the current line jumps to the top of the
      window on repeated calls to MerlinTypeOf (#1433 by @ddickstein, fixes
      #1221)
    • add module, module type, and class imenu items for emacs (#1244, @ivg)
    • add prefix argument to force or prevent opening in a new buffer in locate
      command (#1426, @panglesd)
    • add type-on-hover functionality for vim (#1439, @nilsbecker)
    • add a dedicated buffer *merlin-errors* containing the last viewed error
      (#1414, @panglesd)
  • test suite
    • make merlin-wrapper create a default .merlin file only when there is
      no dune-project to let tests use dune ocaml-merlin reader. (#1425)
    • cover locate calls on module aliases with and without dune
    • Add a test expliciting the interaction between locate and Dune's generated
      source files (#1444)