Skip to content

0.542

Compare
Choose a tag to compare
@zeux zeux released this 25 Aug 23:41
· 534 commits to master since this release
e84bccc

Analysis changes

  • Fix DeprecatedGlobal warning text in cases when the global is deprecated without a suggested alternative
  • Fix an off-by-one error in type error text for incorrect use of string.format
  • Reduce stack consumption further during parsing, hopefully eliminating stack overflows during parsing/compilation

Runtime changes

  • Simplify garbage collection treatment of upvalues, reducing cache misses during sweeping stage and reducing the cost of upvalue assignment (SETUPVAL)
  • Simplify garbage collection treatment of sleeping and alive threads, reducing cache misses during sweeping stage
  • Simplify management of string buffers, removing redundant linked list operations

Community contributions

Note on interpolated strings

Support for interpolated strings is marked as experimental in this release as the syntax is being validated for compatibility with editors and future proposals; to use it in command-line tools, pass --fflags=LuauInterpolatedStringBaseSupport to enable it early.