Releases: elixir-lsp/elixir-ls
Releases · elixir-lsp/elixir-ls
ElixirLS 0.30.0
v0.30.0: 17 November 2025
Highlights
- Added support for elixir 1.19 (and OTP 28 on 1.19)
Improvements
Code.ensure_compiledcalls removed from the codebase. There should be less hangs related to compilation and code server congestion on elixir 1.18+- Mix installer fixes ported from upstream. This should resolve issue with too long paths on Windows
- Added support for
excludesin.formatter.exs - ElixirLS startup script now unsets
MIX_OS_DEPS_COMPILE_PARTITION_COUNTas a workaround for mix polluting stdout and breaking JasonRPC communication - Added support for
stream_dataproperty tests in test tracer James E. A. - Added workaround for elixir crash when formatting test failure in debug adapter
- Added support for elixir 1.19
not intoken format - Ported upstream improvements to
dbgmacro support in debug adapter - Dialyxir dependency updated to 1.4.7
Fixes
- Resolved infinite loop in fish shell launch script
- Fixed crash in call hierarchy provider on anonymous calls
Breaking changes
- elixir 1.14 reached end of life and is no longer supported. Consider updating to 1.15+
ElixirLS 0.29.3
v0.29.3: 20 August 2025
Fixes
- Fixed crash in LLM docs tool
- Removed
Code.ensure_compiledcalls as they often lead to locks
ElixirLS 0.29.2
v0.29.2: 07 August 2025
Improvements
- MCP server disabled by default
Fixes
- MCP bridge script now accepts port parameter
- Rescue serialization errors
ElixirLS 0.29.1
v0.29.1: 5 August 2025
Improvements
- Added config options for disabling MCP and setting MCP port
Fixes
- Reverted release artefact name change
- Fixed issue when the server would not start if MCP port was used
- Fixed crash when reading docs fail
- Normalize empty string in
dotFormattersetting tonil - Fixed crashes on invalid multialias
- Plugins that fail to compile are now skipped
- Test code lens do not crash if unable to find scope
- Suggest contract code lens do not crash if unable to translate erlang contract
ElixirLS 0.29.0
v0.29.0: 4 August 2025
Highlights
- Added Call hierarchy provider implementing LSP textDocument/prepareCallHierarchy, callHierarchy/incomingCalls and callHierarchy/outgoingCalls
- ElixirLS now bundles a number of experimental LLM oriented tools exposed as custom commands and a builtin MCP server. The tools focus on model friendly text interface instead of typical IDE oriented LSP API methods. Refer to README.md on how to connect to the MCP server. The tools include:
find_definition- Find and retrieve the source code of symbols.get_environment- Retrieve environment at location with aliases, imports, requires and more.get_docs- Aggregate and return comprehensive documentationget_type_info- Extract typespecs and contracts.find_implementations- Find all implementations of behaviours and protocols.get_module_dependencies- Analyze module dependency relationships
- Unofficial support for elixir 1.19
Improvements
- Added option
elixirLS.dotFormatterto specify path to custom.formatter.exs - Added
elixir_checkmode to launch script - Respect
:*inlocals_without_parens - Language Server Protocol implementation refactored to use typed structs from
gen_lsplibrary by Mitchell Hanberg - Debug Adapter Protocol implementation refactored to use typed structs from
gen_daplibrary by Łukasz Samson - Debug Adapter Protocol spec compliance - introduced error codes
- Added support for
includeDeclarationparameter in references provider - Improved
*wildcard handling in debug adapter launch config
Fixes
- Fixed crashes related to invalid iodata handling
- Fixed unicode handling in refactoring functions
- Fixed debug adapter crash when getting info on no longer alive processes
- Forkaround
Exception.blamecrash - Fixed crash on invalid
locals_without_parens - Fixed crash on invalid dialyzer settings
- Fixed crash in markdown generation
- Fixed crash during launch on deterministic elixir builds Sofie
Breaking changes
- support for
rtxin launch script dropped. Upgrade tomise
Release v0.28.0
v0.28.1: 24 May 2025
Fixes
- Added missing CI permissions on release publish
v0.28.0: 24 May 2025
Highlights
- Added support for OTP 28 on elixir 1.18.4
- Support for go to definition and find references in multialias directives
- ElixirLS will now try to autodetect path to elixir standard library Gilbert
Improvements
- Documentation on struct and record field completion items
- Added support for OTP 28 dialyzer options
- Signature help now renders metadata entries
- Improvements to references provider. It now can find references to aliases in current file
Release v0.27.2
v0.27.2: 24 March 2025
Fixes
- Improved asdf v0.16+ handling in launch script. ElixirLS will no longer overwrite ASDF_* environment variables
- Fixed selection ranges crash with empty do end blocks
- Fixed declaration provider when multiple locations are returned
- Avoid emitting events from debug adapter after
disconnectrequest
Release v0.27.1
v0.27.1: 27 February 2025
Fixes
- Fixed regression in legacy asdf handling
Release v0.27.0
v0.27.0: 27 February 2025
Highlights
- Added Go to declaration provider. It can be used to navigate from implementation to callback definition in behaviour module, from protocol implementation to protocol definition or from overriding def to the
__using__macro. - Added support for asdf v0.16
Improvements
- Better handling of typespecs from behaviours
- Definition provider returns spec and callback location
- Hover provider returns documentation on spec and callbacks
- Added a new setting
elixir_ls.stdlibSrcDirto allow users to point to their elixir stdlib directory cbecker - Better handling of non standard deps_path and path deps in tracer
- Replace function code action now works with
__MODULE__and attribute calls - Better macro expansion with cursor AST nodes
Fixes
- Fixed incremental dialyzer crash on error
- Avoid triggering build on settings notification when settings are not changed. This caused a dialyzer crash in some clients
- Fish sell launch script now uses exec instead of eval. This should resolve process leaks
- Use System.halt/1 to exit the server, this is more reliable than System.stop/1 and should resolve issues with process leaks
- Added a workaround for a common completions crash related to Ash
- Fixed a rare parser crash on race conditions between document update and LSP request
- Fixed crash in code action when diagnostic is a markdown document
- Fixed completions crashing on too long regexes
- Fixed a bug in inference engine on invalid pin AST nodes
- Fixed a crash on invalid optional callbacks
Breaking changes
- elixir 1.13 reached end of life and is no longer supported. Consider updating to 1.14+
Release v0.26.4
v0.26.4: 31 January 2025
Fixes
- Fixed a crash when elixir 1.18.0 emits diagnostics without line position
- Fixed a crash in type inference engine when expanding calls