Skip to content

[0.26.0] - 2023-11-11

Compare
Choose a tag to compare
@github-actions github-actions released this 11 Nov 23:23

Added

  • Added table.move and math.tointeger to Lua 5.3 standard library
  • Added bit32.* functions to Lua 5.2 standard library
  • Added table.pack, rawlen and package.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 to UDim2.new.
  • roblox_incorrect_roact_usage now lints for illegal Name property
  • Added ignore_pattern config to global_usage, which will ignore any global variables with names that match the pattern
  • roblox_incorrect_roact_usage now checks for incorrect Roact17's createElement usage on variables named React. For Roact17 only, key, children, and ref 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 and string.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

Full Changelog: 0.25.0...0.26.0