Luau

Languages & RuntimesMIT

Fast, embeddable scripting language derived from Lua.

Latest 0.747 · by RobloxWritten in C++Websiteluau-lang/luauRSS

Release activity

Release activity — 15 releases across 15 days since Aug 7, 2026. Each cell is one day; darker means more releases that day. Nothing is recorded before Aug 7, 2026. Older weeks are hidden at this screen width.
AugSepOctNov
SundayNo releases on Aug 9, 2026No releases on Aug 16, 2026No releases on Aug 23, 2026No releases on Aug 30, 2026No releases on Sep 6, 2026No releases on Sep 13, 2026No releases on Sep 20, 2026No releases on Sep 27, 2026No releases on Oct 4, 2026No releases on Oct 11, 2026No releases on Oct 18, 2026No releases on Oct 25, 2026No releases on Nov 1, 2026No releases on Nov 8, 2026No releases on Nov 15, 2026
MondayNo releases on Aug 10, 2026No releases on Aug 17, 2026No releases on Aug 24, 2026No releases on Aug 31, 2026No releases on Sep 7, 2026No releases on Sep 14, 2026No releases on Sep 21, 2026No releases on Sep 28, 2026No releases on Oct 5, 2026No releases on Oct 12, 2026No releases on Oct 19, 2026No releases on Oct 26, 2026No releases on Nov 2, 2026No releases on Nov 9, 2026
TuesdayNo releases on Aug 11, 2026No releases on Aug 18, 2026No releases on Aug 25, 2026No releases on Sep 1, 2026No releases on Sep 8, 2026No releases on Sep 15, 2026No releases on Sep 22, 2026No releases on Sep 29, 2026No releases on Oct 6, 2026No releases on Oct 13, 2026No releases on Oct 20, 2026No releases on Oct 27, 2026No releases on Nov 3, 2026No releases on Nov 10, 2026
WednesdayNo releases on Aug 12, 2026No releases on Aug 19, 2026No releases on Aug 26, 2026No releases on Sep 2, 2026No releases on Sep 9, 2026No releases on Sep 16, 2026No releases on Sep 23, 2026No releases on Sep 30, 2026No releases on Oct 7, 2026No releases on Oct 14, 2026No releases on Oct 21, 2026No releases on Oct 28, 2026No releases on Nov 4, 2026No releases on Nov 11, 2026
ThursdayNo releases on Aug 13, 2026No releases on Aug 20, 2026No releases on Aug 27, 2026No releases on Sep 3, 2026No releases on Sep 10, 2026No releases on Sep 17, 2026No releases on Sep 24, 2026No releases on Oct 1, 2026No releases on Oct 8, 2026No releases on Oct 15, 2026No releases on Oct 22, 2026No releases on Oct 29, 2026No releases on Nov 5, 2026No releases on Nov 12, 2026
Friday1 release on Aug 7, 20261 release on Aug 14, 2026No releases on Aug 21, 20261 release on Aug 28, 20261 release on Sep 4, 20261 release on Sep 11, 20261 release on Sep 18, 20261 release on Sep 25, 20261 release on Oct 2, 2026No releases on Oct 9, 20261 release on Oct 16, 20261 release on Oct 23, 20261 release on Oct 30, 2026No releases on Nov 6, 20261 release on Nov 13, 2026
SaturdayNo releases on Aug 8, 2026No releases on Aug 15, 20261 release on Aug 22, 2026No releases on Aug 29, 2026No releases on Sep 5, 2026No releases on Sep 12, 2026No releases on Sep 19, 2026No releases on Sep 26, 2026No releases on Oct 3, 20261 release on Oct 10, 2026No releases on Oct 17, 2026No releases on Oct 24, 2026No releases on Oct 31, 20261 release on Nov 7, 2026No releases on Nov 14, 2026

15 releases since Aug 7, 2026

Changelog

0.747

Latest
Added 7
  • Add luau_loadlazy, which is the same as luau_load but only builds the main function, with other functions loaded as lazy stubs on their first use
  • Implement buffer.readvector*f32 and buffer.writevector*f32
  • Add support for accelerated direct userdata access in native codegen
  • Add support for frozen metatable cache access in native codegen
  • Add runtime rebuild log and result callbacks to better track VM promotion
  • Report an error if a class's base constructor isn't called before a read or write to self in its constructor
  • Add support for nested and local classes
Changed 4
  • Improve runtime rebuild error handling and fix a loop trip
  • Exit sync restore for expected tags
  • Lower thresholds before promotion to native code
  • Perform store forwarding for split stores as well
Fixed 6
  • Avoid stack overflow in degenerate unions and intersection types
  • Fix a bug where analysis would permit iteration over non-iterable types in certain circumstances
  • Fix an ICE in certain scenarios involving global function definitions within type functions
  • Fix an issue where error suppression was too eager to fire
  • Do not use removed collapsed phis in BytecodeGraphParser
  • Fix register array overflow in LOP_FASTCALL bytecode analysis
