Repository navigation
Releases
Releases · TheExeDEV/lunaut
lunaut 0.2.5
Added
--!ignore strict,nonstrict,nocheckornolint: 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--!ignorelines add up, and without them the usual directives and.luaurcapply--!noerrorhides every error and warning of a file
Fixed
- A module with
--!nocheckreturnsanyto the files that require it with the new solver too, as it already did with the old one
lunaut 0.2.4
Changed
- Sync to upstream Luau 0.748
lunaut 0.2.2
Added
- With
lunaut.inlayHints.parameterTypes, a...without an annotation gets a type hint too. Luau types such a...asany, 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
minimatch10 andglob13:@vscode/vsce4, withminimatch11 forced for it; releases package with Node 22 - The CI and macOS workflows run with a read-only token
lunaut 0.2.1
Added
- Definition files can carry every property of a
lunaut.definitionsentry as a comment line:--!priority N,--!show_as_module true,--!show_description_message "text"(themessage) and--!show_module_name_message "name"(thename). Settings still win, and--!lunaut_show_as_modulekeeps 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-packageor.crater-vendor) as one module when it has aninit.luau, likevideorcollections, 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
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.ignoreGlobsworks too): files that are never offered as auto-imports
Fixed
- Auto-imports offer modules from
Packages,DevPackages,ServerPackagesand every other folder of the Rojo project, even whenlunaut.ignoreGlobsexcludes them, by reading theModuleScripts of the sourcemap and loading the$pathfolders oflunaut.rojo.projectFile. Package internals under_Indexstay 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/neovimandeditors/helixare gone. The uninstaller still removes the Neovim config installed by older versions
lunaut 0.1.9
Added
lunaut.implicitSelf(off by default): the implicitselfoffunction X:name() ... endgets the type aliasXwhen one without generics is in scope, as if it werefunction X.name(self: X), with both solvers and in nested functions too. Only a plain name before:and a function closed withendcountlunaut.completion.imports.requireStyle(auto,alwaysRelative,alwaysAbsolute, andluau-lsp.completion.imports.requireStyleworks too) andlunaut.completion.imports.aliasPath(shortest,longest) decide how auto-importedrequirepaths are written. Before, a file outside the folder got whichever.luaurcalias came first- The Studio plugin can send only part of the place: Settings opens
ServerStorage.Lunaut_Settings, a module withincludeandexcludelists 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 orPATH. On Windows it moves the runninglunaut.exeaside first, so a running language server does not block it.--checkonly reports,--dry-runprints what would run,lunaut update 0.1.7installs 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 messageon alunaut.definitionsentry withshow_as_module: completion shows it next to the module name instead ofdefinitions @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_memberfrom ashow_as_moduledefinition 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 noself, such as a field typed(Account, number) -> ():account:deposit(now shows and highlightsnumber
lunaut 0.1.8
Added
- Select Rojo Project in the Lunaut menu and
Lunaut: Select Rojo Project: lists every*.project.jsonin the workspace, marks the ones whose$pathfolders are missing and saves the choice inlunaut.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.projectFilein the root, a project in the root wins over adefault.project.jsondeeper down, and projects whose$pathfolders do not exist come last - A project whose
$pathpoints nowhere, like"$path": "src"insidesrc/default.project.json(that issrc/src), is reported with the path Rojo looked at instead of producing an empty sourcemap - VS Code no longer runs
rojo sourcemap --watchfor a project in a subfolder, since it would write paths relative to that folder; the server regenerates the sourcemap instead
lunaut 0.1.7
Added
lunaut.restartOnDefinitionChanges(defaulttrue): turn it off and saving a.d.luaufile no longer rebuilds the workspace, so you reload yourself with Reload Definitions and FFlags when the definitions are ready--!lunaut_show_as_module trueorfalseat the top of a definition file does whatshow_as_modulein settings does; the setting wins when both are given
Fixed
- Definition files with
show_as_moduleshow up in type completion:local car: boffersbase, andbase.lists its types - Types of a
show_as_modulefile are reached only asbase.Vehicle; a plainVehicleis an unknown type instead of slipping past the module name. Definition files loaded after it can usebase.Vehicletoo
lunaut 0.1.6
Fixed
- Your own
.d.luaufiles can use every Roblox enum type, such asEnum.KeyCode,Enum.UserInputStateorEnum.ContextActionResult; before, a definition file loaded after the Roblox types failed withUnknown type 'Enum.KeyCode'
Changed
- The daily Luau update commits the new Luau version straight to
mainonce the build and tests pass, instead of leaving anauto/update-luaubranch for a pull request
lunaut 0.1.5
Fixed
- Completing a child whose name is not a plain identifier, such as
Accessory (D4), insertsrig["Accessory (D4)"]instead of the brokenrig.Accessory (D4); quotes in the name are escaped and keywords such asendget brackets too
Removed
- The quick fix that moved
@nativeand@[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