Skip to content

Commit 0177a02

Browse files
v1.55.0
1 parent c4e1d88 commit 0177a02

File tree

4 files changed

+44
-43
lines changed

4 files changed

+44
-43
lines changed

CHANGELOG.md

Lines changed: 40 additions & 39 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.55.0] - 2025-10-19
10+
911
### Added
1012

1113
- Require graph functionality is now available on the command line, with
@@ -277,11 +279,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
277279
- Added progress indicator for watched files changes
278280
- A Cloudflare page is now available to serve the type definition files and API documentations, due to GitHub
279281
ratelimiting ([#1059](https://github.com/JohnnyMorganz/luau-lsp/issues/1059))
280-
- `https://luau-lsp.pages.dev/type-definitions/globalTypes.None.d.luau`
281-
- `https://luau-lsp.pages.dev/type-definitions/globalTypes.PluginSecurity.d.luau`
282-
- `https://luau-lsp.pages.dev/type-definitions/globalTypes.LocalUserSecurity.d.luau`
283-
- `https://luau-lsp.pages.dev/type-definitions/globalTypes.RobloxScriptSecurity.d.luau`
284-
- `https://luau-lsp.pages.dev/api-docs/en-us.json`
282+
- `https://luau-lsp.pages.dev/type-definitions/globalTypes.None.d.luau`
283+
- `https://luau-lsp.pages.dev/type-definitions/globalTypes.PluginSecurity.d.luau`
284+
- `https://luau-lsp.pages.dev/type-definitions/globalTypes.LocalUserSecurity.d.luau`
285+
- `https://luau-lsp.pages.dev/type-definitions/globalTypes.RobloxScriptSecurity.d.luau`
286+
- `https://luau-lsp.pages.dev/api-docs/en-us.json`
285287

286288
### Changed
287289

@@ -584,14 +586,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
584586
- Overhauled the globbing mechanism leading to significant performance improvements in indexing, workspace diagnostics,
585587
and auto suggest requires, removing globbing as a bottleneck. Some results in example codebases ranging from 190 to
586588
1900 KLoC:
587-
- Initial indexing: ~3.32x to ~7.1x speedup (43.60s -> 13.12s and 9.42s ->
588-
1.33s) ([#829](https://github.com/JohnnyMorganz/luau-lsp/issues/829))
589-
- Workspace diagnostics: ~2.39x to ~4.75x speedup (164.93s -> 69.07s and 8.49s ->
590-
1.79s)
591-
- Auto-suggest requires: ~4.77x speedup (1.15s ->
592-
0.24s) ([#749](https://github.com/JohnnyMorganz/luau-lsp/issues/749))
593-
- These improvements heavily depend on the amount of code you have matching ignore globs. Workspace diagnostics
594-
improvements depends on the performance of Luau typechecking.
589+
- Initial indexing: ~3.32x to ~7.1x speedup (43.60s -> 13.12s and 9.42s ->
590+
1.33s) ([#829](https://github.com/JohnnyMorganz/luau-lsp/issues/829))
591+
- Workspace diagnostics: ~2.39x to ~4.75x speedup (164.93s -> 69.07s and 8.49s ->
592+
1.79s)
593+
- Auto-suggest requires: ~4.77x speedup (1.15s ->
594+
0.24s) ([#749](https://github.com/JohnnyMorganz/luau-lsp/issues/749))
595+
- These improvements heavily depend on the amount of code you have matching ignore globs. Workspace diagnostics
596+
improvements depends on the performance of Luau typechecking.
595597

596598
### Fixed
597599

@@ -947,10 +949,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
947949
- Added support for viewing textual bytecode and compiler remarks using commands `Luau: Compute Bytecode for file` and
948950
`Luau: Compute Compiler Remarks for file`.
949951
This opens up a new view with bytecode/remarks inlined as comments in the source file
950-
- Added configuration `luau-lsp.bytecode.vectorLib`, `luau-lsp.bytecode.vectorCtor` and
951-
`luau-lsp.bytecode.vectorType` to configure compiler options when generating bytecode
952-
- Custom editors should handle the `luau-lsp/bytecode` and `luau-lsp/compilerRemarks` LSP message to integrate
953-
compiler remarks info in their editor
952+
- Added configuration `luau-lsp.bytecode.vectorLib`, `luau-lsp.bytecode.vectorCtor` and
953+
`luau-lsp.bytecode.vectorType` to configure compiler options when generating bytecode
954+
- Custom editors should handle the `luau-lsp/bytecode` and `luau-lsp/compilerRemarks` LSP message to integrate
955+
compiler remarks info in their editor
954956
- Added `luau-lsp.types.robloxSecurityLevel` to select what security level to use for the API types, out of: `None`,
955957
`LocalUserSecurity`, `PluginSecurity` and `RobloxScriptSecurity`
956958

@@ -1183,11 +1185,11 @@ type Foo = {
11831185
For example, adding `@example/constants` mapping to `C:/fakepath/constants.luau` will automatically resolve
11841186
`require("@example/constants")`
11851187
- Added support for Folding Ranges. The language server now signals the following foldable ranges in a document:
1186-
- Whole blocks, such as `do .. end`, `for - do .. end` `function() .. end` etc.
1187-
- Tables, and type tables `x = { .. }`
1188-
- Multiline function calls `foo(..)`
1189-
- Block comments `--[[ .. ]]`
1190-
- Custom comment regions denoted using `--#region` and `--#endregion`
1188+
- Whole blocks, such as `do .. end`, `for - do .. end` `function() .. end` etc.
1189+
- Tables, and type tables `x = { .. }`
1190+
- Multiline function calls `foo(..)`
1191+
- Block comments `--[[ .. ]]`
1192+
- Custom comment regions denoted using `--#region` and `--#endregion`
11911193
- Added support for Call Hierarchies. Call Hierarchies allow you to view all incoming and outgoing calls of a function:
11921194
i.e., all functions that call the current function, as well as all functions that the current function calls.
11931195
This works at multiple levels, displaying ancestor and descendant functions.
@@ -1227,13 +1229,13 @@ type Foo = {
12271229
- Added support for renaming types (both local and exported). If `luau-lsp.index.enabled` is disabled, this exported
12281230
types renaming is disabled for correctness reasons.
12291231
- Added more settings to auto-importing:
1230-
- `luau-lsp.completion.imports.enabled`: replaces `luau-lsp.completion.suggestImports` (default: false)
1231-
- `luau-lsp.completion.imports.suggestServices`: whether GetService imports are included in suggestions (default:
1232-
true)
1233-
- `luau-lsp.completion.imports.suggestRequires`: whether auto-requires are included in suggestions (default: true)
1234-
- `luau-lsp.completion.imports.requireStyle`: the style of require format (default: "auto")
1235-
- `luau-lsp.completion.imports.separateGroupsWithLine`: whether an empty line should be added in between services
1236-
and requires (default: false)
1232+
- `luau-lsp.completion.imports.enabled`: replaces `luau-lsp.completion.suggestImports` (default: false)
1233+
- `luau-lsp.completion.imports.suggestServices`: whether GetService imports are included in suggestions (default:
1234+
true)
1235+
- `luau-lsp.completion.imports.suggestRequires`: whether auto-requires are included in suggestions (default: true)
1236+
- `luau-lsp.completion.imports.requireStyle`: the style of require format (default: "auto")
1237+
- `luau-lsp.completion.imports.separateGroupsWithLine`: whether an empty line should be added in between services
1238+
and requires (default: false)
12371239

12381240
### Changed
12391241

@@ -1683,10 +1685,9 @@ local y = tbl.data -- Should give "This is some special information"
16831685
### Added
16841686

16851687
- Added configuration options to enable certain Language Server features. By default, they are all enabled:
1686-
1687-
- `luau-lsp.completion.enabled`: Autocomplete
1688-
- `luau-lsp.hover.enabled`: Hover
1689-
- `luau-lsp.signatureHelp.enabled`: Signature Help
1688+
- `luau-lsp.completion.enabled`: Autocomplete
1689+
- `luau-lsp.hover.enabled`: Hover
1690+
- `luau-lsp.signatureHelp.enabled`: Signature Help
16901691

16911692
- Added configuration option `luau-lsp.hover.showTableKinds` (default: off) to indicate whether kinds (`{+ ... +}`,
16921693
`{| ... |}`) are shown in hover information
@@ -1927,10 +1928,10 @@ local y = tbl.data -- Should give "This is some special information"
19271928
- Can change the project file used to generate sourcemap in extension settings (defaults to `default.project.json`).
19281929
- Can toggle whether non-script instances are included in the generated sourcemap (included by default).
19291930
- Added support for "Find References"
1930-
- Currently only works for finding all references of a local variable in the current document. Cross-file references
1931-
will come in future.
1931+
- Currently only works for finding all references of a local variable in the current document. Cross-file references
1932+
will come in future.
19321933
- Added support for "Rename"
1933-
- Currently only works for local variables in the current document. Cross-file references will come in future.
1934+
- Currently only works for local variables in the current document. Cross-file references will come in future.
19341935

19351936
### Changed
19361937

@@ -1949,9 +1950,9 @@ local y = tbl.data -- Should give "This is some special information"
19491950

19501951
- Improved Go To Type Definition support
19511952
- Improved overall Go To Definition support
1952-
- Can now handle function definitions in tables
1953-
- Can handle cross-file definitions
1954-
- Can handle deeply nested tables - multiple properties (incl. cross file support)
1953+
- Can now handle function definitions in tables
1954+
- Can handle cross-file definitions
1955+
- Can handle deeply nested tables - multiple properties (incl. cross file support)
19551956
- Hovering over a property inside a table will now give you type information about the assigned expression, rather than
19561957
just "string"
19571958

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.54.0")
10+
set(LSP_VERSION "1.55.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.54.0",
17+
"version": "1.55.0",
1818
"engines": {
1919
"vscode": "^1.67.0"
2020
},

0 commit comments

Comments
 (0)