Removed 1
  • Clip all in-progress integer code

From Luau

✈️ !!!

Analysis
  • Avoid stack overflow in degenerate unions and intersection types
  • Fix a bug where analysis would permit iteration over non-iterable types in certain circumstances:
local function foo(t: boolean | number | vector | {})
    -- This used to be erroneously permitted
    for i, v in t do
    end
end
  • Fix an ICE in certain scenarios involving global function definitions within type functions
  • Fix an issue where error suppression was too eager to fire. eg
-- The error here used to be improperly suppressed.
local _: { read [number]: "hello" } = ... :: { read [any]: string }
Runtime
Native Codegen
  • Add support accelerated direct userdata access
  • Add support for frozen metatable cache access
  • Improved runtime rebuild error handling and a loop trip fix
  • Exit sync restore for expected tags
  • Runtime rebuild log and result callbacks
  • Lower thresholds before promotion to native code
  • Add a runtime rebuild log and result callbacks to better track VM promotion.
  • Fix register array overflow in LOP_FASTCALL bytecode analysis
  • Perform store forwarding for split stores as well
Classes (experimental)
  • Report an error if a class's base constructor isn't called before a read or write to self in its constructor
  • Add support for nested and local classes

Co-authored-by: Andy Friesen afriesen@roblox.com Co-authored-by: Hunter Goldstein hgoldstein@roblox.com Co-authored-by: Ilya Rezvov irezvov@roblox.com Co-authored-by: Sora Kanosue skanosue@roblox.com Co-authored-by: Thomas Schollenberger tschollenberger@roblox.com Co-authored-by: Vyacheslav Egorov vegorov@roblox.com

View originalPermalink
How 0.747 went

0.746

Added 4
  • Support for the `while local` statement form, which creates a binding inside the `while` condition
  • Auto-complete suggestions for `local` and `const` after `if`, `elseif` and `while`
  • Hash salting for the string interning table when `lua_setpointerencodekey` is called, to prevent crafted string sets from slowing down string operations
  • Runtime recompilation now gathers information on tags and userdata types to specialize code in arithmetic, field access and namecalls
Changed 5
  • Globals used inside type functions no longer affect type inference outside them, and report a typechecking error
  • Functions calling `require` directly are no longer considered for runtime inlining, because inlining can change require path resolution
  • Inlining of memory operands into instructions on x64 is performed only when there are no conflicting writes
  • An error is reported when a class inherits a constructor instead of defining its own
  • Iterating over a type containing tables that is not itself a subtype of `table` now reports a type error
Fixed 4
  • Equality constraint no longer produces unnecessary type cycles
  • Globals that are read and never assigned no longer leak a blocked type
  • A crash in `luau_load` that could happen if the embedder exposes GC controls to Luau code
  • A crash when a class extended a different class with the same name; it now correctly refers to the outer class
View originalRead the notes
How 0.746 went

0.745

Added 2
  • Added support for while local and while const loops, allowing a single binding to be declared and scoped to the loop condition and body (behind an experimental flag).
  • Implemented normalization of negated intersection types.
Changed 3
  • table.create and table.clear are now recognized as fast calls.
  • Native code generation can now auto-promote frequently-executed functions to native based on call and loop-iteration counts.
  • lua_EmbedderGc now returns int, where a nonzero return indicates the embedder is still making progress and the GC repeatedly re-invokes it to reach a fixed point across the VM and embedder heaps.
Fixed 2
  • Fixed class method context not being reset in the parser when entering type functions.
  • Fixed an analysis blow-up on moderately large table-like literals.
View originalRead the notes
How 0.745 went

0.744

Added 2
  • Support Intel Mac libunwind, assuming libc++ is used
  • Add runtime support for private class fields
Fixed 9
  • Fix a bug in DSE (Dead Store Elimination) caused by not invalidating tags when the corresponding load was overwritten
  • Fix an Arm64 crash caused by functions with more than 256 constants overflowing the arm64 immediate size
  • INVOKE_FASTPCALL should be registered as being able to invalidate SafeEnv
  • Fix a crash found by the fuzzer due to slot allocations
  • Handful of correctness fixes to Luau integer and bit32 operations, affecting bit32.lrotate, integer.lrotate, and integer.extract/replace
  • Fix a bug caused by silently casting a uint8_t to an int8_t in the compiler
View originalRead the notes
How 0.744 went

0.743

Changed 4
  • table.find is faster, especially on small arrays and when the value being searched for has no __eq metamethod
  • Error messages are clearer when a read-only or write-only table is passed to a parameter that expects a read-write property
  • Locals no longer count toward the 200-local limit after their last use, even within the same block, so some code that previously failed with 'out of local registers' now compiles
  • At debug level 2, constant locals are no longer kept as extra locals and upvalues
