Gleam v1.1.0 Release Highlights

244
clicks
Gleam v1.1.0 Release Highlights

Source: gleam.run

Type: Post

The content details the latest update of Gleam, a type safe and scalable language for the Erlang virtual machine and JavaScript runtimes. With the new v1.1.0 release, the language server has seen several improvements, including intelligent message batching, autocomplete for import statements, and global go-to definition capabilities. Additionally, Gleam now supports Bun, a popular choice for running JavaScript on the command line, alongside NodeJS and Deno. For Erlang developers, it starts using rebar3 to build rebar packages. The formatter tool also received updates, such as sorting imports alphabetically and adjusting line break handling. The release enhances dependency requirement clarity by updating syntax usage to avoid common misunderstandings. Performance is addressed with a JavaScript list optimization that notably speeds up standard library tests. The update also introduces a way to denote internal types and values, better dead-code elimination during cross-target package compilation, improved package validation, enhanced warnings, and diagnostics for better code quality, and rectified parsing of nested tuple indexing. The extensive list of other miscellaneous improvements can be found in the official changelog. Louis Pilfold extends gratitude to the community and sponsors who support the development of Gleam.

© HashMerge 2024