Skip to content

Releases: Kampfkarren/selene

0.6.0

22 Apr 06:14
Compare
Choose a tag to compare

[0.6.0] - 2020-04-21

Added

  • Added timestamp to generated Roblox standard library
  • Added debug.getlocal, math.cosh, and string.reverse
  • Added package library
  • Added Axes, Faces, PathWaypoint, to the Roblox standard library
  • Added DebuggerManager, elapsedTime to the Roblox standard library

Fixed

  • Corrected arguments for assert, xpcall, coroutine.yield, debug.getinfo, debug.setfenv, string.char, and string.gsub in Lua 5.1 standard library
  • Corrected arguments for bit32.band, Color3.toHSV, Rect.new, and UDim2.new in the Roblox standard library
  • require now accepts numbers in the Roblox standard library
  • Removed string.dump from the Roblox standard library
  • Fixed a bug where the almost_swapped lint would panic if the last line was an assignment (#93)

Changed

  • Changed the argument display type of io.input and io.output into file
  • Updated to version 0.5.0 of full-moon, which should result in speedier parsing

0.5.3

28 Jan 09:00
Compare
Choose a tag to compare

[0.5.3] - 2020-01-27

Added

  • Added tuple argument to xpcall
  • Added CFrame.fromEulerAnglesYXZ to Roblox standard library
  • Added ColorSequenceKeypoint to the Roblox standard library

Fixed

  • Fixed comments with tabs reporting as a parse error.

0.5.2

19 Jan 09:11
Compare
Choose a tag to compare

[0.5.2] - 2020-01-19

Fixed

  • Fixed debug output for the standard library.

[0.5.1] - 2020-01-19

Added

  • Added the utf8 library to the Roblox standard library
  • Added support for Typed Lua when using the Roblox feature flag.

Changed

  • Updated full-moon, which should result in faster parsing.

0.5.0

21 Dec 03:35
Compare
Choose a tag to compare

[0.5.0] - 2019-12-20

Added

  • Added type_check_inside_call lint for checking type(foo == "type") instead of type(foo) == "type".
  • Added NumberRange to the Roblox standard library.
  • Added string.split to the Roblox standard library.
  • Added table.find to the Roblox standard library.
  • Added table.create to the Roblox standard library.
  • Added table.move to the Roblox standard library.
  • Added table.pack to the Roblox standard library.
  • Added table.unpack to the Roblox standard library.
  • Added coroutine.yieldable to the Roblox standard library.
  • Added second argument to math.log to the Roblox standard library.
  • Added NumberSequenceKeypoint to the Roblox standard library.

Fixed

  • Fixed ternary expressions resolving as booleans.

0.4.3

21 Nov 08:01
a87daeb
Compare
Choose a tag to compare

[0.4.3] - 2019-11-20

Added

  • Added display-style flag to use either rich (default), quiet (equivalent to -q), or JSON.

Fixed

  • Fixed a concatenated result always triggering an error when the standard library function expected a constant string (such as collectgarbage or Instance.new).
  • Fixed parenthese conditions mixed with non-parenthese conditions (such as (condition) and condition) tripping the parenthese_conditions lint.

0.4.2

14 Nov 01:52
Compare
Choose a tag to compare

[0.4.2] - 2019-11-13

Fixed

  • Fixed Roblox standard library not including structs, and thus failing when using game, script, etc.

0.4.1

14 Nov 01:19
Compare
Choose a tag to compare

[0.4.1] - 2019-11-13

Fixed

  • Fixed Roblox standard library not including Lua 5.1 globals the first time you ran selene.

0.4.0

14 Nov 00:51
Compare
Choose a tag to compare

[0.4.0] - 2019-11-13

Added

  • A Roblox standard library can now be generated by simply having std = "roblox" in your configuration and running selene. If it does not exist, it will create one. This can also be initiated manually with selene generate-roblox-std.
  • Added roblox_incorrect_color3_new_bounds.
  • Added support for binary literals when using the roblox feature flag.

Changed

  • Changed incorrect_roact_usage to roblox_incorrect_roact_usage. (#41)
  • Changed parsing errors to produce prettier results.

0.3.0

08 Nov 20:17
Compare
Choose a tag to compare

[0.3.0] - 2019-11-08

Added

  • Added --color option to specify whether colors could be used on the output.
  • Added incorrect_roact_usage lint to verify correct usage of Roact.createElement.
  • Added unscoped_variables lint to disallow usage of unscoped (global) variables.

Changed

  • Colors will no longer be on by default when being piped. (#32)

Fixed

  • Fixed false positive with unused_variable linting function declarations as only mutations. (#30)
  • Fixed terminal colors not resetting properly. (#33)

0.2.0

06 Nov 23:27
Compare
Choose a tag to compare

Added

  • Added standard library chaining. This means you can combine two standard libraries by setting std in selene.toml to std1+std2. You can chain as many as you want.