1.56.0
Immutable
release. Only release title and notes can be modified.
[1.56.0] - 2025-11-02
Added
- The server now accepts DataModel information from the Studio Plugin even when there is no sourcemap present (#1216)
- Added
luau-lsp.completion.imports.includedServicesandluau-lsp.completion.imports.excludedServicesto configure what services show up during auto-importing. If non-empty, only the services listed inincludedServiceswill show up. None of the services listed inexcludedServiceswill ever show up. - Added support for inline documentation comments in global type definition files (relies on name being provided in settings, see below) (#271)
- Support processing
.config.luaufile as per Luau-syntax configuration files RFC
Changed
- Sync to upstream Luau 0.698
- Auto-imports are now enabled by default. Configure
luau-lsp.completion.imports.enabledif you wish to disable it (#619) - Definitions files must now provide a name for the file in settings and command line: i.e.
--definitions:@roblox=path/to/globalTypes.d.luau. This is to support mapping global types back to their original
definitions file for documentation features. Please update your LSP settings (luau-lsp.types.definitionFiles) and command line arguments.
Backwards compatibility has been temporarily preserved, with random names generated. - Table properties are now prioritised above other autocomplete entries (again, fixing a dormant bug)
- Contextual keywords (
else/elseif/end) are prioritised over other autocomplete entries when inside of the relevant statement
Fixed
- Fixed auto-indentation in VSCode when entering a block if there is a comment after the introduction token (e.g.,
if true then -- comment) (#1222) - Fixed auto-imports not showing up when autocompleting in array-like tables (i.e., before the
=sign has been written for a property) (#1062)
External Contributions
- Fix typo in CMakeLists by @checkraisefold in #1234
- Add missing C++ exception header by @theoparis in #1236
- Feature: Support DM info from companion plugin even if no sourcemap.json exists by @zovits in #1216
New Contributors
- @theoparis made their first contribution in #1236
- @zovits made their first contribution in #1216
Full Changelog: 1.55.0...1.56.0