Releases: JohnnyMorganz/luau-lsp
Releases Β· JohnnyMorganz/luau-lsp
1.37.0
[1.37.0] - 2024-12-14
Added
- The VSCode extension now registers a JSON schema for
.luaurc
files, providing simple diagnostics and intellisense (#850)
Changed
- Sync to upstream Luau 0.655
Fixed
- Fixed
luau-lsp analyze --settings=...
crashing when a malformed settings JSON file is provided. Now, it will print the json error and continue assuming the settings did not exist - Fixed regression in require by string autocompletion failing to correctly autocomplete files under directories (#851)
- Autocompletion in string requires will now show aliases in their original case defined in
.luaurc
, rather than all lowercased
1.36.0
[1.36.0] - 2024-11-30
Deprecated
luau-lsp.require.fileAliases
andluau-lsp.require.directoryAliases
are now deprecated in favour of aliases in.luaurc
files. These settings will be removed in a future version.
Added
- Added a setting to enable the new solver without having to tinker with FFlags:
luau-lsp.fflags.enableNewSolver
. - Support parsing and resolving aliases coming from
.luaurc
files in module resolution and autocomplete - Added two configuration options
luau-lsp.diagnostics.pullOnChange
andluau-lsp.diagnostics.pullOnSave
to configure when document diagnostics updates for a file (default:true
)
Changed
workspace/diagnostic
call is ~98% faster whenluau-lsp.diagnostics.workspace
is disabled on large projects (#826)- Sync to upstream Luau 0.653
1.35.0
[1.35.0] - 2024-11-10
Removed
- Removed
luau-lsp.require.mode
in preparation for Luau's new require by string semantics. The default is now relative to the file the require is from.
Added
- Added bracket pairs colorization for
<>
for generic types - Added configuration option
luau-lsp.sourcemap.sourcemapFile
to specify a different name to use for the sourcemap - A function call on a table with a
__call
metamethod will now show Signature Help and documentation (#724) - We now warn about non-alphanumeric FFlag names, and trim any leading/trailing whitespace in FFlag configuration on the VSCode extension (#648)
Changed
- Sync to upstream Luau 0.650
Fixed
- Fixed autocompletion, type registration, hover types/documentation, and some crashes for cases where the new solver is enabled
- Fixed the refinement for
typeof(inst) == "Instance"
sinceObject
became the root class type (#814) - Fixed inlay hints incorrectly showing for first parameter in static function when the function is called as a method (with
:
) (#766) - Fixed bracket pair completion breaking inside of generic type parameter list (#741)
- Don't show aliases after a directory separator is seen in require string autocompletion (#748)
- Fixed crashing of overload resolution in signature help when new solver is enabled (#823)
What's Changed
- Add CFrame.fromRotationBetweenVectors by @Barocena in #803
- Fix outdated github username in dumpRobloxTypes by @checkraisefold in #807
- Sync to upstream Luau 0.650 by @checkraisefold in #811
- Add Content Datatype types by @Barocena in #817
- Refactor for new solver by @checkraisefold in #783
- Add sourcemap.sourcemapFile configuration by @TRHeliad in #665
New Contributors
- @checkraisefold made their first contribution in #807
- @TRHeliad made their first contribution in #665
Full Changelog: 1.34.0...1.35.0
1.34.0
Note: this release includes a fix for the new Roblox type definitions. Old versions of the Language Server will crash when the types are updated.
[1.34.0] - 2024-10-27
Changed
- Sync to upstream Luau 0.649
Fixed
- Fixed internal handling of Roblox datatypes segfaulting due to introduction of "Object" class
1.33.1
1.33.0
[1.33.0] - 2024-09-27
Changed
- Sync to upstream Luau 0.644
- The VSCode extension will now sync flags beginning with
FIntLuau
,DFFlagLuau
andDFIntLuau
(previously it would only syncFFlagLuau
)
1.32.4
[1.32.4] - 2024-09-11
Changed
- Sync to upstream Luau 0.642
1.32.3
1.32.2
[1.32.2] - 2024-08-10
Changed
- Sync to upstream Luau 0.638
Fixed
- Fixed a regression in 1.32.0 causing
luau-lsp.ignoreGlobs
andluau-lsp.completion.imports.ignoreGlobs
to not work (#719) - Fixed auto-imports injecting a require in the middle of a multi-line require when introducing a require with lower lexicographical ordering (#725)
- Fixed documentation not showing for properties of an intersected type table in Hover and Autocomplete (#715)
1.32.1
[1.32.1] - 2024-07-23
Changed
- Sync to upstream Luau 0.635
Fixed
- Fixed
:FindFirstChild()
returningInstance
instead ofInstance?
when applied to DataModel types - Fixed
:FindFirstChild()
not supporting a boolean "recursive" 2nd parameter on DataModel types (#704) - Fixed
:WaitForChild()
not supporting a number "timeout" 2nd parameter on DataModel types (#704) - Fixed inlay hint off-by-one on a function definition with an explicit self (i.e.,
function Class.foo(self, param)
) (#702) - Fixed
:GetPropertyChangedSignal()
still showing children in autocomplete for DataModel types (#699) - Fixed grandparent's children showing up in autocomplete of FindFirstChild
- Fixed tilde expansion (
~
) for paths to home directory not working in VSCode (#707)