Skip to content

Releases: luau-lang/luau

0.563

10 Feb 21:39
c5089de
Compare
Choose a tag to compare

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

0.562

03 Feb 19:55
c5555c6
Compare
Choose a tag to compare

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

27 Jan 22:54
f763f4c
Compare
Choose a tag to compare

What's Changed

  • Fix a potential debugger crash by adding checks for invalid stack index values

0.560

20 Jan 20:45
4a2e801
Compare
Choose a tag to compare

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

13 Jan 22:19
a5c6a38
Compare
Choose a tag to compare

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 than python

0.558

06 Jan 21:24
be52bd9
Compare
Choose a tag to compare

Analysis changes

  • Fixed garbage data in module scopes when type graph is not retained

Runtime changes

  • LOP_MOVE with the same source and target registers is no longer
    generated (Fixes #793)

0.557

04 Jan 21:01
75a2e95
Compare
Choose a tag to compare

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

0.556

09 Dec 20:03
fb2f146
Compare
Choose a tag to compare

What's Changed

  • The AST JSON encoder will now stringify infinity and NaN according to the JSON5 spec using the tokens Infinity, -Infinity, and NaN.
  • Improve autocompletion of table keys if the type of that key is a union of string singletons.

0.555

02 Dec 18:20
59ae47d
Compare
Choose a tag to compare

Analysis changes

  • Type mismatch errors now mention if unification failed in covariant or invariant context, to explain why sometimes derived class can't be converted to base class or why T can't be converted into T? and so on
  • Class type indexing is no longer an error in non-strict mode (still an error in strict mode)
  • Fixed cyclic type packs not being displayed in the type
  • Added an error when unrelated types are compared with ==/~=
  • Fixed false positive errors involving sub-type tests with a never type

Runtime changes

  • Fixed miscompilation of multiple assignment statements (Fixes #754)

Community contributions

0.554

18 Nov 19:55
95d9c6d
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.553...0.554