Added
-
Added
QueryDescendantsto instances in therobloxstandard library. -
Added
registerClassandregisterServicefunctions to therobloxstandard library, letting classes and services that
the reflection database does not know about - such as those only present in specific Roblox builds - be implemented and used:local roblox = require("@lune/roblox") roblox.registerService("FileSystemService") roblox.implementMethod("FileSystemService", "ReadFile", function(_, path: string) return -- ... read and return the file contents ... end) local game = roblox.Instance.new("DataModel") local fss = game:GetService("FileSystemService")
Changed
- Refactored the
robloxstandard library to support multiple independent doms. Instances now have stable references,
and place or model files containing colliding referents can be loaded at the same time without conflicts. - Updated to Luau version
0.709 - Updated to rbx-dom database version
0.728
Fixed
- Fixed
task.waitnot gracefully handling negative,NaN, and other non-finite durations - Fixed datatype arithmetic in
@lune/robloxnot working with a scalar on the left-hand side, such as2 * Vector3.new(1, 2, 3) - Fixed various completeness and correctness issues across datatypes in the
robloxstandard library - Fixed web socket close codes not being set to
1005(no status) or1006(abnormal closure) when a connection was closed without one - Fixed error stack traces truncating real file paths on Windows
- Fixed
NumberSequence.new(start, end)silently ignoring its second constructor argument - Fixed
ColorSequence.new(start, end)silently ignoring its second constructor argument (#391) - Fixed the
closemethod on a child process writer not closing it (#359) - Fixed truncation of
lune buildoutput paths containing dots on non-Windows targets (#396) - Fixed deserialization of Roblox place/model files failing due to Tags now serializing using SharedString (#397)