Skip to content

Commit 82369d2

Browse files
v1.54.0
1 parent 8f6b9f2 commit 82369d2

File tree

4 files changed

+50
-44
lines changed

4 files changed

+50
-44
lines changed

CHANGELOG.md

Lines changed: 46 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

77
## [Unreleased]
88

9+
## [1.54.0] - 2025-09-27
10+
911
### Added
1012

1113
- Introduced commands `Luau: View Require Graph` and `Luau: View Require Graph for current file` to visualise the
@@ -14,16 +16,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
1416
data. ([#1209](https://github.com/JohnnyMorganz/luau-lsp/issues/1209))
1517
- Documentation is now shown when autocompleting a property name inside of a table
1618
literal ([#1180](https://github.com/JohnnyMorganz/luau-lsp/issues/1180))
19+
1720
```luau
1821
type Tbl = {
1922
--- Some documentation
2023
Property: number
2124
}
22-
25+
2326
local x: Tbl = {
2427
Prop| -- will show 'Property' with documentation 'Some documentation'
2528
}
2629
```
30+
2731
- Documentation is now shown when autocompleting a type reference
2832
name ([#1180](https://github.com/JohnnyMorganz/luau-lsp/issues/1180))
2933
```luau
@@ -32,14 +36,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
3236
local x: Some| -- will show 'SomeType' with documentation 'Some documentation'
3337
```
3438
- Find all references now works when starting from a property defined in a table type (including across files):
39+
3540
```luau
3641
type SomeTable = {
3742
Property: number, -- find all references will show the usage below
3843
}
39-
44+
4045
local x: SomeTable
4146
local y = x.Property
4247
```
48+
4349
- Rename symbols now works on properties of table types (including across files)
4450
- Similarly, find all references on a property will now include the original table type definition if it exists. Rename
4551
will also modify this table type property name. ([#1166](https://github.com/JohnnyMorganz/luau-lsp/issues/1166))
@@ -251,11 +257,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
251257
- Added progress indicator for watched files changes
252258
- A Cloudflare page is now available to serve the type definition files and API documentations, due to GitHub
253259
ratelimiting ([#1059](https://github.com/JohnnyMorganz/luau-lsp/issues/1059))
254-
- `https://luau-lsp.pages.dev/type-definitions/globalTypes.None.d.luau`
255-
- `https://luau-lsp.pages.dev/type-definitions/globalTypes.PluginSecurity.d.luau`
256-
- `https://luau-lsp.pages.dev/type-definitions/globalTypes.LocalUserSecurity.d.luau`
257-
- `https://luau-lsp.pages.dev/type-definitions/globalTypes.RobloxScriptSecurity.d.luau`
258-
- `https://luau-lsp.pages.dev/api-docs/en-us.json`
260+
- `https://luau-lsp.pages.dev/type-definitions/globalTypes.None.d.luau`
261+
- `https://luau-lsp.pages.dev/type-definitions/globalTypes.PluginSecurity.d.luau`
262+
- `https://luau-lsp.pages.dev/type-definitions/globalTypes.LocalUserSecurity.d.luau`
263+
- `https://luau-lsp.pages.dev/type-definitions/globalTypes.RobloxScriptSecurity.d.luau`
264+
- `https://luau-lsp.pages.dev/api-docs/en-us.json`
259265

260266
### Changed
261267

@@ -558,14 +564,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
558564
- Overhauled the globbing mechanism leading to significant performance improvements in indexing, workspace diagnostics,
559565
and auto suggest requires, removing globbing as a bottleneck. Some results in example codebases ranging from 190 to
560566
1900 KLoC:
561-
- Initial indexing: ~3.32x to ~7.1x speedup (43.60s -> 13.12s and 9.42s ->
562-
1.33s) ([#829](https://github.com/JohnnyMorganz/luau-lsp/issues/829))
563-
- Workspace diagnostics: ~2.39x to ~4.75x speedup (164.93s -> 69.07s and 8.49s ->
564-
1.79s)
565-
- Auto-suggest requires: ~4.77x speedup (1.15s ->
566-
0.24s) ([#749](https://github.com/JohnnyMorganz/luau-lsp/issues/749))
567-
- These improvements heavily depend on the amount of code you have matching ignore globs. Workspace diagnostics
568-
improvements depends on the performance of Luau typechecking.
567+
- Initial indexing: ~3.32x to ~7.1x speedup (43.60s -> 13.12s and 9.42s ->
568+
1.33s) ([#829](https://github.com/JohnnyMorganz/luau-lsp/issues/829))
569+
- Workspace diagnostics: ~2.39x to ~4.75x speedup (164.93s -> 69.07s and 8.49s ->
570+
1.79s)
571+
- Auto-suggest requires: ~4.77x speedup (1.15s ->
572+
0.24s) ([#749](https://github.com/JohnnyMorganz/luau-lsp/issues/749))
573+
- These improvements heavily depend on the amount of code you have matching ignore globs. Workspace diagnostics
574+
improvements depends on the performance of Luau typechecking.
569575

570576
### Fixed
571577

@@ -921,10 +927,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
921927
- Added support for viewing textual bytecode and compiler remarks using commands `Luau: Compute Bytecode for file` and
922928
`Luau: Compute Compiler Remarks for file`.
923929
This opens up a new view with bytecode/remarks inlined as comments in the source file
924-
- Added configuration `luau-lsp.bytecode.vectorLib`, `luau-lsp.bytecode.vectorCtor` and
925-
`luau-lsp.bytecode.vectorType` to configure compiler options when generating bytecode
926-
- Custom editors should handle the `luau-lsp/bytecode` and `luau-lsp/compilerRemarks` LSP message to integrate
927-
compiler remarks info in their editor
930+
- Added configuration `luau-lsp.bytecode.vectorLib`, `luau-lsp.bytecode.vectorCtor` and
931+
`luau-lsp.bytecode.vectorType` to configure compiler options when generating bytecode
932+
- Custom editors should handle the `luau-lsp/bytecode` and `luau-lsp/compilerRemarks` LSP message to integrate
933+
compiler remarks info in their editor
928934
- Added `luau-lsp.types.robloxSecurityLevel` to select what security level to use for the API types, out of: `None`,
929935
`LocalUserSecurity`, `PluginSecurity` and `RobloxScriptSecurity`
930936

@@ -1157,11 +1163,11 @@ type Foo = {
11571163
For example, adding `@example/constants` mapping to `C:/fakepath/constants.luau` will automatically resolve
11581164
`require("@example/constants")`
11591165
- Added support for Folding Ranges. The language server now signals the following foldable ranges in a document:
1160-
- Whole blocks, such as `do .. end`, `for - do .. end` `function() .. end` etc.
1161-
- Tables, and type tables `x = { .. }`
1162-
- Multiline function calls `foo(..)`
1163-
- Block comments `--[[ .. ]]`
1164-
- Custom comment regions denoted using `--#region` and `--#endregion`
1166+
- Whole blocks, such as `do .. end`, `for - do .. end` `function() .. end` etc.
1167+
- Tables, and type tables `x = { .. }`
1168+
- Multiline function calls `foo(..)`
1169+
- Block comments `--[[ .. ]]`
1170+
- Custom comment regions denoted using `--#region` and `--#endregion`
11651171
- Added support for Call Hierarchies. Call Hierarchies allow you to view all incoming and outgoing calls of a function:
11661172
i.e., all functions that call the current function, as well as all functions that the current function calls.
11671173
This works at multiple levels, displaying ancestor and descendant functions.
@@ -1201,13 +1207,13 @@ type Foo = {
12011207
- Added support for renaming types (both local and exported). If `luau-lsp.index.enabled` is disabled, this exported
12021208
types renaming is disabled for correctness reasons.
12031209
- Added more settings to auto-importing:
1204-
- `luau-lsp.completion.imports.enabled`: replaces `luau-lsp.completion.suggestImports` (default: false)
1205-
- `luau-lsp.completion.imports.suggestServices`: whether GetService imports are included in suggestions (default:
1206-
true)
1207-
- `luau-lsp.completion.imports.suggestRequires`: whether auto-requires are included in suggestions (default: true)
1208-
- `luau-lsp.completion.imports.requireStyle`: the style of require format (default: "auto")
1209-
- `luau-lsp.completion.imports.separateGroupsWithLine`: whether an empty line should be added in between services
1210-
and requires (default: false)
1210+
- `luau-lsp.completion.imports.enabled`: replaces `luau-lsp.completion.suggestImports` (default: false)
1211+
- `luau-lsp.completion.imports.suggestServices`: whether GetService imports are included in suggestions (default:
1212+
true)
1213+
- `luau-lsp.completion.imports.suggestRequires`: whether auto-requires are included in suggestions (default: true)
1214+
- `luau-lsp.completion.imports.requireStyle`: the style of require format (default: "auto")
1215+
- `luau-lsp.completion.imports.separateGroupsWithLine`: whether an empty line should be added in between services
1216+
and requires (default: false)
12111217

12121218
### Changed
12131219

@@ -1657,9 +1663,9 @@ local y = tbl.data -- Should give "This is some special information"
16571663
### Added
16581664

16591665
- Added configuration options to enable certain Language Server features. By default, they are all enabled:
1660-
- `luau-lsp.completion.enabled`: Autocomplete
1661-
- `luau-lsp.hover.enabled`: Hover
1662-
- `luau-lsp.signatureHelp.enabled`: Signature Help
1666+
- `luau-lsp.completion.enabled`: Autocomplete
1667+
- `luau-lsp.hover.enabled`: Hover
1668+
- `luau-lsp.signatureHelp.enabled`: Signature Help
16631669

16641670
- Added configuration option `luau-lsp.hover.showTableKinds` (default: off) to indicate whether kinds (`{+ ... +}`,
16651671
`{| ... |}`) are shown in hover information
@@ -1900,10 +1906,10 @@ local y = tbl.data -- Should give "This is some special information"
19001906
- Can change the project file used to generate sourcemap in extension settings (defaults to `default.project.json`).
19011907
- Can toggle whether non-script instances are included in the generated sourcemap (included by default).
19021908
- Added support for "Find References"
1903-
- Currently only works for finding all references of a local variable in the current document. Cross-file references
1904-
will come in future.
1909+
- Currently only works for finding all references of a local variable in the current document. Cross-file references
1910+
will come in future.
19051911
- Added support for "Rename"
1906-
- Currently only works for local variables in the current document. Cross-file references will come in future.
1912+
- Currently only works for local variables in the current document. Cross-file references will come in future.
19071913

19081914
### Changed
19091915

@@ -1922,9 +1928,9 @@ local y = tbl.data -- Should give "This is some special information"
19221928

19231929
- Improved Go To Type Definition support
19241930
- Improved overall Go To Definition support
1925-
- Can now handle function definitions in tables
1926-
- Can handle cross-file definitions
1927-
- Can handle deeply nested tables - multiple properties (incl. cross file support)
1931+
- Can now handle function definitions in tables
1932+
- Can handle cross-file definitions
1933+
- Can handle deeply nested tables - multiple properties (incl. cross file support)
19281934
- Hovering over a property inside a table will now give you type information about the assigned expression, rather than
19291935
just "string"
19301936

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ option(LSP_STATIC_CRT "Link with the static CRT (/MT)" OFF)
77
option(LSP_BUILD_WITH_SENTRY "Build with Sentry (crash reporting)" OFF)
88
option(LSP_WERROR "Warnings as errors" ON)
99

10-
set(LSP_VERSION "1.53.5")
10+
set(LSP_VERSION "1.54.0")
1111
set(LSP_NAME "Luau")
1212

1313
if (LSP_STATIC_CRT)

editors/code/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

editors/code/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"bugs": {
1515
"url": "https://github.com/JohnnyMorganz/luau-lsp/issues"
1616
},
17-
"version": "1.53.5",
17+
"version": "1.54.0",
1818
"engines": {
1919
"vscode": "^1.67.0"
2020
},

0 commit comments

Comments
 (0)