Releases: luau-lang/luau
Releases · luau-lang/luau
0.566
Analysis Changes
- DeprecatedApi lint can report some issues without type inference information
- Marked
table.getn
/foreach
/foreachi
as deprecated (RFC: Deprecate table.getn/foreach/foreachi)
Runtime Changes
- With -O2 optimization level, we now optimize builtin calls based on known argument/return count.
Note that this change can be observable ifgetfenv/setfenv
is used to substitute a builtin, especially if arity is different.
Fastcall heavy tests show a 1-2% improvement.
Other changes
- Fixed incorrect lexeme generated for string parts in the middle of an interpolated string (Fixes #744)
- Luau can now be built with clang-cl (Fixes #736)
- Fixed performance of autocomplete requests when suggestions have large intersection types (Solves https://github.com/Roblox/luau/discussions/847)
For extra notes about internal development, you can read #853
0.565
0.564
What's Changed
- Sync to upstream/release/564 by @vegorov-rbx in #841
0.563
What's Changed
- Fix comments on jump instructions with AUX by @EpixScripts in #808
- Fix a bug where reading a property from an unsealed table caused inference to improperly infer the existence of that property.
- Fix unknown global cannot be identified when using type and typeof #827
New Contributors
- @EpixScripts made their first contribution in #808
0.562
Language Changes
A new language feature - string interpolation, is now stable and available for use in default configuration.
Read more about it in the announcement.
Analysis Changes
- Fixed rare use-after-free in analysis during table unification
For extra notes about internal development, you can read #828
0.561
What's Changed
- Fix a potential debugger crash by adding checks for invalid stack index values
0.560
Autocomplete Changes
- Additional information is included in Scope for type alias name locations and names of imported modules
- Improved suggestions in 'for' and 'while' loop headers
Analysis Changes
- String match functions return types are now optional strings and numbers because match is not guaranteed at runtime
Runtime Changes
- Fix lua_*upvalue() when upvalue names aren't in debug info by @HaroldCindy in #787
Other Changes
- Fixed build issue on gcc 11 and up (Fixes #806)
0.559
Autocomplete Changes
- Fix autocompletion of if-then-else expressions
- Pass string content to autocomplete callback by @JohnnyMorganz in #800
- Attach definition location to
TableType
by @JohnnyMorganz in #801
Runtime Changes
- Fix a potential crash surrounding improper use of
%*
in a string format specifier - Improved error handling for string interpolation with too many arguments
Other Changes
- All Python scripts now invoke Python via
python3
rather thanpython
0.558
0.557
Analysis changes
- Fixed unions of
nil
types displaying as?
- Internal normalization now handles class types which can make previously failing (incorrectly) sub-typing checks to succeed