Overview of Gleam v1.2.0 Release

223
clicks
Overview of Gleam v1.2.0 Release

Source: gleam.run

Type: Post

Louis Pilfold announces the release of Gleam v1.2.0 on May 27, 2024. This version brings substantial improvements to the compiler, making it fault-tolerant, thus allowing the language server to function more seamlessly even when encountering errors. The language server now autocompletes types and values in import statements, and offers enhanced error messages for 'use' expressions. Additionally, the code formatter supports single-line pipelines, and there's better detection of unreachable code. Various error messages are refined for clarity, and the Hex package manager integration is improved to facilitate package publishing and conflicts detection of Erlang modules. The update also includes warnings for redundant assertions and pattern matching, along with new auto-fix functionality for redundant tuples. Finally, there's new guidance for JavaScript developers who might mistakenly use '===' for comparisons, a common error when transitioning to Gleam.

© HashMerge 2024