Skip to content

Releases

v0.21.2

Choose a tag to compare

@anderix anderix released this 22 Nov 02:27
  • A missing ) ] or { at the end of a line is reported on that line, not the next

v0.21.1

Choose a tag to compare

@anderix anderix released this 21 Nov 05:25
  • Convert while true to a Rust loop, so the Rust build has no warning
  • Catch a match on an Option or Result that leaves out a case before the program runs

v0.21.0

Choose a tag to compare

@anderix anderix released this 01 Nov 18:59

Full Changelog: v0.20.1...v0.21.0

v0.20.1

Choose a tag to compare

@anderix anderix released this 01 Nov 04:34

Full Changelog: v0.20.0...v0.20.1

v0.20.0

Choose a tag to compare

@anderix anderix released this 01 Nov 00:55

Full Changelog: v0.19.18...v0.20.0

0.19.18 - 2026-08-14

Choose a tag to compare

@github-actions github-actions released this 14 Aug 21:28

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:
    readFile and writeFile go anywhere the user can, and run starts 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 .lux file is running code, and the policy says so.
  • Dependabot for the GitHub Actions the workflows use, which nothing was watching.
    No cargo block: this compiler declares zero dependencies, and an ecosystem with no
    manifest to scan fails weekly with an opaque error.

Changed

  • learn-lux.md states 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 | sh

Install 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/luxc

Download 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

Choose a tag to compare

@github-actions github-actions released this 14 Aug 12:22

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 called open or var produced code that declared one name and used another —
    an unresolved identifier in Swift, and in Go a var type []bool that 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 | sh

Install 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/luxc

Download 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

Choose a tag to compare

@github-actions github-actions released this 10 Aug 03:06

Release Notes

Changed

  • lux update --help says 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 running lux.exe cannot 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 in lux --help changed 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 | sh

Install 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/luxc

Download 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

Choose a tag to compare

@github-actions github-actions released this 10 Aug 02:54

Release Notes

Finishes 0.19.14 by naming the one install route it left unrecognised.

Added

  • lux update recognises a cargo install. cargo install luxc writes 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 | sh

Install 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/luxc

Download 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

Choose a tag to compare

@github-actions github-actions released this 10 Aug 02:42

Release Notes

Install plumbing. 0.19.11 taught lux update to recognise two package managers; this
stops it guessing about everything else.

Fixed

  • lux update no 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 — by eget, built from source, copied
    into ~/bin, installed by a distro — got the installer run over the top of it. That
    writes into ~/.cargo/bin and leaves the original untouched at the old version, with
    PATH order deciding which one answers lux and 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 —
    eget in 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
    canonicalize produces 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 | sh

Install 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/luxc

Download 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