Gleam v1.16.0 has been released with several notable improvements. The headline feature is JavaScript source map support, enabling browsers and runtimes to map compiled JS back to original Gleam code for debugging, breakpoints, and stack traces. Other highlights include package-level fault tolerance in the compiler (so unrelated modules still compile when one fails), ~30% faster string pattern matching on the JavaScript target, new language server code actions (add/remove anonymous functions, extract function improvements, replace type holes), oversized int pattern warnings for JavaScript's 52-bit limit, constant list prepending, and improved tuple formatting.

13m read timeFrom gleam.run
Post cover image
Table of contents
Gleam gets source mapsPackage-level fault toleranceFaster string pattern matchingRecord update fault toleranceOversized int pattern warningSpoiling practical jokesHex package manager error message improvementsAdd and remove anonymous function code actionsExtract function code action improvementsReplace _ with type code actionConstant list prependingLanguage server completion improvementsTuple formatting improvementMore external code source extension supportAnd the restA call for support

Sort: