Hasty Briefsbeta

Bilingual

A field day for Gleam's language server – Gleam v1.18.0 release

9 hours ago
  • Gleam v1.18.0 introduces language server support for record fields, including go-to-definition, find-references, and rename across modules.
  • Type variables in functions, types, and constants can now be renamed via the language server.
  • Renaming a module file automatically updates all its imports throughout the project.
  • A new code action generates pattern match case expressions on function calls and their return values.
  • JavaScript compilation is optimized by using data singletons, reusing a single instance for equivalent data structures to improve performance.
  • The ambiguous pipe syntax that could compile to two(three)(one) is deprecated; a code action helps convert it to the explicit form.
  • Git dependencies now support an optional path field for packages not at the repository root, and Hex rate limits are raised by using an API key via HEXPM_READ_API_KEY.