Skip to main content

Gleam 1.18.1

Release Date: August 1, 2026

Remember when Gleam was just a language that promised "a friendly language for building type-safe systems that scale"? That was 2019, a single compiler binary and a dream. Seven years later, Gleam 1.18.1 ships on the first of August - a small patch release, but one that shows how far the project has traveled.

What began as a one-person experiment by Louis Pilfold is now a compiler maintained by a growing team, compiling to both the BEAM and JavaScript, with an expanding package ecosystem on Hex. The 1.0 release in 2024 was the turning point: the language stopped changing shape and started getting polished.

What Changed

1.18.1 is a focused bug-fix release. The headline fix is in the Erlang code generator: referencing constants that are aliases to other constants in bit array segments, string concatenation, and clause guards could produce wrong code. That is now corrected, courtesy of Andrey Kozhev.

It follows the 1.18.0 release from July 29, which fixed a handful of JavaScript-target issues around bit array segments - floats rounding to half their value, ties rounded away from zero instead of to even, and zero-size segments adding stray bytes. The pattern is clear: bit array handling has been the project's sharpest edge this year, and the team keeps grinding it down.

Why It Matters

None of these are headline features. There are no new syntax constructs, no new tooling, no breaking changes. That is precisely the point. A project in its maintenance maturity ships releases like this - small, surgical, and dependable.

The trajectory from "friendly experiment" to "language with a real migration story" took the better part of a decade. Releases like 1.18.1 are the quiet chapters in that story, the ones that keep production users upgrading without fear.

What is Next

The roadmap continues toward deeper tooling integration and more compiler optimizations. If the cadence of 2026 holds - 1.18.0 and 1.18.1 landing within days of each other - the next minor release should not be far off. For now, patch your projects, run your test suite, and enjoy a compiler that just got a little more correct.

What is New?

By continuing to use the site, you agree to the use of cookies.