Releases: Kampfkarren/selene
Releases Β· Kampfkarren/selene
[0.30.0] - 2026-01-22
- Updated internal parser, giving support for several recent Luau features.
requirenow accepts strings in Luau.
[0.29.0] - 2025-07-23
- Added
Instance.fromExistingto the Roblox standard library - Added new
roblox_manual_fromscale_or_fromoffsetlint, which will warn when the arguments could be simplified toUDim2.fromScaleorUDim2.fromOffset. - Added
Content.noneto the Roblox standard library - Added
CFrame.fromRotationBetweenVectorsto the Roblox standard library - Added
math.lerpto the Luau standard library - Added new
restricted_module_pathslint to disallow specified module paths in any expression context (local assignments, function calls, function arguments, table constructors, return statements, nested tables, and conditional expressions)
[0.28.0] - 2025-01-09
Added
- Added
Path2DControlPoint.new,Content.fromUri,Content.fromAssetId, andContent.fromObjectto the Roblox standard library - Adds
lua_versionsto standard library definitions. Specifying this will only allow the syntax used by those languages. The default standard libraries now specify these, meaning that invalid syntax for that language will no longer be supported. - Added missing third parameter to
PathWaypoint.newin the Roblox standard library - Added
vectorlibrary to Luau standard library - Added
math.mapto the Luau standard library
Changed
- Upgrades to full-moon 1.0.0, which should provide faster parse speeds, support for multiple parsing errors at the same time, and support for some new Luau syntax.
[0.27.1] - 2024-04-28
Fixed
- Fixed
Instance.new's second parameter being incorrectly marked as required.
[0.27.0] - 2024-04-28
Added
- Added
CFrame.lookAlongto the Roblox standard library - Added
deprecatedconfig field to standard library function parameters
Changed
- Updated the warning message for the
mixed_tablelint to include why mixed tables should be avoided - Properly deprecated
Instance.new's second argument in the Roblox standard library
[0.26.1] - 2023-11-11
Fixed
- Fixed
UDim2.new()firing theroblox_suspicious_udim2_newlint.
[0.26.0] - 2023-11-11
Added
- Added
table.moveandmath.tointegerto Lua 5.3 standard library - Added
bit32.*functions to Lua 5.2 standard library - Added
table.pack,rawlenandpackage.configto Lua 5.2 standard library - Added new
empty_looplint, which will check for empty loop blocks. - Added new
roblox_suspicious_udim2_newlint, which will warn when you pass in too few number of arguments toUDim2.new. roblox_incorrect_roact_usagenow lints for illegalNameproperty- Added
ignore_patternconfig toglobal_usage, which will ignore any global variables with names that match the pattern roblox_incorrect_roact_usagenow checks for incorrect Roact17'screateElementusage on variables namedReact. For Roact17 only,key,children, andrefare valid properties to Roblox instances.- Excludes are now respected for single files.
- Added
no-excludecli flag to disable excludes. - When given in standard library format, additional information now shows up in
incorrect_standard_library_usemissing required parameter errors. - Added new
mixed_tablelint, which will warn against mixed tables. - Added
bit32.byteswapto Luau standard library - Added
bufferlibrary to Luau standard library - Added
SharedTableto Roblox standard library
Changed
- Updated internal parser, which includes floor division (
//), more correct parsing of string interpolation with double braces, and better parsing of\zescapes.
Fixed
string.packandstring.unpacknow have proper function signatures in the Lua 5.3 standard library.- Moved
math.logsecond argument addition from Lua 5.3 std lib to 5.2 std lib undefined_variablenow correctly errors when defining multiple methods in undefined tables- Corrected
os.exitdefinition in Lua 5.2 standard library - Fixed
manual_table_cloneincorrectly 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
[0.25.0] - 2023-03-12
Added
- Added
CFrame.fromEulerAnglesto the Roblox standard library. - Added
validate-configcommand, which will report any errors in your configuration. - Added
capabilitiescommand, which will report the feature set of the selene installation. This is useful for consumers like the VS Code extension.
Changed
- Unknown keys in configuration files are accepted less often now.
- Updated internal parser, supporting Chinese characters better.
Fixed
- "Legacy" Roblox enums (such as Enum.RaycastFilterType.Whitelist/Blacklist) are now automatically created and marked as deprecated in generated standard libraries.
- Fixed a bug where
manual_table_clonewould incorrectly lint code in loops. (#479)
[0.24.0] - 2023-01-10
Added
- Added new
manual_table_clonelint, which will catch manual re-implementations oftable.clonein Luau. - Added
filenamefield to diagnostic message labels in JSON output, indicating for which file the message was generated (#453)
Changed
- Improved the error message for using a standard library that can be detected as outdated.
- Updated internal parser, giving support for string interpolation for Luau and fixing some parsing bugs.
Fixed
- Fixed "library" being typo'd as "libary" in the error when finding a usage.
[0.23.1] - 2022-12-06
Fixed
- Fixed event warnings not being possible to filter out with
roblox_incorrect_roact_usage.