Fixed 1
  • Type-only cyclic modules with a conditional early return are no longer handled incorrectly
View originalRead the notes
How 0.743 went

0.742

Added 1
  • Implement autocomplete for function statements
Changed 9
  • Hash TypeId, TypePackId, void*, and Constraint* by address
  • Improve UDTF chunk names in error messages
  • Optimize string.gsub for patterns without special characters
  • Update copyright year in LICENSE.txt
  • Add link to C API in README
  • Implement MLStruct-style unifier rewrite rules
Fixed 9
  • Fix grouped error calls in control flow analysis
  • Fix ~nil refinements of blocked types never simplifying
  • Fix assertion in IrAssemblyTest for Windows
  • Stop sharing internal error reporters between threads to avoid data races
  • Improve scope handling for strict mode type checker
  • Fix bug in fragment autocomplete and union discriminant recommendation
Removed 1
  • Remove loadstring from built-in type definitions
View originalRead the notes
How 0.742 went

0.741

Added 2
  • Add new tracking logic that allows local registers to be reused after their last use
  • Add a representation of feedback slots to the bytecode graph
Changed 3
  • Skip subtyping reasoning that is never read
  • Skip two type traversals whose results are unused
  • Rename lua_setbuffercage to lua_setmemorycage
Fixed 7
  • Fix GC allocation rate underflow when the heap shrinks between cycles
  • Fix a bug that was preventing jump-to-definition functionality from working on function return annotations
  • Resolve a crash that could occur when using type assertions within a typeof call inside a type alias
  • NCG: Guard against register counter overflow
  • NCG: Fix a bug in the buffer range checking logic
  • Preserve phi registers in loops during inlining
  • Fix bugs relating to how the bytecode graph models loop instructions' interactions with values
View originalRead the notes
How 0.741 went

0.740

Added 3
  • Experimental feature to make tables "exact" by default, differentiating tables that may have extraneous fields (declared with ...) from tables that do not
  • Array iteration fast-path to A64 FORGLOOP lowering
  • CMake options for four-wide and double-precision vectors
Changed 4
  • The "if local" feature is still experimental but is moving closer to a full release
  • When dumping bytecode, upvalues are now prefixed with U
  • The vector metatable is frozen in luaL_sandbox if it is set
  • Optimized string.split
Fixed 8
  • Internal error that could occur when processing exceptionally large types ("Internal recursion counter limit exceeded in ReferenceCountInitializer")
  • Bug in function normalization that caused argument types to be used as return types
  • Issue where running out of memory during table re-hashing or freezing could leave the underlying table in an unexpected state
  • integer.idiv(x, y) not being floored in some configurations, which caused differing behavior across the interpreter, NCG backends, and constant folding
  • Optional tagged userdata types not being remapped at load time
  • x64 register allocator converting a stack spill on reload
  • Missing direct includes
  • CMake configuration when tests are disabled on MSVC
Removed 1
  • Removed Luau::Set, now entirely subsumed by the new DenseHashSet implementation
View originalRead the notes
How 0.740 went

0.739

Added 3
  • Experimental support for `if local` expressions, behind an experimental flag and subject to change
  • Added a metamethod lookup cache to frozen metatables
  • Introduced a golden test framework for testing Luau itself
Changed 4
  • Improved the error produced when attempting to index from a type refined to `table`
  • Typecheck generics within function bodies more strictly so that invalid calls such as passing nil to a generic function parameter are rejected
  • Inlined the Luau-to-Luau metamethod call path in the VM
  • Improved performance of slow paths in Luau VM table get/set
Fixed 2
  • Fixed integer overflow after table.move causing an out-of-bounds access
  • Fixed an autocomplete bug which prevented suggestions being surfaced correctly
View originalRead the notes
How 0.739 went

0.738

Added 5
  • Prototype code for an upcoming experiment requiring top-level functions to be annotated
  • Expose integer types to UDTFs
  • Initial embedder support for isolated heaps
  • Prototype coroutine.finally implementation on the Luau VM side
  • Local names added to the Dump_Locals output in the Luau compiler
Changed 4
  • Improve type generalization by ensuring that free types are associated with the enclosing function scope, not just the block scope
  • Special handling for bidirectional inference of table literals passed to setmetatable
  • Improvement to the Luau SCCP pass
  • Unrolling of loops with a trip count of zero is now zero cost
