Skip to content

Commit ad3473c

Browse files
committed
changelog updated
1 parent b19f2d7 commit ad3473c

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
### Unreleased
22

3+
### v0.18.0: 2x December 2023
4+
5+
#### Highlights
6+
7+
- Elixir 1.16 support
8+
- Diagnostics provider now returns related info with code positions. This feature works best with elixir 1.16 allowing for navigation to invalid syntax elements like mismatched brackets
9+
- On type parser has been improved and extended. It now keeps a cache of parsed AST and extracted document metadata. Most of the providers has been updated to reuse this metadata eliminating the need for on demand parsing. This should make completions, hover, etc more snappy. The previous implementation was particularly not efficient for completions provider that would parse the file twice for each request
10+
- Phoenix integration improved. Go To Definition can now navigate to controllers when inside a Phoenix scope. Complete suggestions in Phoenix.Router now return controllers and actions[Gustavo Aguiar](https://github.com/gugahoa)
11+
12+
#### Improvements
13+
14+
- Diagnostic provider returns deprecated and not used tags on certain warnings. This allows editors for visually marking code ranges using deprecated APIs and not used code constructs
15+
- Diagnostics are now stored along with document version. Diagnostic publishing algorithm has been improved to prefer recent parser diagnostics over stale build diagnostics.
16+
- Parser is now able to provide diagnostics in `untitled:` schema files based on `languageId` document property
17+
- On type formatting and Folding ranges providers are now disabled on `eex` documents as `eex` was never supported in those providers
18+
- OTP 26 compatibility warning on Windows updated to direct users to install 26.2+ version
19+
- Struct field completions now work on functions returning remote type [sarah kate](https://github.com/sarahkw)
20+
- Type inference from guard expressions added [Nguyễn Văn Đức](https://github.com/Goose97)
21+
22+
#### Fixes
23+
24+
- Fixed crash in document symbols provider on invalid attribute nodes
25+
- Fixed crash on cases where some compiler generates diagnostics with invalid position
26+
- Fixed test lense provider on code using `Elixir` proxy
27+
- Fixed debugger crash when stacktrace frame returns `undefined` instead of arguments list
28+
- Improved LSP compatibility on document synchronization. Previously the document version after applying changes was increased. This bug was present since the initial code release but started causing issues with discarded diagnostics in Helix editor since v0.17.0 started publishing diagnostics with document version
29+
- Fixed invalid result returned from build process when handling error during project reload
30+
31+
#### Potential incompatibilities
32+
33+
- `elixir_ls_debugger` app has been renamed to `debug_adapter` to better reflect that it is not a debugger but an adapter implementing Debug Adapter Protocol. Similarly, the launch scripts has been renamed to `debug_adapter.sh` and `debug_adapter.bat` respectively. Editor extensions and custom launcher scripts may need an update
34+
335
### v0.17.10: 19 November 2023
436

537
#### Improvements

0 commit comments

Comments
 (0)