Skip to content

0.10.5

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Jul 16:40
e173211

Added

  • Added QueryDescendants to instances in the roblox standard library.

  • Added registerClass and registerService functions to the roblox standard 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 roblox standard 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.wait not gracefully handling negative, NaN, and other non-finite durations
  • Fixed datatype arithmetic in @lune/roblox not working with a scalar on the left-hand side, such as 2 * Vector3.new(1, 2, 3)
  • Fixed various completeness and correctness issues across datatypes in the roblox standard library
  • Fixed web socket close codes not being set to 1005 (no status) or 1006 (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 close method on a child process writer not closing it (#359)
  • Fixed truncation of lune build output paths containing dots on non-Windows targets (#396)
  • Fixed deserialization of Roblox place/model files failing due to Tags now serializing using SharedString (#397)