[0.26.0] - 2023-11-11
Added
- Added
table.move
andmath.tointeger
to Lua 5.3 standard library - Added
bit32.*
functions to Lua 5.2 standard library - Added
table.pack
,rawlen
andpackage.config
to Lua 5.2 standard library - Added new
empty_loop
lint, which will check for empty loop blocks. - Added new
roblox_suspicious_udim2_new
lint, which will warn when you pass in too few number of arguments toUDim2.new
. roblox_incorrect_roact_usage
now lints for illegalName
property- Added
ignore_pattern
config toglobal_usage
, which will ignore any global variables with names that match the pattern roblox_incorrect_roact_usage
now checks for incorrect Roact17'screateElement
usage on variables namedReact
. For Roact17 only,key
,children
, andref
are valid properties to Roblox instances.- Excludes are now respected for single files.
- Added
no-exclude
cli flag to disable excludes. - When given in standard library format, additional information now shows up in
incorrect_standard_library_use
missing required parameter errors. - Added new
mixed_table
lint, which will warn against mixed tables. - Added
bit32.byteswap
to Luau standard library - Added
buffer
library to Luau standard library - Added
SharedTable
to Roblox standard library
Changed
- Updated internal parser, which includes floor division (
//
), more correct parsing of string interpolation with double braces, and better parsing of\z
escapes.
Fixed
string.pack
andstring.unpack
now have proper function signatures in the Lua 5.3 standard library.- Moved
math.log
second argument addition from Lua 5.3 std lib to 5.2 std lib undefined_variable
now correctly errors when defining multiple methods in undefined tables- Corrected
os.exit
definition in Lua 5.2 standard library - Fixed
manual_table_clone
incorrectly warning when loop and table are defined at different depths
New Contributors
- @checkraisefold made their first contribution in #500
- @ccuser44 made their first contribution in #497
- @chriscerie made their first contribution in #510
- @HolterPhylo made their first contribution in #532
- @Zash made their first contribution in #540
- @MixeroTN made their first contribution in #551
- @williamboman made their first contribution in #554
- @f1rstlady made their first contribution in #549
- @rokoblox made their first contribution in #553
Full Changelog: 0.25.0...0.26.0