This repository has been archived by the owner on Jun 12, 2022. It is now read-only.
Releases: JohnnyMorganz/luau-analyze-rojo
Releases · JohnnyMorganz/luau-analyze-rojo
0.527.0
0.526.1
0.526.0
- Sync to Luau 0.526
inst:Clone()
types have been improved to return the type ofinst
rather than just a generic Instance- Fixed the type of
UserSettings:GetService("UserGameSettings")
- Improved correctness of Enum types - now passing an incorrect Enum type to a function will error, and trying to index an invalid Enum will typecheck too. (Currently, enums are still unfortunately only available to use in user code as
EnumRigType
, rather thanEnum.RigType
)
0.525.2
0.525.1
Fixed exception when running tool on model project files and using script
0.525.0
- Sync to Luau 0.525
- Tool will now emit an error if you provide a project file path which does not exist or is not readable (#16)
- Added support for
Instance:IsA("ClassName")
refinements (#24) - Added support for requiring JSON modules (#28)
- Added support for changing any Luau FFlag, using
--flag:NAME=VALUE
(#23, thanks @Corecii!) - Added support for Rojo sourcemaps, using
--sourcemap=PATH
. Once sourcemaps are released,--project
will be deprecated and later removed. (#25) - Fixed issues where some services retrieved using
game:GetService()
would be typed asany
(#29) - The DataModel tree is now fully typed, and can be traversed using
instance.Parent
/instance.Child
. Instances are typed appropriately and have knowledge about all their ancestors and descendants. This extends further to support static typing against children which do not exist, and warning when requiring non-script instances. Tree info is no longer lost when using.Parent
(#15)
0.524.0
- Sync to upstream Luau 0.524
- Temporarily assigned the type of
script
toany
to silence spurious type errors when indexing children throughscript.Parent
(require resolution is unaffected) - Added command line options to change internal FFlag limits, to improve type checking at the cost of performance (#12, thanks @Corecii!)
0.522.0
- Updated to Luau 0.522.0
- Fixed resolution of nested project files where an exact path to a script is included in the project json file
- Fixed the handling of
.txt
and.csv
files - Added support for using multiple definition files:
luau-analyze-rojo --defs=globalTypes.d.lua --defs=extraTypes.d.lua source.lua
Full Changelog: 0.521.1...0.522.0
0.521.1
- Reverted using release builds with debug info due to excessive file size
- Fixed bug where
-
for stdin would incorrectly error with path not found - Fixed assertion error when no definition file provided and we attempt to find a type for a specific class name
Full Changelog: 0.521.0...0.521.1
0.521.0
- Updated to Luau 0.521
- Fixed unhandled exceptions when file paths do not exist
- Make binaries build as release binaries with debug information