Gleam v1.17.0 adds native escript packaging and language server updates
Gleam v1.17.0 introduces the `gleam export escript` command to package entire BEAM programs into single-file executables, simplifying distribution for Erlang virtual machine developers. The release also brings extensive language server updates, security patches for multiple CVEs, and pattern-matching optimizations for the JavaScript compiler.
Gleam is aggressively cementing its place as the go-to statically typed language for the Erlang ecosystem by bridging the developer-experience gap with mainstream languages. By introducing first-class escript packaging, Gleam is making BEAM programs as portable and distribution-friendly as Node.js or Go binaries, which could dramatically lower the barrier to entry for DevOps and tooling developers.
* Escript Packaging: The new `gleam export escript` command bundles compiled bytecode and dependencies into a single file, streamlining distribution.
* Rich Editor tooling: Added reference highlighting (`textDocument/documentHighlight`), auto-fixes for guard operators, and type warning hints matching local aliases or qualifications.
* Structural Autorecovery: Enhanced fault tolerance allows the compiler and LSP to parse incomplete list and record-update syntax.
* Top-Down Code Actions: Developers can automatically generate missing modules directly from undefined `import` statements.
* Security Hardening: Addresses CVE-2026-43965, CVE-2026-32685, and CVE-2026-42795 to prevent directory traversal and symlink leaks during package commands.
DISCOVERED
1h ago
2026-06-03
PUBLISHED
3h ago
2026-06-02
RELEVANCE
AUTHOR
figbert