Skip to content

Releases

lunaut 0.2.5

Choose a tag to compare

@github-actions github-actions released this 26 Nov 15:45

Added

  • --!ignore strict, nonstrict, nocheck or nolint: a file directive only lunaut reads, so a file can be checked strictly in the editor while Roblox Studio and other tools see a different line such as --!nocheck. Several --!ignore lines add up, and without them the usual directives and .luaurc apply
  • --!noerror hides every error and warning of a file

Fixed

  • A module with --!nocheck returns any to the files that require it with the new solver too, as it already did with the old one

lunaut 0.2.4

Choose a tag to compare

@github-actions github-actions released this 25 Nov 11:20

Changed

  • Sync to upstream Luau 0.748

lunaut 0.2.2

Choose a tag to compare

@github-actions github-actions released this 25 Nov 11:03

Added

  • With lunaut.inlayHints.parameterTypes, a ... without an annotation gets a type hint too. Luau types such a ... as any, so the hint is built from the calls of the function in the same file (sum(1, 2) gives ...: number, mixed calls give a union) and is left out when there are none. Double-clicking it writes the annotation into the signature

Fixed

  • The extension build no longer pulls in the vulnerable minimatch 10 and glob 13: @vscode/vsce 4, with minimatch 11 forced for it; releases package with Node 22
  • The CI and macOS workflows run with a read-only token

lunaut 0.2.1

Choose a tag to compare

@github-actions github-actions released this 25 Nov 05:30

Added

  • Definition files can carry every property of a lunaut.definitions entry as a comment line: --!priority N, --!show_as_module true, --!show_description_message "text" (the message) and --!show_module_name_message "name" (the name). Settings still win, and --!lunaut_show_as_module keeps working
  • lunaut.completion.imports.packageInternals (off by default): also offer the modules inside crater packages that have a root module

Fixed

  • Auto-imports offer a crater package (a folder with .crater-package or .crater-vendor) as one module when it has an init.luau, like vide or collections, instead of every module inside it. A package without a root module, such as a library of modules, still offers its modules

lunaut 0.2.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 05:04

Added

  • The installer sets up Zed by itself: each release carries lunaut-zed.tar.gz, the built extension with its Luau grammar, and the installer unpacks it into Zed's extensions folder. Before, it only told you to look for Lunaut in Zed's extension list, where it is not listed yet. A dev extension linked there is left alone
  • lunaut.completion.imports.ignoreGlobs (default ["**/_Index/**"], luau-lsp.completion.imports.ignoreGlobs works too): files that are never offered as auto-imports

Fixed

  • Auto-imports offer modules from Packages, DevPackages, ServerPackages and every other folder of the Rojo project, even when lunaut.ignoreGlobs excludes them, by reading the ModuleScripts of the sourcemap and loading the $path folders of lunaut.rojo.projectFile. Package internals under _Index stay hidden
  • Auto-imported services show the class icon and modules the module icon, as in luau-lsp

Removed

  • Neovim and Helix support: the installer no longer offers them, and editors/neovim and editors/helix are gone. The uninstaller still removes the Neovim config installed by older versions

lunaut 0.1.9

Choose a tag to compare

@github-actions github-actions released this 23 Nov 11:31

