Skip to content

Commit

Permalink
Add changelog for the latest merlin releases (#2580)
Browse files Browse the repository at this point in the history
  • Loading branch information
voodoos authored Jul 5, 2024
1 parent abda578 commit 734c2d8
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
17 changes: 17 additions & 0 deletions data/changelog/merlin/2024-06-12-merlin-4.16.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: Merlin 4.16 for OCaml 4.14 and 5.1
tags: [merlin, platform]
changelog: |
+ merlin binary
- Addition of a `merlin-lib.commands` library which disassociates the
execution of commands from the `new_protocol`, from the binary, allowing
it to be invoked from other projects (ocaml/merlin#1758)
- `merlin-lib.commands`: Add a `find_command_opt` alternative to
`find_command` that does not raise (ocaml/merlin#1778)
---

We are pleased to announce the release of Merlin `4.16-414` and `4.16-501`.

These releases expose additional functions for packages using merlin-lib that
need to manually parse merlin commands.
38 changes: 38 additions & 0 deletions data/changelog/merlin/2024-06-24-merlin-5.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
title: Merlin 5.1-502 for OCaml 5.2
tags: [merlin, platform]
changelog: |
+ merlin binary
- Support project-wide occurrences queries using index files (ocaml/merlin#1766)
- The file format is described in library `Merlin_lib.index_format`
- Two new configuration directives are introduced:
- `SOURCE_ROOT` that is used to resolve relative paths found in the
indexes.
- `INDEX` that is used to declare the list of index files Merlin should
use when looking for occurrences.
- A new `UNIT_NAME` configuration directive that can be used to tell Merlin
the correct name of the current unit in the presence of wrapping (ocaml/merlin#1776)
- Perform incremental indexation of the buffer when typing. (ocaml/merlin#1777)
- `merlin-lib.commands`: Add a `find_command_opt` alternative to
`find_command` that does not raise (ocaml/merlin#1778)
- Prevent uid clashes by not returning PWO for defs located in the current
interface file (ocaml/merlin#1781)
- Reset uid counters when restoring the typer cache so that uids are stable
across re-typing (ocaml/merlin#1779)
- Improve the behavior on occurrences when the cursor is on a label /
constructor declaration (ocaml/merlin#1785)
+ editor modes
- emacs: add basic support for project-wide occurrences (ocaml/merlin#1766)
- vim: add basic support for project-wide occurrences (ocaml/merlin#1767, @Julow)
---

We are pleased to announce the release of Merlin `5.1-502`. This is an important release that brings a lot of backend changes and a major
new feature: project-wide occurrences queries.

Try it by running `dune build @ocaml-index` (since dune `3.16.0`) and performing a reference query!

More information can be found in the [discuss
announcement](https://discuss.ocaml.org/t/ann-project-wide-occurrences-in-merlin-and-lsp/14847)
and the
[wiki](https://github.com/ocaml/merlin/wiki/Get-project%E2%80%90wide-occurrences).

0 comments on commit 734c2d8

Please sign in to comment.