Skip to content
This repository has been archived by the owner on Jun 12, 2022. It is now read-only.

Releases: JohnnyMorganz/luau-analyze-rojo

0.527.0

14 May 13:26
63150b9
Compare
Choose a tag to compare

Sync to Luau 0.527

0.526.1

08 May 11:46
Compare
Choose a tag to compare
  • Fixed the resolution of .luaurc config files (#34). Now, config files will be appropriately resolved throughout the tree and applied as necessary

0.526.0

06 May 11:38
dd6f1f6
Compare
Choose a tag to compare
  • Sync to Luau 0.526
  • inst:Clone() types have been improved to return the type of inst 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 than Enum.RigType)

0.525.2

30 Apr 20:58
Compare
Choose a tag to compare
  • Fixed Unknown require: ProjectRoot error when requiring scripts which are the root of a model project.
  • Added richer types for FindFirstChildWhichIsA, FindFirstChildOfClass, FindFirstAncestorWhichIsA, FindFirstAncestorOfClass (#7)

0.525.1

30 Apr 17:16
Compare
Choose a tag to compare

Fixed exception when running tool on model project files and using script

0.525.0

30 Apr 16:00
Compare
Choose a tag to compare
  • 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 as any (#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

22 Apr 11:44
29f5ac0
Compare
Choose a tag to compare
  • Sync to upstream Luau 0.524
  • Temporarily assigned the type of script to any to silence spurious type errors when indexing children through script.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

08 Apr 18:55
Compare
Choose a tag to compare
  • 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

05 Apr 18:13
Compare
Choose a tag to compare
  • 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

03 Apr 14:29
Compare
Choose a tag to compare
  • Updated to Luau 0.521
  • Fixed unhandled exceptions when file paths do not exist
  • Make binaries build as release binaries with debug information