Skip to content

0.742

Choose a tag to compare

@github-actions github-actions released this 10 Oct 00:25
Immutable release. Only release title and notes can be modified.
8387cfb

Ding, dong, 馃毆 馃敂 , what's that, another Luau release???

What's Changed

New Contributors

Analysis

  • Stop sharing internal error reporters between threads to avoid data races. Fixes #3020.
  • Implement MLStruct-style unifier rewrite rules. Fixes #3001, #3002.
  • Cache the absence of type functions for all types involved in InstanceCollector.
  • Improve scope handling for strict mode type checker. Fixes #2991.
  • Implement autocomplete for function statements.
  • Fix bug in fragment autocomplete and union discriminant recommendation.
  • More end-to-end golden tests.

Compiler / NCG

  • Mark table as mutable for constant propagation if metamethods are involved.
  • Correctly remap CALLFB slot instruction targets in expandJumps.
  • Fix LuauCompileMoveElision when current argument target still needs evaluation.
  • Fix fuzzer crash where CALLFB Protos were stale.
  • NCG: Continue applying possible optimizations when ConstPropState hits a limit.
  • NCG: Fix bug in Proto counter logic.
  • NCG: Do not mark lazy restore locations as materialized under a conditional spill block.
  • NCG: Exit sync anti-clobber restores have to be delayed until after the state synchronization is complete.
  • NCG: Do not let buffer offset scale go down to zero.
  • NCG: In exit sync, restore registers in rematerializable locations that can be clobbered.

Runtime / C API

  • Stop gating coroutine.finally behind a debug flag.
  • Allow the Luau finalizer function to only be called once.
  • Resume protected calls started by error continuations in Luau.
  • Support cancellation in lua_pushfinalizerfunction and fix coroutine.close issues.

Full Changelog: 0.741...0.742


Co-authored-by: Alexander Youngblood ayoungblood@roblox.com
Co-authored-by: Ariel Weiss arielweiss@roblox.com
Co-authored-by: Hunter Goldstein hgoldstein@roblox.com
Co-authored-by: Ilya Rezvov irezvov@roblox.com
Co-authored-by: Thomas Schollenberger tschollenberger@roblox.com
Co-authored-by: Varun Saini vsaini@roblox.com
Co-authored-by: Vighnesh Vijay vvijay@roblox.com
Co-authored-by: Vyacheslav Egorov vegorov@roblox.com