0.598
What's Changed
- Include windows.h instead of Windows.h by @RadiantUwU in #1055
- Custom implementation of
os.time
for all platforms
Compiler
- Fix
repeat..until
loops withcontinue
statement when until expression refers to constants #1042 - Fix
repeat..until
loops withcontinue
statement when upvalues are used #1043 - Disable builtin constant folding at -O2 when
getfenv
/setfenv
are used - Bytecode version produced by the compiler has been upgraded to 4 (runtime support for v4 starts from 0.588).
New Type Checker
- Initial work toward type states.
- Rework most overloadable operators to use type families.
- Initial work toward our new nonstrict mode.
Native Codegen
- Fix native code generation for dead loops
- Annotate top-level functions as cold to avoid compiling them to native code
- Slightly smaller/faster X64 calls to Luau functions
- Slightly smaller/faster A64 calls for both Luau and C functions
- Inline constant array index offset into the load/store instruction
- Increase X64 spill slots from 5 to 13
New Contributors
- @RadiantUwU made their first contribution in #1055
Full Changelog: 0.597...0.598