What's Changed
General
- All code has been re-formatted by
clang-format
; this is not mechanically enforced, so Luau may go out-of-sync over the course of the year. - Remove Ast dependency on CLI.Lib by @vegorov-rbx in #1571
- Refactor CLI structure to match the include/src split that our other projects have. by @aatxe in #1573
- Implement support for math.lerp by @zeux in #1608
New Solver
- Fix negation type 'inner' method in user-defined type functions by @vegorov-rbx in #1582
- Track free types interior to a block of code on
Scope
, which should reduce the number of free types that remain un-generalized after type checking is complete (e.g.: less errors like'a <: number is incompatible with number
).
Autocomplete
- Fragment autocomplete now does not provide suggestions within comments (matching non-fragment autocomplete behavior).
- Autocomplete now respects iteration and recursion limits (some hangs will now early exit with a "unification too complex error," some crashes will now become internal complier exceptions).
Runtime
- Add a limit to how many Luau codegen slot nodes addresses can be in use at the same time (fixes #1605, fixes #1558).
- Added constant folding for vector arithmetic (fixes #1553).
- Added support for
buffer.readbits
andbuffer.writebits
(see: luau-lang/rfcs#18).
Full Changelog: 0.655...0.656
Co-authored-by: Ariel Weiss [email protected]
Co-authored-by: David Cope [email protected]
Co-authored-by: Hunter Goldstein [email protected]
Co-authored-by: Vighnesh Vijay [email protected]
Co-authored-by: Vyacheslav Egorov [email protected]