Added

  • lunaut.implicitSelf (off by default): the implicit self of function X:name() ... end gets the type alias X when one without generics is in scope, as if it were function X.name(self: X), with both solvers and in nested functions too. Only a plain name before : and a function closed with end count
  • lunaut.completion.imports.requireStyle (auto, alwaysRelative, alwaysAbsolute, and luau-lsp.completion.imports.requireStyle works too) and lunaut.completion.imports.aliasPath (shortest, longest) decide how auto-imported require paths are written. Before, a file outside the folder got whichever .luaurc alias came first
  • The Studio plugin can send only part of the place: Settings opens ServerStorage.Lunaut_Settings, a module with include and exclude lists of instances. Only included subtrees are sent and watched, excluded ones are skipped, and a broken module warns once and falls back to sending everything
  • lunaut update: checks the latest release and installs it for this lunaut only, in its own folder, without touching editors or PATH. On Windows it moves the running lunaut.exe aside first, so a running language server does not block it. --check only reports, --dry-run prints what would run, lunaut update 0.1.7 installs a given release, and copies that came with an editor extension are left to the extension
  • The VS Code extension downloads a newer server from the GitHub releases in the background and offers to restart it (lunaut.server.autoUpdate, on by default; Check for Server Updates in the Lunaut menu), so a new Luau no longer waits for a Marketplace update
  • A new Luau release becomes a lunaut release by itself: once the daily update builds and passes every test, it raises the version and starts the Release workflow
  • Pull requests get a check for formatting, comments in C++, version changes, line endings, the installers and both editor extensions, and a coverage report on Codecov
  • Issue templates for bug reports and feature requests, a security policy in SECURITY.md, and the lunaut logo in the README and as the VS Code extension icon
  • message on a lunaut.definitions entry with show_as_module: completion shows it next to the module name instead of definitions @name, for example { "path": "types/database.d.luau", "name": "@fc_database", "show_as_module": true, "message": "Rows and tables of the funny-core database" }

Fixed

  • Go to definition, the Definitions links in hover and the comment shown for a type such as fc_reflection.func_member from a show_as_module definition file point into that file, not into the file being edited, which also showed unrelated comments from the wrong file
  • Signature help for a call with : skips the receiver even when the function type has no self, such as a field typed (Account, number) -> (): account:deposit( now shows and highlights number

lunaut 0.1.8

Choose a tag to compare

@github-actions github-actions released this 22 Nov 17:22

Added

  • Select Rojo Project in the Lunaut menu and Lunaut: Select Rojo Project: lists every *.project.json in the workspace, marks the ones whose $path folders are missing and saves the choice in lunaut.rojo.projectFile

Fixed

  • A Rojo project in a subfolder, such as bin/build.project.json, gives a sourcemap whose paths start at the workspace root (bin/core/init.luau), not at the folder of the project
  • Without lunaut.rojo.projectFile in the root, a project in the root wins over a default.project.json deeper down, and projects whose $path folders do not exist come last
  • A project whose $path points nowhere, like "$path": "src" inside src/default.project.json (that is src/src), is reported with the path Rojo looked at instead of producing an empty sourcemap
  • VS Code no longer runs rojo sourcemap --watch for a project in a subfolder, since it would write paths relative to that folder; the server regenerates the sourcemap instead

lunaut 0.1.7

Choose a tag to compare

@github-actions github-actions released this 22 Nov 07:44

Added

  • lunaut.restartOnDefinitionChanges (default true): turn it off and saving a .d.luau file no longer rebuilds the workspace, so you reload yourself with Reload Definitions and FFlags when the definitions are ready
  • --!lunaut_show_as_module true or false at the top of a definition file does what show_as_module in settings does; the setting wins when both are given

Fixed

  • Definition files with show_as_module show up in type completion: local car: b offers base, and base. lists its types
  • Types of a show_as_module file are reached only as base.Vehicle; a plain Vehicle is an unknown type instead of slipping past the module name. Definition files loaded after it can use base.Vehicle too

lunaut 0.1.6

Choose a tag to compare

@github-actions github-actions released this 21 Nov 12:13

Fixed

  • Your own .d.luau files can use every Roblox enum type, such as Enum.KeyCode, Enum.UserInputState or Enum.ContextActionResult; before, a definition file loaded after the Roblox types failed with Unknown type 'Enum.KeyCode'

Changed

  • The daily Luau update commits the new Luau version straight to main once the build and tests pass, instead of leaving an auto/update-luau branch for a pull request

lunaut 0.1.5

Choose a tag to compare

@github-actions github-actions released this 21 Nov 10:18

Fixed

  • Completing a child whose name is not a plain identifier, such as Accessory (D4), inserts rig["Accessory (D4)"] instead of the broken rig.Accessory (D4); quotes in the name are escaped and keywords such as end get brackets too

Removed

  • The quick fix that moved @native and @[deprecated] above a table field to the function, and the completion for attributes: Luau does not allow these attributes there, so the fix produced code that still did not compile