Fixed 8
  • Improve inference of read-only table indexers
  • Replacing generics by unknown was overly aggressive; this simplification is now only applied when the generic occurs exactly once in negative position
  • Retain type function state when cloning type function instances
  • The linter now properly reports deprecation warnings for deprecated APIs that occur within intersection and union types
  • luaV_equalval passing t1's metatable twice for TOBJECT __eq
  • Adjust local debug and type info range after undoEmit
  • Off-by-one bug in BytecodeBuilder::expandJumps
  • Incorrect tag propagation to the entry block that could cause incorrect optimization
View originalRead the notes
How 0.738 went

0.737

Added 3
  • Constructors are now integrated into the type system for user-defined classes (experimental, requires DebugLuauUserDefinedClasses=true and DebugLuauUserDefinedClassesRuntime=true)
  • if local statements have been implemented (experimental, requires DebugLuauIfLocalSyntax=true and DebugLuauIfLocalAnalysis=true)
  • Added .editorconfig to the repository
Changed 5
  • Table indexers no longer allow their generics to leak into unsealed tables passed as arguments
  • keyof now produces unions in lexicographic order, making them consistent across platforms
  • Removed generation of unreachable upvalue close instructions in statement blocks
  • Improved removal of dead code blocks in the bytecode JiT inliner
  • Improved validation of the bytecode produced by the JiT inliner
Fixed 8
  • Type arguments are now typechecked in explicit instantiation (fixes #2491)
  • Fixed two sources of frequent internal errors, including one related to the recursion limit during type generalization
  • Fixed luaL_typename typo in UDTF error reporting
  • Fixed handling of upvalues in repeat..until loops with continue
  • Fixed a rare issue where large jump distances were not rejected
  • Fixed an issue with lua_weakref/lua_weakunref API where new entries could occupy previous collected slots
  • Fixed handling of userdata namecall instruction in the bytecode JiT inliner
  • Fixed __eq metamethod check for user-defined classes (experimental)
Removed 1
  • Removed the require cycle length limit
View originalRead the notes
How 0.737 went

0.736

Changed 7
  • Better generalization of types for lambdas defined in table literals
  • Less ICE (internal compiler error) on generics
  • Check whether table indexer values are coincident when simplifying tables
  • Modules without return make their way into cyclic groups
  • Better error messages for cyclic requires
  • Reduced unnecessary move instructions around static function inlining
  • Use the Bitset iterator to iterate through the k-v pairs in DenseHashMap2
Fixed 4
  • Infinite recursion into degenerate intersection type in autocomplete
  • Use-after-free when a self-requiring module is checked before its dependents
  • Many correctness bugs in the JIT Bytecode Inliner
  • Memory leak in DenseHash2 and its erase implementation
View originalRead the notes
How 0.736 went

0.735

Added 4
  • Autocomplete can now swap `.` property accesses for `:`
  • Add a configurable heap limit to the type function runtime
  • Added a set of benchmarks for the Runtime
  • Added new LOP_FASTPCALL instruction, reducing pcall/xpcall overhead to around half of previous levels
Changed 3
  • The typechecker now considers the annotation type of exported values
  • Relabel inferred generics during stringification so T, U, V, W are shown instead of a, b, c for generic variables
  • Changed the Luau pointer encoding implementation to use SipHash2-4 and a Feistel cipher
Fixed 2
  • Fixes a small parenthesis misattribution in the CST
  • Fixes a bug in compound assignment type checking
View originalRead the notes
How 0.735 went

0.734

Added 1
  • pcall and xpcall are now allowed in user-defined type functions
Changed 3
  • Improved the quality of error messages
  • Only function return types are wrapped in AstTypeGroup for unions and intersections, so (string) -> ((string) & (number) -> (number)) is displayed as (string) -> (string) & (number) -> (number)
  • Luau CodeGen now flows known tag information in and through fallback blocks
Fixed 5
  • The new solver now infers generalized iteration correctly, instead of inferring the iterated table's keys as unknown
  • A refinement bug no longer causes indexing into a refined table containing a blocked type to report any as the result
  • The New Type Solver no longer reports an incorrect error on the wrong argument for function calls
  • Negated integer literals no longer report a type error
  • Missing links in luaC_enumheap are fixed
View originalRead the notes
How 0.734 went

0.733

Added 1
  • Promote luaL_[p]callyieldable to lua_[p]callyieldable
Changed 5
  • Improve autocomplete for instantiated generic functions
  • Improve normalization to retain more information about extern types
  • Delay resolution of some generalization constraints to improve consistency of cyclic module inference
  • Skip unifying intersections which share members
  • Improve performance of table.move in certain scenarios
Fixed 3
  • Fix an assert triggered when trying to relate an extern type with a table with read-write properties
  • Fix an issue where internal types were escaping when a type alias had unused arguments
  • NCG: Do buffer write value tag check even when too many arguments are provided
View originalRead the notes
How 0.733 went
View all

Discussion

If you publish Luau, you can claim this product by proving you administer its repository.