Releases: JohnnyMorganz/luau-lsp
Releases · JohnnyMorganz/luau-lsp
1.14.3
[1.14.3] - 2022-12-10
Changed
- Sync to upstream Luau 0.556 (fixes crashing problems)
- Sync to latest language client
1.14.2
[1.14.2] - 2022-12-04
Changed
- Sync to upstream Luau 0.555 (in particular, this has improvements to class definitions)
What's Changed
- Update to latest types dump by @github-actions in #235
- add parent argument to Instance.new by @Uncontained0 in #238
New Contributors
- @Uncontained0 made their first contribution in #238
Full Changelog: 1.14.1...1.14.2
1.14.1
[1.14.1] - 2022-11-23
Changed
- Sync to upstream Luau 0.554
Fixed
- Fixed stack overflow when looking up properties on a table type where the
__index
is set to itself
1.14.0
[1.14.0] - 2022-11-13
Added
- Show inlay hints for variables in
for x in y
loops
Changed
- Sync to upstream Luau 0.553
Fixed
- Fixed rename symbol not working when cursor after variable
- Fixed rename symbol causing server crashing when attempting to rename a token which is not a variable
1.13.1
[1.13.1] - 2022-10-29
Fixed
- Respect client capabilities for snippet support in completion items
- Respect
luau-lsp.completion.addParentheses
whenfillCallArguments
is enabled - Fixed Inlay Hints crash when calling a function which only takes varargs
- Fixed Request Failed due to "No managed text document" as URLs were not being updated correctly
1.13.0
[1.13.0] - 2022-10-28
Added
- Show documentation for overloaded functions in completion and hover. We show the documentation string of the first overload, and how many other overloads are present.
- Show documentation for builtin class methods in signature help, including for the correct overload
- Show documentation for parameters in signature help
- Added
luau-lsp.completion.addParentheses
andluau-lsp.completion.addTabstopAfterParentheses
to configure whether parentheses are added when completing a function call, and whether we include a tab stop after the parentheses respectively. - Automatically fill function call arguments using parameter names. This can be disabled using
luau-lsp.completion.fillCallArguments
.
Changed
- Sync to upstream Luau 0.551
- Hide parameter name and variable inlay hint if the name is just
_
Fixed
- Fixed string-based requires to use a fully-qualified file path, fixing Document Link (Follow Link) support for requires
- Fixed reverse dependencies not being marked as dirty when using string requries due to unnormalised file paths
- Fixed incorrect highlighting of unnamed parameters in signature help when multiple parameters present of same type
- Fixed documentation not provided for some built-ins on hover
- Fixed signature help highlighting of parameters named
_
- Fixed documentation comments of parent function being attached to a nested function
- Use location to determine which parameter is active in signature help
- Correctly handle highlighting variadic arguments in signature help
- [Sublime Text] Fixed push diagnostics not being recomputed when sourcemap or
.luaurc
changes
1.12.1
[1.12.1] - 2022-10-18
Re-release of v1.12.0 to fix VSCode Windows x64 extension issues
Fixed
- Fixed attempting to run workspace diagnostics on null workspace causing Internal Server errors (affecting Sublime Text)
1.12.0
[1.12.0] - 2022-10-18
Added
- Added support for moonwave-style documentation comments! Currently only supports comments attached to functions directly. See https://eryn.io/moonwave for how to write doc comments
- Provide autocomplete for class names in
Instance:IsA("ClassName")
and errors when ClassName is unknown - Provide autocomplete for properties in
Instance:GetPropertyChangedSignal("Property")
and errors when Property is unknown - Provide autocomplete for enums in
EnumItem:IsA("enum")
and errors when Enum is unknown - Added command line flag
--ignore=GLOB
toluau-lsp analyze
allowing you to provide glob patterns to ignore diagnostics, similar toluau-lsp.ignoreGlobs
. Repeat the flag multiple times for multiple patterns
Changed
- Sync to upstream Luau 0.549
- Deprioritise metamethods (
__index
etc.) in autocomplete
Fixed
- Fixed inlay hints not showing for variable types when
hover.strictDataModelTypes
is disabled - Fixed Internal Errors for workspace diagnostics when a type error was being displayed backed by the incorrect text document causing string errors
- Fixed Internal Errors for goto definitions as incorrect document used for string conversions
- Fixed overloaded functions not being highlighted as functions in autocomplete
- Potential fix to Request Failed errors
- Fixed
self
incorrectly showing up in Inlay Hints and Signature Help - Fixed Studio Plugin syncing causing server crashes
1.11.2
[1.11.2] - 2022-10-08
Changed
- Sync to upstream Luau 0.548
Fixed
- Fixed inlay hints no longer showing up
- Fixed inlay hints not showing up in first load of file until a dummy change is made
- Fixed DM types not generated for
script
nodes. Improved autocomplete will now be provided for non-DataModel projects (e.g.Tool
as Root)
Full Changelog: 1.11.1...1.11.2
1.11.1
[1.11.1] - 2022-10-01
Changed
- Sync to upstream Luau 0.547
Fixed
- Fixed handling of UTF-16 characters of different size to UTF-8 (i.e., emojis, non-english text). Will no longer produce malformed strings and weird diagnostics