03-05-2026
1.5.0
A Visual Studio Code extension is now available. It provides formatting, live diagnostics, and syntax highlighting for VSCode-based text editors, including VSCodium and Cursor. You can retrieve it from the Open VSX Registry. Those that use other LSP-capable text editors like Vim can take a look at the language server for manual usage.
- Added string interpolation.
- Added
lus formatcommand. - Added runtime attributes for altering local assignments.
- Added error-processing handlers to
catchexpressions. - Added initial language server foundation and VSCode extension.
- Enum ordering comparison across different enum roots now raises a runtime error.
- Brought
debug.parseto parity with the internal parser. - Fixed
debug.parseserializing linked lists as single nodes instead of arrays. - Fixed buffer overflow in worker message serialization when arena allocation fails.
- Fixed missing recursion depth limit in worker message deserialization.
- Fixed integer overflow in
deser_readbounds check that could allow out-of-bounds reads with largesize_tvalues. - Fixed negative or huge table counts in worker deserialization being passed to
lua_createtableunchecked. - Fixed missing
luaL_checkstackin worker deserialization that could exhaust the Lus stack on deeply nested tables. - Fixed uninitialized constant slots in enum parsing that could cause a GC crash when
luaM_growvectorexpanded the constants array. - Fixed race condition in worker receive context signaling that could cause a use-after-free when the receiver destroys a stack-allocated context while a worker thread is still accessing it.
- Fixed missing bounds checking in bundle index parser.
adjustlocalvarsnow validates the register limit before assignment.