0.542
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
- Pass environment scope to autocomplete typechecker by @JohnnyMorganz in #610
- String interpolation by @Kampfkarren in #614
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.