Skip to content

Commit

Permalink
Updated documentation for 0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
scohen committed Jul 28, 2024
1 parent 3ea49db commit 5df3cfc
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
## Unreleased
No changes yet
## v0.7
We're releasing 0.7 so we can support Elixir 1.17 and Erlang 27. However, those users on Erlang 27 will experience large increases in the amount of memory Lexical takes up [due to this bug](https://github.com/erlang/otp/pull/8683). When that bug is fixed, we'll push out another release that will detect the newer version of Erlang and things should go back to normal.

Other than supporting the newer versions of Erlang and Elixir, we've added the following features:

### Features
* Organize aliases code action. When invoked, will alphabetize and flatten all your existing aliases in a module. It will also put all aliases in the same place in a module.
* Remove unused alias code action
* Add alias code action: Type a module, invoke the code action and see a list of modules to alias, select one, and it's added to your module's other aliases.
* Improved script handling: Now lexical won't execute scripts when editing them. Thanks, @zachallaun!
* We now show typespecs for struct field completions. Thanks @kirillrogovoy

## What's Changed

* Completion: Use existing specs to infer function signatures and vice-versa by @zachallaun https://github.com/lexical-lsp/lexical/pull/802
* Don't evaluate top-level code in exs fils by @zachallaun https://github.com/lexical-lsp/lexical/pull/798
* Completion: Don't insert impl attribute if it's already present by @zachallaun https://github.com/lexical-lsp/lexical/pull/801
* Completion: Use existing specs to infer function signatures and vice-versa by @zachallaun https://github.com/lexical-lsp/lexical/pull/802
* Organize Aliases by @scohen https://github.com/lexical-lsp/lexical/pull/725
* Remove unused aliases by @scohen
* Refactor: Pass env into completion in remote control by @scohen in https://github.com/lexical-lsp/lexical/pull/733
Expand Down
2 changes: 2 additions & 0 deletions pages/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ Lexical supports the following versions of Elixir and Erlang:
| 24 | `>= 24.3.4.12` | Might run on older versions; this was the lowest that would compile on arm |
| 25 | `>= 25.0` | |
| 26 | `>= 26.0.2` | |
| 27 | `>= 27.0` | Will use dramatically more memory due to a bug in Erlang's ETS table compression |

| Elixir | Version Range | Notes |
| -------- | -------------- | -------- |
| 1.13 | `>= 1.13.4` | |
| 1.14 | `all` | |
| 1.15 | `>= 1.15.3` | `1.15.0` - `1.15.2` had compiler bugs that prevented lexical from working |
| 1.16 | `>= 1.16.0` | |
| 1.17 | `>= 1.17.0` | |

Lexical can run projects in any version of Elixir and Erlang that it
supports, but it's important to understand that Lexical needs to be
Expand Down

0 comments on commit 5df3cfc

Please sign in to comment.