Releases: ocaml/merlin
Releases · ocaml/merlin
4.10-414
CHANGES:
Thu Aug 24 17:17:42 CEST 2023
- merlin binary
- Constrain socket path buffer size to avoid build warnings (#1631)
- Handle concurrent server start (#1622)
- Omit module prefixes for constructors and record fields in the
constructcommand (#1618). Prefixes are still produced when
warning 42 (disambiguated name) is active. - Correctly invalidate PPX cache when pipeline ran partially (#1650,
fixes #1647) - Prevent
short-pathfrom looping in some cases related to recursive type
definitions (#1645) - Support parsing negative numbers in sexps (#1655)
- Fix construct not working with inline records (#1658)
- Improve behavior of
type-enclosingon let/and operators (#1653) - Fix occurrences of extension constructors (#1662)
- Improve node selection when ghosts are present (#1664, fixes #1660)
- editor modes
- emacs: call merlin-client-logger with "interrupted" if the
merlin binary itself is interrupted, not just the parsing of the
result (#1626). - emacs: merlin-construct, with a prefix argument, now includes
local values in the completion options. Alternatively, this
behavior can be enabled permanently by customizing
merlin-construct-with-local-values(#1644) - emacs: add support for opam-switch-mode (#1654, fixes #1591).
See https://github.com/ProofGeneral/opam-switch-mode
- emacs: call merlin-client-logger with "interrupted" if the
4.9-501preview
CHANGES:
unreleased
- merlin binary
- Preview support for OCaml 5.1-alpha1. Short path is temporary disabled and
inline records might not behave as expected. - Allow monadic IO in dot protocol (#1581)
- Add a
scopeoption to theoccurrencescommand in preparation for
the upcomingproject-wide-occurrencesfeature (#1596) - Construct bool-typed holes as
falseinstead oftruein the
constructcommand, for consistency (#1599). - Add a hook to configure system command for spawning ppxes when Merlin is
used as a library. (#1585) - Implement an all-or-nothing cache for the PPX phase (#1584)
- Cleanup functors caches when backtracking, to avoid memory leaks
(#1609, fixes #1529 and ocaml-lsp#1032) - Fix
constructresults ordering for sum types sand poly variants (#1603) - Fix object method completion not working (#1606, fixes #1575)
- Improve context detection for package types (#1608, fixes #1607)
- Fix incorrect locations for string literals (#1574)
- Fixed an issue that caused
errorsto erroneously alert about missing
cmifiles (#1577) - Prevent destruct from crashing on closed variant types (#1602,
fixes #1601) - Improve longident parsing (#1612, fixes #945)
- Preview support for OCaml 5.1-alpha1. Short path is temporary disabled and
- editor modes
- emacs: call the user's configured completion UI in
merlin-construct(#1598)
- emacs: call the user's configured completion UI in
- test suite
4.9-500
CHANGES:
Fri May 26 15:23:42 CEST 2023
- merlin binary
- Allow monadic IO in dot protocol (#1581)
- Add a
scopeoption to theoccurrencescommand in preparation for
the upcomingproject-wide-occurrencesfeature (#1596) - Construct bool-typed holes as
falseinstead oftruein the
constructcommand, for consistency (#1599). - Add a hook to configure system command for spawning ppxes when Merlin is
used as a library. (#1585) - Implement an all-or-nothing cache for the PPX phase (#1584)
- Cleanup functors caches when backtracking, to avoid memory leaks
(#1609, fixes #1529 and ocaml-lsp#1032) - Fix
constructresults ordering for sum types sand poly variants (#1603) - Fix object method completion not working (#1606, fixes #1575)
- Improve context detection for package types (#1608, fixes #1607)
- Fix incorrect locations for string literals (#1574)
- Fixed an issue that caused
errorsto erroneously alert about missing
cmifiles (#1577) - Prevent destruct from crashing on closed variant types (#1602,
fixes #1601) - Improve longident parsing (#1612, fixes #945)
- editor modes
- emacs: call the user's configured completion UI in
merlin-construct(#1598)
- emacs: call the user's configured completion UI in
- test suite
4.9-414
CHANGES:
Fri May 26 15:23:42 CEST 2023
- merlin binary
- Allow monadic IO in dot protocol (#1581)
- Add a
scopeoption to theoccurrencescommand in preparation for
the upcomingproject-wide-occurrencesfeature (#1596) - Construct bool-typed holes as
falseinstead oftruein the
constructcommand, for consistency (#1599). - Add a hook to configure system command for spawning ppxes when Merlin is
used as a library. (#1585) - Implement an all-or-nothing cache for the PPX phase (#1584)
- Cleanup functors caches when backtracking, to avoid memory leaks
(#1609, fixes #1529 and ocaml-lsp#1032) - Fix
constructresults ordering for sum types sand poly variants (#1603) - Fix object method completion not working (#1606, fixes #1575)
- Improve context detection for package types (#1608, fixes #1607)
- Fix incorrect locations for string literals (#1574)
- Fixed an issue that caused
errorsto erroneously alert about missing
cmifiles (#1577) - Prevent destruct from crashing on closed variant types (#1602,
fixes #1601) - Improve longident parsing (#1612, fixes #945)
- editor modes
- emacs: call the user's configured completion UI in
merlin-construct(#1598)
- emacs: call the user's configured completion UI in
- test suite
4.8-501preview
CHANGES:
Tue Apr 24 16:55:42 CEST 2023
- merlin binary
- Preview support for OCaml 5.1-alpha1. Short path is temporary disabled and
inline records might not behave as expected.
- Preview support for OCaml 5.1-alpha1. Short path is temporary disabled and
4.8-500
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-stringflag 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)
- Recognize OCaml 5.0 cmi magic number in compiler version mismatch message
- editor modes
- test suite
4.8-414
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
4.7-500
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
enclosingcommand result (#1512) - Add a new
verbosity=smartmode 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)
- Replace custom "holes" AST nodes by extensions. This restores binary
- editor modes
- test suite
4.7-414
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
enclosingcommand result (#1512) - Add a new
verbosity=smartmode 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)
- Replace custom "holes" AST nodes by extensions. This restores binary
- editor modes
- test suite