Releases: elm-tooling/elm-language-server
Releases Β· elm-tooling/elm-language-server
2.8.0
- Fix AST getting out of sync with the document, when the client sends multiple content changes at once. Mostly affecting non vscode clients
- Fix expose/unexpose detection if a type starts with the same name as another
- Support newer node versions
- Update tree-sitter-elm
- Update dependencies
2.7.3
2.7.1
- Add a code action for extracting a type alias
- Update packages ranking
- Support virtual file systems (for running in the browser)
- Handle when watched files are changed
- Register install package code action dynamically
- Improve how kernel modules are tracked
- Ensure that workspaces are initialized before findTests request
- Fix bug that causes a bad source file
- Fix regression that broke incremental tree parsing
- Start disposing resources on server exit
- Tree sitter parser improvements due to update
- Update dependencies
2.7.0
- Suggest auto import completions and code actions for module aliases
- Add auto import completions for ports
- Show module aliases in hover and completions type strings
- Improve sorting of completions for exposed values
- Fix for field references when the module is not imported
- Fix the extract function code action incorrectly computing parameters
- Fix union constructor type inference when there are comments between the arguments
- Fix some type inference bugs related to extensible records
- Support node 18
- Update dependencies
2.6.0
- Start using completion item label description for module name
- Add completions for destructured record patterns and ports
- Add function parameter record field completions
- Don't try to get code actions when there is a top level parsing error
- Fix move function refactor
- Fix expose being able to expose the same function multiple times
- Fix a bug with extract function parameter calculation
- Fix for reference count of function in a let, with a type annotation.
- Don't cache operator definitions, fixes a type inference error with
Parser.Advanced
2.5.2
2.5.0
- Removed node 12 compatibility
- Update to new language server version
- Improve error handling for broken package cache
- Rework expose/unexpose code action
- Use
--compiler
option for elm-test when elmPath is specified - Add expose/unexpose
type
with variants action - Fix type inference of non-rigid number vars
- Fix elm review path handling on windows
- Small improvements to progress messaging
- Update dependencies
2.4.1
2.4.0
- Implement fuzzy matching when using the workspace symbol search
- Ignore suppressed elm-review errors
- Parsing improvements
- Fix references and renames being wrong in some edge case
- Fix edge case where type inference was not returning correct results
- Fix auto import when there are module docs and no imports
- Fix type inference for cases, that need more then 26 types
- Update dependencies
2.3.0
- Remove the need for "entrypoints" in elm-tooling.json
- Add a code action to add function argument from missing declaration
- Add a code action to add missing union constructors
- Add annotations from ports to hovers and suggestions
- "Add type annotation" can now be enabled/disabled via elm-analyse.json and will also honor excluded folders
- Fix type inference for empty record pattern
- Fix reporting when elm, elm-test or elm-review were not found
- Fix clients that don't provide incremental changes