Repository navigation
LUI 0.1.0-preview.5 — Unsigned experimental prerelease
Pre-release
Pre-release
LUI Preview.5 is ready to try on Windows x64 and Linux x64. You can use the SDK to build a Luau desktop app or a headless tool and package it with the modules and assets it needs. On Linux, desktop apps use GTK4. Headless tools run without it.
If you’re coming from Preview.2b, a good place to start is Examples/DeveloperJourneys. Try the SQLite inventory app to see how a standalone project saves and loads data, or open the source workbench to see a background worker check your code while you edit. There are five walkthroughs in all, plus a package guide and an offline VS Code extension.
What’s new since Preview.2b
- Docking and editing. Try floating an editor panel, then docking it again. Your text and selection stay with the panel. The
dock-editoranddock-workspaceexamples show how to arrange tabs and nested splits. On Wayland, the compositor chooses where floating windows appear. You can still dock panels within a window or explicitly move them back. - Headless apps and services. Projects can request filesystem access, networking, subprocesses and workers through their capability declarations. You can add SQLite, compression, cryptography, regex or TOML individually.
- Packages. You can use a local folder, a package archive or a pinned source import. Once the cache is populated, you can restore from the lockfile offline. For native packages, the SDK checks the platform and approved file hash, and the host must grant permission to load the code.
- Images and live viewports. Use an immutable image or a region of an image atlas for static content. For a live viewport,
FrameSurfacelets a producer submit its newest frame and release one it has already replaced. Backpressure keeps older frames from piling up. A native publication tells you the backend published a frame. The compositor and physical display are later stages. - Experimental native bindings. Trusted FFI supports prepared calls, generated bindings and scoped synchronous callbacks. Headless worker pools can use FFI when you explicitly enable it. Microsoft x64 and System V AMD64 are supported. On System V, use a C pointer wrapper for packed values whose layout changes. A blocking native call holds the thread that made it. If you need a separate process and a timeout, the broker provides both and runs under your OS account.
Try it or upgrade a project
- Download the archive and its matching
.sha256file from the assets below. This is an unsigned experimental prerelease. Compare the archive’s hash withGet-FileHashon Windows orsha256sumon Linux. Windows may show an unknown-publisher warning. Keep your usual protections enabled. - Extract the whole SDK into a fresh folder with a short path. On Linux, preserve executable permissions. Run the SDK’s CLI with
doctor --format jsonto check the installation. - Try the new SDK on a copy of your project. Keep your previous SDK handy. Run
lui new Scratch --sdk <new-sdk>to see the newLuiToolchain.json, then update the SDK pin in your project copy. Check which providers and packages it uses before regenerating the lockfile. - Build and run the standalone app from a folder outside the SDK. Try the things you normally do with it. If you rely on offline builds, also test a frozen restore from your populated cache.