Skip to content

0.725

Latest

Choose a tag to compare

@github-actions github-actions released this 12 Jun 22:06
Immutable release. Only release title and notes can be modified.
91caa73

Hi everyone! The Luau team has been flibbertigibbeting and recombobulating this week to bring another release to you!

Check out what's new:

Analysis

  • Fixes an error where Luau script analysis would sometimes incorrectly infer that Library.table.unpack returns ...unknown
  • Writing a recursive generic type alias with the wrong number of generics now reports one more specific error rather than two.
  • Fixed a crash that could happen when normalizing an exceptionally large negated type.
  • Improved performance in constraint solving when reducing large nested type functions.
  • Fixed a crash that could happen when combining export and class.
  • Fix CFG dump printing type guards backwards by @7Duser in #2438

Compiler & Runtime

  • Luau C API will now auto-reserve required stack slots to reduce API errors, eliminating the need for manual stack management with lua_checkstack
  • Add support for yieldable protected C calls for custom Luau libraries via luaL_pcallyieldable
  • NCG: Remove the use of shared execution callback data for register spills
  • Updates the garbage collector to visit cached tagged userdata metatables, preventing premature collection and making the lua_setuserdatametatable API less error-prone.
  • Fixed two compiler crashes related to export.

As always, thanks to all our contributors, and happy pride and FIFA world cup!!! 🏳️‍🌈 ⚽️ 🏆

Co-authored-by: Andy Friesen afriesen@roblox.com
Co-authored-by: Annie Tang annietang@roblox.com
Co-authored-by: Ariel Weiss arielweiss@roblox.com
Co-authored-by: Hunter Goldstein hgoldstein@roblox.com
Co-authored-by: Sora Kanosue skanosue@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

Full Changelog: 0.724...0.725