Releases: Kampfkarren/selene
Releases · Kampfkarren/selene
0.6.0
[0.6.0] - 2020-04-21
Added
- Added timestamp to generated Roblox standard library
- Added
debug.getlocal
,math.cosh
, andstring.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
, andstring.gsub
in Lua 5.1 standard library - Corrected arguments for
bit32.band
,Color3.toHSV
,Rect.new
, andUDim2.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
andio.output
intofile
- Updated to version 0.5.0 of full-moon, which should result in speedier parsing
0.5.3
[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
[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
[0.5.0] - 2019-12-20
Added
- Added
type_check_inside_call
lint for checkingtype(foo == "type")
instead oftype(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
[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
orInstance.new
). - Fixed parenthese conditions mixed with non-parenthese conditions (such as
(condition) and condition
) tripping theparenthese_conditions
lint.
0.4.2
[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
[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
[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 withselene 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
[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
0.2.0
Added
- Added standard library chaining. This means you can combine two standard libraries by setting
std
in selene.toml tostd1+std2
. You can chain as many as you want.