Skip to content

1.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 12 Jun 23:02

[1.4.0] - 2022-06-12

Added

  • Added Document Symbols support
  • Merged luau-analyze-rojo into the project to simplify maintenance. To run a standalone analysis tool, run luau-lsp analyze
  • Added links to Luau Documentation for lint warnings
  • Added documentation to Enum types
  • Diagnostics of dependents (i.e., files which require a changed file) will now refresh to display type errors when the file changes
  • Added support for workspace-wide diagnostics to report in all files. You can enable this using luau-lsp.diagnostics.workspace. It is disabled by default

Changed

  • Sync to upstream Luau 0.531
  • Unused lints will are now tagged appropriately so they render faded out

Fixed

  • Fixed the equality comparison between two Instance types causing a type error
  • Fixed false positive type errors occuring when using DataModel instance types. Unfortunately, for this fix we had to temporarily type all DataModel instances as any. You should still get proper autocomplete and intellisense, however type errors will no longer throw for unknown children.
  • Fixed enum types to be under the "Enum" library, so the types are referenced using Enum.Font instead of EnumFont
  • HTML Tags have been stripped from documentation so they should render better in IntelliSense
  • Fixed "Text Document not loaded locally" error occuring when you start typing in a newly created file (as the sourcemap is not yet up-to-date)