Repository navigation
Releases
v0.21.2
v0.21.1
v0.21.0
v0.20.1
v0.20.0
0.19.18 - 2026-08-14
Release Notes
Housekeeping only. No language or tooling behaviour changed.
Added
- A security policy. lux is installed with a piped shell one-liner and had no
reporting address anywhere. It also states what the language can actually reach:
readFileandwriteFilego anywhere the user can, andrunstarts another program
— with an argument list rather than a shell string, so there is no shell to inject
into, no globbing, no redirection, and the child gets empty input. There is no network
access at all. Running a.luxfile is running code, and the policy says so. - Dependabot for the GitHub Actions the workflows use, which nothing was watching.
Nocargoblock: this compiler declares zero dependencies, and an ecosystem with no
manifest to scan fails weekly with an opaque error.
Changed
learn-lux.mdstates the crawl world's guarantee instead of dating it. "as of
0.14.3 it converts and compiles on all three backends" read as a claim that might have
expired, when the intent was that it never does.
Install luxc 0.19.18
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/anderix/lux/releases/download/v0.19.18/luxc-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/anderix/lux/releases/download/v0.19.18/luxc-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install anderix/tap/luxcDownload luxc 0.19.18
| File | Platform | Checksum |
|---|---|---|
| luxc-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| luxc-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| luxc-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| luxc-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| luxc-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
0.19.17 - 2026-08-14
Release Notes
Fixed
- An empty array named after a target-language keyword is declared under the name it is
used by. The Swift and Go backends mangle a reserved word where the variable is read
but were emitting the declaration under the original name, so a program with an empty
array calledopenorvarproduced code that declared one name and used another —
an unresolved identifier in Swift, and in Go avar type []boolthat is not valid
syntax at all. Both backends now mangle at the declaration too. Rust was already
correct. Covered by tests that run all four targets, so the three transpilers and the
interpreter have to agree.
Install luxc 0.19.17
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/anderix/lux/releases/download/v0.19.17/luxc-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/anderix/lux/releases/download/v0.19.17/luxc-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install anderix/tap/luxcDownload luxc 0.19.17
| File | Platform | Checksum |
|---|---|---|
| luxc-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| luxc-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| luxc-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| luxc-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| luxc-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
0.19.16 - 2026-08-09
Release Notes
Changed
lux update --helpsays what the command actually does. It described itself as
"update lux to the latest release", which is true in one case and false in the rest —
and false on Windows in every case, where a runninglux.execannot overwrite itself
and the command only ever prints the line to run in a fresh terminal. The help now says
that where lux came from decides what happens, that a package manager or cargo gets
handed its own upgrade command, and that anything unrecognised is reported rather than
guessed at. The one-line summary inlux --helpchanged to match.
Install luxc 0.19.16
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/anderix/lux/releases/download/v0.19.16/luxc-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/anderix/lux/releases/download/v0.19.16/luxc-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install anderix/tap/luxcDownload luxc 0.19.16
| File | Platform | Checksum |
|---|---|---|
| luxc-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| luxc-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| luxc-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| luxc-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| luxc-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
0.19.15 - 2026-08-09
Release Notes
Finishes 0.19.14 by naming the one install route it left unrecognised.
Added
-
lux updaterecognises acargo install.cargo install luxcwrites no receipt,
so 0.19.14 classed it with the binaries whose origin is genuinely unknowable and printed
the generic message — for a route lux documents in its own README. Cargo's directory is
knowable, so a binary sitting under it with no receipt covering it is now handed
cargo install luxc --force. The receipt still wins where the two overlap: cargo-dist's
default layout installs into that same directory, so a receipt naming it means the
installer put the binary there and the installer is what should replace it.Worth noting what this is not. Before 0.19.14 a cargo-installed lux updated correctly
rather than shadowing itself — the installer writes to the same directory cargo does, so
it overwrote in place. What 0.19.14 cost that route was the update, not correctness, and
this gives it back in the form that matches how it was installed.
Install luxc 0.19.15
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/anderix/lux/releases/download/v0.19.15/luxc-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/anderix/lux/releases/download/v0.19.15/luxc-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install anderix/tap/luxcDownload luxc 0.19.15
| File | Platform | Checksum |
|---|---|---|
| luxc-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| luxc-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| luxc-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| luxc-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| luxc-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
0.19.14 - 2026-08-09
Release Notes
Install plumbing. 0.19.11 taught lux update to recognise two package managers; this
stops it guessing about everything else.
Fixed
lux updateno longer installs a second lux over an install it did not make. It
recognised Homebrew and WinGet by path and assumed the cargo-dist installer for
everything else, so a lux placed any other way — byeget, built from source, copied
into~/bin, installed by a distro — got the installer run over the top of it. That
writes into~/.cargo/binand leaves the original untouched at the old version, with
PATH order deciding which one answersluxand nothing on screen saying so. The
assumption is now gone: the installer runs only when the install receipt cargo-dist
writes names a prefix containing the running binary. A receipt pointing somewhere else
reports both paths, and no receipt at all reports where lux is and hands back the
install command rather than quietly duplicating it. Every channel that has not been
anticipated is covered by this, rather than each one needing its own path to match —
egetin particular cannot be recognised by path at all, since it drops the binary in
whatever directory it is pointed at.
Changed
- Paths are compared as normalised text rather than through
Path. Separators are
unified, case is folded, and Windows' verbatim\\?\prefix is stripped, because
canonicalizeproduces one while a receipt records a plain path. It also means the
Windows matching is exercised by the suite on Linux, where a backslash is an ordinary
character and a Windows path would otherwise read as a single component.
Install luxc 0.19.14
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/anderix/lux/releases/download/v0.19.14/luxc-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/anderix/lux/releases/download/v0.19.14/luxc-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install anderix/tap/luxcDownload luxc 0.19.14
| File | Platform | Checksum |
|---|---|---|
| luxc-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| luxc-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| luxc-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| luxc-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| luxc-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |